Developers' quick reference - This category contains php tips,tips php,php tips and php, tips and tricks,php manual,PHP Online Manual,article,articles RSS 

Home | Link Us | Contact


The registration is temporarily disabled.

However you can post your comments without registration.
Username:
Password:
Register | Lost password
-->




Send cookie to multiple subdomains

send cookie to multiple subdomains

 
Update user last login time
 
This tip/code snippet describes a simple php session example
 
Set Up Authentication and Authorization in php.ini SMTP settings

This tips explains how to configure or setup Authentication and Authorization in php.ini my modifying SMTP settings in the ini file.

 
Exclude/Stop PHP script notices/warnings from displaying
 
Date YYYY-MM-DD formatting with PHP

date YYYY-MM-DD formatting with PHP

 
Handling/Logging errors in PHP
 
Get/retrieve file basename,extension,path,dirname

get/retrieve file basename,extension,path,dirname

 
Extend php script lifetime ( max_execution_time )

extend php script lifetime ( max_execution_time )

 
Validate email address

validate email address

 
Validate URL (FTP, HTTP) using regular expression ( regex )
 
Validate URL using outgoing connection ( fopen )
 
Get current operating system ( os )
 
HTTP authentication with PHP
 
Array change key case

array change key case

 
Access $_GET, $_POST, $_SERVER in older versions of php

access $_GET, $_POST, $_SERVER in older versions of php

 
Prevent PHP script Caching
 
Validate string length
 
PHP referrer ( referer ) - Tracking/Loging/Checking link popularity
 
APD - Advanced PHP debugger configuration on windows (win32)
 
Change/modify configuration values for 'include_path' in php ini configuration runtime

change/modify configuration values for 'include_path' in php ini configuration runtime

 
Enable/Disable command line buffering of php shell script
 
Safe_dl -- Safely Load a PHP extension at runtime

safe_dl -- Safely Load a PHP extension at runtime

 
Simple Asynchronous JavaScript and XML (AJAX) example usage of: PHP SAjax framework.
 
Detect MySQL server version with simple php script on your web hosting
 
Make curl HEAD request

make curl HEAD request

 
Smarty (php template engine) check for firefox useragent

smarty (php template engine) check for firefox useragent

 
Source code highlight plugin/modifier for PHP template engine Smarty
 
Detect Firefox browser with php script/function
 
How to disable PHP magic quotes effect

Magic Quotes is a process that automagically escapes incoming data to the PHP script. It's preferred to code with magic quotes off and to instead escape the data at runtime, as needed.

 
Enable Output Compression

Enable output compression of your site, reduce bandwidth and page load time.

 
Date formatting in PHP (yyyy-mm-dd hh-mm-ss)

How to format PHP date using format yyyy-mm-dd hh-mm-ss

 
Remove empty strings/elements from a PHP array

How to remove empty strings/elements in a PHP array using preg_grep, array_map and trim functions in PHP.

 
How to remove empty element from array

This tip explains how to remove empty elements from a PHP array using array_filter function

 
Retrieve SVN log information from last week using php script

How to retrieve SVN log/commit information 1 week ago using php script.

 
  Copyright © 2005-2010 Execution time: 0.02710
hosted by 1and1