Posted by Steve on 09/14/05 17:58
> redirect('https://portal?'.$value);
This is the source of the problem. lynx and wget will both have
problems following the redirection although the rest of the script will
have been executed.
Why not use PHP instead? 8-) fopen() will follow redirections...
<?php
$file = fopen( "http://www.php.net/fopen", "r" );
if( !$file )
{
print "fopen() failed";
exit;
}
while( !feof( $file ) )
{
$html = fgets( $file, 1024 );
print $html;
}
fclose( $file );
?>
---
Steve
Navigation:
[Reply to this message]
|