The specific example one of the PHP guys gave was extracting the URL vars
from a multiple select form. As the URL search string would read:
attribute=1&attribute=2&attribute=3
He was saying he would need to set up a loop because @GET["attribute"] would
just return the last value - "3".
Whereas CF must automatically parse this as URL.attribute would be a list of
{1,2,3}
This just struck me as this is just another area where CF puts { ASP | .Net
| PHP } in the shade.
cheers
David (CF Evangelist in training!)
-----Original Message-----
From: Sean A Corfield [mailto:[EMAIL PROTECTED]
Sent: Friday, February 20, 2004 3:02 AM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Weird CFMX 6.0 error
On Feb 19, 2004, at 5:39 AM, Steve Onnis wrote:
> Not really
>
> CF = URL.urlVar
> PHP = @GET["urlVar"]
$_GET["urlVar"]
(and form variables are $_POST["formVar"])
CF scores on a lot of the high-level stuff like query handling and the
protocol tags. The XML processing is also way simpler.
Regards,
Sean
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004