
Niewłaściwy numerNiewłaściwy numerZa mało cyfr Miasto: Wiadomość: Pole wymaganeAdres się nie zgadza Telefon: Pole wymaganeZa mało znaków Adres e-mail: īłędny adres emailBłędny adres e-mail Podaj ponownie e-mail: $wiadomosc Įcho " Dziękujemy za wysłanie wiadomości!" Strange thing is that I can send form from /jak_kupic.php and it works. $coding))Įcho " Dziekujemy za wysłanie wiadomości!" Įcho " Formularz nie został wysłany. If(mail($email, $reply_subject, $reply_body, " From: ". $coding = " Content-Type: text/plain charse=utf-8 \nContent-Transfer-Encoding: 8bit" Third file: jak_kupic.php (pasted only form's DIV)
#Local web ampps not working code#
Second file: jak_kupic.html (I paste only form's DIV)Ĭopy Code Formularz kontaktowy Imię i Nazwisko: Pole wymagane Za mało znaków Adres e-mail: Błędny adres email Błędny adres e-mail Podaj ponownie e-mail: Pole wymagane Adres się nie zgadza Telefon: Niewłaściwy numer Niewłaściwy numer Za mało cyfr Miasto: Wiadomość: Pole wymagane Za mało znaków Niewłaściwy numerNiewłaściwy numerZa mało cyfr But I want to use OOP approach to do this. If you can notice, I comment out some block of code their, that worked for me. The problem is, I got nothing displayed on the home.php page.
#Local web ampps not working install#
Installation under linux would be easier, no editing all those cgi's by hand (not really enough for a script for a single time install but the creators could have included one.)Ĭopy Code ' // } $con = new Connection() I did take the easy route and used SQLite instead of trying Mysql or Postgresql (both are currently on my windoze box though)

Took me a grand total of 45 minutes, never having installed/configured MT before. Had to search in the online documentation for the config file settings it needs for SMTP. Setting up a new user via the register link requires that outgoing mail is working properly. Copy the mt directory to somewhere under the web server's document root, modify the nf, add a perl module or too as required by the config cgi (it tells you what's missing), and fix the #! lines in the cgi's for windoze. Setting it up under windoze was relatively easy. It is a multi-user blogging system (I thought it reminded me of a site I'd used when I set it up and that is indeed what is using - no plug intended) Movable Type isn't just a single perl script.
