|
Posted by lawrence on September 17, 2004, 6:26 pm
Please log in for more thread options
not sure if this is a PHP or HTML question. PHP sessions usually put a
"?" after the url and then the session number. Most validators choke
on the "?". What should I use instead? And where is the damn line? All
I can find is this:
; The separator used in PHP generated URLs to separate arguments.
; Default is "&".
;arg_separator.output = "&"
; List of separator(s) used by PHP to parse input URLs into variables.
; Default is "&".
; NOTE: Every character in this directive is considered as separator!
;arg_separator.input = ";&"
This is, I think, where I set it to use "&" instead of "&". But
how do I get rid of the question mark? How do people, in general, get
valid HTML when using PHP?
|
|
Posted by jmm-list-gn on September 18, 2004, 1:23 am
Please log in for more thread options
lawrence wrote:
> not sure if this is a PHP or HTML question. PHP sessions usually put a
> "?" after the url and then the session number. Most validators choke
> on the "?".
>
If you are uploading a php file, yes, you get errors. If by URL, there
should be no such problem.
So: what validator are you using and how are you sending the markup?
And do you have a sample URL?
--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
|
|
Posted by Steve Pugh on September 18, 2004, 3:11 am
Please log in for more thread options On 17 Sep 2004 17:26:41 -0700, lkrubner@geocities.com (lawrence)
wrote:
>not sure if this is a PHP or HTML question. PHP sessions usually put a
>"?" after the url and then the session number. Most validators choke
>on the "?". What should I use instead?
A ? in a url in html doesn't normally prevent it being valid. Do you
have an actual page that fails to validate because of this? Are you
sure that you're reading the error message correctly?
Steve
|
|
Posted by Dave Patton on September 18, 2004, 3:47 am
Please log in for more thread options lkrubner@geocities.com (lawrence) wrote in
> not sure if this is a PHP or HTML question.
It's a PHP question, most likely.
> PHP sessions usually put a "?" after the url
> and then the session number.
No, that is one of the possible behaviours, but
it "doesn't just happen".
> Most validators choke on the "?".
Which validators?
Provide a URL of an example page.
> What should I use instead? And where is the damn line? All
> I can find is this:
>
> ; The separator used in PHP generated URLs to separate arguments.
The question mark is the standard delimiter that marks the
start of query string arguments in a URI. Nothing to do with
argument separators.
> But how do I get rid of the question mark?
You don't, if you want to use query string arguments.
--
Dave Patton
Canadian Coordinator, Degree Confluence Project
http://www.confluence.org/ My website: http://members.shaw.ca/davepatton/
|
|
Posted by Christopher-Robin on September 18, 2004, 4:19 am
Please log in for more thread options this is often because of a wrong <!doctype ...> at the beginning of the html
thats all i know, i never got into it, although its bothering me, as well
|
| Similar Threads | Posted | | This page is not a valid HTML 4.01.WHY? | October 26, 2004, 2:44 pm |
| valid html for framesets | February 13, 2005, 10:25 am |
| Valid HTML Tutorial | December 6, 2005, 12:12 pm |
| Inserting MP3 into Valid HTML | September 24, 2008, 8:03 pm |
valid (X)HTML? | December 17, 2007, 6:31 pm |
| Unrecognized file format prolem with valid html, please help! | November 9, 2004, 6:55 pm |
| Seemingly-simple valid HTML renders diff in FF1.0, IE6 | January 25, 2005, 12:04 pm |
W3C Validator error? is valid for doctype HTML 4.01 Strict | April 21, 2005, 12:46 pm |
| legality/practicality of nesting complete, valid HTML pages | November 14, 2008, 1:11 am |
| legality/practicality of nesting complete, valid HTML pages | November 20, 2008, 7:02 pm |
|