So I contacted the companies customer service support and was told the .php files must be executable - otherwise they will not run. You must chmod 755 the script.
Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: main.php
If you think this is a server error, please contact the webmaster.
Error 500
Not knowing what any of that meant, I did a search here on chmod and I tried just about every solution I could find. I put:
Code: Select all
<?php
chmod("main.php", 0755);
?>I haven't had this much trouble with ASP. So what am I doing wrong?