I get an error like whatever change I make the script, even just one character. I'm pretty sure its some kind of setup issue, as the ISP has copied the file across and it executes without probs. I do it and I get the error!
Cheers
Check out the two scripts I posted. The first one works when uploaded by the ISP. I then modified it and copied it back. Now I get the errors I mentioned.
(This would suggest the perl path is fine) Isn't /usr/bin/perl normal on UNIX anyways?
Yes definitely in ascii mode. WS_FTP has a view file feature to look at the remote site and it would appear that the codes not been scambled or anything. That was one of the first things I though of too!
This error is occurring on my ISPs webserver. It does not occur with the same script on my local machine or our webservers in the office.
To get me started the ISP created the following script :
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<HTML><HEAD>"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.