10-14-2010
Please read the
rules, which you agreed to when you registered, if you have not already done so.
Thank You.
The UNIX and Linux Forums.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I know what the man command does and I know how to use it, but i am trying to find an answer to a question. When you run man on an other command it will give you the first page on your screen and then you hit the space bar and it brings up the second page. What command option would I use if I... (5 Replies)
Discussion started by: shipoffools
5 Replies
2. Programming
i wanted to display the man pages of any command in unix from a c program.can some one help me plzzzzzz. (2 Replies)
Discussion started by: spanduu
2 Replies
3. Solaris
Hi,
I would like to develop a man page as the one we usually get when we execute man <command name>. This man page will be for a samll utility that i have written.
If this is not possible then what are the available possibilites for creating such help.
thanks in advance. (2 Replies)
Discussion started by: raghu.amilineni
2 Replies
4. Linux
Hey people do u know how to disable the man command in linux???
i am not able to do anythg apart from disabling the permission for /usr/bin/...
i dont wanna uninstall the man / man pages also...
this has been one of the toughest challenges i have come across in linux...
can anybody... (5 Replies)
Discussion started by: linux.user
5 Replies
5. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I am trying to outut the man command output into a text file which will help me for future reference.
2.... (8 Replies)
Discussion started by: hariniiyer300
8 Replies
6. UNIX for Dummies Questions & Answers
how can i display month of the year i was born with using man command?
thanks (2 Replies)
Discussion started by: janetroop95
2 Replies
7. UNIX for Dummies Questions & Answers
Whenever I run manual page on a command I get information about arguments, syntax and so on. However, I wounder if that information is valid only for a certain shell and if yes, then for which one?
In other words, would I have different man outputs for csh, ksh, bash and others?
Thanks (7 Replies)
Discussion started by: rdogadin
7 Replies
8. Shell Programming and Scripting
This is the description of the option -print0 fon the command find in the man page:
What does the "True" in the first line of the description mean? (3 Replies)
Discussion started by: puertas12
3 Replies
9. UNIX for Beginners Questions & Answers
hi linux expert
how to use man command for get help about "extended regular expression"?
many thanks
samad (2 Replies)
Discussion started by: abdossamad2003
2 Replies
LEARN ABOUT PHP
curl_escape
CURL_ESCAPE(3) 1 CURL_ESCAPE(3)
curl_escape - URL encodes the given string
SYNOPSIS
string curl_escape (resource $ch, string $str)
DESCRIPTION
This function URL encodes the given string according to RFC 3986.
PARAMETERS
o $ch
-A cURL handle returned by curl_init(3).
o $str
- The string to be encoded.
RETURN VALUES
Returns escaped string or FALSE on failure.
EXAMPLES
Example #1
curl_escape(3) example
<?php
// Create a curl handle
$ch = curl_init();
// Escape a string used as a GET parameter
$location = curl_escape($ch, 'Hofbrauhaus / Munchen');
// Result: Hofbr%C3%A4uhaus%20%2F%20M%C3%BCnchen
// Compose an URL with the escaped string
$url = "http://example.com/add_location.php?location={$location}";
// Result: http://example.com/add_location.php?location=Hofbr%C3%A4uhaus%20%2F%20M%C3%BCnchen
// Send HTTP request and close the handle
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_exec($ch);
curl_close($ch);
?>
SEE ALSO
curl_unescape(3), urlencode(3), rawurlencode(3), RFC 3986.
PHP Documentation Group CURL_ESCAPE(3)