Re: [PHP] Converting a query for use in a form

2005-06-11 Thread Richard Lynch
On Wed, June 8, 2005 9:59 pm, [EMAIL PROTECTED] said: > I hope you can all help me. I want to take the information I get from a > query and use it is a form as a dropdown select box. For example I want to > pull the colors from a table and list them in a drop down box and then > when > a user selec

Re: [PHP] output buffering / output compression

2005-06-11 Thread Richard Lynch
On Thu, June 9, 2005 12:22 am, Paul Birnstihl said: > I have recently set up a machine with PHP with both buffering and > compression turned on. Some of the pages being served include up to 3MB > of HTML. > > Can someone explain the benefit(s) of setting these ini directives to > values (ie. larger

Re: [PHP] weird thing; downloading from a php script stops at exactly 2.000.000 bytes

2005-06-11 Thread Richard Lynch
I just noticed the eaccelerator bit in this thread. Just disabling eaccelerator isn't the same as not compiling it in in the first place... Try that before reporting a bug to http://bugs.php.net On Thu, June 9, 2005 1:59 am, Catalin Trifu said: > Hi, > >I installed php5 using the con

Re: [PHP] Compilation trouble on OS X

2005-06-11 Thread Richard Lynch
On Thu, June 9, 2005 5:32 am, Marcus Bointon said: > I've been beating my head against this - I've done this so many > times on BSD and Linux but I just can't get PHP 5.0.4 to compile on > OS X. Even the simplest case: > > ./configure > make > > fails with: > > /usr/bin/ld: Undefined symbols: > _m

Re: [PHP] The "goto" discussion on the Internals List

2005-06-11 Thread Richard Lynch
On Thu, June 9, 2005 6:49 am, Jochem Maas said: > Richard Lynch wrote: >> And, for the record, *I* sure as hell don't want to see a GoTo in PHP. > > whats your take on ifsetor()?, personally I would like to see it. I think > its a great way to teach newbies about checking vars before use (if > noth

Re: [PHP] http to https session problem

2005-06-11 Thread Joe Harman
On 6/11/05, Joe Harman <[EMAIL PROTECTED]> wrote: > On 6/11/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > > On Thu, June 9, 2005 7:43 am, Joe Harman said: > > > I am having a little problem with users keeping the same session id > > > when they go from http to https... is there a work around for t

Re: [PHP] http to https session problem

2005-06-11 Thread Richard Lynch
On Thu, June 9, 2005 7:43 am, Joe Harman said: > I am having a little problem with users keeping the same session id > when they go from http to https... is there a work around for this... > I don't appear to have this problem when using openSSL just when the > site has it's own certificate. > > sh

Re: [PHP] Is there a big speed difference...

2005-06-11 Thread Richard Lynch
On Thu, June 9, 2005 10:06 am, Brian Dunning said: > > On Jun 9, 2005, at 9:48 AM, bruce wrote: > >> bian... >> >> giave a psuedocode example of what you're trying to compare.. i >> think i know >> what you're asking, but i want to be sure.. > > OK, this is *pseudocode* remember... :) > > Is eithe

Re: [PHP] Howto implement atomical actions

2005-06-11 Thread Richard Lynch
On Sat, June 11, 2005 6:46 am, Andy Pieters said: > I am developing a web interface to patch a program. The user uploads the > patch and after uncompressing and verification of signature, the update > should take place. However I do not want users to be able to start an > update > and then abort

Re: [PHP] fwrite/fopen

2005-06-11 Thread Mister Jack
fwrite failed for "quota disc exceeded", so I end up with empty file. the algorithm is something like : if (! $fp = @fopen($config['pagecachedir'].$path.$tmp_value,'wb')) { $errorLog .= "Writing problem for ".$config['pagecachedir']. "$path$tmp_value!\n";

[PHP] Re: Howto implement atomical actions

2005-06-11 Thread Manuel Lemos
Hello, on 06/11/2005 10:46 AM Andy Pieters said the following: I am developing a web interface to patch a program. The user uploads the patch and after uncompressing and verification of signature, the update should take place. However I do not want users to be able to start an update and the

[PHP] news php 5.0.5/5.1

2005-06-11 Thread mbneto
Hi, I've looked at php.net but could not find info regarding if/when are we going to have further 5.0.x versions and what will change in php 5.1. Any pointers (besides the php-devel) ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] using require

2005-06-11 Thread Christian Heinrich
Hi, this depends on which connection-function you've used. If you've decided to use pg_pconnect(), there is just one connection. If you use pg_connect, everytime a new connection is established (and after finishing the script, it's closed though) HTH Christian hi all, i have my web site w

Re: [PHP] Howto implement atomical actions

2005-06-11 Thread Chris Shiflett
Andy Pieters wrote: I am developing a web interface to patch a program. The user uploads the patch and after uncompressing and verification of signature, the update should take place. However I do not want users to be able to start an update and then abort the process by stopping to load the page

Re: [PHP] Re: Getting help on using the PHP lists

2005-06-11 Thread Paul Waring
On 6/10/05, Leila Lappin <[EMAIL PROTECTED]> wrote: > Have you tried changing the subscription options through the website? I > think you can do it by just checking the type of list you're interested in > subscribing. I don't know about other people, but I've had lots of problems trying to subscr

[PHP] Howto implement atomical actions

2005-06-11 Thread Andy Pieters
Hi all I am developing a web interface to patch a program. The user uploads the patch and after uncompressing and verification of signature, the update should take place. However I do not want users to be able to start an update and then abort the process by stopping to load the page. I im

[PHP] Returned mail: Data format error

2005-06-11 Thread Mail Administrator
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

Re: [PHP] [? BUG ?] weird thing;downloading from a php script stops at exactly 2.000.000 bytes

2005-06-11 Thread Catalin Trifu
Hi, There is not a big speed difference between the two. The only thing is that it was frustrating to find out the limitations on readfile. I used it before with large files and it was ok; only to find out now that on 5.0.4 it doesn't work as it used to. As php manual states re