Ah yes, that's true. I didnt realize that. Thanks for pointing that out.
- Original Message -
From: "Chris" <[EMAIL PROTECTED]>
To: "Rob W." <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, March 14, 2006 9:02 PM
Subject: Re: [PHP-DB] Text file (rw) questi
Rob W. wrote:
It's all fixed and works. If anybody is wondering how this turned out, here's
the begining of the results.
index.php
";
if ($variable == "MaxUser") {
echo "Max Users: ";
}
if ($variable == "Password") {
echo "Password: ";
}
// echo "$variable $data";
Rob W. wrote:
So how do I make it so it just set's the variable's that are sent in the
$_POST because i wanna write it so that if the value isnt changed, it
wont send the $_POST and wont update the config file..
You can't stop the post because your browser does that not php (well you
could st
"Rob W." <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, March 14, 2006 7:02 PM
Subject: Re: [PHP-DB] Text file (rw) question...
Rob W. wrote:
Yeah, but will that just replace the data that is present already there?
I dont wanna have duplicate entries in there or i'm affraid it wo
f you only want to replace a particular option then that's different -
but we don't know what you are trying to do.
- Original Message - From: "Chris" <[EMAIL PROTECTED]>
To: "Rob W." <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, March 14, 2006 6:42 P
CTED]>
To: "Rob W." <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, March 14, 2006 6:42 PM
Subject: Re: [PHP-DB] Text file (rw) question...
Rob W. wrote:
Yeah, It's exactally what I needed, but I just want it to replace that
one value that is sent via $_POST.
What i'm tryi
#x27;post_field'] before just writing it (eg
making sure it is only numbers, whatever data you actually want to keep
in it).
- Original Message - From: "Chris" <[EMAIL PROTECTED]>
To: "Rob W." <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, March 14, 2006 6
halt after it updates that line of code.
- Original Message -
From: "Chris" <[EMAIL PROTECTED]>
To: "Rob W." <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, March 14, 2006 6:23 PM
Subject: Re: [PHP-DB] Text file (rw) question...
Rob W. wrote:
That works,
itten to a file.
- Original Message - From: "Chris" <[EMAIL PROTECTED]>
To: "Rob W." <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, March 14, 2006 5:54 PM
Subject: Re: [PHP-DB] Text file (rw) question...
Rob W. wrote:
Ok, The fix is just doing something like
a big loop and fills up the file, any
suggestions?
- Original Message - From: "Chris" <[EMAIL PROTECTED]>
To: "Rob W." <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, March 14, 2006 5:54 PM
Subject: Re: [PHP-DB] Text file (rw) question...
Rob W. wrote:
Ok,
That works, but it just throws it in to a big loop and fills up the file,
any suggestions?
- Original Message -
From: "Chris" <[EMAIL PROTECTED]>
To: "Rob W." <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, March 14, 2006 5:54 PM
Subject: Re: [PHP-DB] Tex
;Dwight Altman" <[EMAIL PROTECTED]>
To: "'Rob W.'" <[EMAIL PROTECTED]>;
Sent: Tuesday, March 14, 2006 9:13 AM
Subject: RE: [PHP-DB] Text file (rw) question...
How about posting your solution as well? Maybe someone will find it
useful.
-Original Messa
t;Dwight Altman" <[EMAIL PROTECTED]>
To: "'Rob W.'" <[EMAIL PROTECTED]>;
Sent: Tuesday, March 14, 2006 9:13 AM
Subject: RE: [PHP-DB] Text file (rw) question...
How about posting your solution as well? Maybe someone will find it
useful.
-Original Mess
How about posting your solution as well? Maybe someone will find it useful.
-Original Message-
From: Rob W. [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 14, 2006 2:07 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Text file (rw) question...
Nevermind. I figured it out
Nevermind. I figured it out.
- Original Message -
From: "Rob W." <[EMAIL PROTECTED]>
To:
Sent: Tuesday, March 14, 2006 1:45 AM
Subject: [PHP-DB] Text file (rw) question...
I'm trying to figure out how to read specific data from a text file that
is already written. Example
MaxUser=3
15 matches
Mail list logo