Valhalla Legends Forums Archive | Web Development | INET & PHP (vb6)

AuthorMessageTime
CrAz3D
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?
June 11, 2003, 2:58 AM
Grok
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.
June 11, 2003, 3:01 AM
CrAz3D
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.
June 11, 2003, 3:09 AM
UserLoser
+ 1 to Grok. This post is related to bot development soo much!
June 11, 2003, 4:20 AM
CrAz3D
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?
June 11, 2003, 2:20 PM
MesiaH
what is your site url for the php script, perhaps we can figure this out if we had more info.
June 11, 2003, 8:06 PM
Arta
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.
June 11, 2003, 9:23 PM
CrAz3D
I FIGURED OUT, no more posts are necessary, cept for maybe this one.
Finally
June 11, 2003, 9:54 PM
Arta
...you're welcome.
June 12, 2003, 3:49 PM

Search