Search Engine Friendly URLs - Clean Url
0This simple function converts urls into search engine friendly urls by removing spaces and other symbols and replace them with a -
PHP Code Snippets is a place to post useful code snippets and share them with the community.
This simple function converts urls into search engine friendly urls by removing spaces and other symbols and replace them with a -
by using strtotime you can format a date how way you like its a case of modifying the flags in the date().
reversing an array can be done by passing the array to a function called array_reverse
Using an API from http://www.ipgp.net/ this snippet demonstrates getting a city from an IP address pass the IP address in a var called $ip and the API key in a var called $apikey If the session has not been created then a lookup is done and the city is added to a session
Easily delete a folder and all sub folders from a server using a PHP function
Don't have an account? Register
twitter time stamp post date header redirect function update form mysql rows multiple login user management authentication md security functions data clean get magic quotes gpc addslashes strip tags format reverse order delete row database files remove excel FTP Class OOP validation loop nl br city IP xml session array strtotime urls convert