try

$fp = fopen (http://www.example.com/otherscript.php?a=1&b=2, "r");
$contents = fread ($fd, filesize ($filename));
fclose ($fd);

then preg_match $contents for any output.


"Gerardo Rojas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I'm trying to call a php script from another php script.  I have the script
name in a variable.  Any suggestions on how to implement this?  I tried the
"back-tick" and the exec.  I even tried doing it with a *.bat file.  Nothing
seems to work.  I'm on W2k and php 4.3.3

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

Reply via email to