Reply to Re: urlencode a file with newlines ...

Your name:

Reply:


Posted by dbee on 02/27/06 15:00

Iván Sánchez Ortega wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> dbee wrote:
>
> > cat job_description | while read file ; do php -r "echo
> > urlencode('$file');" ; done > job_description_encoded &&
> > URL_ENCODED_DESCRIPTION=`cat job_description_encoded`
>
> PHP syntax is C-like, not Bash-like...
>
> - --
> - ----------------------------------
> Iván Sánchez Ortega -i-punto-sanchez--arroba-mirame-punto-net
>
> Muy pronto en la vida es demasiado tarde.- Marguerite Durás
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQFEAr/O3jcQ2mg3Pc8RAkLzAJ9Mnc79BVoJ9Kr8n0I0g3gAWhuLlgCffS8l
> DTpGz+f9budu6Cw2x+UJ+CY=
> =j2dc
> -----END PGP SIGNATURE-----

I've tried escaping the commas in the text, but it still doesn't work
....

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация