10 Tips for PHP scripting (1) _php tutorial

Installing PHP as Apache DSO PHP is often used with Apache Web servers for the Linux/unix platform. When we install PHP in the Apache environment, you have three installation modes to choose from: Static modules, dynamic modules (DSO), and CGI. I

PHP configuration Experience contains MYSQL5 garbled solution _php Tutorial

After a period of time the crazy PHP programming, the configuration of the PHP under the Windows platform is a deep feeling, at first I used a one-click installation of the Fool pack, but consider the Idiot pack installed version has lagged behind,

Introduction to PHP _php Tutorial

PHP is a server-side scripting language that is easy to learn and use. With minimal programming knowledge, you can use PHP to build a truly interactive web site. This tutorial does not want you to fully understand the language, but it will allow you

A Domain name Query program _php Tutorial

(mainly using two string functions implode () and explode) I made the domain name query source code, mainly with two string functions implode () and explode, using these two functions of the powerful function of cutting strings can be queried.

Two functions for simulating SQL Server: DateAdd (), DateDiff () _php Tutorial

File name: date.inc.php3 Before using these two functions, convert the date or datetime to the timestamp type. Such as: $today =mktime (0,0,0,date ("M"), Date ("D"), Date ("Y")); /**** simulation of DATEADD functions in SQL Server ******* $part

Use PHP to call the database storage process! _php Tutorials

Use PHP to call the database storage process! Author: fox4000 Yesterday, see a comrade asked if you can use PHP to call the storage process, the feeling should be able to, so, immediately carried out the experiment, very successful! It was a very

VBulletin HACK----Two hack_php tutorials on typography

"Simple text typesetting by VB code" Reason: 1.1. The 4 version does not have these, and the domestic more famous Ubb hack House adds a lot of UBB code (VB code) for the text typesetting. Advantages: Only a few lines, can be achieved, very

PHP online Survey System _php tutorial

PHP Online Survey System This is a simple voting procedure, for just learning PHP and friends is a very good entry program. Here to introduce you, hope to be helpful to friends. The system is composed of the following four files: The survey.htm of

Medium: Installation and configuration php_php Tutorial

Apache installed, finally can get started to get PHP, then we start. First of all the previous download good Php-5.2.0-win32.zip decompression, directory words with you like, I here for the convenience of explanation, unzip to D:\php5 good. If you

My bulk mail program _php tutorial

UNTITLED Include "connect.inc.php"; if ($subject) { $query = "Select Name,email from User"; $res = mysql_query ($query); $row = Mysql_fetch_array ($res); while ($row) { Mail ($row [' email '], $subject, $row [' name ']. ": N". $text. " N China

PHP Text Manipulation Class _php tutorial

Copy CodeThe code is as follows: Class Ctbclass { var $file; var $index; Create a file and write the input function Null_write ($new) { $f =fopen ($this->file, "w"); Flock ($f, LOCK_EX); Fputs ($f, $new); Fclose ($f); } Add data record to end of

Executing system external commands in PHP _php tutorial

PHP as a server-side scripting language, like writing simple, or complex dynamic Web pages such a task, it is fully capable. But this is not always the case, sometimes in order to achieve a function, you have to rely on the operating system external

How to use scripting to mimic the login process _php Tutorial

Check the code of his landing page to see which page he submitted to and what the variable is. Copy CodeThe code is as follows: Obviously, if you want to log in, you need to post the username, passwd, and submit variables to login.jsp, and

How to post data from a PHP file to another address without the _php tutorial for forms and hidden variables

You can use the following functions to implement: function Posttohost ($url, $data) { $url = Parse_url ($url); if (! $url) return "couldn ' t parse url"; if (!isset ($url [' Port ']) {$url [' port '] = "";} if (!isset ($url [' query '])) {$url ['

Commonly used forms validation classes, with this, the general validation is all aligned. _php Tutorials

Copy CodeThe code is as follows: /** * Page function: Common Forms Validation Class * Author: Gladly with the wind * Setup Time: 2006-3-6 * qq:276624915 */ Class Class_post { Verifies whether a combination of letters/numbers of a specified

Hide X-space Personal space under copyright method hide X-space Personal space title Hide X-space Personal Space Management Copyright Method _php Tutorial

Copyright can be set to hide in CSS. The file cannot be deleted because it is Zend, and it is not recommended. 1. Hide the copyright method under X-space personal space Modify/css/space.css to find the following code: /* Footer

Recommend a full-featured PHP message Class _php Tutorial

php--the function of the following class is very powerful, not only can send HTML-formatted mail, you can also send attachments How to use: Copy CodeThe code is as follows: Include "Email.class" $mail->setto ("a@a.com"); Recipient $mail-SETCC

Troubleshooting GD Chinese garbled problem _php tutorial

Today carefully studied the next GD of some related technology, handy also study GD Chinese garbled problem. Using the GD library to output Chinese strings, it is useless to call imagestring. You need to use the Imagettftext () function. The

About PHP input and output stream _php tutorial

Today, someone phpchina ask me about PHP, how to do XML? , and the corresponding solutions have been given above. By the way, let's talk about PHP's input and output streams. Today's summer vacation in the company, just when colleagues use flash to

Use PHP to control user's browser--ob* function Instructions _php Tutorial

Use PHP to control user's browser--ob* function The output control function gives you the freedom to control the outputs of the data in your script. It is very useful, especially when you want to output a file header after the data has

Total Pages: 5208 1 .... 1176 1177 1178 1179 1180 .... 5208 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.