php-general Digest 12 Sep 2010 20:34:28 -0000 Issue 6937

2010-09-12 Thread php-general-digest-help
php-general Digest 12 Sep 2010 20:34:28 - Issue 6937 Topics (messages 307973 through 307995): Re: How to handle a submitted form with no changes -- best practices sought 307973 by: Tamara Temple 307974 by: Tamara Temple 307977 by: Shawn McKenzie 307995 by:

Re: [PHP] Elegance is the goal... Sticky form submit help

2010-09-12 Thread Tamara Temple
On Sep 11, 2010, at 12:14 PM, Jason Pruim wrote: On Sep 11, 2010, at 12:39 PM, Tamara Temple wrote: Rather than repeating all that code, I suggest the following: [snip] That's actually what I'm trying to get away from. I was hoping to do it all in HEREDOC syntax. I've always thought it made

[PHP] Re: How to handle a submitted form with no changes -- best practices sought

2010-09-12 Thread Tamara Temple
On Sep 11, 2010, at 10:46 PM, Shawn McKenzie wrote: It could however be a problem if there is a BOT or something that continually submits to your page. In that case (and in general) I would recommend using a form token that helps guard against this. I've seen this on some sites, but I'm

Re: [PHP] How to handle a submitted form with no changes -- best practices sought

2010-09-12 Thread Tamara Temple
On Sep 11, 2010, at 9:27 PM, viraj wrote: On Sat, Sep 11, 2010 at 10:22 PM, Tamara Temple tamouse.li...@gmail.com wrote: I have a general question and am looking for best practices. Is it worth the overhead of passing along the previous values in the table in hidden fields so that fields

Re: [PHP] Disabling an extension on a perdir basis.

2010-09-12 Thread Richard Quadling
On 11 September 2010 20:24, Jim Lucas li...@cmsws.com wrote: As I thought, looking through the docs, it looks like the only way to set the options that are only settable via the php.ini file is to use a per directory php.ini file.  But, the problem with that is, it only works with the

Re: [PHP] Disabling an extension on a perdir basis.

2010-09-12 Thread David Robley
Richard Quadling wrote: On 11 September 2010 20:24, Jim Lucas li...@cmsws.com wrote: As I thought, looking through the docs, it looks like the only way to set the options that are only settable via the php.ini file is to use a per directory php.ini file.  But, the problem with that is, it

[PHP] Re: How to handle a submitted form with no changes -- best practices sought

2010-09-12 Thread Shawn McKenzie
On 09/12/2010 02:38 AM, Tamara Temple wrote: On Sep 11, 2010, at 10:46 PM, Shawn McKenzie wrote: It could however be a problem if there is a BOT or something that continually submits to your page. In that case (and in general) I would recommend using a form token that helps guard against

[PHP] 1984 (Big Brother)

2010-09-12 Thread tedd
Hi gang: I have a client who wants his employees' access to their online business database restricted to only times when he is logged on. (Don't ask why) In other words, when the boss is not logged on, then his employees cannot access the business database in any fashion whatsoever

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread Joshua Kehn
Tedd- Would he consider access to another database? I.e. a separate, say memcached db which stores the boss status? An issue with the temporary file would also be session length, if the session expires without the user explicitly logging off, the file wouldn't be removed. A way to bypass this

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread Ashley Sheridan
On Sun, 2010-09-12 at 12:32 -0400, tedd wrote: Hi gang: I have a client who wants his employees' access to their online business database restricted to only times when he is logged on. (Don't ask why) In other words, when the boss is not logged on, then his employees cannot access

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread Per Jessen
tedd wrote: Hi gang: I have a client who wants his employees' access to their online business database restricted to only times when he is logged on. (Don't ask why) In other words, when the boss is not logged on, then his employees cannot access the business database in any fashion

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread tedd
At 4:42 PM -0400 9/10/10, Daniel Brown wrote: On Fri, Sep 10, 2010 at 16:37, Steve Staples sstap...@mnsi.net wrote: Ok, here it goes... I am building an app, that requires a web interface. -snip- i want to be able to run it on like port 8880 or something... just looking out there

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread Ashley Sheridan
On Sun, 2010-09-12 at 12:55 -0400, tedd wrote: At 4:42 PM -0400 9/10/10, Daniel Brown wrote: On Fri, Sep 10, 2010 at 16:37, Steve Staples sstap...@mnsi.net wrote: Ok, here it goes... I am building an app, that requires a web interface. -snip- i want to be able to run it on

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread Andy McKenzie
A question, to clarify my fuzzy thinking about such things: Can a business have a server connected to the Internet but limit access to just their employees? I don't mean a password protected scheme, but rather the server being totally closed to the outside world other than to their internal

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread tedd
At 5:57 PM +0100 9/12/10, Ashley Sheridan wrote: On Sun, 2010-09-12 at 12:55 -0400, tedd wrote: Can a business have a server connected to the Internet but limit access to just their employees? I don't mean a password protected scheme, but rather the server being totally closed to the outside

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread Joshua Kehn
On Sep 12, 2010, at 1:33 PM, tedd wrote: At 5:57 PM +0100 9/12/10, Ashley Sheridan wrote: On Sun, 2010-09-12 at 12:55 -0400, tedd wrote: Can a business have a server connected to the Internet but limit access to just their employees? I don't mean a password protected scheme, but rather

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread tedd
At 1:40 PM -0400 9/12/10, Joshua Kehn wrote: On Sep 12, 2010, at 1:33 PM, tedd wrote: So, can I do what I do (i.e., programming) without having a host? Can I install a local server at my clients location and interface all their computers to use the server without them ever being connected

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread Jason Pruim
On Sep 12, 2010, at 1:33 PM, tedd wrote: At 5:57 PM +0100 9/12/10, Ashley Sheridan wrote: On Sun, 2010-09-12 at 12:55 -0400, tedd wrote: Can a business have a server connected to the Internet but limit access to just their employees? I don't mean a password protected scheme, but rather the

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread tedd
At 1:18 PM -0400 9/12/10, Andy McKenzie wrote: A question, to clarify my fuzzy thinking about such things: Can a business have a server connected to the Internet but limit access to just their employees? I don't mean a password protected scheme, but rather the server being totally closed

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread tedd
At 1:47 PM -0400 9/12/10, Jason Pruim wrote: On Sep 12, 2010, at 1:33 PM, tedd wrote: So, can I do what I do (i.e., programming) without having a host? Can I install a local server at my clients location and interface all their computers to use the server without them ever being connected to

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread viraj
On Sun, Sep 12, 2010 at 11:03 PM, tedd tedd.sperl...@gmail.com wrote: At 5:57 PM +0100 9/12/10, Ashley Sheridan wrote: I'm sure this is an obvious question for many on this list, but I'm not above showing my ignorance. I guess what I am asking -- if a client wanted an application written

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread Ashley Sheridan
On Sun, 2010-09-12 at 14:07 -0400, tedd wrote: At 1:47 PM -0400 9/12/10, Jason Pruim wrote: On Sep 12, 2010, at 1:33 PM, tedd wrote: So, can I do what I do (i.e., programming) without having a host? Can I install a local server at my clients location and interface all their computers to

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread viraj
On Sun, Sep 12, 2010 at 11:37 PM, tedd tedd.sperl...@gmail.com wrote: At 1:47 PM -0400 9/12/10, Jason Pruim wrote: So, could a server be set up in an office that would run web-languages such that users in the office could access their server and run scripts using browsers? yes, it's just few

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread Andy McKenzie
On Sun, Sep 12, 2010 at 1:51 PM, tedd tedd.sperl...@gmail.com wrote: At 1:18 PM -0400 9/12/10, Andy McKenzie wrote:    A question, to clarify my fuzzy thinking about such things:  Can a business have a server connected to the Internet but limit access to  just their employees? I don't

Re: [PHP] How to handle a submitted form with no changes -- best practices sought

2010-09-12 Thread Robert Cummings
On 10-09-11 12:52 PM, Tamara Temple wrote: I have a general question and am looking for best practices. Suppose I present a user with a form for editing an entry in a table, i.e., the form has filled in values from the existing table entry. Now, suppose they click on 'submit' without making

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread Tamara Temple
Sounds like there are some security concerns here. On Sep 12, 2010, at 11:32 AM, tedd wrote: I have a client who wants his employees' access to their online business database restricted to only times when he is logged on. (Don't ask why) I do wonder why, though. Perhaps this is an

Re: [PHP] How to handle a submitted form with no changes -- best practices sought

2010-09-12 Thread Tamara Temple
On Sep 12, 2010, at 3:34 PM, Robert Cummings wrote: On 10-09-11 12:52 PM, Tamara Temple wrote: I have a general question and am looking for best practices. Suppose I present a user with a form for editing an entry in a table, i.e., the form has filled in values from the existing table entry.

Re: [PHP] How to handle a submitted form with no changes -- best practices sought

2010-09-12 Thread Ashley Sheridan
On Sun, 2010-09-12 at 16:12 -0500, Tamara Temple wrote: On Sep 12, 2010, at 3:34 PM, Robert Cummings wrote: On 10-09-11 12:52 PM, Tamara Temple wrote: I have a general question and am looking for best practices. Suppose I present a user with a form for editing an entry in a table,

Re: [PHP] How to handle a submitted form with no changes -- best practices sought

2010-09-12 Thread Michael Shadle
On Sun, Sep 12, 2010 at 2:12 PM, Tamara Temple tamouse.li...@gmail.com wrote: Ok, but how do you detect if a field changes? The specific implementation between application and data storage is probably moot until you figure that part out. +1 without talking to the server, or accessing it in

Re: [PHP] How to handle a submitted form with no changes -- best practices sought

2010-09-12 Thread Robert Cummings
On 10-09-12 05:19 PM, Michael Shadle wrote: On Sun, Sep 12, 2010 at 2:12 PM, Tamara Templetamouse.li...@gmail.com wrote: Ok, but how do you detect if a field changes? The specific implementation between application and data storage is probably moot until you figure that part out. +1 without

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread tedd
At 4:05 PM -0500 9/12/10, Tamara Temple wrote: Sounds like there are some security concerns here. On Sep 12, 2010, at 11:32 AM, tedd wrote: I have a client who wants his employees' access to their online business database restricted to only times when he is logged on. (Don't ask why) I do

Re: [PHP] How to handle a submitted form with no changes -- best practices sought

2010-09-12 Thread Tamara Temple
On Sep 12, 2010, at 4:28 PM, Robert Cummings wrote: On 10-09-12 05:19 PM, Michael Shadle wrote: On Sun, Sep 12, 2010 at 2:12 PM, Tamara Templetamouse.li...@gmail.com wrote: Ok, but how do you detect if a field changes? The specific implementation between application and data storage is

Re: [PHP] How to handle a submitted form with no changes -- best practices sought

2010-09-12 Thread Michael Shadle
On Sun, Sep 12, 2010 at 3:04 PM, Tamara Temple tamouse.li...@gmail.com wrote: Actually, even the client-side aspect isn't good enough -- they could simply retype the same value in the field. Also, I'd like to not rely on JavaScript alone to indicate that there's been a change, since, as Ashley

Re: [PHP] How to handle a submitted form with no changes -- best practices sought

2010-09-12 Thread Ashley Sheridan
On Sun, 2010-09-12 at 17:04 -0500, Tamara Temple wrote: On Sep 12, 2010, at 4:28 PM, Robert Cummings wrote: On 10-09-12 05:19 PM, Michael Shadle wrote: On Sun, Sep 12, 2010 at 2:12 PM, Tamara Templetamouse.li...@gmail.com wrote: Ok, but how do you detect if a field changes? The

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread Tamara Temple
On Sep 12, 2010, at 4:48 PM, tedd wrote: At 4:05 PM -0500 9/12/10, Tamara Temple wrote: Sounds like there are some security concerns here. On Sep 12, 2010, at 11:32 AM, tedd wrote: I have a client who wants his employees' access to their online business database restricted to only times

Re: [PHP] New to PHP and the list

2010-09-12 Thread Paul M Foster
On Sat, Sep 11, 2010 at 06:37:41PM -0500, MikeB wrote: Hello, I'm new to PHP and also new to using newsgroups/mailing lists directly. So if I make a mistake, please forgive me this once and I'll try to do better in the future. Please help me understand, my head is absolutely spinning and I

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread Paul M Foster
On Sun, Sep 12, 2010 at 06:07:57PM -0500, Tamara Temple wrote: snip I've been in business and technology consulting for years and years, and very successful at getting customer's desired outcomes. I don't think their notions strange or unusual -- just that without further elicitation, one

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread Paul M Foster
On Sun, Sep 12, 2010 at 12:32:21PM -0400, tedd wrote: Hi gang: I have a client who wants his employees' access to their online business database restricted to only times when he is logged on. (Don't ask why) In other words, when the boss is not logged on, then his employees cannot

[PHP] Re: workflow system design

2010-09-12 Thread Sridhar Pandurangiah
Hi Try BPEL. You can look at Intalio which supports BPEL and has a community edition. You can download and try out a few examples. I guess the big players like IBM, Oracle etc should have some BPEL based tools. Best regards Sridhar Original Message Subject: workflow