in reply to Perl from PHP
koolgirl,
Rather than assume the problem is with PHP posting to a Perl CGI, first verify that you can run a Perl CGI directly. There could be a number of problems - the script doesn't have the correct ownership, permissions, isn't printing out headers, etc. If it were one of those issues - I would expect an error message rather than a white screen. More likely, something isn't working the way you expect and you are looking in the wrong broom closet.
Rather than assume the problem is with PHP posting to a Perl CGI, first verify that you can run a Perl CGI directly. There could be a number of problems - the script doesn't have the correct ownership, permissions, isn't printing out headers, etc. If it were one of those issues - I would expect an error message rather than a white screen. More likely, something isn't working the way you expect and you are looking in the wrong broom closet.
Write the simplest hello world CGI you can. Verify it works directly. Replace the POST action to the hello world. Verify it works.
Cheers - L~R
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Perl from PHP
by fullermd (Priest) on Nov 07, 2012 at 21:05 UTC |
In Section
Seekers of Perl Wisdom