Website in php
-
1. Send Mail using mail function in PHP Code: $to = "admin@user.vn"; $subject = "User.vn"; $body = "Body of your message here you can use HTML too. e.g. Bold "; $headers = "From: Peter"; $headers .= "Reply-To: info@yoursite.com";
6p thenguyennd90 22-09-2011 265 55 Download
-
BRINGING FORMS TO LIFE The ability to reuse the same script—perhaps with only a few edits—for multiple websites is a great timesaver. However, sending the input data to a separate file for processing makes it difficult to alert users to errors without losing their input. To get around this problem, the approach taken in this chapter is to use what s known as a self-processing form. Instead of sending the data to a separate file, the page containing the form is reloaded, and the processing script is wrapped in a PHP conditional statement above the DOCTYPE declaration that checks if the...
10p yukogaru14 30-11-2010 103 24 Download
-
Chapter 1 What Is PHP—And Why Should I Care? One of the first things most people want to know about PHP is what the initials stand for. Then they wish they had never asked. Officially, PHP stands for PHP: Hyperte x t Preprocessor. It s an ugly name that gives the impression that it s strictly for nerds or propellerheads. Nothing could be further from the truth. PHP is a scripting language that brings websites to life in the following ways: • • • • • • • • Sending feedback from your website directly to your mailbox Uploading files through a web page...
10p yukogaru14 30-11-2010 178 60 Download