Re: [PHP] Arg seperators

2001-05-18 Thread DAve Goodrich
on 5/18/01 8:58 AM, Rasmus Lerdorf at [EMAIL PROTECTED] wrote: >> According to the w3c validation program; >> >> A URL for a CGI program that uses `&' as a separator, such as >> "http://host/prog?x=1&y=2";. This is a common problem: the inventors of CGI >> didn't think things through very carefu

RE: [PHP] Arg seperators

2001-05-18 Thread scott [gts]
i had to do that once with a perl script i was writing because there were a variable number of "options" that could be passed in, yet i needed to have a fixed number of paramaters going into the script. i used: ./prog.cgi?opts=x:1,y:2,z:3 sort-of like a primitive form of php's ability to pass ar

Re: [PHP] Arg seperators

2001-05-18 Thread Rasmus Lerdorf
> According to the w3c validation program; > > A URL for a CGI program that uses `&' as a separator, such as > "http://host/prog?x=1&y=2";. This is a common problem: the inventors of CGI > didn't think things through very carefully when they decided to use the '&' > character as a separator betwee