Richard Korts
asked on
File name of email attachment
I build the filename of an email attachment based on a "property description".
In a particular case, the property description is #68 Residence.
That is passed as a $_GET variable to the emailing routine; I'm guessing that either # is not allowed in a file name (or more likely) # does not get properly passed in the query string.
Should I just replace # with # in the query string? Not sure if that stuff in a file name would work.
Or maybe better yet, I could probably just throw away the #, not needed in this case, but there are probably other special characters.
Suggested solution?
In a particular case, the property description is #68 Residence.
That is passed as a $_GET variable to the emailing routine; I'm guessing that either # is not allowed in a file name (or more likely) # does not get properly passed in the query string.
Should I just replace # with # in the query string? Not sure if that stuff in a file name would work.
Or maybe better yet, I could probably just throw away the #, not needed in this case, but there are probably other special characters.
Suggested solution?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Richard