Posted by dbee on 02/27/06 06:17
So I can't seem to urlencode a file with newlines ... it just gives me
a series of T_STRING unexpected parse errors...
cat job_description | while read file ; do php -r "echo
urlencode('$file');" ; done > job_description_encoded &&
URL_ENCODED_DESCRIPTION=`cat job_description_encoded`
.... this takes in a job_description file and outputs a file with alot
of errors in the text ... ?
[Back to original message]
|