Re: [PHP] Re: $_SERVER['PHP_AUTH_USER'] has gone

2010-04-06 Thread Satz Klauer
Yes, the authantication-box is there. And I'm definitely using Basic auth, the same script has worked for a long time without problems. On 4/7/10, Nilesh Govindarajan wrote: > On 04/06/10 21:27, Satz Klauer wrote: >> var_dump($_SERVER) gives me several data, the following arrayindices >> contain

Re: [PHP] no-cache control

2010-04-06 Thread Karl DeSaulniers
Thanks kranthi. I thought there was a way. I was thinking you could, say, set your header content in the php.ini file?, but a .htaccess would work too. Thanks, Best, Karl On Apr 6, 2010, at 11:44 PM, kranthi wrote: you can do that by using .htacess in the required directory http://www.askapa

Re: [PHP] no-cache control

2010-04-06 Thread kranthi
you can do that by using .htacess in the required directory http://www.askapache.com/htaccess/apache-speed-cache-control.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Logical reason for strtotime('east') and strtotime('west') returning valid results?

2010-04-06 Thread Kevin Kinsey
Colin Guthrie wrote: 'Twas brillig, and Kevin Kinsey at 05/04/10 19:15 did gyre and gimble: Nonetheless, I'm suspecting the programmers had something like this in mind. Yeah I guess that's why it interprets these terms. Good thinking :) Isn't strtotime() based on some GNU utility? Yeah, t

Re: [PHP] SimpleXMLElement occasionally fails to parse gb2312 or big5 feeds

2010-04-06 Thread Dan Joseph
On Fri, Apr 2, 2010 at 10:28 AM, Peter Pei wrote: > > I use the following code to get rss and parse it, but the code occasionally > have issues with gb2312 or big-5 encoded feeds, and fails to parse them. > However other times may appear just okay. Any thoughts? Maybe > SimpleXMLElement is simply

[PHP] image question again

2010-04-06 Thread Karl DeSaulniers
When I have an imagecreatetruecolor and I create another one and use imagecopymerge, how do I keep the backgrounds transparent even if say the width of the top image is smaller than the back image? I keep getting a black background where the top image does not cover the back. It sets the tran

Re: [PHP] Re: $_SERVER['PHP_AUTH_USER'] has gone

2010-04-06 Thread Nilesh Govindarajan
On 04/06/10 21:27, Satz Klauer wrote: var_dump($_SERVER) gives me several data, the following arrayindices contain data: "HTTPS", "SSL_TLS_SNI", "HTTP_USER_AGENT", "HTTP_HOST", "HTTP_ACCEPT", "HTTP_ACCEPT_LANGUAGE", "HTTP_ACCEPT_CHARSET", "HTTP_ACCEPT_ENCODING", "HTTP_REFERER", "HTTP_COOKIE", "H

[PHP] Re: mysql query returning slowly

2010-04-06 Thread Nathan Rixham
David Murphy wrote: > > This is from our application > I enabled profile in mysql to determine why an update took 20seconds. As > you can see MySQL reported no where near that amount of duration took > place. > Is there any way I can dig into php and determine why mysql client libs are > so

[PHP] mysql query returning slowly

2010-04-06 Thread David Murphy
This is from our application I enabled profile in mysql to determine why an update took 20seconds. As you can see MySQL reported no where near that amount of duration took place. Is there any way I can dig into php and determine why mysql client libs are so slow (this is not using mysqlnd bu

[PHP] Re: Logical reason for strtotime('east') and strtotime('west') returning valid results?

2010-04-06 Thread Colin Guthrie
'Twas brillig, and Kevin Kinsey at 05/04/10 19:15 did gyre and gimble: > Nonetheless, I'm suspecting the programmers had something > like this in mind. Yeah I guess that's why it interprets these terms. Good thinking :) > Isn't strtotime() based on some GNU utility? Yeah, that's why I said "the

Re: [PHP] Re: $_SERVER['PHP_AUTH_USER'] has gone

2010-04-06 Thread Satz Klauer
var_dump($_SERVER) gives me several data, the following arrayindices contain data: "HTTPS", "SSL_TLS_SNI", "HTTP_USER_AGENT", "HTTP_HOST", "HTTP_ACCEPT", "HTTP_ACCEPT_LANGUAGE", "HTTP_ACCEPT_CHARSET", "HTTP_ACCEPT_ENCODING", "HTTP_REFERER", "HTTP_COOKIE", "HTTP_COOKIE2", "HTTP_CONNECTION", "HTTP_T

Re: [PHP] Updating HTML on page

2010-04-06 Thread tedd
At 8:12 PM -0600 4/5/10, Ashley M. Kirchner wrote: I have a PHP script that queries a DB to get a list of image names. Then it processes each name and generate thumbnails and what not. What I want to do is have a page called (through the browser) which updates as the PHP process in the backgrou

Re: [PHP] Re: imagecopyresize

2010-04-06 Thread tedd
Hi: Here's my code for doing watermarks: http://webbytedd.com/b/watermark/ Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] no-cache control

2010-04-06 Thread Kim Emax
Hi Karl 2010/4/6 Karl DeSaulniers > Is there a way to set up a no-cache control in your php.ini file or some > config file? > Sorry if this is a newb question. > Put it in the header: header("Cache-Control: no-cache, must-revalidate"); Remember headers must be the first output you do, read m

Re: [PHP] Re: imagecopyresize

2010-04-06 Thread Nadim Attari
:o) All the best Chris __ Information from ESET NOD32 Antivirus, version of virus signature database 5003 (20100406) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: imagecopyresize

2010-04-06 Thread Auto-Deppe C . Hänsel
> -Original Message- > From: Karl DeSaulniers [mailto:k...@designdrumm.com] > Sent: Tuesday, April 06, 2010 10:39 AM > To: na...@alienworkers.com > Cc: php-general@lists.php.net > Subject: [PHP] Re: imagecopyresize > > Sweet deal. > Thanks Nadim. I think I got my script to work finally, bu

[PHP] Re: problems with utf-8 conversion

2010-04-06 Thread Apis SARL
I found lot of poeple having matters with chars over 1 byte, so I've published that : http://www.phpcs.com/codes/ENCODAGE-UTF16_51501.aspx If you take a look, give me a feedback please (to a...@apieum.com) regards, greg Le 05/04/2010 17:08, sudhir patil a écrit : > Thanks Nathan, > > i tried wi

[PHP] Re: imagecopyresize

2010-04-06 Thread Karl DeSaulniers
Sweet deal. Thanks Nadim. I think I got my script to work finally, but if it proves to be a no-go. I will definately take a look. Thanks for sharing. Best, Karl On Apr 6, 2010, at 3:29 AM, Nadim Attari wrote: Hello Karl, Use the attached code i wrote myelf for my projects. You can upload