Re: location= Construct Doc
| From: | Mark | Date: | Tue, 11 Nov 2003 21:46:33 +0000 |
| Subject: | Re: location= Construct Doc | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169203@lists.php.net to get a copy of this message | ||
--- Lee Stewart <lstewart@dsgroup.com> wrote:
> It's version 4.0.3
> Lee
In v4.3.2, it throws a "Parse error: parse error, unexpected '=' in
/path/to/file/test.php on line 23".
>
> Chris Shiflett wrote:
> > --- Lee Stewart <lstewart@dsgroup.com> wrote:
> >
> >>Here's a *working* section of code... Note the
> >> location = "browse.php";
> >>on line 23....
> >
> >
> > How does that not generate a parse error? I must be missing
> something.
> >
> > It seems to me that either a dollar sign is missing, or the line
> is
> > intended to define a constant (although I prefer my constants to
> be
> > uppercase), in which case the wrong syntax is being used.
> >
> > What version of PHP are you using that does not generate a parse
> error?
> >
> > Chris
> >
> > =====
> > My Blog
> > http://shiflett.org/
> > HTTP Developer's Handbook
> > http://httphandbook.org/
> > RAMP Training Courses
> > http://www.nyphp.org/ramp
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
=====
Mark Weinstock
mark_weinstock@yahoo.com
***************************************
You can't demand something as a "right" unless you are willing to fight to death to
defend everyone else's right to the same thing.
***************************************
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree