"Aleksei Ivanov" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I realize it's a stupid question but I need a simple solution.. I'd like to get contence from script-generated webpage >(I send a regquest via get or post method to a page and it generates a response page - how do get that page as a string? > Get the source of the page). It's obvious that it cannot be shown with file functions. Only solution I was mentioned vas > CURL package but I'd like to solve this with standard functions. Is it possible?
Hi Aleksei, it might be possible to realize with PHP's output buffering functions. You could store the output of the dynamic page you would like to get in the buffer and then pull it into a variable. I don't have any experience with it but take a look here: http://de3.php.net/manual/en/function.ob-start.php Maybe the user comments help. Just an idea. Regards, Torsten Roehr > > Thanks in advance > Aleksei > > ----------------------------------------- > Hot Mobiil - helinad, logod ja piltsõnumid! > http://portal.hot.ee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php