PHP Programming
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 […]
PHP Programming - November 4, 2010
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.
PHP Programming - October 16, 2010
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 […]
Follow DevBlog.co on Twitter
follow us on Twitter
Join DevBlog.co is on Facebook!
DevBlog.co on Facebook
Follow DevBlog.co on Digg!
DevBlog.co on Digg