Online short message sending and receiving program without database

login.php Session_Start ();    $nickname = $name; Session_register ("nickname"); Header ("location:hframe.php"); }?> hframe.php       smessage.php if (Isset ($submit)) { $FP =fopen ("Test.txt", "A +"); $temp = "\ r \ n". $rmessage. "

10 Tips for PHP scripting (4)

Creating images dynamically After installing some third-party libraries, combined with your graphics processing skills, you can create and manipulate images in PHP. In fact, you don't need much knowledge of geometry. When I was in high school, this

PHP4 Interacting with MySQL

1. Start by establishing a connection to the MySQL database. First, we should build a database in MySQL to create a infostar table: Follow the steps to test MySQL and see the "mysql>" prompt to manually build the tables we need: Mysql>create

An example of fetching information from another website (Domain name query)

if (Isset ($xx)) { $dodo = @file ("http://www.e9china.com/cgi-bin/comdns.pl?raw=1&lookup=OK&fqdn=". $fqdn. " &domain= ". $domain." &root= ". $root." &cdomain=2.7 "); $i = 0; while ($dodo [$i]) { echo $dodo [$i]; $i + +; } Exit } ?> if (Isset

10 Tips for PHP scripting (6)

PHP and COM If you're an adventurer and you're running PHP on a CGI, ISAPI, or Apache version of the Windows system, you can also get the COM functionality of the system. Now, the work of explaining COM (the Component Object model of Microsoft) is

How PHP sends data to MySQL

You should be familiar with HTML forms, the following piece of code is a very simple HTML form: Last name: Name: When you enter data and press the Submit button, the form will send the data to SUBMITFORM.PHP3. With this PHP

PHP Installation Tips: Frequently asked questions (iii)

Six Q: How do I send mail with the mail function under Windows? A: PHP in Unix/linux issued mail with the SendMail program, in Windows does not sendmail, but can be done with the SMTP protocol, as follows: Modify the php.ini file's [Mail

Community (Php&&mysql) Four

echo " "; echo " ";echo " ";echo " ";echo " ";       echo " clamp 肈";       echo "Only archive ";       echo " lai ";       echo " ";     echo " ら stamp "; echo "

How to install MySQL under UNIX system

# CD/USR/SRC # TAR-ZVXF mysql-3.22.25-pc-linux-gnu-i686.tar.gz (Generate mysql-3.22.25-pc-linux-gnu-i686 directory) # CD mysql-3.22.25-pc-linux-gnu-i686 #./configure--prefix=/usr/local/mysql (where parameters are set to install the path) # make #

An example of a PHP text message book (v)

Now let's take a look at the reply.php code: --------------------------------- reply.php function Check_strlen_long ($txt) { $len =strlen ($txt); $count = 0; for ($i =0; $i { if (Ord ($txt [$i]) {$count = $count +1;} if (Ord ($txt [$i]) ==10 or

PHP4 Practical Application Experience (8)

Author: Sun Sports You may have noticed that, so far, in all the examples we've given you, we've given you two pages-a simple HTML page with a form, and another PHP script to handle the form input and produce the corresponding output. However, PHP

A simple auto-sending mail system (III)

A simple auto-sending mail system (III) Here is the introduction of PHP and MySQL together practical. How to extract data from the MySQL database. Well, we have successfully completed our requirements, a lot of data already exist in the database,

PHP4 's Cookie support detailed

PHP4 's Cookie support detailed The establishment of commercial sites or more sophisticated personal sites, often need to record visitors ' information, in PHP provides two convenient means: Session and Cookie function. In order to permanently

Another solution for PHP under Mail

A while ago I contacted the Dec Tru64 Unix i installed the Php+apache, can be used to provide the mail function is always unable to send a normal letter, so self-compiled a function, it uses the Unix pipeline and PHP sock function to send letters,

Implementing the previous page and next page buttons

This example is excerpted from phpbuilder.com Slightly translated //   $limit = 20; Number of lines displayed per page $numresults =mysql_query ("select * from TABLE where YOUR CONDITIONAL here Order by WHATEVER");//Replace the SQL statement

Database-Free detailed domain name Query program PHP version (2)

File Two: error.tml the domain name you queried [>domainext [>error_msg Query rule: First you need to enter the domain name and domain suffix of the query. Do not add "www." Before the domain name, "www." is the hostname,

How to import data from text to MySQL

In Access, you can easily import the data from the text into the table, which is not easy to use in MySQL, but it is also very simple. First, the data records are sorted by row and are separated by specific characters such as: "," The record form is

Talk about PHP syntax (3)

Author: China Red Wolf Body: It is convenient to refer to PHP submission form information above ("Talk about PHP syntax (2)"). However, how long is the lifetime of the variables in the submitted form information? This article will come to Queensland

Talk about PHP syntax (4)

Body: The above ("Talk about PHP grammar (3)" At the end of the mention of the cookie and session, this article on these two techniques for some introduction. Cookies we often read it as "library", also called it "small dessert." It is a small file

The realization idea and core procedure of simulating OICQ (II.)

3 Online users ' information scanning and updating Using the built-in framework to invoke the scan and update in the Web page, this line can also be seen in the Web page source code! 4 information scanning and updating procedures userflush.php

Total Pages: 5208 1 .... 2987 2988 2989 2990 2991 .... 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.