Re: [PHP] REPOST: converting multiple URL values for the same variable into an array

2001-07-17 Thread Garth Dahlstrom
Kurt, You might have some luck with adding [], I seem to remember that making arrays for form posts, so it might do gets too... http://myhost/playlist.pls?song[]=100song[]=101song[]=102 and if you always end up with an array using [], you might change the condition to count($song) 1 or

[PHP] REPOST: converting multiple URL values for the same variable into an array

2001-07-16 Thread Kurt Lieber
I posted this late on Sunday afternoon, so it may have been overlooked. I haven't figured it out yet, so I'm reposting in the hopes someone can help. Thanks. --- I'm modifying some code for ampache (ampache.kveton.com) and have run into a snag that I'm not sure I

RE: [PHP] REPOST: converting multiple URL values for the same variable into an array

2001-07-16 Thread Jason Murray
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

RE: [PHP] REPOST: converting multiple URL values for the same variable into an array

2001-07-16 Thread Matthew Loff
If PHP won't overload them to an array, you could parse $QUERY_STRING manually. -Original Message- From: Jason Murray [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 11:06 PM To: 'Kurt Lieber'; 'PHP General List (E-mail)' Subject: RE: [PHP] REPOST: converting multiple URL

RE: [PHP] REPOST: converting multiple URL values for the same variable into an array

2001-07-16 Thread Kurt Lieber
Sorry -- I should have clarified that .pls has been added as a php file type in httpd.conf. -Original Message- From: Jason Murray [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 8:06 PM To: 'Kurt Lieber'; 'PHP General List (E-mail)' Subject: RE: [PHP] REPOST: converting