URL encoding converts characters into a format that can be safely transmitted over the Internet.
URL Encoding
URLs can only be sent over the Internet using the ASCII character-set.
Since URLs often contains characters outside the ASCII set, the URL has to be converted. URL encoding converts the URL into a valid ASCII format.
URL encoding replaces unsafe ASCII [...]
HTML URL Encoding Reference
PHP Find Variable in String
Since I always try to remember what this PHP code is, and I can never remember, I thought I’d add it to my blog so I never forget.
This searches a string of text and finds a user defined variable. Very handy.
$string = “PHP”;
$container = “I love writing PHP code.”;
if(strstr($container,$string)) {
echo “found it.”;
} else {
echo “not [...]
Str_replace () PHP Function
Definition: You can use str_replace in PHP to find and replace data with alternate data. For example you could use it to filter forum posts to find offensive words and replace them with asterisks. It is phrased as: str_replace ( search_for, replace_with, apply_to )The first parameter is what you are searching for, the second parameter [...]
Unset () PHP Function
Definition: Unset () is used to destroy a variable in PHP. In can be used to remove a single variable, multiple variables, or an element from an array. It is phrased as Unset ($remove).
Also Known As: Unset Variable, Destroy Variable
Examples:
<?php
// remove a single variable
unset($a);
// remove a single element in an array
unset($my_array['element']);
// remove multiple variables
unset($a, [...]
Eval () PHP Function
Definition: Eval () is used to read the input string value as PHP code. Instead of reading the as a string like the Echo () function it instead reads the output as PHP code to be executed. One reason to use this is to store code in your MySQL database to pull out and execute [...]
Special Links
Categories
- Command (9)
- Error (3)
- Information (6)
- Conferences (1)
- Programs (1)
- Codes (4)
- Security (17)
- Mysql (4)
- Oracle (1)
- Warning (1)
- Performance (2)
- Linux (6)
Best Links
Archives
- August 2010 (1)
- June 2010 (1)
- May 2010 (3)
- April 2010 (3)
- March 2010 (1)
- February 2010 (9)
- January 2010 (37)
Recent Articles
- bind/named : network unreachable resolving (IPv6)
- PHP Error Class ‘SoapClient’ not found
- Issues related to the DNS server for Linux
- How to Clear and Delete Last Logged In Users and Bad Login Attemps Log (wtmp and btmp)
- How to Read /var/log/btmp, Rotate the btmp Log With Logrotate
- Brute Force Detection (BFD)
- The Apache Software Foundation
- Automatic Server Reporting System – SrvReport
- Pushing 47 GETDISKUSED info
- PHP script to print all the GET & POST variables
Popular Tags
- arrat change array array change case array change key arrays array_change_key_case() array_change_key_case function display_errors dizi Email Header Injection Error reporting eval eval function eval php evaluate exploit E_USER_ERROR filter_var find string Including Files parse_url parse_url code parse_url example code parse_url function php array php array_change_key_case php command php dizi php find php find variable php functions PHP Performance PHP Security PHP_SELF See php variables strreplace str replace Str_replace() Str_replace php command Type and Length unset unset function url encode url encoding url recode
Recent Feedbacks
- Phpcommand in Pushing 47 GETDISKUSED info
- dental hygienist in Solution to "406 Not Acceptable" error
- TomPier in PHP script to print all the GET & POST variables
- lwddlhmr in Pushing 47 GETDISKUSED info
