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? 5 1623
On 17 Sep 2004 17:26:41 -0700, lk******@geocit ies.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
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 lk******@geocit ies.com (lawrence) wrote in
news:da******** *************** ***@posting.goo gle.com: 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/
On 17 Sep 2004 17:26:41 -0700, lk******@geocit ies.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? And where is the damn line? All I can find is this:
I think you'll find it's choking on the "&" and not the "?".
[snip]This is, I think, where I set it to use "&" instead of "&".
So do I.
Edit your php.ini accordingly or add line:
php_value arg_separator.o utput "&"
to .htaccess
--
FREE phonecalls with other TalkTalk customers: <http://www.bizorg.co.u k/shopping/talktalk/>
Locate your Mobile phone: <http://www.bizorg.co.u k/news.html>
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) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: leke |
last post by:
Hi, I am trying to learn PHP but am having some problems getting my code
running in Explorer 6.
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
|
by: John Draper |
last post by:
I am having a lot of problems trying to get a Python CGI to run.
I have included 3 parts...
1) A simple stripped down python module.
2) An output of what I get when I do: python index.py
(which not suprisingly should generate HTML output, and it does)
3) And the "error_log" output from the "server error" I get when I run
it
by typing in: http://localhost/cgi-bin/index.py
|
by: lawrence |
last post by:
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 = "&"
|
by: Mike |
last post by:
http://www.calgarymike.com/content/fsbo.html
After having validated a couple of pages I'm completely stumped as to why I
get this message. I don't have a line counter in my program (Arachnophia)
and have counted manually, but I can't see a thing as to why I'm getting
this message.
Sorry, I am unable to validate this document because on lines 36, 44, 52,
60, 68, 75, 109, 126, 131, 144, 154, 160, 178, 244, 247, 257, 271, 287, 300,
320,...
|
by: jp29 |
last post by:
My take on problems composing, serving and rendering XHTML
documents/web pages:
1. Typical conscientious web authors are producing XHTML documents (Web
pages) that feature valid Markup and with the content (MIME) type
specified as text/html
(http://keystonewebsites.com/articles/mime_type.php). These pages are
then loaded on to their Server where they are served to Rendering
Agents (browsers) as HTML (SGML application) documents with no...
| |
by: Lee Chapman |
last post by:
Hi,
I am having difficulty getting the ASP.NET framework to generate valid
XHTML. My immediate problem surrounds user input in, for example, textbox
controls.
I consider characters such as less-than and ampersand perfectly valid in
user input. So I've disabled request validation by adding the following to my
web.config file.
|
by: Alan Silver |
last post by:
Hello,
I have read about the problems that IE has when using a doctype of HTML
4.01 Transitional. I was advised to use Strict wherever possible.
My question is, does the same apply to XHTML 1.0 Transitional? I develop
sites using ASP.NET, which emits valid XHTML 1.0 Transitional, but not
XHTML 1.0 Strict (for example, it includes a hidden form field with the
name of _VIEWSTATE, which isn't valid in Strict, but is in
Transitional).
|
by: tshad |
last post by:
I am trying to hide and show certain parts of my code (which I have no
problem doing with DW). In VS 2003, it won't let you use <div
runat="server"to section of parts of my code in a table. This is during
compilation (build).
My code is:
<TABLE id="Table1" style="WIDTH: 864px; HEIGHT: 177px" cellSpacing="1"
cellPadding="1"
width="864" border="0">
|
by: Cerebral Believer |
last post by:
Hi folks,
Can anyone help me with this form:
http://futurebydesign-music.com/_member/club_fbd_reg.php
I have followed to coding instructions aas closely as I can, but I am
getting errors about not filling in all the fields on the form correctly
when I test it. Is validating a form with radio buttons difficult?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |