Browsing articles in "Php"
Jan
7
2012

Get List Site of Search Results Google with PHP

Want to get all the top google  search results in an array with PHP? Just read on and do it yourself! This script basically outputs the url’s of all the top results of a google search, but it can be modified to output other details also. We will be using the google ajax api in this script. As you might have found, by default it gives out only 4 results. Or you may manage to [...]

Dec
8
2011

How to get URI of feedburner

Feedburner is one of the biggest RSS Feeds provider to reach your readers be able to read or subscribe your latest news/articles automatically. Go to Feedburner.com and login Click “My Feeds” in the upper-left-hand corner Select your feed from the list Click the “Publicize” tab Click “Email Subscriptions” on the left Make sure “Feedburner” is selected, and click “Activate” In “Subscription Management” you will see some code as: onsubmit=”window.open(‘http://feedburner.google.com/fb/a/mailverify?uri=wordpressyeah/wordpresstheme’, ‘popupwindow’, “wordpressyeah/wordpresstheme” is your uri.

Nov
21
2011

How to run php scripts using cronjob in linux – centos

First make sure you have crontab installed. Make sure php is working properly. Now the script you want to execute make sure it has an execute chmod attribute on it. If not add like this chmod +x scriptname.php On the very first line of your php script add the following line line #!/usr/bin/php then edit your root crontab file using $ crontab -e and press ‘i’ to edit and add the following cronjob commands # [...]

Oct
11
2011

Fix Timeout Issues in CURL, PHP, and Apache

Hitting strange errors when trying to execute long-running PHP processes, like large file reads, generating static HTML pages, file uploads, or CURL calls? It might not be just bugs in your code. Are you getting pages that seem to load, but then nothing shows up in the browser? When you go to a page, does your browser sometimes ask, “You have chosen to open something.php which is a : PHP file. What should Firefox do [...]

Oct
5
2011

Installing Memcached for PHP on 8.04 and newer

Just as a note and to update everyone who still links to this article through Google. It is now much easier to install Memcached and getting it ready for action. It involves a few very simple steps. To install in terminal type: Code: sudo apt-get install memcached sudo apt-get install php5-memcache sudo /etc/init.d/apache2 restart Now memcached is installed, the next step is to run an instance of it and test it. Lets create an instance [...]

Pages:1234»

Sponsors