You are here: Re: the script wont work and i cant find anything wrong please help « PHP Programming Language « IT news, forums, messages
Re: the script wont work and i cant find anything wrong please help

Posted by plemon on 11/28/06 17:28

i dont understand what you mean about if i dont get the info from post
where am i going to get it?
Erwin Moller wrote:
> so many sites so little time wrote:
>
> > alright so i deleted the part about you must have made a mistake in
> > using this page
> > and added
> > if (!$r) {
> > // There was an error
> > // for simplicity sake, I'll just print it and exit
> > exit('Error in query (' . $query . '): ' . mysql_error());
> > }
> > and as you can see at kirewire.com/pp2/update_site.php
> > all it says now is you must have made a mistake in your query
> >
> > agian the queries are:
> >
> > <snip>
> > // Define the query.
> > $query = "UPDATE home SET header='{$_POST['header']}',
>
> Did you fix the SQL-injection vunerability I was warning you about?
> No.
> Reread my post.
> Do yourself a favor and fix it.
>
> Regards,
> Erwin Moller

 

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

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