Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

RE: [PHP-DB] & and sessions
Section 3.3 of that rfc indicates that ; is reserved in URLs - so I'm
guessing there's another solution.

Obviously you can wrap all your URLs up in a nice CDATA structure - but
that seems ridiculous.

A quick googling perusal confirms what I expected:
http://www.biglist.com/lists/xsl-li...1/msg00510.html

"The XML that you see in a file is just a *serialisation* of a node
tree. In the node tree, entity references are substituted for whatever
they reference."

Which means either the browser should automagically translate the &
- or it should otherwise be translated before the page is rendered.  How
exactly are you tacking the SID onto the end of these URLs?  If it's
done by php automatically then you shouldn't be having problems at all
at the xhtml level, if you're doing it manually - then manually add
&SID=3D$wherever_sid_is_stored onto the urls.

Of course, I'm probably oversimplifying a problem you've fought hours
on, so all I can say is I hope the link and its thread shines some
light.

Cheers,

- Martin Norland, Database / Web Developer, International Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.


-----Original Message-----
From: Bobo Wieland [mailto:dev@elstudion.com]=20
Sent: Monday, November 29, 2004 3:31 PM
To: Bastien Koert; php-db@lists.php.net
Subject: Re: [PHP-DB] & and sessions


well... in xhtml you HAVE to write & in urls... if I can't do that
whats=20
the point in trying to use xhtml, when it won't work with php anyway?


_bobo wieland _ dev@elstudion.com _
winamp >> kruder dorfmeister | lamb- trans fatty acid




----- Original Message -----=20
From: "Bastien Koert" <bastien_k@hotmail.com>
To: <dev@elstudion.com>; <php-db@lists.php.net>
Sent: Monday, November 29, 2004 9:51 PM
Subject: RE: [PHP-DB] & and sessions


> you can't, not allowed
>
> read here http://www.faqs.org/rfcs/rfc1738.html
>
> bastien
> 
 
>
>
>=20

--=20
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Report this thread to moderator Post Follow-up to this message
Old Post
Martin Norland
11-30-04 01:55 AM


Re: [PHP-DB] &amp; and sessions
Trying to answer a couple of mails here...

> How
>exactly are you tacking the SID onto the end of these URLs?  If it's
>done by php automatically then you shouldn't be having problems at all
>at the xhtml level, if you're doing it manually - then manually add
>&SID=$wherever_sid_is_stored onto the urls.

php adds the SID automatically so I have no control over that part of the
url... for all other params i use & manually.

>Otherwise, take a look at this php.ini option ->
>; The separator used in PHP generated URLs to separate arguments.
>; Default is "&".
>;arg_separator.output = "&"

I would do that if I had control over the server... but I don't get to say
what the ISP can do or not... That might change in the future but right now
I'm stuck with them...

There is no REAL problem, since all pages displays nicly in all browsers
I've checked... the problem is that I in _one_ place put a "valid xhtml"
banner with a direct link to w3's xhtml validator... not so nice when it
turns out that it's not valid xhtml after all...

I guess I will have to add the sid manually... I've never bothered doing it
that way before, so I guess I'll have to dig trough the php manual again...
;)

thanks for your help!


_bobo wieland _ dev@elstudion.com _
winamp >> the prodigy | weather experience (top buzz remix)





----- Original Message -----
From: "Norland, Martin" <Martin.Norland@STJUDE.ORG>
To: <php-db@lists.php.net>
Sent: Monday, November 29, 2004 10:49 PM
Subject: RE: [PHP-DB] & and sessions


Section 3.3 of that rfc indicates that ; is reserved in URLs - so I'm
guessing there's another solution.

Obviously you can wrap all your URLs up in a nice CDATA structure - but
that seems ridiculous.

A quick googling perusal confirms what I expected:
http://www.biglist.com/lists/xsl-li...1/msg00510.html

"The XML that you see in a file is just a *serialisation* of a node
tree. In the node tree, entity references are substituted for whatever
they reference."

Which means either the browser should automagically translate the &
- or it should otherwise be translated before the page is rendered.  How
exactly are you tacking the SID onto the end of these URLs?  If it's
done by php automatically then you shouldn't be having problems at all
at the xhtml level, if you're doing it manually - then manually add
&SID=$wherever_sid_is_stored onto the urls.

Of course, I'm probably oversimplifying a problem you've fought hours
on, so all I can say is I hope the link and its thread shines some
light.

Cheers,

- Martin Norland, Database / Web Developer, International Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.


-----Original Message-----
From: Bobo Wieland [mailto:dev@elstudion.com]
Sent: Monday, November 29, 2004 3:31 PM
To: Bastien Koert; php-db@lists.php.net
Subject: Re: [PHP-DB] & and sessions


well... in xhtml you HAVE to write & in urls... if I can't do that
whats
the point in trying to use xhtml, when it won't work with php anyway?


_bobo wieland _ dev@elstudion.com _
winamp >> kruder dorfmeister | lamb- trans fatty acid




----- Original Message -----
From: "Bastien Koert" <bastien_k@hotmail.com>
To: <dev@elstudion.com>; <php-db@lists.php.net>
Sent: Monday, November 29, 2004 9:51 PM
Subject: RE: [PHP-DB] & and sessions


> you can't, not allowed
>
> read here http://www.faqs.org/rfcs/rfc1738.html
>
> bastien
> 
 
>
>
>

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Report this thread to moderator Post Follow-up to this message
Old Post
Bobo Wieland
11-30-04 01:55 AM


Re: [PHP-DB] &amp; and sessions
you can use .htaccess files to modify php.ini values for a particular
directory.



On Monday 29 November 2004 02:16 pm, Bobo Wieland wrote:
> Trying to answer a couple of mails here...
> 
>
> php adds the SID automatically so I have no control over that part of the
> url... for all other params i use & manually.
> 
>
> I would do that if I had control over the server... but I don't get to say
> what the ISP can do or not... That might change in the future but right no
w
> I'm stuck with them...
>
> There is no REAL problem, since all pages displays nicly in all browsers
> I've checked... the problem is that I in _one_ place put a "valid xhtml"
> banner with a direct link to w3's xhtml validator... not so nice when it
> turns out that it's not valid xhtml after all...
>
> I guess I will have to add the sid manually... I've never bothered doing i
t
> that way before, so I guess I'll have to dig trough the php manual again..
.
> ;)
>
> thanks for your help!
>
>
> _bobo wieland _ dev@elstudion.com _
> winamp >> the prodigy | weather experience (top buzz remix)
>
>
>
>
>
> ----- Original Message -----
> From: "Norland, Martin" <Martin.Norland@STJUDE.ORG>
> To: <php-db@lists.php.net>
> Sent: Monday, November 29, 2004 10:49 PM
> Subject: RE: [PHP-DB] & and sessions
>
>
> Section 3.3 of that rfc indicates that ; is reserved in URLs - so I'm
> guessing there's another solution.
>
> Obviously you can wrap all your URLs up in a nice CDATA structure - but
> that seems ridiculous.
>
> A quick googling perusal confirms what I expected:
> http://www.biglist.com/lists/xsl-li...1/msg00510.html
>
> "The XML that you see in a file is just a *serialisation* of a node
> tree. In the node tree, entity references are substituted for whatever
> they reference."
>
> Which means either the browser should automagically translate the &
> - or it should otherwise be translated before the page is rendered.  How
> exactly are you tacking the SID onto the end of these URLs?  If it's
> done by php automatically then you shouldn't be having problems at all
> at the xhtml level, if you're doing it manually - then manually add
> &SID=$wherever_sid_is_stored onto the urls.
>
> Of course, I'm probably oversimplifying a problem you've fought hours
> on, so all I can say is I hope the link and its thread shines some
> light.
>
> Cheers,
>
> - Martin Norland, Database / Web Developer, International Outreach x3257
> The opinion(s) contained within this email do not necessarily represent
> those of St. Jude Children's Research Hospital.
>
>
> -----Original Message-----
> From: Bobo Wieland [mailto:dev@elstudion.com]
> Sent: Monday, November 29, 2004 3:31 PM
> To: Bastien Koert; php-db@lists.php.net
> Subject: Re: [PHP-DB] & and sessions
>
>
> well... in xhtml you HAVE to write & in urls... if I can't do that
> whats
> the point in trying to use xhtml, when it won't work with php anyway?
>
>
> _bobo wieland _ dev@elstudion.com _
> winamp >> kruder dorfmeister | lamb- trans fatty acid
>
>
>
>
> ----- Original Message -----
> From: "Bastien Koert" <bastien_k@hotmail.com>
> To: <dev@elstudion.com>; <php-db@lists.php.net>
> Sent: Monday, November 29, 2004 9:51 PM
> Subject: RE: [PHP-DB] & and sessions
> 
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

Report this thread to moderator Post Follow-up to this message
Old Post
Micah Stevens
11-30-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP DB archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:05 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.