Might also want to have a look-see at the Date_TimeZone class of the
PEAR::Date package. It seems pretty comprehensive with regard to time
zone coverage.
-Christopher
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bingo! That's the ticket. Thanks, Robert.
-Christopher
On 9/20/06, Robert Cummings <[EMAIL PROTECTED]> wrote:
Why settle for 30% speed boost when you can get 90% ...
http://ca3.php.net/manual/en/function.ob-gzhandler.php
:)
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Matthew H. North wrote:
Can't find this in the PHP docs, so: does anyone know whether
move_uploaded_file locks the target file during the process?
If move_uploaded_file does a rename within the same filesystem this isn't an
issue (on unix, anyway, the O/S just reassigns inodes rather than copy
Google Kreme wrote:
> On 20 Sep 2006, at 06:15 , Chris Boget wrote:
>
>> $timeZonesArray = array( 'GMT'=> array( 'GMT' => +0
>> // GMT
>
>
> Er... ok, but that seems to be missing quite a lot. For example, I
> notice that India Standard Time (IST; UTC +5:30) is missing from your
On 20 Sep 2006, at 16:18 , tedd wrote:
However, FireFox / Mozillia won't accept a css file if a .htaccess
file reads as indicated above.
Any ideas as to how to get FireFox to play nice?
Yep, you need to specify header('Content-Type: text/css')
This is because Mozilla/Firefox is, as far as I
On 20 Sep 2006, at 06:15 , Chris Boget wrote:
$timeZonesArray = array( 'GMT'=> array( 'GMT' =>
+0 // GMT
Er... ok, but that seems to be missing quite a lot. For example, I
notice that India Standard Time (IST; UTC +5:30) is missing from your
array. Granted, it's only 1.1 B
On 20 Sep 2006, at 06:09 , Mark Krenz wrote:
On Wed, Sep 20, 2006 at 06:34:32AM GMT, Google Kreme
[EMAIL PROTECTED] said the following:
On 19 Sep 2006, at 12:12 , Mark Krenz wrote:
I run a shared webserver with a few hundred vhost containers in
Apache's config.
Are these vhosts all containe
On Wed, 2006-09-20 at 17:33 -0700, Christopher Watson wrote:
> Hi Robert,
>
> Well, I think the main reason I'm not using transparent output
> compression is because this app shares php.ini with several other PHP
> apps on the server, and I don't want to foist this change on the
> admins of those
Hi Robert,
Well, I think the main reason I'm not using transparent output
compression is because this app shares php.ini with several other PHP
apps on the server, and I don't want to foist this change on the
admins of those apps. I was trying to come up with a localized
strategy for trimming my
On Wed, 2006-09-20 at 20:21 -0400, Robert Cummings wrote:
> On Wed, 2006-09-20 at 17:13 -0700, Christopher Watson wrote:
> > I've been coding with PHP for maybe a year. So I'm somewhat new to
> > it. But I've learned quickly, and created a fairly serious LAMP app
> > that is capable of returning
On Wed, 2006-09-20 at 17:13 -0700, Christopher Watson wrote:
> I've been coding with PHP for maybe a year. So I'm somewhat new to
> it. But I've learned quickly, and created a fairly serious LAMP app
> that is capable of returning large query results. During my
> investigation into various means
I've been coding with PHP for maybe a year. So I'm somewhat new to
it. But I've learned quickly, and created a fairly serious LAMP app
that is capable of returning large query results. During my
investigation into various means for incrementally reducing the
response sizes, I've discovered outp
http://www.tonymarston.net/php-mysql/domxml.html
http://www.tonymarston.net/php-mysql/sablotron.html
http://www.tonymarston.net/php-mysql/dom.html
http://www.tonymarston.net/php-mysql/xsl.html
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""José Manuel Peso Echarri"" <[EMAIL
Since Fedora is popular, can I assume that's what you're running? Even
if it's not I'll bet it's a Linux distro that's employing SELinux.
11,500 web pages agree ;-)
http://www.google.com/search?q=%22reloc:+Permission+denied%22
On 9/20/06, Kelly McCoy <[EMAIL PROTECTED]> wrote:
I am getting t
I am getting the error
Cannot load /usr/local/apache2/modules/libphp4.so into server:
/usr/local/apache2/modules/libphp4.so: cannot restore segment prot after
reloc: Permission denied
When I try to load Apache.
Running PHP 4.4.4, Apache 2.0.59, and mysql 4.1.21
All installations
Christopher Weldon wrote:
>
> tedd wrote:
>> Hi gang:
>>
>> I embedded php code inside css and changed my .htaccess to read --
>>
>>
>> SetHandler application/x-httpd-php
>>
>>
>> -- so that the css file would be processed and executed by php. The end
>> result was that everything worked
tedd wrote:
Hi gang:
I embedded php code inside css and changed my .htaccess to read --
SetHandler application/x-httpd-php
-- so that the css file would be processed and executed by php. The end
result was that everything worked and did what I wanted.
However, FireFox / Mozillia won't ac
Hi gang:
I embedded php code inside css and changed my .htaccess to read --
SetHandler application/x-httpd-php
-- so that the css file would be processed and executed by php. The
end result was that everything worked and did what I wanted.
However, FireFox / Mozillia won't accept a css fi
blackwater dev wrote:
great, thanks. So if it's just text, eval won't do anything?
On 9/20/06, Christopher Weldon <[EMAIL PROTECTED]> wrote:
blackwater dev wrote:
> First, the example I have is not the real situation, just an example so
I
> don't want to get into why are you doing it like tha
Børge Holen wrote:
On Wednesday 20 September 2006 18:06, Pawel Miroslawski wrote:
On 9/20/06, Kae Verens <[EMAIL PROTECTED]> wrote:
James Tu wrote:
Hi:
I'm trying to setup a dev environment using Apache, MySQL and PHP...to
develop an application that will go to production.
What is the most st
great, thanks. So if it's just text, eval won't do anything?
On 9/20/06, Christopher Weldon <[EMAIL PROTECTED]> wrote:
blackwater dev wrote:
> First, the example I have is not the real situation, just an example so
I
> don't want to get into why are you doing it like that, etc. Just want
to
>
blackwater dev wrote:
First, the example I have is not the real situation, just an example so I
don't want to get into why are you doing it like that, etc. Just want to
see if it's possible.
Basically, I want to store stuff in a text field in a db like this "johns
name is ucfirst('john adams')
blackwater dev wrote:
First, the example I have is not the real situation, just an example so I
don't want to get into why are you doing it like that, etc. Just want to
see if it's possible.
Basically, I want to store stuff in a text field in a db like this "johns
name is ucfirst('john adams')
First, the example I have is not the real situation, just an example so I
don't want to get into why are you doing it like that, etc. Just want to
see if it's possible.
Basically, I want to store stuff in a text field in a db like this "johns
name is ucfirst('john adams') ".
When I cycle throug
Can't find this in the PHP docs, so: does anyone know whether
move_uploaded_file locks the target file during the process?
If move_uploaded_file does a rename within the same filesystem this isn't an
issue (on unix, anyway, the O/S just reassigns inodes rather than copying
data). But if it do
On Wednesday 20 September 2006 20:04, James Tu wrote:
> I was thinking more along the lines of what version of Apache, MySQL
> and PHP I should install...
The ones in yer distribution. That'll probably lessen yer possibility of
getting into trouble of both security and functionality.
>
> -James
On Wednesday 20 September 2006 18:06, Pawel Miroslawski wrote:
> On 9/20/06, Kae Verens <[EMAIL PROTECTED]> wrote:
> > James Tu wrote:
> > > Hi:
> > >
> > > I'm trying to setup a dev environment using Apache, MySQL and PHP...to
> > > develop an application that will go to production.
> > > What is
I was thinking more along the lines of what version of Apache, MySQL
and PHP I should install...
-James
On Sep 20, 2006, at 12:06 PM, Pawel Miroslawski wrote:
On 9/20/06, Kae Verens <[EMAIL PROTECTED]> wrote:
James Tu wrote:
> Hi:
>
> I'm trying to setup a dev environment using Apache, My
Hi
it's example script:
';
$replacements[1] = '';
echo preg_replace($patterns, $replacements, $string);
?>
It should be ok, but i don't test it.
Pawel
Hello all,
I worked it out. I actually vi several acrobat file
to see the actual code inside.
This is my script after my study.
This is certainly not the best method, but
it works for me. Somebody may be interested
it using or improve this. Please tell me if you
guys got a better method:
") + 1
On 9/20/06, Kae Verens <[EMAIL PROTECTED]> wrote:
James Tu wrote:
> Hi:
>
> I'm trying to setup a dev environment using Apache, MySQL and PHP...to
> develop an application that will go to production.
> What is the most stable versions of the AMP components should I can
> install?
>
> The product
James Tu wrote:
Hi:
I'm trying to setup a dev environment using Apache, MySQL and PHP...to
develop an application that will go to production.
What is the most stable versions of the AMP components should I can
install?
The production environment will most likely live on a Linux machine. My
Hi:
I'm trying to setup a dev environment using Apache, MySQL and
PHP...to develop an application that will go to production.
What is the most stable versions of the AMP components should I can
install?
The production environment will most likely live on a Linux machine.
My dev environme
I need to have a selectbox filled with the available timezones of PHP.
We are using v5.1.x, and it supports the date_default_timezone_set() etc..
As value you can give a string to what timezone.
I want all these strings within an array or something so i can create a
selectbox so users can select
I doubt this makes a difference, but its all in one vhost.conf file.
The httpd.conf file includes that file.
So does anyone have any ideas about my problem with curl functions?
On Wed, Sep 20, 2006 at 06:34:32AM GMT, Google Kreme [EMAIL PROTECTED] said the
following:
> On 19 Sep 2006, at 12
José Manuel Peso Echarri wrote:
> Hi people,
>
> I am looking for a library that mix xsl and xml producing output in
> xhtml at server side.
> I have readed about sablotron and libxsl, but i am confused.
>
> Which is the best alternative in perfomance terms for the versions 4.2,
> 4.3?
> is ther
Anyone got an updated and bug-fixed version? The one I got seems to have
many serious bugs.
--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.06) Linux 2.6.17.13
^ ^ 19:50:01 up 11 days
Hello there,
I need to have a selectbox filled with the available timezones of PHP.
We are using v5.1.x, and it supports the date_default_timezone_set() etc..
As value you can give a string to what timezone.
I want all these strings within an array or something so i can create a
selectbox so use
Hi people,
I am looking for a library that mix xsl and xml producing output in
xhtml at server side.
I have readed about sablotron and libxsl, but i am confused.
Which is the best alternative in perfomance terms for the versions 4.2,
4.3?
is there some way for preprocess xsl or let ir in mem
> Hi
>
> get it here:
> http://dev.mysql.com/downloads/connector/php/
>
> Michal
>
> Muthu wrote:
>> Hi,
>> I am using apache2.0+php4.3.4+mysql 4.1.1 in windows. If I
>> type phpinfo(); , in mysql section it is coming as "Client API
>> version 3.23.49" . To get the latest mysql client li
Hi
get it here:
http://dev.mysql.com/downloads/connector/php/
Michal
Muthu wrote:
Hi,
I am using apache2.0+php4.3.4+mysql 4.1.1 in windows. If I type phpinfo(); , in mysql section it is coming as "Client API version 3.23.49" . To get the latest mysql client library for php4.3.4, wha
Hi,
I am using apache2.0+php4.3.4+mysql 4.1.1 in windows. If I type
phpinfo(); , in mysql section it is coming as "Client API version 3.23.49" . To
get the latest mysql client library for php4.3.4, what should I do?. If I need
to get the php_mysql.dll for php4.3.4, Where can I get the
Well you can use
string strip_tags ( string str [, string allowable_tags] )
function
Andy
Peter Lauri wrote:
> Hi,
>
> Thanks for you comment. I already changed to .
>
> About sanitation: Do you know any open source where it checks code if it is
> acceptable or not? Or should I just create a li
Hi,
Thanks for you comment. I already changed to .
About sanitation: Do you know any open source where it checks code if it is
acceptable or not? Or should I just create a lib that do some preg_match to
see if any javascript tag is inside (assuming javascript should not be
allowed).
This is a pr
On Wed, 2006-09-20 at 11:45 +0700, Peter Lauri wrote:
> Just to share my solution:
Out of curiosity, why don't you go with the very well known BBCode
system?
> preg_replace('/_color:(.*?)_(.*?)_color_/i', '$2',
> $html);
Hopefully this is a private system, otherwise someone not very nice
might d
On Wednesday 20 September 2006 08:34, Google Kreme wrote:
> On 19 Sep 2006, at 12:12 , Mark Krenz wrote:
> > I run a shared webserver with a few hundred vhost containers in
> > Apache's config.
>
> Are these vhosts all contained in httpd.conf, or are they separate
> files?
Depends on your config
46 matches
Mail list logo