ok here is the line in questions
the problem is that the page is dymanic and often times the $filename has spaces in it for example:
the save dialog box comes up with "My" for a file name. the customer wants the spaces preserved else I'd just swap them for an underscore.
any ideas?
-Pete
Do you get a little guilty pleasure when a celebrity has a bad day?
Well then The Dead Pool is for you!
Code:
header( "Content-Disposition: attachment; filename=$filename;");
the problem is that the page is dymanic and often times the $filename has spaces in it for example:
Code:
$filename="My File.txt"
the save dialog box comes up with "My" for a file name. the customer wants the spaces preserved else I'd just swap them for an underscore.
any ideas?
-Pete
Do you get a little guilty pleasure when a celebrity has a bad day?
Well then The Dead Pool is for you!