php-general Digest 5 Jan 2011 07:54:26 -0000 Issue 7116

2011-01-04 Thread php-general-digest-help
php-general Digest 5 Jan 2011 07:54:26 - Issue 7116 Topics (messages 310489 through 310497): Re: Two forms on one page 310489 by: Jim Lucas 310490 by: Jim Lucas 310492 by: Paul M Foster 310493 by: Jim Lucas Re: session_id() is not passed to the next page

Re: [PHP] Two forms on one page

2011-01-04 Thread Jim Lucas
Ethan, Ok, I would do this with what I would call wizard steps... On 1/3/2011 3:17 PM, Ethan Rosenberg wrote: Oooops - left out the text that was supposed to be in the quotes. Dear List - I would like to have two(2) forms in one PHP script. I would like to have the forms appear sequentially;

Re: [PHP] session_id() is not passed to the next page

2011-01-04 Thread Daniel Molina Wegener
On Tuesday 04 January 2011, Michelle Konzack linux4miche...@tamay-dogan.net wrote: Hello, Hello... I am rewriting currently a login script and I encountered a problem with sessions. While reading the two pages http://php.net/manual/de/function.session-start.php

Re: [PHP] Flexible application plugin architecture, is this possible?

2011-01-04 Thread Daniel Molina Wegener
On Monday 03 January 2011, Mike i...@snappymail.ca wrote: I'm trying to design a powerful plugin system that doesn't require any (or extremely little) modification to my existing large code base. Hook based systems unfortunately don't seem to meet this requirement. OK, that is a design

[PHP] Re: Flexible application plugin architecture, is this possible?

2011-01-04 Thread Colin Guthrie
'Twas brillig, and Mike at 03/01/11 23:37 did gyre and gimble: I'm trying to design a powerful plugin system that doesn't require any (or extremely little) modification to my existing large code base. Hook based systems unfortunately don't seem to meet this requirement. Is something like

Re: [PHP] Newbie Question

2011-01-04 Thread Steve Staples
On Sun, 2011-01-02 at 21:10 -0500, David McGlone wrote: On Sunday, January 02, 2011 08:43:51 pm Larry Garfield wrote: On Sunday, January 02, 2011 4:56:28 pm Adolfo Olivera wrote: Thanks for the replies. I'll just put a php on all my html containing php. A little of topic. Wich IDE are you

Re: [PHP] Re: Flexible application plugin architecture, is this possible?

2011-01-04 Thread Mike
Hi Colin, I guess I'm on the right track then, I ended up doing something similar to your suggestion, instead of using a Factory method in each class I created a global function that can be used as the instantiator instead. The only advantage I see to doing it this way is that it will

Re: [PHP] ErrorDocument 500 and PHP

2011-01-04 Thread David Lidstone
On 03/01/2011 20:26, Ashley Sheridan wrote: On Mon, 2011-01-03 at 15:11 -0500, Bastien Koert wrote: On Mon, Jan 3, 2011 at 2:30 PM, David Lidstoned...@elocal.co.uk wrote: On 03/01/2011 18:38, Nilesh Govindarajan wrote: On 01/03/2011 11:46 PM, David Lidstone wrote: Hi First up, I

Re: [PHP] Re: Do you trim() usernames and passwords?

2011-01-04 Thread tedd
At 12:04 PM + 12/31/10, Nathan Rixham wrote: Tamara Temple wrote: Sorry, I was mislead by your use of the phrase Users should not be copy-pasting passwords or usernames above. I'd love to hear what you think is an alternative to identifying with web app that keeps track of information

Re: [PHP] Two forms on one page

2011-01-04 Thread Jim Lucas
On 1/4/2011 7:53 AM, Ethan Rosenberg wrote: At 03:45 AM 1/4/2011, you wrote: Ethan, Ok, I would do this with what I would call wizard steps... On 1/3/2011 3:17 PM, Ethan Rosenberg wrote: Oooops - left out the text that was supposed to be in the quotes. Dear List - I would like to have

Re: [PHP] Two forms on one page

2011-01-04 Thread Jim Lucas
Sorry for top posting! FYI: You might want to check the math in your calculations. It says that I am 41 when my birthday is tomorrow and I will be 36... On 1/4/2011 10:08 AM, Jim Lucas wrote: On 1/4/2011 7:53 AM, Ethan Rosenberg wrote: At 03:45 AM 1/4/2011, you wrote: Ethan, Ok, I would do

[PHP] Re: session_id() is not passed to the next page

2011-01-04 Thread Al
On 1/3/2011 11:46 PM, Michelle Konzack wrote: Hello, I am rewriting currently a login script and I encountered a problem with sessions. While reading the two pages http://php.net/manual/de/function.session-start.php http://bugs.php.net/bug.php?id=14636 I have not found a solution

Re: [PHP] Two forms on one page

2011-01-04 Thread Paul M Foster
On Tue, Jan 04, 2011 at 10:08:47AM -0800, Jim Lucas wrote: [snip] If this isn't it, I think you should explain (in sudo code) exactly the steps you are expecting things to. Example sudo code [snip] Normally I wouldn't comment on this (sorry, Jim), but for the foreigners on the list,

Re: [PHP] Two forms on one page

2011-01-04 Thread Jim Lucas
On 1/4/2011 12:53 PM, Paul M Foster wrote: On Tue, Jan 04, 2011 at 10:08:47AM -0800, Jim Lucas wrote: [snip] If this isn't it, I think you should explain (in sudo code) exactly the steps you are expecting things to. Example sudo code [snip] Normally I wouldn't comment on this

[PHP] Unload/reload included class

2011-01-04 Thread Patrik Pomichal
Hi there, I trying to create CLI php application. It running continuously (server) and it will has a plugins. I want load, unload and reload plugins on the fly, without stop the application. Loading plugin is easy, when my app found new file in plugins dir, include and register it. But if i

[PHP] mysqli fetch-fields returns blob for text

2011-01-04 Thread Mari Masuda
Hello, On http://www.php.net/manual/en/mysqli.constants.php there are some predefined constants for MYSQLI_TYPE_TINY_BLOB, MYSQLI_TYPE_MEDIUM_BLOB, MYSQLI_TYPE_LONG_BLOB, and MYSQLI_TYPE_BLOB. Through some experimentation I have found that fields in my MySQL database that are declared as

[PHP] Two forms on one page - THE ANSWER

2011-01-04 Thread Ethan Rosenberg
Jim - Much thanks to you for solving a problem with which I have been struggling for the last two weeks. Here is the code: === ?php session_start(); ? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; ?php switch (

[PHP] [SOLVED] Re: session_id() is not passed to the next page

2011-01-04 Thread Michelle Konzack
Hello Daniel Molina Wegener, Am 2011-01-04 07:43:46, hacktest Du folgendes herunter: Did you tried working with error_reporting(E_ALL) and looking if you have the well known warning headers already sent?. Try to work with error_reporting(E_ALL), instead of hiding errors. If you get that