Re: [PHP-DEV] Trying to input a webpage - need help

2002-08-16 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ken, This code chunk should do the trick. - -- php code -- $data ="insert=data&location=here"; /* This would be the data that needs to be posted to the site - urlencode it */ /* Headers for http transactionreplace /folder/pages.ext */ $h

[PHP-DEV] Trying to input a webpage - need help

2002-08-16 Thread Ken Meyer
I am trying to write a script that will read a page from another website. So long at the page is accessed via a "GET", this is no problem; I just need to open the page using fopen, readfile or file_get_contents. The problem is that I need to access a page that requires a "POST". Any suggestions