mIRC Home    About    Download    Register    News    Help

Print Thread
#172186 07/03/07 01:47 AM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
say i do

sockopen sock www.test.com 80

on sockopen i do
GET /blah.php?data=whaever

then in sockread, i post by

POST /post.php?data=fgfdgfg

but is that post correct, won't i have to go back one directory?
like

POST ../post.php?data=fgfdgfg

pouncer #172203 07/03/07 08:15 AM
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
you start at the root directory of www.test.com.

so if this is the url www.test.com/post.php?data=fgfdgfg

you would GET /post.php?data=fgfdgfg

if your url was www.test.com/folder/post.php?data=fgfdgfg

you would need to GET /folder/post.php?data=fgfdgfg


Link Copied to Clipboard