Re: how do you suppress errors produced by file()



>You should not urlencode the domain part. This here:
>http%3A%2F%2Fwww.publicpen.com%2Fupdate.php %3F should not be
>>encoded, that
>should be plaintext http://www.publicpen.com/updat e.php? so you
>urlencode
>just the query part.

Thanks, that's useful.



> And another thing: you use & in html code, but not
> in the query itself, so let's change em back to plain &'s. Plus you should
> encode them either.

No actually, an ampersand by itself is not allowed in any part of the
url. In the url, you have to use &, not "&". You can not get your
pages to validate if you are using "&".

.



Relevant Pages

  • Re: how do you suppress errors produced by file()
    ... You should not urlencode the domain part. ... you use & in html code, ... in the query itself, so let's change em back to plain &'s. ... encode them either. ...
    (comp.lang.php)
  • Re: [PHP] Question about urlencode....
    ... use urlencode() at all. ... Subject: [PHP] Question about urlencode.... ... The logic in /leave.php does not need to call urldecode as it's done ... urlencoding of these url paramaters whereby the % signs used to encode ...
    (php.general)
  • Re: how do you suppress errors produced by file()
    ... >>You should not urlencode the domain part. ... >> in the query itself, so let's change em back to plain &'s. ... It's not allowed in HTML code, ...
    (comp.lang.php)
  • Re: Use URLEncode
    ... If i used URLEncode to encode the URL, how can I decode the URL with proper parameter values in ASP.NET?? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Strange behaviour with char
    ... I encode the string with urlencode, I put it in a $_GET ... Sincerely Yours, AnrDaemon ...
    (comp.lang.php)