Re: [PHP] Best way to save reports, comments and suggestions welcome

2006-05-29 Thread Ryan A
Hey Rob, > > I have done very little SUM queries with time, can > you > > give me a quick example or any site where i can > find a > > few sample queries? > > This is basic MySQL so you should RTFM, and > generally should be asking > on a MySQL list :) Hehehe, true... Dont really like the MySql

Re: [PHP] Best way to save reports, comments and suggestions welcome

2006-05-29 Thread Robert Cummings
On Mon, 2006-05-29 at 08:55, Ryan A wrote: > > Regardless of how you determine the end of the > > logged in time, you > > shouldn't track all the different sums in every > > entry since that's > > redundant. You don't even need the extra data since > > the database will > > happily allow you to per

Re: [PHP] Best way to save reports, comments and suggestions welcome

2006-05-29 Thread Ryan A
Hey Robert, > > I have to write a kind of logging script which > will keep records of how long a person used the site > and its functions, so far this is what I have come up > > with: ... > Presuming you know when they logged out or can > calculate it: > > user_id > login_time timesta

Re: [PHP] Best way to save reports, comments and suggestions welcome

2006-05-28 Thread Robert Cummings
On Sun, 2006-05-28 at 18:49, Ryan A wrote: > Hi, > I have to write a kind of logging script which will > keep records of how long a person used the site and > its functions, so far this is what I have come up > with: > > login_username varchar(50) > as_guide <- You can ignore this,its for a specia

[PHP] Best way to save reports, comments and suggestions welcome

2006-05-28 Thread Ryan A
Hi, I have to write a kind of logging script which will keep records of how long a person used the site and its functions, so far this is what I have come up with: login_username varchar(50) as_guide <- You can ignore this,its for a special func login_time timestamp logout_time timestamp this_ses

Re: [PHP] best way to save program prefs to a file?

2005-09-27 Thread A.J. Brown
uot;Edward Vermillion" <[EMAIL PROTECTED]> To: "A.J. Brown" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, September 27, 2005 10:48 AM Subject: Re: [PHP] best way to save program prefs to a file? A.J. Brown wrote: Are you wanting the preferences to be real-time changeable? For e

Re: [PHP] best way to save program prefs to a file?

2005-09-27 Thread Chris
Cool...that's exactly what I was looking for!! "Torgny Bjers" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Chris wrote: >> I'd like to save some program preferences to a txt file where they can be >> recalled and updated at a later time. Basically this will be a variable >> name >

Re: [PHP] best way to save program prefs to a file?

2005-09-27 Thread Greg Donald
On 9/27/05, Chris <[EMAIL PROTECTED]> wrote: > I'd like to save some program preferences to a txt file where they can be > recalled and updated at a later time. Basically this will be a variable name > and a value. Can someone suggest a reference or method to best perform this > task? While learni

Re: [PHP] best way to save program prefs to a file?

2005-09-27 Thread Edward Vermillion
A.J. Brown wrote: Are you wanting the preferences to be real-time changeable? For example, user preferences that can be modified then saved? If so, just store them in an array, then serialize the array and save it to a file. Read the file at every page load. [code] //save the settings $us

Re: [PHP] best way to save program prefs to a file?

2005-09-27 Thread A.J. Brown
Are you wanting the preferences to be real-time changeable? For example, user preferences that can be modified then saved? If so, just store them in an array, then serialize the array and save it to a file. Read the file at every page load. [code] //save the settings $user_settings['setting

Re: [PHP] best way to save program prefs to a file?

2005-09-27 Thread Torgny Bjers
Chris wrote: > I'd like to save some program preferences to a txt file where they can be > recalled and updated at a later time. Basically this will be a variable name > and a value. Can someone suggest a reference or method to best perform this > task? > > Thanks > Chris > BTW: I do not want t

RE: [PHP] best way to save program prefs to a file?

2005-09-27 Thread Jay Blanchard
[snip] I'd like to save some program preferences to a txt file where they can be recalled and updated at a later time. Basically this will be a variable name and a value. Can someone suggest a reference or method to best perform this task? [/snip] Open a new file, save stuff to it, close the fi

[PHP] best way to save program prefs to a file?

2005-09-27 Thread Chris
I'd like to save some program preferences to a txt file where they can be recalled and updated at a later time. Basically this will be a variable name and a value. Can someone suggest a reference or method to best perform this task? Thanks Chris BTW: I do not want to use MySql. -- PHP Genera

Re: [PHP] Best way to save preferences?

2004-09-26 Thread Robby Russell
On Sun, 2004-09-26 at 10:00, Victor SpÃng Arthursson wrote: > Which is the best way to save preferences (for a site) to make them > easily accessable for changes? > > What I want is a way to save arrays and read them in again without > having to use a databaseâ > > Thankful for suggests, > > s

Re: [PHP] Best way to save preferences?

2004-09-26 Thread Marek Kilimajer
Pahlevanzadeh Mohsen wrote: Dear,I mean that you can't read XML file in multiuser mode. Can you elaborate? And what about other files? Are they different? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best way to save preferences?

2004-09-26 Thread Pahlevanzadeh Mohsen
Dear,I mean that you can't read XML file in multiuser mode. --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: > Pahlevanzadeh Mohsen wrote: > > You should use XML files,But XML files will be > lock > > when you want to multiuser read it. > > It's not necessery to lock files for reading. > > > Also

Re: [PHP] Best way to save preferences?

2004-09-26 Thread Jason Wong
On Monday 27 September 2004 01:00, Victor Spång Arthursson wrote: > Which is the best way to save preferences (for a site) to make them > easily accessable for changes? > > What I want is a way to save arrays and read them in again without > having to use a database… serialize(). Or if you want t

Re: [PHP] Best way to save preferences?

2004-09-26 Thread Marek Kilimajer
Pahlevanzadeh Mohsen wrote: You should use XML files,But XML files will be lock when you want to multiuser read it. It's not necessery to lock files for reading. Also arrays is having overhead for your server.Best way is using databses. Yours,Mohsen. --- Victor Spång Arthursson <[EMAIL PROTECTED]>

Re: [PHP] Best way to save preferences?

2004-09-26 Thread Pahlevanzadeh Mohsen
You should use XML files,But XML files will be lock when you want to multiuser read it. Also arrays is having overhead for your server.Best way is using databses. Yours,Mohsen. --- Victor Spång Arthursson <[EMAIL PROTECTED]> wrote: > Which is the best way to save preferences (for a > site) to mak

[PHP] Best way to save preferences?

2004-09-26 Thread Victor Spång Arthursson
Which is the best way to save preferences (for a site) to make them easily accessable for changes? What I want is a way to save arrays and read them in again without having to use a database… Thankful for suggests, sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] best way to save form data on user side

2003-01-29 Thread Maxim Maletsky
Isn't it simplier to just do like when you purchase something? You also need a prove then that you have paid and are expecting the merchandise to be shipped. That is simply solved with mailing a copy plus a registration number for future reference. Should be more than enough. -- Maxim Maletsky [

Re: [PHP] best way to save form data on user side

2003-01-28 Thread Hugh Danaher
on of what was submitted, a way to edit their initial input and a record which they can keep on their own computer. Hope this helps, Hugh - Original Message - From: "Petre Agenbag" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 28, 2003 11:35 AM Subj

Re: [PHP] best way to save form data on user side

2003-01-28 Thread Justin French
on 29/01/03 6:35 AM, Petre Agenbag ([EMAIL PROTECTED]) wrote: > Hi > I have a rather annoying problem regarding forms. > I have built an app that allows the users to fill in a rather large form > (much like a claim form) and then have the data pumped into a mysql db. > The problem is: the users wa

Re: [PHP] best way to save form data on user side

2003-01-28 Thread Mike . Kent
AIL PROTECTED] za> cc: [EMAIL PROTECTED] Subject: Re: [PHP] best way to save form d

Re: [PHP] best way to save form data on user side

2003-01-28 Thread Jason Wong
On Wednesday 29 January 2003 04:17, Petre Agenbag wrote: > > > "save" their forms on their systems as a) > > > backup/proof that they have filled it in and b) > > > for their records for future use and c) the hope > > > is that it would also allow for a reliable method > > > to complete the form o

RE: [PHP] best way to save form data on user side

2003-01-28 Thread Adam White
page (for printing off) or copying to another form which could be used for next years data Regards Adam White -Original Message- From: Petre Agenbag [mailto:[EMAIL PROTECTED]] Sent: 28 January 2003 20:17 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] best way to save form da

Re: [PHP] best way to save form data on user side

2003-01-28 Thread 1LT John W. Holmes
> On Tue, 2003-01-28 at 22:09, Chris Shiflett wrote: > > --- Petre Agenbag <[EMAIL PROTECTED]> wrote: > > > I have a rather annoying problem regarding forms. > > > I have built an app that allows the users to fill > > > in a rather large form (much like a claim form) > > > and then have the data pu

Re: [PHP] best way to save form data on user side

2003-01-28 Thread Chris Shiflett
--- Petre Agenbag <[EMAIL PROTECTED]> wrote: > This is exactly what I'm looking to do; but my problem > remains: I don't know what the best solution is. The > problem is clear: the users actually need an electronic > copy of the data they submit; they must revisit certain > issues annually, and wou

Re: [PHP] best way to save form data on user side

2003-01-28 Thread Petre Agenbag
Hi Chris On Tue, 2003-01-28 at 22:09, Chris Shiflett wrote: > --- Petre Agenbag <[EMAIL PROTECTED]> wrote: > > I have a rather annoying problem regarding forms. > > I have built an app that allows the users to fill > > in a rather large form (much like a claim form) > > and then have the data pum

Re: [PHP] best way to save form data on user side

2003-01-28 Thread Chris Shiflett
--- Petre Agenbag <[EMAIL PROTECTED]> wrote: > I have a rather annoying problem regarding forms. > I have built an app that allows the users to fill > in a rather large form (much like a claim form) > and then have the data pumped into a mysql db. > The problem is: the users want to be able to > "

Re: [PHP] best way to save form data on user side

2003-01-28 Thread 1LT John W. Holmes
> I have a rather annoying problem regarding forms. > I have built an app that allows the users to fill in a rather large form > (much like a claim form) and then have the data pumped into a mysql db. > The problem is: the users want to be able to "save" their forms on their > systems as a) backup/

RE: [PHP] best way to save form data on user side

2003-01-28 Thread Petre Agenbag
reate the form in Excel and then figure out a way to > import that into your database using a webapp > c) client side app :( > > > -Original Message- > > From: Petre Agenbag [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, January 28, 2003 2:35 PM > > To: [EM

[PHP] best way to save form data on user side

2003-01-28 Thread Petre Agenbag
Hi I have a rather annoying problem regarding forms. I have built an app that allows the users to fill in a rather large form (much like a claim form) and then have the data pumped into a mysql db. The problem is: the users want to be able to "save" their forms on their systems as a) backup/proof

Re: [PHP] Best way to save?

2002-08-01 Thread 1LT John W. Holmes
;[EMAIL PROTECTED]> Sent: Thursday, August 01, 2002 6:48 PM Subject: [PHP] Best way to save? Besides using fOpen to save the output of a script to a file, What would be your best recommendation for a way to save the output of a PHP script to an HTML doc. Images will be included. Thanks gang. - No

[PHP] Best way to save?

2002-08-01 Thread Shane
Besides using fOpen to save the output of a script to a file, What would be your best recommendation for a way to save the output of a PHP script to an HTML doc. Images will be included. Thanks gang. - NorthBayShane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http: