05-05-2011
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I am a newbbie at UNIX/LINUX and recently installed GD library and all the jpeg6b and libpng successfuly. I have also added the extension=gd.so in the php.ini file under "Dynamic Extensions"
The issue I am having now is enabling GD library. I am suppose to now add a few lines to the... (3 Replies)
Discussion started by: peachesboy
3 Replies
2. Linux
I m working on a project of making a boot/root pendrive linux from source.
I have got the basic working root filesystem with busybox.
Now i wish to install GNU C library. But couldnt find a proper document to refer to. Also i tried the steps in LFS with just specifying the installation directory... (2 Replies)
Discussion started by: amu
2 Replies
3. Solaris
Hi PHP 5 can't seem to find cc compiler even though it's there
(note, i'm installing in a zone,& am root)
Any Ideas ?
$ pwd
/tmp/php-5.2.6
$ ./configure
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... egrep... (4 Replies)
Discussion started by: stevie_velvet
4 Replies
4. UNIX for Dummies Questions & Answers
I tried to install webalizer on my Solaris Unix server so I can look at some webserver logs. I did not have libgd installed so I installed it and I think it went ok (not sure how to tell).
But when I try and install webalizer I still get the message:
Any ideas?
Thanks. (0 Replies)
Discussion started by: Sepia
0 Replies
5. UNIX for Dummies Questions & Answers
I am installing an lin_tape-1.38.0-1.src.rpm file but it won't install
Linux version
Linux 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:41:04 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
but I am getting issues when installing
# rpmbuild --rebuild lin_tape-1.38.0-1.src.rpm
Installing... (1 Reply)
Discussion started by: karlochacon
1 Replies
6. Solaris
Hello everyone,
Background:
I'm having an issue with booting a clone of hard drive with Solaris 8 installation.
For cloning process I have used g4l, running under click'n'clone option. As far as I know the actual operation ran behind g4l's interface was dd, though I do not have any information... (12 Replies)
Discussion started by: johnny994
12 Replies
7. Red Hat
I'm working with a 64 bit RedHat based Linux (Oracle EL 6.1).
# uname -r
2.6.32-100.34.1.el6uek.x86_64
I have extracted a 32 bit shared library from within a RPM (rpm2cpio xx.rpm | cpio -idmv) and copied it to /lib. Then ran the ldconfig to update the cache. I can see the symbolic link is... (9 Replies)
Discussion started by: gheibia
9 Replies
8. Solaris
Hi to all,
I'm writing becouse I have a big problem. When I try to install courier (for the imap server) he give me much error. All of them about of not matching some library. I try download some but they ask me much library. Some was very stupid library (as stdio.h) and I don't know why I don't... (13 Replies)
Discussion started by: Fraste_
13 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)