Re: why did it stop working?

From: Date: Thu, 08 Mar 2007 13:52:38 +0000
Subject: Re: why did it stop working?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-250070@lists.php.net to get a copy of this message
concatenation changes?? I've noticed this too, you can either do what you did, or put {} around variable within quotes.. ----- Original Message ----- From: "Ross" <ross@aztechost.com> To: <php-general@lists.php.net> Sent: Thursday, March 08, 2007 4:57 AM Subject: [PHP] why did it stop working?
Can someone explain to me why this used to work but then stopped header("Content-length: $size"); header("Content-type: $type"); header("Content-Disposition: attachment; filename=$name"); and this now works header("Content-length: ".$size); header("Content-type: ".$type); header('Content-Disposition: attachment; filename="'.$name.'"'); echo $content; Any suggestions? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#250070) next »