if include doesn't work or isn't an optimal solution, you can also use
fopen: this will make another request to the webserver, like a client
request, but sometimes is useful.
write: $fp = fopen("http://www.site.com/script.php?var=string......., this
should work.


Dave.O <[EMAIL PROTECTED]> wrote in message
004f01c1366a$577e1ac0$[EMAIL PROTECTED]
> I am trying to run a php script with query from wthin another php script.
> I have a php script that adds information to a database and calls another
> php script with query to view those details using the include command but
> keep getting an error "Failed opening" file.
> Is there anyway of running a php script with the "?var=string" query
> another php script ???
> Any help would be much appreciated.
> Dave

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to