Re: calling a php script

From: Date: Mon, 15 Sep 2003 23:58:17 +0000
Subject: Re: calling a php script
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-21390@lists.php.net to get a copy of this message
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" <grojas@strategicinc.com> wrote in message news:F0EDCD6B96C14741A2F6B0BE6EB7D9CF4BC3D1@scsprdm.strategicinc.com... 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

« previous php.windows (#21390) next »