|
Generator of the postal form for PHP
A couple of words about the features of the postal form in PHP.
The undoubted plus of PHP is that the file is processed on the server, not to the computer visitor of the site.
The main problem of postal forms is Russian encodings. It is connected by differences in mail programs. We do not know which mail program the visitor uses, especially about its settings. In PHP, processing is completely independent of the browser, the mail program and their settings, which means it's reliable. And this means that we need to create 2 files:
Send Form FieldsYOUR POSTAL FORM
If the form does not workIf the form works, but does not transfer data, then the question is in the PHP settings.If you have .htaccessIn it it is necessary to add a linephp_value register_globals 1Since this file has no name, only with an extension, it should be opened and edited in Notepad. Details about htaccess Or drop it into the root directory of the site this one. The fact is that this file is difficult to create, it has no name, only with an extension. Nmfr what to download, it's easier to modify an existing one. If it does not work, you probably do not have support for .htaccess You need to contact the providerto enable register_globalsAlternativelyyou need to replace in the first file<form action="email.php" name=mailer> to <form action="email.php" method="post" name="mailer" id="mailer">And in a file to the processor to replace all variables (which begin with the Dollar) for example $mail to $_POST['mail'] $name to $_POST['name'] | Form Generator code against spam Feedback services ICQ status on the site Skype website Chat on the website - Online counseling Video Assistant online Captcha online Comments on the site |