php-general Digest 7 Jun 2011 01:12:00 -0000 Issue 7348

2011-06-06 Thread php-general-digest-help
php-general Digest 7 Jun 2011 01:12:00 - Issue 7348 Topics (messages 313410 through 313416): Re: phpsadness - P.C. shmee seee. 313410 by: tedd 313411 by: tedd CodeBubbles for Eclipse Beta available! 313412 by: Daevid Vincent Re: PHP download page blocking other

Re: [PHP] Re: phpsadness - P.C. shmee seee.

2011-06-06 Thread Richard Quadling
On 6 June 2011 01:44, Robert Cummings rob...@interjinn.com wrote: On 11-06-05 07:28 PM, Richard Quadling wrote: There is another approach. Regressive Enhancement. Essentially, create your site with all the bells and whistles enabled. Make full use of all / any standards compliant feature.

Re: [PHP] Re: phpsadness - P.C. shmee seee.

2011-06-06 Thread Robert Cummings
On 11-06-06 05:18 AM, Richard Quadling wrote: On 6 June 2011 01:44, Robert Cummingsrob...@interjinn.com wrote: On 11-06-05 07:28 PM, Richard Quadling wrote: There is another approach. Regressive Enhancement. Essentially, create your site with all the bells and whistles enabled. Make full use

[PHP] PHP download page blocking other HTTP requests

2011-06-06 Thread Pete Ford
I have a file download 'guardian' page which does something like this: $size = filesize($path); $fi = @finfo_file($path, FILEINFO_MIME_TYPE); @header('Content-type: ' . $fi); @header('Content-Length: ' . $size); @readfile($path); exit; ($path is derived from parameters in the request, including

Re: [PHP] Re: phpsadness - P.C. shmee seee.

2011-06-06 Thread tedd
At 8:36 AM -0400 6/6/11, Robert Cummings wrote: On 11-06-06 05:18 AM, Richard Quadling wrote: On 6 June 2011 01:44, Robert Cummingsrob...@interjinn.com wrote: On 11-06-05 07:28 PM, Richard Quadling wrote: There is another approach. Regressive Enhancement. Essentially, create your site with

Re: [PHP] Re: phpsadness - P.C. shmee seee.

2011-06-06 Thread tedd
At 10:18 AM +0100 6/6/11, Richard Quadling wrote: If you were to start with a full bells and whistles HTML5/CSS3 site, then you would already have an issue with very very old and / or non visual browsers I think. If they don't have JS, then the level of FOOBAR is going to be even greater. So.

[PHP] CodeBubbles for Eclipse Beta available!

2011-06-06 Thread Daevid Vincent
While not PHP specifically, this is a plugin for Eclipse that is an entirely new paradigm in coding IDE and I've been watching waiting for it for over a year now. I post it here because [a] it's pretty much the coolest thing since the invention of the IDE itself. [b] it's real and actually not

Re: [PHP] PHP download page blocking other HTTP requests

2011-06-06 Thread Richard Quadling
On 6 June 2011 13:55, Pete Ford p...@justcroft.com wrote: Is there something on the Apache/PHP end that might be causing this blocking? (Apache 2.2.10, PHP 5.2.14) The browser and / or OS may be obeying the settings about the number of simultaneous connections per host.

[PHP] Going crazy with include require not working

2011-06-06 Thread Brian Dunning
Here's my code: error_reporting(E_ALL); require_once('/var/www/mysite/includes/fpdi.php'); require_once('/var/www/mysite/includes/fpdf.php'); I have used fpdf many times and never had a problem with it. I've double checked my pathnames until I'm blue in the face. But for some reason, the

Re: [PHP] Going crazy with include require not working

2011-06-06 Thread Michael Shadle
On Mon, Jun 6, 2011 at 5:50 PM, Brian Dunning br...@briandunning.com wrote: Here's my code: error_reporting(E_ALL); require_once('/var/www/mysite/includes/fpdi.php'); require_once('/var/www/mysite/includes/fpdf.php'); try adding this too: ini_set('display_errors', 1); I've realized I've had

Re: [PHP] Help needed with php.ini

2011-06-06 Thread Joe Francis
I remember that there's 2 php.ini in Fedora, one is for SAPI like apache or other CGIServer, and another is for CLI. Can you confirm that you edited a right config file? On Mon, Jun 6, 2011 at 4:55 AM, Camilo Sperberg unrea...@gmail.com wrote: On 05-06-2011, at 10:31, Adam Tong

[PHP] Can't use class 'DOMDocument

2011-06-06 Thread Adam Tong
Hi, When I try using DOMDocument I get the following error: Fatal error: Class 'DOMDocument' not found in ... I guess something has to be fixed in my php.ini? Here is my php version: # php -version PHP 5.3.6 (cli) (built: Mar 17 2011 20:58:15) Copyright (c) 1997-2011 The PHP Group Zend Engine

Re: [PHP] Going crazy with include require not working

2011-06-06 Thread tedd
At 5:50 PM -0700 6/6/11, Brian Dunning wrote: Here's my code: error_reporting(E_ALL); require_once('/var/www/mysite/includes/fpdi.php'); require_once('/var/www/mysite/includes/fpdf.php'); I have used fpdf many times and never had a problem with it. I've double checked my pathnames until I'm

Re: [PHP] Can't use class 'DOMDocument

2011-06-06 Thread Jim Lucas
On 6/6/2011 6:49 PM, Adam Tong wrote: Hi, When I try using DOMDocument I get the following error: Fatal error: Class 'DOMDocument' not found in ... I guess something has to be fixed in my php.ini? Here is my php version: # php -version PHP 5.3.6 (cli) (built: Mar 17 2011 20:58:15) Copyright

[PHP] php hide menu

2011-06-06 Thread Chris Stinemetz
I have three drop down menus in my form. How do I make it so the second and third menus are only visible once the prior menu was selected? Below is the first two drop down menus. Thanks in advance. // Generating first menu using array. $markets = array('MCI' = 'Kansas City',

Re: [PHP] php hide menu

2011-06-06 Thread Joshua Kehn
Sounds like a good job for client side JavaScript. Regards, -Josh Joshua Kehn | josh.k...@gmail.com http://joshuakehn.com On Jun 7, 2011, at 12:40 AM, Chris Stinemetz wrote: I have three drop down menus in my form. How do I make it so the second and third