[PHP] Startinga shell process with a life of its own

2006-07-06 Thread John Gunther
Which PHP method allows me to start a shell process from a web page script and let it proceed to its conclusion even though I end the page. Most of the various execute functions seem to wait for the process to finish before PHP continues. I don't understand the ones with open/close functions. W

Re: [PHP] "page expired" - problem

2006-07-06 Thread Chris
cajbecu wrote: Hello there, I have an website, with a lot of buttons with onClick statement. (onclick="document.location='page.php'") The problem is that this page is result of a search criteria (for example filtering the products with POST method) .. Then I chose a product, click on button, and

Re: [PHP] PHP Bug Tracking

2006-07-06 Thread Dan McCullough
I just installed it so its fresh in my mind. :) On 7/6/06, Chris Hemmings <[EMAIL PROTECTED]> wrote: Dan McCullough wrote: > This one? > http://dev.mysql.com/downloads/other/eventum/ > > On 7/6/06, Chris Hemmings <[EMAIL PROTECTED]> wrote: > >> Can anyone point me in the direction where I can f

Re: [PHP] PHP Bug Tracking

2006-07-06 Thread Chris Hemmings
Dan McCullough wrote: This one? http://dev.mysql.com/downloads/other/eventum/ On 7/6/06, Chris Hemmings <[EMAIL PROTECTED]> wrote: Can anyone point me in the direction where I can find a place to download the bug track system that PHP/PEAR & PECL uses. I seem to remember it is available but c

Re: [PHP] PHP Bug Tracking

2006-07-06 Thread Dan McCullough
This one? http://dev.mysql.com/downloads/other/eventum/ On 7/6/06, Chris Hemmings <[EMAIL PROTECTED]> wrote: Can anyone point me in the direction where I can find a place to download the bug track system that PHP/PEAR & PECL uses. I seem to remember it is available but can't find it anymore! T

[PHP] PHP Bug Tracking

2006-07-06 Thread Chris Hemmings
Can anyone point me in the direction where I can find a place to download the bug track system that PHP/PEAR & PECL uses. I seem to remember it is available but can't find it anymore! Ta! Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

RE: [PHP] Problem using fgetcsv()

2006-07-06 Thread KermodeBear
> I am using the fgetcsv() function to read and into an > array and update a database. It works great except > for the odd record. After investigating, I have ascertained > that it is due to a backslash character in the data which > fgetcsv() cannot parse properly. I don;t see anyway around >

[PHP] Re: Problem using fgetcsv()

2006-07-06 Thread Al
Don wrote: Hi, I have a CSV file, comma delimited with the data enclosed by double quotes. I am using the fgetcsv() function to read and into an array and update a database. It works great except for the odd record. After investigating, I have ascertained that it is due to a backslash cha

Re: [PHP] url obfuscation

2006-07-06 Thread Anas Mughal
I have encrypted the values -- not the keys. With this approach, I presume I have made it harder for anyone trying to screen scrap my data. (It is not possible to write a script that would loop over my pages.) Why do you need to encrypt the keys? -- Anas Mughal On 7/6/06, Dan McCullough <[EM

Re: [PHP] uploading and extracting zip files

2006-07-06 Thread Anas Mughal
I had used the uploader class (by David Fox, Dave Tufts) in a previous project. It worked well for me. Hope you could locate it using Google. In any case, Google could locate many upload scripts for you. Good luck! -- Anas Mughal On 7/6/06, Jochem Maas <[EMAIL PROTECTED]> wrote: Chr

[PHP] Problem using fgetcsv()

2006-07-06 Thread Don
Hi,   I have a CSV file, comma delimited with the data enclosed by double quotes.   I am using the fgetcsv() function to read and into an array and update a database.  It works great except for the odd record. After investigating, I have ascertained that it is due to a backslash character in

[PHP] url obfuscation

2006-07-06 Thread Dan McCullough
Looking for a good way to obfuscation the name value pairs in a URL, so it might be something like http://www.domain.com/page=fjdsaflkjdsafkfjdsakfjdsalkfjsda983dsf or something like that, I was looking at base64_encode, but was wondering what others might do or use. It doesnt have to be super se

Re: [PHP] Calculations

2006-07-06 Thread tedd
At 12:32 PM -0400 7/6/06, Robert Cummings wrote: >On Thu, 2006-07-06 at 08:45, John Nichel wrote: > > Jochem Maas wrote: > > > >> > I guess the chinese-straw-hat operator has had it's meaning >> > changed by general consensus since the days when you were >> > programming with rocks ;-) >> > >> >> P

Re: [PHP] Calculations

2006-07-06 Thread Robert Cummings
On Thu, 2006-07-06 at 08:45, John Nichel wrote: > Jochem Maas wrote: > > tedd wrote: > >> At 11:27 AM +0300 6/28/06, Robin Vickery wrote: > >>> On 28/06/06, tedd <[EMAIL PROTECTED]> wrote: > At 2:30 PM -0400 6/27/06, Kristen G. Thorson wrote: > > http://www.php.net/manual/en/language.opera

RE: [PHP] require_once and E_WARNING?

2006-07-06 Thread KermodeBear
chris smith wrote: > try it with a call to an undefined function e.g.: > $foo = thisFunctionDoesNotExistAtLeastItHadBetterNot(); When this is done, the error handler doesn't get called at all, and the script simply dies with an error message (which could be a bug as well, but might also be consid

Re: [PHP] Calculations

2006-07-06 Thread tedd
At 8:45 AM -0400 7/6/06, John Nichel wrote: >Jochem Maas wrote: >>tedd wrote: >>>At 11:27 AM +0300 6/28/06, Robin Vickery wrote: On 28/06/06, tedd <[EMAIL PROTECTED]> wrote: >At 2:30 PM -0400 6/27/06, Kristen G. Thorson wrote: >>http://www.php.net/manual/en/language.operators.bitwise.ph

Re: [PHP] Calculations

2006-07-06 Thread tedd
At 2:36 PM +0200 7/6/06, Jochem Maas wrote: >tedd wrote: >> At 11:27 AM +0300 6/28/06, Robin Vickery wrote: >>> On 28/06/06, tedd <[EMAIL PROTECTED]> wrote: At 2:30 PM -0400 6/27/06, Kristen G. Thorson wrote: > http://www.php.net/manual/en/language.operators.bitwise.php > I wonder

Re: [PHP] Calculations

2006-07-06 Thread tg-php
Best "proving I'm old" line ever had to have been "I *named* dirt!".. forget where I saw that. Had to share :) -TG "Top posting is for people who remember the conversation and don't care to see it again" :) = = = Original message = = = Jochem Maas wrote: > tedd wrote: >> At 11:27 AM +0300 6

Re: [PHP] Calculations

2006-07-06 Thread John Nichel
Jochem Maas wrote: tedd wrote: At 11:27 AM +0300 6/28/06, Robin Vickery wrote: On 28/06/06, tedd <[EMAIL PROTECTED]> wrote: At 2:30 PM -0400 6/27/06, Kristen G. Thorson wrote: http://www.php.net/manual/en/language.operators.bitwise.php I wonder why that's true for php when it's common to us

Re: [PHP] Recursing sessions?

2006-07-06 Thread markw
> markw@mohawksoft.com wrote: >>> On Sat, July 1, 2006 5:30 pm, Mark wrote: If the frames do any sort of processing on the session information, as is the case with squirrelmail, the last session to exit will overwrite all the changes made by prior frames. This can corrupt s

Re: [PHP] Calculations

2006-07-06 Thread Jochem Maas
tedd wrote: > At 11:27 AM +0300 6/28/06, Robin Vickery wrote: >> On 28/06/06, tedd <[EMAIL PROTECTED]> wrote: >>> At 2:30 PM -0400 6/27/06, Kristen G. Thorson wrote: http://www.php.net/manual/en/language.operators.bitwise.php >>> I wonder why that's true for php when it's common to use ^

Re: [PHP] Running php5 with Zeus and fcgi

2006-07-06 Thread Owen Garrett
Hi Nunners, Take a look at your ZWS error log (/usr/local/zeus/web/log/errors). You'll be getting the 'Bad Gateway' error because the php fastcgi has crashed, cannot be started, or ZWS cannot talk to it. There should be some clues in there. For example, if you've copied the php binary from a d

Re: [PHP] require_once and E_WARNING?

2006-07-06 Thread Martin Marques
On Thu, 6 Jul 2006, chris smith wrote: Have you tried this handler with something more fatal, like a missing semi-colon or a } missmatch? That will cause a parse error and the script won't even run. You're right. My wrong. :-( -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0

[PHP] Running php5 with Zeus and fcgi

2006-07-06 Thread James Nunnerley
Does anyone have any experiences of running php5 as a fcgi and Zeus server? And in particular getting "Bad Gateway" errors. We are tempted to report it as a fault/bug, but have looked around the net (including bugs.php.net) it would seem that there's already a reported bug, but it's a little un

Re: [PHP] uploading and extracting zip files

2006-07-06 Thread Jochem Maas
Chris wrote: > nicolas figaro wrote: >> Chris a écrit : >>> Schalk wrote: Greetings All, Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or da

Re: [PHP] require_once and E_WARNING?

2006-07-06 Thread Jochem Maas
chris smith wrote: > On 7/6/06, Martin Marques wrote: >> On Wed, 5 Jul 2006, [EMAIL PROTECTED] wrote: >> >> > Hello all, >> > >> > According to the PHP Manual, when require or require_once failes, an >> > E_ERROR is triggered: "require() and include() are identical in >> every way >> > except how

Re: [PHP] require_once and E_WARNING?

2006-07-06 Thread chris smith
On 7/6/06, Martin Marques wrote: On Wed, 5 Jul 2006, [EMAIL PROTECTED] wrote: > Hello all, > > According to the PHP Manual, when require or require_once failes, an > E_ERROR is triggered: "require() and include() are identical in every way > except how they handle failure. include() produces a

Re: [PHP] require_once and E_WARNING?

2006-07-06 Thread Martin Marques
On Wed, 5 Jul 2006, [EMAIL PROTECTED] wrote: Hello all, According to the PHP Manual, when require or require_once failes, an E_ERROR is triggered: "require() and include() are identical in every way except how they handle failure. include() produces a Warning while require() results in a Fata

Re: [PHP] PROBLEM WITH MAIL FUNCTION

2006-07-06 Thread Martin Marques
On Thu, 6 Jul 2006, Juanjo Pascual wrote: Hello, I have a problem with the mail function when I send a mail with acents or Ñ in the subject. When I receive the mail this caracters have been replaced by X. I'm using the mail function in this way: mail([EMAIL PROTECTED], 'Consulta Señalítica

Re: [PHP] Recursing sessions?

2006-07-06 Thread Jochem Maas
markw@mohawksoft.com wrote: >> On Sat, July 1, 2006 5:30 pm, Mark wrote: >>> If the frames do any sort of processing on the session information, as >>> is >>> the case with squirrelmail, the last session to exit will overwrite >>> all the >>> changes made by prior frames. This can corrupt session i

[PHP] PROBLEM WITH MAIL FUNCTION

2006-07-06 Thread Juanjo Pascual
Hello, I have a problem with the mail function when I send a mail with acents or Ñ in the subject. When I receive the mail this caracters have been replaced by X. I'm using the mail function in this way: mail([EMAIL PROTECTED], 'Consulta Señalítica desde la página web', 'Hola, esto es una p

[PHP] "page expired" - problem

2006-07-06 Thread cajbecu
Hello there, I have an website, with a lot of buttons with onClick statement. (onclick="document.location='page.php'") The problem is that this page is result of a search criteria (for example filtering the products with POST method) .. Then I chose a product, click on button, and when I click bac