Archive for the ‘PHP Tutorial’ Category
Saturday, March 8th, 2008
PHP can open sockets on remote or local hosts. Here is a hands-on example of using such a socket: getting connected to a Usenet News Server, talking to this server, and downloading some articles for a precise newsgroup.
Opening a socket in PHP
Sockets are opened using fsockopen(). ...
Posted in PHP Tutorial | No Comments »
Saturday, March 8th, 2008
Checking for variables before you use them can be a tedious process, and this step is often missed out in PHP code, leading to masses of PHP Notice errors and possibly leaving the application vulnerable. However, there is a simple solution to this problem, something called the ternary conditional ...
Posted in PHP Tutorial | No Comments »
Thursday, March 6th, 2008
PHP represents the longer “PHP Hypertext Preprocessor.” PHP is an open source, interpretive, HTML centric server side scripting language. It’s especially suited for blogs and other Web developments and it can be embedded into HTML code as well.
Beginners PHP: These tutorials are provided by Free Computer Tutorials. The lessons are ...
Posted in PHP Tutorial | 1 Comment »
Thursday, March 6th, 2008
Java refers to a number of computer software products and specifications from Sun Microsystems (the Java™ technology) that together provide a system for developing and deploying cross-platform applications.
37. Fundamentals of Java: Offered by Free Education on the Internet, this course is intended for beginning computer hobbyists and first-year ...
Posted in PHP Tutorial | No Comments »
Saturday, February 16th, 2008
How to Detect The Bandwidth Thieves
The simplest way to detect such linkages to your images is to check your web server logs for referrals to the images on your website - that is, find out which are the sites that send visitors to the images on your website.
Trace the referrers ...
Posted in PHP Tutorial | No Comments »
Friday, February 15th, 2008
abstract
This is a simple example of photo-gallery script, which uses MySQL table (BLOB field) to store images. Trivial password-protection, uploading and deleting images are supported. For Apache-version of PHP there is advanced browser-caching support (using If-Modified-Since header).
compatible
PHP 4.3.0 or higher
PHP 5
There are three notable parts of the script:
main page generation ...
Posted in PHP Tutorial | No Comments »
Wednesday, February 6th, 2008
Often used for form actions, the variable $PHP_SELF has changed with recent versions, and now must be accessed using the _SERVER array of pre-defined variables
<?
// in earlier versions, this was accessed via $PHP_SELF
echo $_SERVER["PHP_SELF"]
?>
Posted in PHP Tutorial | No Comments »
Saturday, February 2nd, 2008
File upload is very common requirement of many web sites. We may require to upload pictures online to websites. Image upload is very common requirement and many sites are using this to allow members or visitors to upload files. Picture rating, picture gallery site uses this feature to allow multiple ...
Posted in PHP Tutorial | No Comments »
Saturday, February 2nd, 2008
Amazon.com Widgets
Posted in PHP Tutorial | No Comments »
Saturday, February 2nd, 2008
User-friendly navigation is one of the most important aspects of Web site design, and also one of the most challenging. Any novice Web developer can put together a 100-page Web site, but organizing those 100 pages into easily-navigable categories can tax the ingenuity of even seasoned designers.
Web designers have no ...
Posted in PHP Tutorial | No Comments »