Valhalla Legends Archive

Programming => Web Development => Topic started by: CrAz3D on June 10, 2003, 09:58 PM

Title: INET & PHP (vb6)
Post by: CrAz3D on June 10, 2003, 09:58 PM
I was wondering, how using INET, I would send a Requested piece of information to the php script.
Example:
$msg= $_REQUEST['msg']

How do I send that requested "msg" to the php script?
Title: Re:INET & PHP (vb6)
Post by: Grok on June 10, 2003, 10:01 PM
Request variables are placed in the request data by the client browser.  Use your favorite client-side scripting language to insert variables in the request data.


P.S.  This should be in Web Development forum.
Title: Re:INET & PHP (vb6)
Post by: CrAz3D on June 10, 2003, 10:09 PM
Sorry, it was for my bot...I was wondering where I might post it.
I'm a little new at php, I guess I should've mentioned that aswell.

Thnx for the support, I'll give it a whirl.
Title: Re:INET & PHP (vb6)
Post by: UserLoser on June 10, 2003, 11:20 PM
+ 1 to Grok.  This post is related to bot development soo much!
Title: Re:INET & PHP (vb6)
Post by: CrAz3D on June 11, 2003, 09:20 AM
Actually, it was but whatever.
I'm still trying to figure out how to send the requested info to the php script, using INET.
Inet1.Execute "URL", "POST", msg?
Title: Re:INET & PHP (vb6)
Post by: Mesiah / haiseM on June 11, 2003, 03:06 PM
what is your site url for the php script, perhaps we can figure this out if we had more info.
Title: Re:INET & PHP (vb6)
Post by: Arta on June 11, 2003, 04:23 PM
Probably the easiest way to do it would be to include the information in the URL, like so:

page.php?msg=whatever

Then query the $_GET array in your php script (page.php) to retrieve the data.
Title: Re:INET & PHP (vb6)
Post by: CrAz3D on June 11, 2003, 04:54 PM
I FIGURED OUT, no more posts are necessary, cept for maybe this one.
Finally
Title: Re:INET & PHP (vb6)
Post by: Arta on June 12, 2003, 10:49 AM
...you're welcome.