browser lang:en
I wanted to install curl for Apache+PHP on my Linux dedicated server with Ubuntu 10.10+Webmin. This code helped me to install curl: apt-get clean && apt-get update && apt-get install…
13/03/2011 - by admin - 0 commentsWhit this script is possible to create a .gz compressed file on the fly from multiple files //sample array of filenames $fileNamesArray["file1"]; $fileNamesArray["file2"]; $fileNamesArray["file3"]; //count the number of items in the…
22/02/2011 - by admin - 0 commentsezSQL is a database class written by Justin Vincent who has been writing code since 1994. The database class is written entirely in PHP and is used on over 100,000…
15/02/2011 - by admin - 0 commentsI decided to jot down some observations and thoughts on launching successful social networking development platforms… like the one facebook launched at f8, Bebo’s clone of facebook’s, or the one…
15/11/2010 - by holyguard - 0 commentsleft single quote ‘ ‘ right single quote ’ ’ single low-9 quote ‚ ‚ left double quote “ “ right double quote ” ” double low-9 quote „ „ dagger † † double dagger ‡ ‡ per mill sign ‰ ‰ single left-pointing angle quote ‹ ‹ single right-pointing angle quote › › black spade suit ♠ ♠ black club suit ♣ ♣ black heart suit ♥ ♥ black diamond suit ♦ ♦ overline,…
15/11/2010 - by holyguard - 0 commentsThe facebook API allows you to access profiles, friends, photos, and events. To access the API from an outside server, you need to go through the following steps: login to your…
12/11/2010 - by holyguard - 0 commentsParsing HTML with PHP is not the difficult task that many think it to be. Often times folks grab for the nearest tool to parse out the bits between other…
07/11/2010 - by test - 0 commentsThere's lots of clever scripts around to tell you how to get images in and out of databases, but nothing simple to show you the principles of including…
14/02/2010 - by admin - 0 commentsAn essential part of programming is evaluating conditions using if/else and switch/case statements. If / Else statements are easy to code and global to all languages. If / Else statements…
11/10/2009 - by admin - 0 commentsI discovered the var_export function in PHP. It is able to return a string that represents the passed variable. The returned string is parsable by PHP. One way to use this…
14/07/2009 - by admin - 0 commentsOutputs the time in seconds that it takes for a PHP page to load. The code <?php // Insert this block of code at the very top of your…
14/03/2009 - by admin - 0 commentsafter have seen the way to transform a table from Mysql to XML, now we are goin to see the reverse way. Here we need to traverse an XML and extract…
07/03/2009 - by admin - 0 commentsAfter have verified how it's possible traversing XML with PHP and retrieve relative datas using DOM classes, here we show a new solution that, in the real world, results to…
07/03/2009 - by admin - 0 commentsThe original document is at http://jsonrpcphp.org/ JSON-RPC PHP is a couple of classes written in PHP implementing respectively client and server functionalities of the JSON-RPC protocol.The goal of the project is…
09/12/2008 - by admin - 1 commentsThere are two different ways to use the PayPal API. The first, is the PayPal Direct Payment. PayPal Direct Payment will allow the customer to simply type in…
03/11/2008 - by admin - 0 commentsLearn php/walkthrough One of the common feature of many websites is the "choose language" option, usually indicated with a list of flags.. so, with php is possible to give a professional…
05/10/2008 - by admin - 0 commentsLearn php /walkthrough - part II Create an index.php page with our code function comefrom() { $lang = $_SERVER['HTTP_ACCEPT_LANGUAGE']; if (substr($lang, 0, 2) == 'en') { header("Location: english.php"); } else { header("Location: french.php"); } } comefrom(); // this line calls the function.. Create the…
05/10/2008 - by admin - 0 commentsPHP is one of the most widely used open-source server-side scripting languages that exist today. With over…
in:Scripts and tutorials (0 comments)In a FBML Facebook App, your quick jump menu will require a little tweak to work in FBJS…
in:Scripts and tutorials (0 comments)Every single day, someone, somewhere is discussing something important to your business; your brand, your executives, your…
in:Scripts and tutorials (0 comments)The Singleton Pattern is one of the GoF (Gang of Four) Patterns. This particular pattern provides a…
in:Scripts and tutorials (0 comments)Because of the near-spherical shape of the Earth, calculating an accurate distance between two points requires the use…
in:Scripts and tutorials (1 comments)With this script we can limit the download speed // local file that should be send to the client $local_file…
in:Scripts and tutorials (0 comments)Some hosts disabled the ini setting allow_url_fopen. This also means that the ability to easily grab images…
in:Scripts and tutorials (0 comments)The act to verify if a file exists, is one of more important tasks related to files operations,…
in:Scripts and tutorials (0 comments)
