php-general Digest 1 Oct 2007 00:08:27 -0000 Issue 5047

2007-09-30 Thread php-general-digest-help
php-general Digest 1 Oct 2007 00:08:27 - Issue 5047 Topics (messages 262594 through 262602): Re: counting with leading zeros 262594 by: Robert Cummings 262595 by: Jeffery Fernandez 262596 by: tedd Re: Classes and access to outside variables 262597 by: Martin

[PHP] 500 Internal Server Error

2007-09-30 Thread Francisco Frost
I'm getting an error with my PHP, I'm running Apache 2.2.6 and every time I try to access a PHP page on the Apache server, it says HTTP 500 Internal Server Error, can anyone help? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 500 Internal Server Error

2007-09-30 Thread Per Jessen
Francisco Frost wrote: I'm getting an error with my PHP, I'm running Apache 2.2.6 and every time I try to access a PHP page on the Apache server, it says HTTP 500 Internal Server Error, can anyone help? Check your apache error logs. My guess is that PHP is making apache segfault. /Per

Re: [PHP] 500 Internal Server Error

2007-09-30 Thread Francisco Frost
No, it's not, but I found out by enabling the show errors in php.ini that for about 80 items it's saying PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\ then the DLL's file name, then The specified module was not found but all the files are there. Per Jessen [EMAIL

Re: [PHP] 500 Internal Server Error

2007-09-30 Thread Jürgen Wind
somewhere I read that php on win doesn't like spaces in the path ... (IIRC) Francisco Frost wrote: No, it's not, but I found out by enabling the show errors in php.ini that for about 80 items it's saying PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\ then the

Re: [PHP] counting with leading zeros

2007-09-30 Thread Robert Cummings
On Sat, 2007-09-29 at 23:47 -0400, brian wrote: It's not so much that i disrespect Rob. It's just that i felt i had to call him out for being a dickhead by taking my statement out of context. Ok, so I'm a dickhead. What does that make you? A vagina? Name calling really is the lowest form of

Re: [PHP] counting with leading zeros

2007-09-30 Thread Jeffery Fernandez
gee you guys behave like kids. don't you all have other things to do than whinge, swear and blame each other on the list? Take it elsewhere and sort it out. This is bad for the PHP community in general. It doesn't reflect what the community is about. my 2c. On Sunday 30 September 2007 13:47,

Re: [PHP] counting with leading zeros

2007-09-30 Thread tedd
At 11:47 PM -0400 9/29/07, brian wrote: You and i have had our run-ins on this list on more than one occasion. Until now, i've chosen to take your crap in stride. brian I haven't noticed any run-ins. I don't care if you've been the biggest prick on the net -- if you ask a question and it's

Re: [PHP] Classes and access to outside variables

2007-09-30 Thread Martin Alterisio
That's incorrectly syntactically. Won't run. Ok, let's write some code to show how this can be done: class SearchHelper extends AjaxACApplication { private $dbh; public function __construct() { $this-dbh = $GLOBALS['dbh']; } } Better yet, pass the database host in the

Re: [PHP] Session problem

2007-09-30 Thread Dušan Novaković
Does no one have some solution or suggestion? Dušan On 9/29/07, Dušan Novaković [EMAIL PROTECTED] wrote: Hm.. I don't know that. I have also another application on the same server, and I haven't encountered problems of the same kind. I don't know whether these problems don't happend at all

Re: [PHP] Session problem

2007-09-30 Thread Jim Lucas
Dušan Novaković wrote: Does no one have some solution or suggestion? Dušan On 9/29/07, Dušan Novaković [EMAIL PROTECTED] wrote: Hm.. I don't know that. I have also another application on the same server, and I haven't encountered problems of the same kind. I don't know whether these

[PHP] PHP and daylight savings

2007-09-30 Thread Bruce Cowin
I'm using PHP 5.1.2 on IIS. Here in New Zealand, our daylight savings started a week earlier than usual and went into affect this past weekend. The time on my machine is correct. The timezone settings on my machine are correct. But if I display the time on a PHP page, it is 1 hour behind.

Re: [PHP] PHP and daylight savings

2007-09-30 Thread Bruce Cowin
I discovered that we needed to update the php_timezonedb.dll. This worked fine on our servers and time is now correct. But in my dev environment on my machine, when I put the same dll in (with the same version of PHP), I get a CGI error when PHP tries to do anything. Anyone know why?

Re: [PHP] PHP and daylight savings

2007-09-30 Thread Bruce Cowin
Yet another update! I managed to get rid of the CGI error by turning off error logging to the syslog. But now I get this message: PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php\ext\php_timezonedb.dll' - Access is denied. in Unknown on line 0 As I say, this same dll works

Re: [PHP] 500 Internal Server Error

2007-09-30 Thread Wolf
Either change your PHP installation to be C:\php Or you need to learn how to write: C:\progra~1\php Wolf Francisco Frost wrote: No, it's not, but I found out by enabling the show errors in php.ini that for about 80 items it's saying PHP Startup: Unable to load dynamic library 'C:\Program

Re: [PHP] PHP and daylight savings

2007-09-30 Thread Jeffery Fernandez
On Monday 01 October 2007 10:08, Bruce Cowin wrote: Yet another update! I managed to get rid of the CGI error by turning off error logging to the syslog. But now I get this message: PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php\ext\php_timezonedb.dll' - Access is denied.

Re: [PHP] PHP and daylight savings

2007-09-30 Thread Bruce Cowin
That was it, thanks! I compared the permissions on this dll to another dll extension that loads fine. When I made it the same, it worked. Thanks again! Regards, Bruce Jeffery Fernandez [EMAIL PROTECTED] 1/10/2007 1:23 p.m. On Monday 01 October 2007 10:08, Bruce Cowin wrote: Yet another

Re: [PHP] SimpleXMLElement is not Simple

2007-09-30 Thread Jeffery Fernandez
On Friday 28 September 2007 11:21, Jeffery Fernandez wrote: On Friday 28 September 2007 11:09, Nathan Nobbe wrote: just curious, what database are you using? I am using MySQL Ver 14.12 Distrib 5.0.22 Any clues Nathan? I have done some further testing and found that if I copy the working