Current Page: 1 of 1
Results 1 - 11 of 11
15 years ago
Topkat
I have a PHP file which sends an email to my email address once submitted . When I submit it, I get the following error; Warning: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\c4\processfeedback.php on line 20 I searched google and read that it could be my S
Forum: WampServer English
15 years ago
Topkat
Thanks for the replies guys. Nice websites you both have too ;-) Hopefully I'll have a nice one soon aswell:-)
Forum: WampServer English
15 years ago
Topkat
Ahhh cool, would you say it's a good book or are there better ones out there? I wanna make a basic community website with a forum... BTW- I have the forth edition released in October 2008, so I hope the code is up to date :-)
Forum: WampServer English
15 years ago
Topkat
It's me being a donut, lol I tried to run the file by double clicking on it inside the www folder. I didn't think I needed to start the HTML from localhost. Hopefully this post will help any other newbies who make the same mistake as me :-) Sorry for wasting your time! )) Thanks again!
Forum: WampServer English
15 years ago
Topkat
Hey like I said, it's straight from the CD. I typed in a more simple version of it, that's the end code of the chapter...
Forum: WampServer English
15 years ago
Topkat
Hey, it's started doing the SAME thing again, asking for Dreamweaver, even with $_POST for the method :-\ I give up... I must be crazy, lol Is that code from the book really messed up?
Forum: WampServer English
15 years ago
Topkat
Yeah I pulled it straight from the CD "PHP and MySQL Web Development 4th Edition". I copied the example which gave me the same problem, then I got the CD version which gave me the SAME problem. I changed {method="post"} to {method="$_POST"} and it didn't ask me to open Dreamweaver!!! :-) But I got a load of errors! I'll figure out how to fix them soon.
Forum: WampServer English
15 years ago
Topkat
This is the html form called orderform.html -------- <html> <head><title>Bob's Auto Parts</title></head> <body> <form action="processorder.php" method="post"> <table border="0"> <tr bgcolor="#cccccc"> <td width="150">Item</td> <td width="15">Quantity<
Forum: WampServer English
15 years ago
Topkat
I don't think it's anything to do with Dreamweaver, because when I associate .php files with Notepad, it asks me to open Notepad rather than Dreamweaver. The first HTML form works fine. All PHP files work fine. The problem starts when I submit my HTML form and a request is made for a PHP file that will process the HTML form input. Rather than just run the php file, Windows asks me to open the
Forum: WampServer English
15 years ago
Topkat
Hey thanks for the quick reply. I just tried it with short_open_tags on, then restarted the Wamp services, but it made no difference. :-( I'm running Windows Vista 64 Ultimate. I tried to change file accociation, but it made no difference
Forum: WampServer English
15 years ago
Topkat
Hi, I just installed WampServer2.0c yesterday and it works fine, but I have a problem when I try to submit forms. I have a very basic HTML form. When I click on submit, the HTML form requests the PHP file. Rather than process the file then post it back to Explorer7, it asks me to open or save the PHP file in Dreamweaver. There is nothing wrong with the HTML form as I have the source cod
Forum: WampServer English
Current Page: 1 of 1