phone

Php Mysql

PHP Google Map API Class with physical address as data input

PHP Google Map API Class with physical address as data input

If you ever wanted to create a simple php class to render Google maps. Here is one that you can use This section must be in the head of the page // begin class class GoogleMapAPI { var $api_key =... (Continue reading)

Php array of minor and major search engines and crawlers

Php array of minor and major search engines and crawlers

I was just working on a script to examine traffic and thought this may help someone. Web developers are always looking for arrays of different things so why duplicate your efforts. Cheers... (Continue reading)

How to Convert Zen cart database to Opencart

How to Convert Zen cart database to Opencart

I have built eCommerce websites using both Zen cart and Opencart. Both have their plus and minuses. I prefer Opencart because of the ease of use and quick back-end navigation. If you need help to changing from Zen cart to... (Continue reading)

Setting php Mail Bounce Email Return Path on Godaddy Shared Hosting

Setting php Mail Bounce Email Return Path  on Godaddy Shared Hosting

A spent quit a while going thought php.net, stackoverflow.com and godaddy.com looking for a solution on how to set return path for mail on Godaddy shared hosting accounts. I saw that a few responses to inquiries on the Godaddy forum... (Continue reading)

How to deal with bad url or html link in simple html dom parser

How to deal with bad url or html link in simple html dom parser

Simple html dom parser is truly a simple script to parse website data that you can quickly post into perhaps a mysql table. However, when you are parsing large amount of data the parser can come across urls that are... (Continue reading)

How to extract of scrap url from string using regex preg_match

How to extract of scrap url from string using regex preg_match

Are you working on a url scraping project? Here is a quick way to extract urls from string using preg_match in php. Very simple. You can incorporate it into a function, etc if(preg_match(“/[a-z]+:\/\/\S+/”,$article,$matches)){ foreach($matches as $url){ echo $url; Once you... (Continue reading)

How to extract email address from a string using preg_match in php

How to extract email address from a string using preg_match in php

Ever wanted to extract or scrap an email from a string or some content without using simple html dom or a parser such as LIB_parse.php. If you are creative enough you can incorporated this into a function that goes from... (Continue reading)

How to extract phone number from string in php preg_match

How to extract phone number from string in php preg_match

If you dabble a bit with php, particularly website scraping and database management, it is likely you came across a project where removing phone numbers from a string was critical to variables neatly placed in a database. Here is a... (Continue reading)

How to copy a table in phpmyadmin

How to copy a table in phpmyadmin

If you dabble with phpmyadmin as much as I do, then you know how just a few simple codes can make work much easier. There are two ways to copy a table in phpmyadmin. The first way is to make... (Continue reading)

How to change tinymce default font or text size

Everyone has a favorite text editor, but my favorite is Tinymce; it is simple and I love simplicity. However, like everything else, nothing is never 100 percent. The only drawback with Tinymce is the default text / font size of... (Continue reading)