Forum Moderators: coopster
#!/usr/www/cgi-bin/php4.cgi
<? print "hello"; ?>
#!/usr/bin/perl
system ('./myfile.php' );
Has anyone got this configuration? Do you have this sort of problem? I'd like to resolve this as any alternatives to the problem I can think of involve a lot of recoding...
Thanks,
Alex
It looks to me that as a cgi-bin "Hello" it works but in your Document root it does not.
Can you call myfile.php direct from your browser? If so I don't think I can help. If not you may need to move it to your cgi-bin to get it to work.
The php.ini file can be restictive as to where files can be called from.