php-general Digest 1 Jun 2011 00:51:17 -0000 Issue 7337

2011-05-31 Thread php-general-digest-help
php-general Digest 1 Jun 2011 00:51:17 - Issue 7337 Topics (messages 313259 through 313284): Re: iPhone sadness 313259 by: Jay Blanchard 313260 by: Govinda 313263 by: Robert Cummings Re: php causes HTTP 500, but results in blank page in apache 313261 by:

[PHP] Why Is the Zend debugger this too slow?

2011-05-31 Thread Ali Asghar Toraby Parizy
Hi I've installed pdt and zend debugger. But when I start debugging as web page it takes a long time to start the debugging for each page. Browser remains in waiting status for farther than 10 or 20 seconds before loading a page. But after that debugging seems to be comfortable. I think there is a

RE: [PHP] iPhone sadness

2011-05-31 Thread Jay Blanchard
[snip] I can remember when it first started, no moaning about this or that, just pure PHP, and no sarcastic comments either, bring back the good old days :) [/snip] I beg to differ - the sarcastic remarks have been here since day one. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] iPhone sadness

2011-05-31 Thread Govinda
Is there any way that we could simply ban these ridiculous top-posting vs bottom-posting threads that seem to come along every few weeks? I frankly don't care where a person writes a reply - I'm quite able to scan through an email message to find the relevant points regardless. Maybe we

Re: [PHP] php causes HTTP 500, but results in blank page in apache

2011-05-31 Thread Sean Greenslade
Have you checked your apache settings for generating error pages? How is it configured to handle 500 errors? On May 30, 2011 4:51 AM, Stephon Chen step...@gmail.com wrote: Hello all, I use a test script below to generate HTTP 500 status: ?php header('HTTP/1.1 500 Internal Server Error'); ?

Re: [PHP] php causes HTTP 500, but results in blank page in apache

2011-05-31 Thread Stephon Chen
Hello Sean, Here is my apache config for error handling. 403, 404 works fine, but 500 shows blank page Alias /errorpage/ /usr/local/www/apache22/errorpage/ Directory /usr/local/www/apache22/errorpage/ AllowOverride None Options -Indexes FollowSymLinks MultiViews Order allow,deny

Re: [PHP] iPhone sadness

2011-05-31 Thread Robert Cummings
On 11-05-31 07:15 AM, Jay Blanchard wrote: [snip] I can remember when it first started, no moaning about this or that, just pure PHP, and no sarcastic comments either, bring back the good old days :) [/snip] I beg to differ - the sarcastic remarks have been here since day one. Yeah

RE: [PHP] iPhone sadness WOT

2011-05-31 Thread Jay Blanchard
[snip] I beg to differ - the sarcastic remarks have been here since day one. Yeah *SHSH* What was he thinking?! ;) [/snip] I know huh? Whatevs. I added something to the subject so that those who don't want to read these can send them to /dev/null appropriately. -- PHP General Mailing

[PHP] How to change list settings

2011-05-31 Thread Alexis
How do I change my email settings to digest please as I am fed up with receiving all this individual crap that has nothing to do with PHP whatsoever. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] iPhone sadness WOT

2011-05-31 Thread Mike Mackintosh
Thanks :P Sent from my iPhone On May 31, 2011, at 9:54, Jay Blanchard jblanch...@pocket.com wrote: [snip] I beg to differ - the sarcastic remarks have been here since day one. Yeah *SHSH* What was he thinking?! ;) [/snip] I know huh? Whatevs. I added something to the

RE: [PHP] How to change list settings

2011-05-31 Thread Jay Blanchard
[snip] How do I change my email settings to digest please as I am fed up with receiving all this individual crap that has nothing to do with PHP whatsoever. [/snip] http://lmgtfy.com/?q=php+mailing+list -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] How to change list settings

2011-05-31 Thread Alexis
And how exactly does that TELL me how to change settings? I have already used the automated emzlm help system but that does not say a thing on the subject On 31/05/11 08:47, Jay Blanchard wrote: [snip] How do I change my email settings to digest please as I am fed up with receiving all this

Re: [PHP] How to change list settings

2011-05-31 Thread Daniel Brown
On Tue, May 31, 2011 at 10:49, Alexis phplis...@antonakis.co.uk wrote: And how exactly does that TELL me how to change settings? I have already used the automated emzlm help system but that does not say a thing on the subject If you looked well enough, you'd not only see how to do it, but

Re: [PHP] How to change list settings

2011-05-31 Thread Alexis
Thanks for that straight forward response, shame other people cannot do likewise ;) On 31/05/11 08:56, Daniel Brown wrote: On Tue, May 31, 2011 at 10:49, Alexisphplis...@antonakis.co.uk wrote: And how exactly does that TELL me how to change settings? I have already used the automated emzlm

RE: [PHP] How to change list settings

2011-05-31 Thread Jay Blanchard
[snip] Yes I did. Perhaps you can show me the bit that I have missed that tells me where I change my settings from receiving individual messages to receiving a digest format, rather than just sending out these links to something I have already said I looked at. [/snip] 1. Look next to the list

RE: [PHP] How to change list settings

2011-05-31 Thread Jay Blanchard
[snip] Thanks for that straight forward response, shame other people cannot do likewise ;) [/snip] The real shame is that folks cannot RTFI :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How to change list settings

2011-05-31 Thread Ashley Sheridan
On Tue, 2011-05-31 at 10:07 -0500, Jay Blanchard wrote: [snip] Thanks for that straight forward response, shame other people cannot do likewise ;) [/snip] The real shame is that folks cannot RTFI :) The real shame was that he was still top-posting even after Dan picked him up on it,

[PHP] smart auto download file

2011-05-31 Thread Ali Asghar Toraby Parizy
I want to build a web page for file auto download like cnet.download. A page that tells user Your download will begin in a moment... and after a few seconds download starts. How can I do that by php thanks for any help. -- Ali Asghar Torabi -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] smart auto download file

2011-05-31 Thread jean-baptiste verrey
it's made in JavaScript, by creating an iframe loading the file, but their downloader might use something like a php file to force download such as ?php $filePath='/var/wwwblablah.zip'; header('Content-type: application/octet-stream'); header('Content-Disposition: attachment;

Re: [PHP] phpsadness

2011-05-31 Thread Daniel Brown
On Sun, May 29, 2011 at 14:56, Robert Cummings rob...@interjinn.com wrote: Personally, I prefer the exception. Logically, I can take 0 from something an infinite number of times... zero seems a far cry from this. To properly determine the intent of a division by zero, I think the programmer

Re: [PHP] smart auto download file

2011-05-31 Thread Ali Asghar Toraby Parizy
Hi thanks for your help jean I've used this code before. But I want a little different thing. I need to tell something to the user before starting download. something like Your download will begin in a moment... . So header couldn't help me. If I try to echo anything header doesn't work! On Tue,

Re: [PHP] smart auto download file

2011-05-31 Thread Ashley Sheridan
On Wed, 2011-06-01 at 00:08 +0430, Ali Asghar Toraby Parizy wrote: Hi thanks for your help jean I've used this code before. But I want a little different thing. I need to tell something to the user before starting download. something like Your download will begin in a moment... . So header

RE: [PHP] How to change list settings

2011-05-31 Thread tedd
At 5:31 PM +0100 5/31/11, Ashley Sheridan wrote: On Tue, 2011-05-31 at 10:07 -0500, Jay Blanchard wrote: [snip] Thanks for that straight forward response, shame other people cannot do likewise ;) [/snip] The real shame is that folks cannot RTFI :) The real shame was that he was still

Re: [PHP] phpsadness

2011-05-31 Thread Robert Cummings
On 11-05-31 02:54 PM, Daniel Brown wrote: On Sun, May 29, 2011 at 14:56, Robert Cummingsrob...@interjinn.com wrote: Personally, I prefer the exception. Logically, I can take 0 from something an infinite number of times... zero seems a far cry from this. To properly determine the intent of a

Re: [PHP] smart auto download file

2011-05-31 Thread jean-baptiste verrey
gosh, I should have read before answering for the downloader thing. BUT you actually need javascript if you want to do it. You create an hidden iframe somewhere on your page, you give him the url of your file and pop it is downloaded, and you need simply to use javascript function setInterval to

Re: [PHP] smart auto download file

2011-05-31 Thread Stuart Dallas
On Tue, May 31, 2011 at 8:49 PM, jean-baptiste verrey jeanbaptiste.ver...@gmail.com wrote: gosh, I should have read before answering for the downloader thing. BUT you actually need javascript if you want to do it. You create an hidden iframe somewhere on your page, you give him the url of

Re: [PHP] smart auto download file

2011-05-31 Thread Geoff Shang
On Wed, 1 Jun 2011, Ali Asghar Toraby Parizy wrote: I need to tell something to the user before starting download. something like Your download will begin in a moment... . So header couldn't help me. If I try to echo anything header doesn't work! Couldn't you just do an HTML redirect?

Re: [PHP] phpsadness

2011-05-31 Thread Jim Lucas
On 5/28/2011 12:34 PM, Andre Polykanine wrote: Hello Nathan, Do you mean $x{8}? That is good but not for all situations. I need sometimes to make an array with letters as keys and numbers as values, like this (I give English alphabet just as an example, so please don't suggest

Re: [PHP] displaying a pdf

2011-05-31 Thread Tamara Temple
On May 30, 2011, at 10:01 AM, Jim Giner wrote: Thanks for the attempt Simon, but your code only displayed gibberish. While looking around again for help, I found this and it works perfectly: ?php session_start(); // // Specify the name of the pdf here and the folder //