PDA

View Full Version : email .asp .php does not work


meerah
05-14-2006, 12:02 PM
I published my site on company´s web space http://www.rolf.cz ..the email form fail to work.. When I write down the email and message and click to submit it shows up the dialog box which prompts me to save the email php file or open it via browser....
I tried the same with .asp mailing script....
Could be a possible clue to that problem that company´s webspace provider does not allow php scripts and asp scripts? Or is the problem the method of sending variables (post,get) ?
Which scripting method is absolutely reliable ?

miranda
05-14-2006, 04:32 PM
In order to use PHP the server needs the php module installed. For ASP if the server is not windows running IIS then it would need a 3rd party program to run the asp scripts. Talk to the hosting company and find out if either is available to you.

Which is better is dependent on who you ask. Both have avid followers who will argue vehemently over why they prefer "fill in the blank". Both are absolutely reliable.

harbingerOTV
05-15-2006, 01:53 PM
Assuming your host is windows based and you can use ASP rather than PHP on it, the problem is probally that your caontact page ( http://www.rolf.cz/__vychoziKontakt.html ) is an html page and not an ASP page. Try renaming the page to http://www.rolf.cz/__vychoziKontakt.asp and reuploading it and trying it out and see if that works.

degsy
05-15-2006, 04:04 PM
If you have no choice then most will support PERL (.cgi/.pl) scripts.

http://nms-cgi.sourceforge.net/