Bluehost.com Web Hosting $6.95

Re: [PHP] w3c-compliant form-action parameters

This is a discussion on Re: [PHP] w3c-compliant form-action parameters within the PHP General forums, part of the PHP Programming Forums category; --- Matt Babineau <list_php@criticalcode.com> wrote: > All this aside what about using the ASCII value of the &...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-24-2003
Chris Shiflett
 
Posts: n/a
Default Re: [PHP] w3c-compliant form-action parameters

--- Matt Babineau <list_php@criticalcode.com> wrote:
> All this aside what about using the ASCII value of the & symbol.
> (I think its ASCII).
>
> You know how sometimes links with spaces in them are %20 instead
> of the actual space? I'm not sure what it is but I am pretty sure
> there is a %something for and ampersand symbol.


I think you're thinking of URL encoding, which won't work.

Actually, URL encoding is specifically used so that this won't work. It allows
you to encode data in such a way that it can't possibly interfere with the
structure of a URL.

An ampersand is the proper separation character; the HTML entity is only needed
within HTML to satisfy certain standards. When it comes to the URLs used in the
HTTP transactions, the HTML entity will not be seen (unless the browser has
made a serious error).

Chris

=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 04:17 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0