Re: [PHP] Internal PHP caching methodology

2009-07-18 Thread Daniel Kolbo
Daniel Kolbo wrote: > Eric Butera wrote: >> On Thu, Jul 16, 2009 at 5:50 PM, Daniel Kolbo wrote: >>> Hello, >>> >>> Call me a dreamer...but I got to ask. >>> >>> Is there any software for helping speed up PHP by utilizing internal PHP >>> caching? >>> >>> I am not talking about the external php cac

Re: [PHP] Back from the dead with a racing question!

2009-07-18 Thread LinuxManMikeC
On Fri, Jul 17, 2009 at 11:54 AM, Jason Pruim wrote: > > On Jul 17, 2009, at 11:56 AM, Bastien Koert wrote: > >> On Fri, Jul 17, 2009 at 11:51 AM, tedd wrote: >>> >>> At 11:12 AM -0400 7/17/09, Jason Pruim wrote: Hi everyone! So some of you may have noticed that I have been away

Re: [PHP] another pagination problem

2009-07-18 Thread LinuxManMikeC
On Fri, Jul 17, 2009 at 9:35 AM, PJ wrote: > 4. when ordering by title, results are totally different for ASC & DESC; > not the same data at all (Is the ordering done on the entire db? ) Yes, sort of. ORDER BY is applied to the results of the entire query. Then LIMIT takes a slice out of the res

Re: [PHP] another pagination problem

2009-07-18 Thread Ashley Sheridan
On Fri, 2009-07-17 at 11:55 -0400, PJ wrote: > Ashley Sheridan wrote: > > On Friday 17 July 2009 16:35:10 PJ wrote: > > > >> I noticed the thread on pagination here just after posting to mysql. But > >> I am using php/mysql ;-) > >> I have some rather complicated ordering problems: > >> 1. n

Re: [PHP] Back from the dead with a racing question!

2009-07-18 Thread Ashley Sheridan
On Fri, 2009-07-17 at 14:01 -0400, Bastien Koert wrote: > On Fri, Jul 17, 2009 at 1:54 PM, Jason Pruim wrote: > > > > On Jul 17, 2009, at 11:56 AM, Bastien Koert wrote: > > > >> On Fri, Jul 17, 2009 at 11:51 AM, tedd wrote: > >>> > >>> At 11:12 AM -0400 7/17/09, Jason Pruim wrote: > > Hi

Re: [PHP] Back from the dead with a racing question!

2009-07-18 Thread Ashley Sheridan
On Fri, 2009-07-17 at 13:36 -0700, r...@bigdoghost.com wrote: > I strongly believe you have nothing to worry about and I think you are > over-thinking an issue that will never happen to you. > Even if you have 2000 users, you will have nothing to worry about. > > I manage db's on large scales and

Re: [PHP] PHP 5.3 date.timezone

2009-07-18 Thread Ashley Sheridan
On Fri, 2009-07-17 at 23:15 -0400, John Corry wrote: > Why is date.timezone blank...I'm setting it in the config file? > How come PHP is ignorning teh directives I have set in the .ini? > > OS X with PHP 5.3 compiled from source on Apache 2.2.9 > > WTF? > > Here's my php.ini file:[Date] > ; Defi

[PHP] parallel execution

2009-07-18 Thread kranthi
Code: passthru('firefox &'); echo '1'; I am expecting 1 to be echoed while firefox is running. but that is not the case. ny ideas how i can make this work ? Kranthi. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] parallel execution

2009-07-18 Thread LinuxManMikeC
On Sat, Jul 18, 2009 at 8:15 AM, kranthi wrote: > Code: > > passthru('firefox &'); > echo '1'; > > I am expecting 1 to be echoed while firefox is running. but that is > not the case. ny ideas how i can make this work ? > > Kranthi. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubs

Re: [PHP] Back from the dead with a racing question!

2009-07-18 Thread Phpster
On Jul 18, 2009, at 9:45 AM, Ashley Sheridan wrote: On Fri, 2009-07-17 at 14:01 -0400, Bastien Koert wrote: On Fri, Jul 17, 2009 at 1:54 PM, Jason Pruim wrote: On Jul 17, 2009, at 11:56 AM, Bastien Koert wrote: On Fri, Jul 17, 2009 at 11:51 AM, tedd wrote: At 11:12 AM -0400 7/17/0

[PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Govinda
Hi all, ..sitting here thinking this is so easy, and I must have been over this already in the past.. but it is eluding me just now.. I can't figure out why files with the .html extension ARE being parsed by PHP when they are in the main doc root dir/, or in one subdirectory down from th

Re: [PHP] Back from the dead with a racing question!

2009-07-18 Thread Jason Pruim
On Jul 18, 2009, at 5:54 PM, Phpster wrote: On Jul 18, 2009, at 9:45 AM, Ashley Sheridan wrote: On Fri, 2009-07-17 at 14:01 -0400, Bastien Koert wrote: On Fri, Jul 17, 2009 at 1:54 PM, Jason Pruim wrote: On Jul 17, 2009, at 11:56 AM, Bastien Koert wrote: On Fri, Jul 17, 2009 at 11:

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Govinda
On Jul 18, 2009, at 6:36 PM, Adam Shannon wrote: On Sat, Jul 18, 2009 at 7:01 PM, Govinda wrote: Hi all, ..sitting here thinking this is so easy, and I must have been over this already in the past.. but it is eluding me just now.. I can't figure out why files with the .html extensio

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Adam Shannon
On Sat, Jul 18, 2009 at 7:54 PM, Govinda wrote: > > On Jul 18, 2009, at 6:36 PM, Adam Shannon wrote: > > > > On Sat, Jul 18, 2009 at 7:01 PM, Govinda wrote: > >> Hi all, >> >> ..sitting here thinking this is so easy, and I must have been over this >> already in the past.. but it is eluding me jus

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Adam Shannon
On Sat, Jul 18, 2009 at 7:01 PM, Govinda wrote: > Hi all, > > ..sitting here thinking this is so easy, and I must have been over this > already in the past.. but it is eluding me just now.. > > I can't figure out why files with the .html extension ARE being parsed by > PHP when they are in the ma

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Paul M Foster
On Sat, Jul 18, 2009 at 06:01:14PM -0600, Govinda wrote: > Hi all, > > ..sitting here thinking this is so easy, and I must have been over > this already in the past.. but it is eluding me just now.. > > I can't figure out why files with the .html extension ARE being parsed > by PHP when they are

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread kranthi
i never used x-mapp-php5, but most of a forums say it is specific to 1and1 hosting service. php recommends application/x-httpd-php http://us2.php.net/manual/en/install.unix.apache2.php try adding AddType application/x-httpd-php .html in your root htaccess if that dosent help you'll have to add th

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Govinda
Just add this to your root .htaccess AddType x-mapp-php5 .html Thanks Adam. But still no luck. I did add that line to the .htaccess file in my doc root, but my file.html in subdir/ is still not being parsed by PHP. ?? Try to put that same line of .htaccess into the sub directory. Your

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Govinda
You do realize that PHP does not parse HTML files, right? The web server does that. In fact, the web server also parses PHP files, using a different library. I understand. I just was saying it that way. Actually I rarely think too deeply about that specifically, but now that you pointed it

[PHP] need to get .html files parsed by PHP. -- WAS: why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Govinda
i never used x-mapp-php5, but most of a forums say it is specific to 1and1 hosting service. php recommends application/x-httpd-php http://us2.php.net/manual/en/install.unix.apache2.php try adding AddType application/x-httpd-php .html in your root htaccess hmmm. Darn! I just did try what yo

[PHP] Re: IP to geo-location advice

2009-07-18 Thread Manuel Lemos
Viva, on 07/15/2009 09:14 AM Patrick said the following: > Could anyone give me some advice on the best way to do IP to > geo-location with php using open source code? You may want to look here for several solution for that purpose: http://www.phpclasses.org/browse/class/39/top/rated.html --

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Jim Lucas
Govinda wrote: Hi all, ..sitting here thinking this is so easy, and I must have been over this already in the past.. but it is eluding me just now.. I can't figure out why files with the .html extension ARE being parsed by PHP when they are in the main doc root dir/, or in one subdirectory

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Stuart
2009/7/19 Jim Lucas : > Govinda wrote: >> >> Hi all, >> >> ..sitting here thinking this is so easy, and I must have been over this >> already in the past..  but it is eluding me just now.. >> >> I can't figure out why files with the .html extension ARE being parsed by >> PHP when they are in the ma

Re: [PHP] Back from the dead with a racing question!

2009-07-18 Thread Ashley Sheridan
On Sat, 2009-07-18 at 20:36 -0400, Jason Pruim wrote: > On Jul 18, 2009, at 5:54 PM, Phpster wrote: > > > > > > > On Jul 18, 2009, at 9:45 AM, Ashley Sheridan > > wrote: > > > >> On Fri, 2009-07-17 at 14:01 -0400, Bastien Koert wrote: > >>> On Fri, Jul 17, 2009 at 1:54 PM, Jason Pruim > >>> w

Re: [PHP] need to get .html files parsed by PHP. -- WAS: why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Ashley Sheridan
On Sat, 2009-07-18 at 23:09 -0600, Govinda wrote: > > i never used x-mapp-php5, but most of a forums say it is specific to > > 1and1 hosting service. php recommends application/x-httpd-php > > > > http://us2.php.net/manual/en/install.unix.apache2.php > > > > try adding AddType application/x-httpd-p