You are here: Re: space and plus « PHP Programming Language « IT news, forums, messages
Re: space and plus

Posted by NC on 11/07/07 11:31

Rainer Wiener wrote:
>
> When I pass a variable e.g. action= I2OSg2/49FeviZi4PjUm+w==
> across the url and into a php program it is coming in to the program
> as I2OSg2/49FeviZi4PjUm w== instead of
> I2OSg2/49FeviZi4PjUm+w== i.e. the '+'
> symbol is now being interpreted as a space.

This is perfectly normal. Since URLs are not allowed to contain
spaces, most browsers replace them with "+" signs. You need to make
sure that you urlencode() your variables.

Cheers,
NC

 

Navigation:

[Reply to this 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

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