You are here: Re: Creating Mysql DB with PHP « All PHP « IT news, forums, messages
Re: Creating Mysql DB with PHP

Posted by Tony on 06/08/05 05:33

"MS" <nospamplaesegr8t_ukuk@yahoo.co.uk> wrote in message
news:d84v6s$ck9$1@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com...
>> You use the userID and password of a user that is already created on the
>> system.
>>
>> If this is being installed on someone else's system, then you need to
>> provide some way for them to enter that information. You could do it like
>> PHPMyAdmin - where the end-user modifies a configuration file and enters
> the
>> info, or you could make a form that accepts the information and passes it
> to
>> the installation script.
>
> It will be a new installation on somebody else's server, therefore I just
> need to be pointed in the direction of the php command(s) to setup the
> user.

I think you're missing the question - you seem to be overcomplicating
things.

If someone else has a server with MySQL on it already, they will also have a
userID and password for that MySQL server. All you need to do is get that
information from them and use that information to connect to the database.

Provide a form that the user can enter his userID and password, and use
those values in the connect string.

 

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

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