Page 1 of 1

HELP NEEDED 3 !!! Downloading page with php?

Posted: Mon Mar 22, 2004 4:10 am
by Eddy_25
Hello!

How can i download a page from some location? i guess that is easy, something with headers() but i'm not sure.

So, i need to download some, for example, HTML page and then parse it.

Thank you very much!

Posted: Mon Mar 22, 2004 4:24 am
by patrikG

Posted: Mon Mar 22, 2004 4:49 am
by Eddy_25
Thanks.

You said there that CURL comes defaulty with php, but when i follow the link i see that PHP needs to be started with some parameters. If i understud correctly. So if I put code where i used CURL on some server on the net , is that garanteed to work?

Posted: Mon Mar 22, 2004 4:54 am
by patrikG
To check whether CURL has been installed run

Code: Select all

phpinfo();

Posted: Mon Mar 22, 2004 5:01 am
by Eddy_25
Ok. So, no so sure stuff. Never mind. Thanks for help.

What do you think about 3 questions below this one in index? :)

Posted: Mon Mar 22, 2004 5:05 am
by patrikG
Eddy_25 wrote:What do you think about 3 questions below this one in index? :)
Please elabourate.

Posted: Mon Mar 22, 2004 5:12 am
by Eddy_25
"HELP NEEDED ... " and "HELP NEEDED 2! ..."

thanks...

Posted: Mon Mar 22, 2004 5:16 am
by patrikG
I have the same strong feelings about it that I have about my favourite bag of flour falling over in China.