This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Connect my eggdrop with my page

Old posts that have not been replied to for several years.
Locked
G
GhOsTLip

Connect my eggdrop with my page

Post by GhOsTLip »

Hello People,

I need a help,

I want connect my egg to my page, for exemple I do commands (.adduser .deluser etc),

Someone know how can I make it ?
I use Php, but dont know if posible connect my PHP page to my egg or my egg to my PHP....

Thankss...

GhOsTLip
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

It's possible. Use the http::geturl command with the -query option. This will cause the bot to do a POST command. Then just fill in the info you want stored. I suggest you add a password or some kind of security check to make sure it is the bot sending those commnds, and not somebody else.
Elen sila lúmenn' omentielvo
s
soul
Voice
Posts: 31
Joined: Fri Apr 25, 2003 6:25 pm
Location: Portugal

Post by soul »

Papillon,

is there a documentation about http commands?

regards
i'll believe in justice when the pope is accused {
if {$true == "$censured" }{return nothing}}
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

here, but make sure the http-package is loaded.
Elen sila lúmenn' omentielvo
G
GhOsTLip

Post by GhOsTLip »

Hello people,

Thanks by the help, so i would like to know, for exemple how can I do IT for exemple

And how can I do My page make commands on my eggdrop, by telnet, or dcc chat....

Please if someone can help me, please help!
o
ok

Post by ok »

Try telnetting to the bot with a Perl/C/PHP Script..
G
GhOsTLip

Post by GhOsTLip »

So, thank you,

But where can i get a script that do it ?

.....
i
insanctus

Post by insanctus »

I have a question on these lines.

How would I make my bot call a page say. http://my.com/this.php?names=name,name2,name3 and so on.

I want make a whos online in chat for a page that is not on the remote.
Locked