English Dari/Farsi

Featured Books

Development

Installing PHP, Apache and mysql in localhost:::
1. Download Apache web server from : http://httpd.apache.org/download.cgi (download Win32 Binary (MSI Installer)).

2. Install it as you would do with any other application, except in server information part type localhost or 127.0.0.1 for the server name. Then choose typical type of installation.

3. Download and install MySql from : http://www.mysql.com/ .

Development - Web Development

To connect to MySQL using PHP, we need to use the mysql_connect() function, this function requires three arguments specifying valid domain name, username and password.



The function returns true if the connection succeeds or false if it does not. The script below attempts to connect to MySQL and then states whether it was able to connect or not using the echo() function:

Development - Web Development

To send email with PHP we need to use the mail() function. As soon as the mail() function is called PHP will attempt to send the email, then it will return true if successful, or false if it failed.

Multiple recipients can be specified as the first argument to the mail() function in a comma seperated list.

Below is a basic example of how to use the mail() function:


Development - Web Development

Shout Box

Latest Message: 1 week, 3 days ago
  • Zohra : Assalamoalikom brothers and sisters
  • hashim : very Helpful and instructive site thx 4 Owner :P
  • Ahmad Zia : it's a proud announcing that the site belongs to my cousin.... XXX
  • qasim : its a great website
  • AHMAD : it is best site for cracked softwares, all free
  • Fatima : best useful afghan site ever.
  • Fatima : lol this site is really cool
  • Fatima : im proud aswell
  • AHMAD : is there any one online
  • Mohammad Sha : Great Job!!!

Only registered users are allowed to post

Site Stats

Top 7:
United States flag 23%United States (2896)
United Kingdom flag 14%United Kingdom (1716)
Germany flag 5%Germany (655)
Russian Federation flag 3%Russian Federation (402)
Japan flag 3%Japan (371)
United Arab Emirates flag 3%United Arab Emirates (322)
Iran, Islamic Republic of flag 2%Iran, Islamic Republic of (259)
12452 visits from 114 countries

Visit Stats


Visits today:27
Visits yesterday:39
Visits in this month:119
Visits in previous month:1601
Visits in this year:11592
Visits total:12447
Impressions total:89181
Bots today:18