Reply to Re: Connection Script... a better way?

Your name:

Reply:


Posted by Stevene on 03/01/07 10:19

> I connect to my database in a way that I think is pretty unsecure.

> <?
> $dbh=mysql_connect ("localhost", "database", "password")
> or die ('I cannot connect to the database because: ' . mysql_error());
> mysql_select_db ("database_table");
> echo "<p>Database selected...\n";
>


I'm new to php development, in particular, and I am curious, why is
this method insecure? Are there ways around the preprocessor so that
the script can be read?

[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

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