I already know that the second example works, I just wanted to know if the
first would before I try it on a live site.
Data Driven Design
PO Box 1084
Holly Hill, Florida 32117
http://www.datadrivendesign.com
http://www.rossidesigns.net
----- Original Message -----
From: "Sam Masiello" <[EMAIL PROTECTED]>
To: "Data Driven Design" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 12:33 PM
Subject: Re: [PHP] $PATH_INFO
>
> I would have to be inclined to say that you couldn't do that. None of the
> examples that I have ever seen do it that way, and from a perspective of
> how a URL is built, how would the browser ever know that you are trying to
> access index.php/somevar/somevalue as opposed to thinking that "somevalue"
> is supposed to be the name of a page?
>
> I am sure someone will chime in if this is wrong, but I would doubt that
it
> is....of course, I guess the best way to find out is to try it :)
>
> --
> Sam Masiello
> Systems Analyst
> Chek.Com
> (716) 853-1362 x289
> [EMAIL PROTECTED]
>
> On 2001.02.27 11:10:57 -0500 Data Driven Design wrote:
> > I've got a page that I'm currently working on that grabs a couple of
> > variable from $PATH_INFO and uses them for db queries. The page is
> > currently
> > called content.php. My question is this, when I replace my index file
> > with
> > this will
> >
> > http://www.mydomain.com/somevar/someothervar
> >
> > be the same as
> >
> > http://www.mydomain.com/index.php/somevar/someothervar
> >
> > It could make things easier for me if it is.
> >
> > Data Driven Design
> > PO Box 1084
> > Holly Hill, Florida 32117
> >
> > http://www.datadrivendesign.com
> > http://www.rossidesigns.net
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]