Hello Aleksei,

Monday, April 19, 2004, 7:39:43 PM, you wrote:

AI> I realize it's a stupid question but I need a simple
AI> solution.. I'd like to get contence from script-generated webpage
AI> (I send a regquest via get or post method to a page and it
AI> generates a response page - how do get that page as a string? Get
AI> the source of the page). It's obvious that it cannot be shown with
AI> file functions. Only solution I was mentioned vas CURL package but
AI> I'd like to solve this with standard functions. Is it possible? 

You can perform a GET request using the standard file functions (fopen
for example) because all the parameters can be passed on the Query
String).

However to make your life easier, and to support POST methods, just
get yourself the excellent free class - Snoopy. I think the web site
is just snoopy.sourceforge.net

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to