PHP в деталях


         

t strip the slashes when


table width="100%" cellpadding="0" cellspacing="0" >30.4.2001 18:40  OldPaps
коментарий со ссылки выше

Php doesn' t strip the slashes when info comes out of the database. The difference here is that php4 automatically adds slashes to incomming variables (from a post/get) and php3 didn't. So if you're adding slashes manually, suddenly you have double. Either drop your second addslashes() or add a stripslashes to the beginning to all the variables that come in.

Истинная правда, и про это нельзя забывать
<

Содержание  Назад  Вперед