Re: [PHP] Garbage Collection

2009-02-06 Thread Shawn McKenzie
>> To: php-general@lists.php.net >> Subject: [PHP] Garbage Collection >> >> Hi gang: >> >> A related question to my last "Clarity needed" post. >> >> I have a tutor table (showing all the tutors), a course table >> (showing all the course

Re: [PHP] Garbage Collection

2009-02-06 Thread Frank Stanovcak
""Boyd, Todd M."" wrote in message news:33bde0b2c17eef46acbe00537cf2a19003cb4...@exchcluster.ccis.edu... > -Original Message- > From: tedd [mailto:t...@sperling.com] > Sent: Thursday, February 05, 2009 10:07 AM > To: php-general@lists.php.net > Subje

Re: [PHP] Garbage Collection

2009-02-05 Thread Paul M Foster
On Thu, Feb 05, 2009 at 02:48:14PM -0500, tedd wrote: > At 7:03 PM + 2/5/09, Nathan Rixham wrote: >> IMHO forget the active flag, replace it with a field "deleted" which >> is a timestamp, then you've got an audit trail of when the it was >> removed :) >> >> infact often seen three fields on e

Re: [PHP] Garbage Collection

2009-02-05 Thread tedd
At 7:03 PM + 2/5/09, Nathan Rixham wrote: IMHO forget the active flag, replace it with a field "deleted" which is a timestamp, then you've got an audit trail of when the it was removed :) infact often seen three fields on every table, "inserted, updated and deleted" all timestamps and sel

Re: [PHP] Garbage Collection

2009-02-05 Thread Nathan Rixham
Dan Shirah wrote: Hi gang: A related question to my last "Clarity needed" post. I have a tutor table (showing all the tutors), a course table (showing all the courses), and a course-to-tutor table (showing all the instances of what tutor teaches what course). Okay, everything works. Whenever I

Re: [PHP] Garbage Collection

2009-02-05 Thread Bastien Koert
On Thu, Feb 5, 2009 at 11:10 AM, Eric Butera wrote: > On Thu, Feb 5, 2009 at 11:06 AM, tedd wrote: > > Hi gang: > > > > A related question to my last "Clarity needed" post. > > > > I have a tutor table (showing all the tutors), a course table (showing > all > > the courses), and a course-to-tuto

Re: [PHP] Garbage Collection

2009-02-05 Thread Dan Shirah
> > Hi gang: > > A related question to my last "Clarity needed" post. > > I have a tutor table (showing all the tutors), a course table (showing all > the courses), and a course-to-tutor table (showing all the instances of what > tutor teaches what course). > > Okay, everything works. Whenever I wa

RE: [PHP] Garbage Collection

2009-02-05 Thread Boyd, Todd M.
> -Original Message- > From: tedd [mailto:t...@sperling.com] > Sent: Thursday, February 05, 2009 10:07 AM > To: php-general@lists.php.net > Subject: [PHP] Garbage Collection > > Hi gang: > > A related question to my last "Clarity needed" post. >

Re: [PHP] Garbage Collection

2009-02-05 Thread Eric Butera
On Thu, Feb 5, 2009 at 11:06 AM, tedd wrote: > Hi gang: > > A related question to my last "Clarity needed" post. > > I have a tutor table (showing all the tutors), a course table (showing all > the courses), and a course-to-tutor table (showing all the instances of what > tutor teaches what course

[PHP] Garbage Collection

2009-02-05 Thread tedd
Hi gang: A related question to my last "Clarity needed" post. I have a tutor table (showing all the tutors), a course table (showing all the courses), and a course-to-tutor table (showing all the instances of what tutor teaches what course). Okay, everything works. Whenever I want to find ou

Re: [PHP] Garbage collection and strange session behaviour

2006-06-04 Thread Rasmus Lerdorf
Are you actually hitting this race condition in the real world? With a decently long maxlifetime setting I can't really see this being a realistic problem. Remember the timer is reset on every access. -Rasmus BNR - IT Department wrote: Hi, Here is a simple script: ".session_id()." -that's

[PHP] Garbage collection and strange session behaviour

2006-06-04 Thread BNR - IT Department
Hi, Here is a simple script: ".session_id()." -that's our session id, hmmm"); ?> // END OF A SCRIPT The lines from #1 to #3 intentionally set these parameters to the garbage collector just to speed up the results of the problem. #4 - we're sleeping So, after first run we have: after #5 - a

[PHP] Garbage in odbc_connect error

2005-07-20 Thread Vandana Ponnuru
Hi all, I have PHP-4.3.10 and Apache-2.0 running on a Redhat 9 machine. I am connecting to DB2 using the odbc API. I have different applications running connecting to different databases and the applications were all running perfectly fine. But now, odbc_connect fails with some garbage in

[PHP] Garbage

2003-03-06 Thread Bas Verhoeven
Hi, I recently upgraded PHP to version 4.3.1, however I have some problems with it. When I open some PHP files it shouts garbage at me + some html or just a blank screen, when i look at the file on the server nothing has changed, I already tried uploading the files to another location, keep gettin

Re: [PHP] Garbage at beginning of uploaded Text File

2003-03-01 Thread Monty
> Are you using Apache2? IIRC, there was a bug where data would get added > to the POST data, or something along those lines... > > What if you just look at the file with a regular text editor? Do you see > that data there after it's uploaded and written to the server, or does > it just appear int

RE: [PHP] Garbage at beginning of uploaded Text File

2003-03-01 Thread John W. Holmes
> I have a form that allows someone to upload a text file, the contents of > which will be inserted into the database. When I fread() the file, there > is > some garbage at the beginning and end of the text. > > Here's what the text looks like: > > This is the sentence of text. > > Here's wh

[PHP] Garbage at beginning of uploaded Text File

2003-03-01 Thread Monty
I have a form that allows someone to upload a text file, the contents of which will be inserted into the database. When I fread() the file, there is some garbage at the beginning and end of the text. Here's what the text looks like: This is the sentence of text. Here's what it looks like aft

Re: [PHP] Garbage Collection?

2002-08-21 Thread Rasmus Lerdorf
> Hi everybody, > > Is there any requirement to free variables in php, or is there any > garbage collection or built-in module that terminates unused variables? > (Especially for arrays and class instances)... Garbage collection is automatic in PHP. When you do: $a = 123; $a = 456; Then the me

[PHP] Garbage Collection?

2002-08-21 Thread Vehbi Sinan Tunalioglu
Hi everybody, Is there any requirement to free variables in php, or is there any garbage collection or built-in module that terminates unused variables? (Especially for arrays and class instances)... Have a nice day... Vehbi Sinan Tunalioglu -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Garbage .html via HTTP/1.0 or Proxy

2002-08-12 Thread Jim Dam
Are you using gzip compression? Maybe the browser you are using doesn't support gzip. - Original Message - From: "Kelvin Lawson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 12, 2002 4:55 PM Subject: [PHP] Garbage .html via HTTP/1

[PHP] Garbage .html via HTTP/1.0 or Proxy

2002-08-12 Thread Kelvin Lawson
Hi All, When connecting to my site from certain clients, the .html returned contains a large block of non-standard characters. Running it locally and from various other places, the site looks normal. But when I connect from work, the .html file returned is corrupted. At work we have a web prox