phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] XHTML ... the &


From: Dave Hall
Subject: Re: [Phpgroupware-developers] XHTML ... the &
Date: Thu, 03 Feb 2005 08:36:53 +1100

Hi Alessandro and Chris

& is not permitted in urls in HTML4 or XHTML1, you need to use ;, but
that doesn't work for GET based forms.  It also relies on some changes
in the php.ini

See http://au.php.net/manual/en/function.rawurlencode.php

Cheers

Dave


On Wed, 2005-02-02 at 12:09 -0600, Chris Weiss wrote:
> which seems to backup what I said, you don't replace &'s that are in
> links, only in content.
> 
> 
> On Wed, 02 Feb 2005 17:51:01 +0100, Alessandro <address@hidden> wrote:
> > Hi
> > doesn't work means that something goes wrong in any redirection or link
> > building and it's impossible to go after login page.
> > 
> > Bye
> > Alessandro
> > 
> > Chris Weiss ha scritto:
> > 
> > > define "doesn't work"
> > >
> > > I thought links had to have just & because &amp; is for &'s that
> > > display to the user so it's clear that it's its supposed to display
> > > and not be a code.  links are code and don't display to the user,
> > > replacing & with &amp; in a link will break http.
> > >
> > > or maybe I don't understand what you're trying to do.
> > >
> > >
> > > On Wed, 02 Feb 2005 14:15:01 +0100, Alessandro <address@hidden> wrote:
> > >
> > >>Hi,
> > >>I'm trying to make a part of phpgw XHTML enabled.
> > >>The first step I'm making is to substitute every '&' in link with a 
> > >>'&amp;'.
> > >>I've made some changes in class.session.inc.php::link_ changing the '&'
> > >>with an '&amp' rows 1145 ($a = explode('&', $extravars);) and row 1188
> > >>($new_extravars .= '&';)...but it doesn't work!
> > >>Es. the login.php stops working.
> > >>
> > >>Any suggestion will be welcome.
> > >>
> > >>Cheers
> > >>Alessandro
-- 
Dave Hall (aka skwashd)
API Coordinator
phpGroupWare
-------------------------------------------------------------------------
Do you think if Bill Gates got laid in high school, do you think there'd 
be a Microsoft?  Of course not.
Underwear Goes Inside The Pants by Lazy Boy






reply via email to

[Prev in Thread] Current Thread [Next in Thread]