|
Php Blog Scripts
|
|
Scripts in this category will help you create your own weblog. A weblog is a journal available online.
|
|
Php Chat Scripts
|
|
Php chat scripts for real time communication on your web site.
|
|
Php Photo Gallery
|
|
Photo gallery scripts, image slideshows, photo utility scripts.
|
|
Php Directory Scripts
|
|
Organize your web site info into categories. Scripts for web directories: products, articles and much more.
|
|
Php Statistics Scripts
|
|
Track your site visitors. Find useful statistics. See which are the most visited sections of you sites.
|
|
Php E-Commerce Scripts
|
|
Create or improve your own e-commerce site with scripts from this category.
|
|
Php File Manipulation
|
|
Scripts and functions for handling files on your web sites. File uploads/downloads and much more.
|
|
Php Search Scripts
|
|
Search through your site info using scripts from this category.
|
|
Php CMS Scripts
|
|
Organize the content of your site dynamically using these Content Management System scripts.
|
|
Php Database Scripts
|
|
Database manipulation scripts. Query generators, database APIs and much more.
|
|
Php Security Scripts
|
|
Enhance the security of your web sites with scripts from these category.
|
|
Php Ads Scripts
|
|
Add banners/ads to your web sites. Create advertising campaigns and see visitors statistics.
|
|
Php Mail Scripts
|
|
Use the functions and classes from this category to send mail using different methods: text/html, SMTP
|
|
How to replace a text in a mysql table
|
Sometimes, we need to replace a text in all the entries from a mysql table. For example, you want to replace all the absolute links from your articles with relative links. This can help you if you move the site to a new domain, or from a test...
|
|
Creating subdomains dynamically with .htaccess
|
This tutorial presents a way to create subdomains dynamically using .htaccess You will be able to change the way you access a page from 'www.site.com/subdomain' to 'www.subdomain.site.com'Say we have, for example, a site where...
|
|
How to convert mpeg/avi files to .flv at server side
|
Video streaming has become a very popular feature on many sites. One of the most convenient ways to add this feature on a web site is to use a flash player (e.g. FlowPlayer - it's nice and free). In order to use a flash player you will need to...
|
|
Adding a number of days to a calendaristic date
|
Many times it is needed to add a number of days to a date (e.g. to determine the expiration date for a link). To do this, you may use the following php code:$days_to_add = 30;$current_date = date('Y-m-d H:i:s'); //get the current...
|
|
How to open a web page in php
|
The following function can be used to open a url and retreive the content from the given web address. The content of the web page is saved in a variable that can be later used to parse or display the retrieved content. $url =...
|
|
How to send html mail in php
|
The following code can be used to send html emails using php: /** define email fields **/$email_text = "<strong>Hello</b> <br /> This is an email in html format.";$subject =...
|
|
How to generate a random string in php
|
You can generate a random string, using the following php function. The function takes as an argument the length of the generated string. function generateRandomString($length=5) { ...
|
|
How to resize an image in php, preserving the aspect ratio
|
The following function will resize a jpeg/png or gif image. Parameters: $source - Path to the image that has to be resized $dest - The name/path of the resized image $w - The desired width for the new image $h - The desired height for...
|
|
10 most common problems and mistakes done by PHP coders
|
1. Not escaping entities It's basic knowledge; ALL untrusted input (especially user input from forms) has to be sanitized before it is being output. echo $_GET['username']; Can for instance output: /*snooping cookie or changing admin...
|
|
Installing PHP 4 and PHP 5 concurrently ...
|
Currently in PHP community there are many people that are still programming their code in PHP 4. PHP 5 is not yet completely adopted by the programmers (or hosting companies) in spite of having been around for quite some time now. This could be...
|