|
- PHP Secure E-mails
- There is a weakness in the PHP e-mail script in the previous chapter. PHP E-mail Injections First, look at the PHP code from the previous chapter: html body ?php if (isset($_REQUEST['email'])) //if email is filled out, send email { //send email $ema...
- Author:Time:2008-04-06 20:03:45 Hits:4 Comment:0 View Article...
- PHP Sending E-mails
- PHP allows you to send e-mails directly from a script. The PHP mail() Function The PHP mail() function is used to send emails from inside a script. Syntax mail(to,subject,message,headers,parameters) Parameter Description to Required. Specifies the r...
- Author:Time:2008-04-06 20:03:01 Hits:23 Comment:0 View Article...
- PHP Sessions
- A PHP session variable is used to store information about, or change settings for a user session. Session variables hold information about one single user, and are available to all pages in one application. PHP Session Variables When you are working...
- Author:Time:2008-04-06 20:02:28 Hits:5 Comment:0 View Article...
- PHP Cookies
- A cookie is often used to identify a user. What is a Cookie? A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user's computer. Each time the same computer requests a page with a browser, it will send...
- Author:Time:2008-04-06 20:01:55 Hits:2 Comment:0 View Article...
- PHP File Upload
- With PHP, it is possible to upload files to the server. Create an Upload-File Form To allow users to upload files from a form can be very useful. Look at the following HTML form for uploading files: html body form action=upload_file.php method=post...
- Author:Time:2008-04-06 20:01:15 Hits:0 Comment:0 View Article...
- PHP File Handling
- The fopen() function is used to open files in PHP. Opening a File The fopen() function is used to open files in PHP. The first parameter of this function contains the name of the file to be opened and the second parameter specifies in which mode the...
- Author:Time:2008-04-06 20:00:34 Hits:0 Comment:0 View Article...
- PHP Include File
- Server Side Includes (SSI) are used to create functions, headers, footers, or elements that will be reused on multiple pages. Server Side Includes You can insert the content of a file into a PHP file before the server executes it, with the include()...
- Author:Time:2008-04-06 19:59:47 Hits:1 Comment:0 View Article...
- PHP Date()
- The PHP date() function is used to format a time or a date. The PHP Date() Function The PHP date() function formats a timestamp to a more readable date and time. Syntax date(format,timestamp) Parameter Description format Required. Specifies the form...
- Author:Time:2008-04-06 19:58:32 Hits:1 Comment:0 View Article...
|
Copyright 2008 The PHPsu
All rights reserved.
This mirror generously provided by: .Hp Inc. ICP:08000822
Last updated: Fri Jun 6 18:18:33 GMT-8 2008