Hi,
Sorry to bother you, I was wondering if someone could answer a question about php and cgi working together.
I saw in the notes on PHP.net:
Here is something I thought up and it works rather well... this is a way to do CGI form prossessing inside a PHP file... just do this for the include
<?php virtual("./../cgi-bin/newspub/search.cgi?$QUERY_STRING"); ?>
for this example i use news-publisher.
then for the forms that normaly interact with that CGI put in the action=the php script and the method=get so it will transfer all the information through the querry string
works very well...
On my PHP page (main.php) I have a Perl mailing list script (mailscript.cgi).
At the moment I'm getting the mail form to post to main.php?document=mailscript
In using this code in my PHP file to execute the cgi script.
<?php virtual("./cgi-bin/".$document.".cgi"); ?>
The problem I'm having is that the variables that the user enters in the form do not seem to get through.
I was wondering if someone could help or if someone knew what the problem is.
The site is located at http://www.theconceptonline.com/main.php
Enter band@theconceptonline.com as an email address to signup to the mailing list.
If you have time to help me out it would be greatly appreciated.
Thank you in advance
Tim Burgan