Reply to Re: First attempt at uploading image and storing to db

Your name:

Reply:


Posted by Tim Van Wassenhove on 11/15/08 11:24

On 2005-08-19, bissatch@yahoo.co.uk <bissatch@yahoo.co.uk> wrote:
> My mistake, sorry. For some reason I had accidentally name the imgid
> field on imgblob as imglib. All is well now.
>
> Just one more question. The intended database where this concept will
> work is PostgreSQL as this is what I work with when Im at work. At home
> I practise on MySQL. I know the alternatives for stuff like mysql_query
> and the connection stuff. What is the PG alternative to
> mysql_real_escape_string()? Is it required? Can I simply use
> mysql_real_escape_string() with PG?

Have you even bothered to have a look at the manual?
http://www.php.net/pgsql (pgsql_escape_string)

Btw, why would you loose time with that if you can use prepared
statements/parameter binding?

--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>

[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

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