Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Please Save Me From Insanity!!!

by tangent (Vicar)
on Feb 09, 2018 at 01:45 UTC ( #1208770=note: print w/replies, xml ) Need Help??


in reply to Re: Please Save Me From Insanity!!!
in thread Please Save Me From Insanity!!!

Should be:
#!/usr/bin/perl print "Content-type: text/html\n\n"; print "NOTHING TO SEE HERE!\n";
If you don't print the header you will get the '500 Internal Server Error'

Also, what Hostgator support are saying about the PHP file is rubbish, but if you do want to test it then put just this in your index.php:

<?php echo '<p>Hello World From the PHP File</p>'; ?>
The first line of the PHP must contain <?php ...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1208770]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2018-06-21 18:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (118 votes). Check out past polls.

    Notices?