emielvenlo
Verified User
- Joined
- Oct 21, 2008
- Messages
- 11
I dont get Perl to work on websites, alltough it does work in the shell.
I have made a testfile to check this:
As you see the perl file executes the right way in the shell.
The same testfile on the website gives: http://www.sexable.nl/tube/test.pl
Does anyone know what could be wrong?
I have made a testfile to check this:
Code:
[root@vps tube]# cat test.pl
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "I'm running :)";
[root@vps tube]# ./test.pl
Content-type: text/html
I'm running :)[root@vps tube]#
The same testfile on the website gives: http://www.sexable.nl/tube/test.pl
Does anyone know what could be wrong?