11-08-2005
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
whats a good site for unix learning?
are their any tutorials on this site? (1 Reply)
Discussion started by: mfbww
1 Replies
2. UNIX for Dummies Questions & Answers
Can Anyone Tell Me The Cost Of UNIX As I'm Considering Finally Getting Rid Of This Rubbish Windows Based OS. I Would Also Like To Know Anyones Opinions On The Best Free Version,
Thanks. (1 Reply)
Discussion started by: OSNovice
1 Replies
3. UNIX for Dummies Questions & Answers
Hi I'm recently learning about Unix. I'd like to know more about it specially what is the cost to set up a Unix system and the scope of the system. Where can I find this information?
Can anyone help? :confused: (1 Reply)
Discussion started by: danlercar
1 Replies
4. UNIX for Dummies Questions & Answers
Hi guys, am absolutely new to unix but i want to learn about this operating system.
Can anybody help me on how to understand unix because i don't know anything about it. I will like it if i can get basic tutorials on this mostly software tutorials. (1 Reply)
Discussion started by: nayogod
1 Replies
5. UNIX for Dummies Questions & Answers
I used to have a free software on my computer to practice unix. Unfortunately, I had to rebuild the laptop after it was infected by a virus. Now I cannot remember the website where to download the software. Can anyone point me to a site?
Thanks! (2 Replies)
Discussion started by: Ernst
2 Replies
LEARN ABOUT PHP
curl_unescape
CURL_UNESCAPE(3) 1 CURL_UNESCAPE(3)
curl_unescape - Decodes the given URL encoded string
SYNOPSIS
string curl_unescape (resource $ch, string $str)
DESCRIPTION
This function decodes the given URL encoded string.
PARAMETERS
o $ch
-A cURL handle returned by curl_init(3).
o $str
- The URL encoded string to be decoded.
RETURN VALUES
Returns decoded string or FALSE on failure.
EXAMPLES
Example #1
curl_escape(3) example
<?php
// Create a curl handle
$ch = curl_init('http://example.com/redirect.php');
// Send HTTP request and follow redirections
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_exec($ch);
// Get the last effective URL
$effective_url = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL);
// ie. "http://example.com/show_location.php?loc=M%C3%BCnchen"
// Decode the URL
$effective_url_decoded = curl_unescape($ch, $effective_url);
// "http://example.com/show_location.php?loc=Munchen"
// Close the handle
curl_close($ch);
?>
NOTES
Note
curl_unescape(3) does not decode plus symbols (+) into spaces. urldecode(3) does.
SEE ALSO
curl_escape(3), urlencode(3), urldecode(3), rawurlencode(3), rawurldecode(3).
PHP Documentation Group CURL_UNESCAPE(3)