Re: Editing Variables from another script.

From: Date: Tue, 20 Mar 2001 09:26:02 +0000
Subject: Re: Editing Variables from another script.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-44705@lists.php.net to get a copy of this message
Okay, basically, I'm trying to create a script such that it will change the variables inside of my .inc page. Something like lets say I have this file called "database.inc" Inside it I have : $dbhost = 'blah' $dbuser= 'blah' $dbpass= 'blah' I would like to make a script such that I can modify the $variables into something else like, $dbhost into localhost. How can it be done? ----- Original Message ----- From: "Jason Stechschulte" <jpstech@unoh.edu> To: <techzeus@pacific.net.sg> Cc: "'PHP General List. (E-mail)'" <php-general@lists.php.net> Sent: Monday, March 19, 2001 11:03 PM Subject: Re: [PHP] Editing Variables from another script. > On Sun, Mar 18, 2001 at 01:06:34PM +0800, techzeus@pacific.net.sg wrote: > > > I'm trying to create a form whereby I can edit the variables with just the form. > > > > It will be something like a form for me to change the database details(username,server,password) in a .inc I'm using. > > > > Is there anyway for me to pass information into another file's variable and have it saved in there? > > > > If anyone have seen Newspro (CGI) before, when you edit some parts in a form, the information will be saved. How can it be done in PHP? > > There is probably a hundred or more ways this can be done. For me to be > able to give you specifics, you will have to be more specific with what > you are doing and what you have tried. > > -- > Jason Stechschulte > jpstech@unoh.edu > -- > Well, I think Perl should run faster than C. :-) > -- Larry Wall in <199801200306.TAA11638@wall.org> > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#44705) next »