Desktop Center (I) create a database Source: Aesop
Desktop Center (I) creating databases
Author: elong
This is the first time the younger brother wrote an article. I don't know if it can be released .. I want to write the program for your
Use php + xslt on windows platforms and use php + xslt on windows platforms
1. Download php 4.0.6 to http://www.php.net
2. Decompress php-4.0.6-win32.zip to c: \ php.
3. Configure php on web server
3. Copy the following four files in the dlls
This is a document on the file recommendation system. the content is very good. if you are interested, please refer to this document as a document on the file recommendation system. the content is very good, for more information, see.
Not to
Use sockets: get article (1) By Armel Fauveau
PHP can open Socket ports on a remote or local host. This article is a small example of using Socket: connect to a Usenet newsgroup server, talk to the server, and download some articles from the
Random ad display (PHP function)
######## Random ad display ##########
Function myads (){
$ Dir = "ads"; # set the directory for storing records
// $ Dir = "ads"; # set the directory for storing records
$ Ads = "$ dir/ads.txt"; # set the ad code
How to use Oracle database in PHP (6) use OCI to list data in all data tables 'email _ info'
Same as above, but it is written using OCI.
Related PHP code:
PutEnv ("ORACLE_SID = ORASID ");
$ Connection = OCILogon ("username", "password ");
If ($
Using PHP to manage images and links for small-sized website advertisements is probably the most common online advertisement mode, but dynamic and random display of multiple advertisements is not that simple. The file upload function of PHP provides
In PHP, what is Session? It is difficult to directly translate sessions into Chinese. generally, sessions are translated into the time domain. In computer terminology, Session refers to the time interval between an end user and an interactive system
I used php to check the proxy and finally wrote something useful!
Detects most ip addresses accessed by proxy servers.
// Beiji.com 2000.6.17
$ Ip = getenv ("REMOTE_ADDR ");
$ V = getenv ("HTTP_VIA ");
$ F = getenv ("HTTP_X_FORWARDED_FOR ");
The current number of online users of the website. this is the online statistics part of my multi-user statistics.
Gb_temp table:
Temp1 user ID
Temp2 IP address
Temp3 online // is marked, because this table is also used for other functions.
Create a file exchange script (3) // do. php to execute the uploaded file
After you press the submit button, the file will be uploaded from your computer to the temporary directory on the server.
The file name in the temporary directory is a
PHP variables for PHP learning
PHP3 supports the following types of variables:
(1) internal variables
Mainly include integer, float-point numbers, string, array, and object ).
1 Initialization variable
To initialize a variable in PHP, you just need
Using PHP to generate dynamic image images many people do not know that PHP can generate non-HTML data. this is very useful for generating Image images. you can generate a simple ad horizontal chart from the database or simply generate only one
My Forum source code (3) shows the topic content page.
Fox Network Forum
Include "linkfox. inc. php ";
Include "info. inc. php ";
?>
$ Query = "select * from foxbbs where id = '". $ id. "'"; // This ID is uploaded from the
Part of the Xinlin transcript (7) message book:
Class Member message book: show message: class/notebook/index. php
Session_start (); // start session
If (! Session_is_registered ("userregister") | ($ userregister = "") // check whether it is
My Forum source code (10) reguse. inc. php processes the information of registered users
Function regok ($ mess, $ reginfo) // output user information after the record is successful
{
Echo"
";Echo"
". $ Mess .
My Forum source code (8) reguse. php user registration and logon page
If ($ action = dl & $ uname)
{
$ Uinfo = $ uname. "|". $ upass;
Setcookie ("FlyFoxNet", $ uinfo, time () + 3600 );
}
?>
User registration
Include "linkfox. inc.
Php ftp learning (4) By Vikram Vaswani
Melonfire
November 07,200 0
The following is a list of codes:
--------------------------------------------------------------------------------
-----------------------------------
Practical application experience of PHP4 (8) by Sun Sports
You may have noticed that, in all the examples we have given you so far, we have given you two pages-a simple HTML page with a form, and another PHP script used to process form input and
Dynamic HTML output technology in PHP you can use anywhere in the php program
Echo "hello world! ";
To output the content you want to output.
However, you may encounter the following troubles:
1-
When you try to add two or more spaces Between
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