Hi,
Ok, how do I poll for a page on a server using PHP?
If a user wanted a page that does not yet exist - but is being made at request - I'd like the script to "poke" the server to see if the page is ready to be displayed. If so, it would then transfer to that newly made page.
I read about "http_get", but do not seem to get it to work
Quote:
do
{
$flag = http_get("www.server.ext/page.htm");
}
while(!$flag);
|
Ok, there might be a simple way out, but I don't see it.
My info came from
http://be.php.net/manual/en/function.http-get.php
more specific:
Quote:
Returns the HTTP response(s) as string on success, or FALSE on failure.
|
Tnx for shedding some light, here
Thor