Page 1 of 1

Using data from another webpage

Posted: Wed Jun 11, 2003 9:03 am
by RedRasper
Hello!

I wondered if anyone can help me, I'm posting soem data from a webpage that is mine to one that isn't mine. When this other webpage is called it displays some information such as success or fail.

Is there any way to get that data that is on this page?

I hope that make sense!

RedRasper

Posted: Wed Jun 11, 2003 9:10 am
by []InTeR[]
If you look @ fopen you see that you can use url's instead of files.

Posted: Wed Jun 11, 2003 9:16 am
by RedRasper
Hi,

Thanks for your help

Just looking at that, but it doesn't seem I can post data to the url and then get the results back.

Or did I miss something?

RedRasper

Posted: Wed Jun 11, 2003 9:20 am
by nielsene
If the remote page you are accessing use GET parameters to pass data than you can include them in the URL. If the page uses POST, can can look at use the CURL library to create full post based requests and retreive the results.

Posted: Wed Jun 11, 2003 9:35 am
by RedRasper
HI,

Thanks for the response, I'll take a look into curl!

Cheers

RedRasper