PHP TUTORIAL
13 FOLLOWERS
PHP Amazon Product advertising API tutorial
5 In this PHP tutorial about Amazon Product advertising API we will try to find offers on Amazon website using Amazon product API and also learn how to get required Amazon product details. I read documentation about Amazon Product advertising API but was still unable to use it, unt ... ...
POSTWeb crawling detection
1 Web crawlers or web-spiders are software which do web crawling from one page to another via the connecting hyperlink (links) on the pages. The most known and famous crawler is Google Bot. While Website crawlers are known since internet has been available, it was the search bots w ... ...
POST-
Allowed memory size of bytes exhausted
1 I was getting Fatal Error: Allowed memory size of 67108864 bytes exhausted from one of my PHP script. I allowed Multiple Files upload and the image processing at line 82 was too RAM exhaustive, causing Allowed memory size of bytes exhausted error. I thought image processing of ... ...
POSTPHP Upload Multiple Files
1 HTML5 and PHP allows multiple files upload using single Input element. Most tutorial for uploading multiple files never deals with Internet Explorer due to its lack for HTML5 support. However, there is a workaround thanks to Raymond Camden. Adding multiple= multiple in the fil ... ...
POSTPHP Mysql to Mysqli mistakes
5 Converting from PHP Mysql statements to Mysqli statements I found myself making certain mistakes. While the Mysqli procedural style resembles the mysql style, yet if you simply convert mysql_ to mysqli_ things wont work that easily ! I will try to list the errors and the action ... ...
POSTScreen Resolution in PHP
2 I was trying to get Screen resolution using PHP server side program. Logically speaking, PHP will be parsed on the server, prior showing it to user, on the client side. However using simple Javascript and cookie we can send the Screen size to the Server. The logic flow isGet the ... ...
POSTMultiple like in sql Query performance
1 Multiple like in sql query may slow down performance if not properly done ! Was using the below sql query in PHPSELECT DISTINCT col.id,name FROM col,cor WHERE seat.id=col.id AND seat.id=$sql_id AND name LIKE %$like% OR desc LIKE %$like% ORDER BY name LIMIT 0,100I was using 2 lik ... ...
POSTAJAX Autocomplete Tutorial
6 After searching long for an autocomplete tutorial I finally gave up as AJAX Autocomplete tutorials were using some framework or they were just too complicated to me. I am specifically avoiding JQuery, scriptaculous, RICO or any other framework just to understand how autocomplete ... ...
POSTCannot redeclare php_1() previously declared in Error
1 I got Cannot redeclare php_1() previously declared in error in few PHP Pages. The php_1() is a PHP function declared in a page named ext_funct.php . I was including this Page in other PHP pages where required. So if I wanted to declare the function in a PHP page, I would simp ... ...
POSTHow to add footer for your website ?
4 Few years ago Website designers added footer as simple horizontal links with terms and Copyright details, today it is an experimental playground. Today you can find various kinds of website footer with footers having lots of links (sometimes as high as 50+), some having twitter p ... ...
POST