|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-09-19 17:43 UTC] rasmus
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 22 12:00:01 2025 UTC |
Following scenario: I sell digital information and services via Web. There is a perl script doing the payment stuff and executes the apropriate script after successful payment. My intention was a perl statment system ("/usr/local/bin/php", "-q", "$targetscript", "$query_string"); because this works well when i write a perl script contain only this single line and execute it in a shell. From the payment-perl script (invoked by the web server), the php does not accept any commandline parameters, but is neither able to determine the name of the script to execute nor to set the variables from the query string. I even changed the detection of php running as a cgi (four getenv attempts on typical Web-Environmentvariables in main.c), but this didn't work either. What can I do?