Reply to passing the '#' character

Your name:

Reply:


Posted by Peter on 12/25/06 22:25

Hi,

For years I have used a '#' character in certain strings in an application
but now I find I need to pass those strings to a php script.
#characters seem to cut off strings
e.g. www.url.com/script.php?text=mytext#yourtext
and $text will only contain mytext
#yourtext is gone

I have changed the program and php so that a # characters are replaced by a
dash '-' and I apply the logic on that (so no problem)
but now I also need the ability to manually input the data (POST form) and
of course now the '#' is again used by those that do not know.

Besides onvious warnings in the html, can I fix this in php ?

Can I check for the '#' character ?
In my test I can't seem to do that because the #' and rest of the text are
already gone ?

Your input appreciated

[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

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