Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001072

RE: [PHP] REPOST: converting multiple URL values for the same variable into an array From: Kurt Lieber (php <email protected>)
Date: 07/17/01

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 <email protected>]
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 <email protected>
Web Developer, Melbourne IT
"Work now, freak later!"

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>