RE: [PHP] REPOST: converting multiple URL values for the same variable into an array
| From: | Kurt Lieber | Date: | Tue, 17 Jul 2001 04:05:06 +0000 |
| Subject: | RE: [PHP] REPOST: converting multiple URL values for the same variable into an array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58175@lists.php.net to get a copy of this message | ||
Sorry -- I should have clarified that .pls has been added as a php file
type in httpd.conf.
-----Original Message-----
From: Jason Murray [mailto:Jason.Murray@melbourneit.com.au]
Sent: Monday, July 16, 2001 8:06 PM
To: 'Kurt Lieber'; 'PHP General List (E-mail)'
Subject: RE: [PHP] REPOST: converting multiple URL values for the same
variable into an array
Hi Kurt,
> So, am I correct in assuming that $song will never be considered an
> array? (basically, given the above code and URL, $song will always
> equal 102)
If .pls is a PHP file, then in my experience yes you're right.
However, I've never seen a PHP file called .pls, it may be something
else. Java Servlets for example will allow you to overload variables
like that on a URL line and will indeed produce an array.
I could be wrong, though.
Jason
--
Jason Murray
jasonm@melbourneit.com.au
Web Developer, Melbourne IT
"Work now, freak later!"