mal100 Posted July 16, 2009 Share Posted July 16, 2009 so for the last couple days Ive been trying to develope this code which is basically a form that i want sent to my email and ive looked a countless sites and tutorials on how to do it but no matter what i do whenever i open it up with the internet and go to test it everytime I hit submit it sends me directly to the php code that ive written this is my first time writting php so any help would be greatly useful i didnt include the code because ive just been using the example that are on the interent and still by copying and pasting i still cant manage to get it to work thanks,marco Link to comment Share on other sites More sharing options...
Ingolme Posted July 16, 2009 Share Posted July 16, 2009 Are you running this on a server that supports PHP? Link to comment Share on other sites More sharing options...
mal100 Posted July 16, 2009 Author Share Posted July 16, 2009 ill have to ask because i dont know but if it doesnt what is the best alternative ? Link to comment Share on other sites More sharing options...
smerny Posted July 16, 2009 Share Posted July 16, 2009 you are naming the file with the extension php instead of html right? and putting the php code within <?php ?> tags?try creating a file called test.php with just the code <?phpecho "Hello World";?> and see if that works, if it doesn't... then you don't have php... you could switch to a host that does offer php, here is a free one Link to comment Share on other sites More sharing options...
mal100 Posted July 16, 2009 Author Share Posted July 16, 2009 found out that our server uses ASP thanks for the help though ill go over to that part of the forum and ask there Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.