Log In | Register | March 2, 2024

PHP Programming

Linux - May 31, 2013

If you are having issues sending out emails using the standard PHP mail you need to make sure that you have sendmail installed and running on the server. To install sendmail do the following: yum install sendmail Then you’ll want to make sure to start the new services: service sendmail start Lastly, you’ll want to make sure that sendmail starts automatically after a reboot. chkconfig sendmail on If you are still having issues after following the above […]

Back To Top

PHP Programming - November 4, 2010

PHP Connect to MySQL Database

Connecting to a MySQL database is a simple process requiring only 2 functions. 1 function to connect to the server and 1 function to connect to the desired database. The functions used to establish a MySQL connection are mysql_connect() and mysql_select_db(). First lets start by seeing a sample of the connection code and then I’ll go through and explain each function.

Back To Top

PHP Programming - October 16, 2010

Web Page Scraping and Data Extraction

Web Scraping, also known as Web Harvesting and/or Web Data Extraction is the process of extracting data from a given web site or web page. In this tutorial I will go over a way for you to extract the title of a page, as well as the meta keywords, meta description, and links. With some basic knowledge in PHP and Regular Expressions you can accomplish this process with ease. First lets go over the regular expression meta […]

Back To Top

Need Help? Ask a Question

Ask anything you want from how to questions to debug. We're here to help.

You Must Be Logged In To Post A Question.

Log In or Register