![]() |
Any PHP experts around?
What is correct????
header("Content-Disposition: attachment; filename=\"$filename\""); or header("Content-Disposition: attachment; filename=$filename"); Hugs, Danielle |
bump for the php expert mourning crew:)
Hugs, Danielle |
according to php.net/header the correct syntax is
PHP Code:
|
yes, like mlove said. double quotes nested inside single quotes. :2 cents:
|
Quote:
you need this: header("Content-Disposition: attachment; filename=\"$filename\""); |
Quote:
|
So this is correct?
header("Content-Disposition: attachment; filename=\"$filename\""); Hugs, Danielle |
Are the "\" back slashes needed?
Hugs, Danielle |
Quote:
|
header("Content-Disposition: attachment; filename=\"$filename\wojismydad"if a=b then JDL is A end");
|
Quote:
Hugs, Danielle |
There is no difference. Quotes allow you to send file which contains spaces in its name. Nothing more.
|
You can find original information here: http://www.ietf.org/rfc/rfc2183.txt
|
| All times are GMT -7. The time now is 11:55 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123