Hi,
my problem is not related to any of Gossamer Threads script but I badly need some help on this issue.
I was trying to move my website to a new server. i merely modified all the path names in my cgi scripts so no major changes were made. So I expect them to work. However I kept having difficulties running some cgi scripts. I tried to debug and found that the problem is, the cgi script does not seem to recognise $ENV{'REQUEST_METHOD'}. Even though on the form, I specified FORM METHOD="POST", the request_method is still "GET".
Which is why, everytime I submit a form that will call a cgi script(which uses $ENV{'REQUEST_METHOD'}), instead of sending the data and taking me to the next page, the same page (with the form) will reload but with the URL parsed with the data. (eg. form.html?name=aaa&email=aaa@xyz.com)
I would like to know, does $ENV{'REQUEST_METHOD'} ever work incorrectly? Or maybe, did I do something wrong that causes the problem? Any suggestions or help will be very much appreciated.
Thank you.
Cheryl
my problem is not related to any of Gossamer Threads script but I badly need some help on this issue.
I was trying to move my website to a new server. i merely modified all the path names in my cgi scripts so no major changes were made. So I expect them to work. However I kept having difficulties running some cgi scripts. I tried to debug and found that the problem is, the cgi script does not seem to recognise $ENV{'REQUEST_METHOD'}. Even though on the form, I specified FORM METHOD="POST", the request_method is still "GET".
Which is why, everytime I submit a form that will call a cgi script(which uses $ENV{'REQUEST_METHOD'}), instead of sending the data and taking me to the next page, the same page (with the form) will reload but with the URL parsed with the data. (eg. form.html?name=aaa&email=aaa@xyz.com)
I would like to know, does $ENV{'REQUEST_METHOD'} ever work incorrectly? Or maybe, did I do something wrong that causes the problem? Any suggestions or help will be very much appreciated.
Thank you.
Cheryl