A pearly question
-
Ok, this will be an easy question for you peal guys (or gals for that matter) I have a peal file, for a Form Mail in my website (FormMail.pl) I have been following instructions to use this file for my wesbite, making changes to the parameters, but what does this mean: ************** "Once uploaded you will need to change the file so that it can be executed, this can normally be done in any ftp programme" ************** Do I have to compile this file, or rename it? Either way, if i run the script as it is i get a Error 500. Hope this make some sence :~ Hope someone can let me know tonight, if you can spare a mo..cheers in advance --- Peter M
-
Ok, this will be an easy question for you peal guys (or gals for that matter) I have a peal file, for a Form Mail in my website (FormMail.pl) I have been following instructions to use this file for my wesbite, making changes to the parameters, but what does this mean: ************** "Once uploaded you will need to change the file so that it can be executed, this can normally be done in any ftp programme" ************** Do I have to compile this file, or rename it? Either way, if i run the script as it is i get a Error 500. Hope this make some sence :~ Hope someone can let me know tonight, if you can spare a mo..cheers in advance --- Peter M
Make sure the file execute permissions are set properly. On *nix the file permissions should probably be 755. Most FTP programs allow this by right-clicking on the file name on the server side, and selecting something regarding 'permissions/chmod . Also, make sure you uploaded it to a CGI directory. HTH
"Things are not what they seem. Nor are they any different."
-
Make sure the file execute permissions are set properly. On *nix the file permissions should probably be 755. Most FTP programs allow this by right-clicking on the file name on the server side, and selecting something regarding 'permissions/chmod . Also, make sure you uploaded it to a CGI directory. HTH
"Things are not what they seem. Nor are they any different."
thanks, i found out i needed to make the file executable, and now it runs fine. Thanks for your reply also Been advice to use ASP now, by a fellow CPian...humm...things to do...things to do... --- Peter M
-
thanks, i found out i needed to make the file executable, and now it runs fine. Thanks for your reply also Been advice to use ASP now, by a fellow CPian...humm...things to do...things to do... --- Peter M
Peter Mayhew wrote: now it runs fine :cool: Peter Mayhew wrote: Been advice to use ASP now I've been avoiding it. I haven't run into any problems working with perl on a linux web server, yet, so I haven't found a pressing need.
"Things are not what they seem. Nor are they any different."
-
thanks, i found out i needed to make the file executable, and now it runs fine. Thanks for your reply also Been advice to use ASP now, by a fellow CPian...humm...things to do...things to do... --- Peter M
If you want the best of both worlds go with PHP :) Embedded like ASP, but C syntax like Perl and open source :) The word of the day is legs, let's go back to my house and spread the word ;P
-
If you want the best of both worlds go with PHP :) Embedded like ASP, but C syntax like Perl and open source :) The word of the day is legs, let's go back to my house and spread the word ;P
LOL :-D --- Peter M
-
LOL :-D --- Peter M
You're not this Peter Mayhew[^] are you? :~ -- You're entertaining at least.
-
You're not this Peter Mayhew[^] are you? :~ -- You're entertaining at least.
Nope.:) I get asked that so often though, I had to put the question in a FAQ on my own website!. Just dont make me angry on a full moon. Some say things get a little hairy. :-O --- Peter M