Skip to Content
Programming PHP, 3rd Edition
book

Programming PHP, 3rd Edition

by Rasmus Lerdorf, Kevin Tatroe, Peter MacIntyre
February 2013
Intermediate to advanced
538 pages
20h 55m
English
O'Reilly Media, Inc.
Content preview from Programming PHP, 3rd Edition

Name

urlencode

Synopsis

string urlencode(string url)

Returns a string created by URI encoding url. All nonalphanumeric characters except dash (-), underscore (_), and period (.) characters in url are replaced by a sequence of characters beginning with a % followed by a hexadecimal number; for example, slashes (/) are replaced with %2F. In addition, any spaces in url are replaced by plus signs (+). See also rawurlencode(), which is identical except for its handling of spaces.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming PHP, 2nd Edition

Programming PHP, 2nd Edition

Rasmus Lerdorf, Kevin Tatroe, Peter MacIntyre
Programming PHP

Programming PHP

Rasmus Lerdorf, Kevin Tatroe
Programming PHP, 4th Edition

Programming PHP, 4th Edition

Kevin Tatroe, Peter MacIntyre

Publisher Resources

ISBN: 9781449361068Supplemental ContentErrata Page