Re: [PHP-DB] Text file (rw) question...

2006-03-14 Thread Rob W.
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

Re: [PHP-DB] Text file (rw) question...

2006-03-14 Thread Chris
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";

Re: [PHP-DB] Text file (rw) question...

2006-03-14 Thread Chris
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

Re: [PHP-DB] Text file (rw) question...

2006-03-14 Thread Rob W.
"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

Re: [PHP-DB] Text file (rw) question...

2006-03-14 Thread Chris
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

Re: [PHP-DB] Text file (rw) question...

2006-03-14 Thread Rob W.
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

Re: [PHP-DB] Text file (rw) question...

2006-03-14 Thread Chris
#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

Re: [PHP-DB] Text file (rw) question...

2006-03-14 Thread Rob W.
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,

Re: [PHP-DB] Text file (rw) question...

2006-03-14 Thread Chris
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

Re: [PHP-DB] Text file (rw) question...

2006-03-14 Thread Peter Beckman
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,

Re: [PHP-DB] Text file (rw) question...

2006-03-14 Thread Rob W.
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

Re: [PHP-DB] Text file (rw) question...

2006-03-14 Thread Chris
;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

Re: [PHP-DB] Text file (rw) question...

2006-03-14 Thread Rob W.
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

RE: [PHP-DB] Text file (rw) question...

2006-03-14 Thread Dwight Altman
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

Re: [PHP-DB] Text file (rw) question...

2006-03-14 Thread Rob W.
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