Re: [PHP] PHP Access Violations

2006-09-06 Thread Christopher Watson
Hi Wolf, Set up PHP error logging. Proceeded to do some regular development. Created some PHP errors in my code to test logging. Worked great. Expected errors occurred and got logged. Five minutes into the session, wham! This error is what comes up in the browser: PHP has encountered an

Re: [PHP] PHP Access Violations

2006-09-06 Thread Chris
Christopher Watson wrote: Hi Wolf, Set up PHP error logging. Proceeded to do some regular development. Created some PHP errors in my code to test logging. Worked great. Expected errors occurred and got logged. Five minutes into the session, wham! This error is what comes up in the browser:

[PHP] Re: Format of Encrypted Password

2006-09-06 Thread Mourad Boulahboub
Hi Kevin, Kevin Murphy schrieb am 06.09.2006 00:27: $_SERVER['PHP_AUTH_PW'] this is needed if you run HTTP-Authentication for e.g. .htaccess/.htpasswd i think you will find a string like Header(WWW-Authenticate: Basic in your scripts also. I think the passwords are stored in MD5 --

Re: [PHP] PHP Access Violations

2006-09-06 Thread Christopher Watson
Hi Chris, memtest run over several hours, with 2000% coverage. No errors. -Chris On 9/5/06, Chris [EMAIL PROTECTED] wrote: Run memtest or something over your machine, sounds more like a hardware issue than anything else. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Form to subscribe a yahoo group

2006-09-06 Thread Wagner Garcia Campagner
Hello, I have a web site and a yahoo group aswell. I want to add a form in my site so that the visitor can put his/her e-mail address and get subscribed in a yahoo group that i own. I already have this form working... but the problem is that when the visitor put his/her e-mail address and

[PHP] Excessive Php scripting?

2006-09-06 Thread Justin Madru
I'm creating a simple personal web server. On a few of the pages is a html table. I was thinking of making it a php script, and the script would just output the html code for _one_ row. I would be calling the same very small php script maybe _30+_ times in the same page. My server is only

Re: [PHP] Excessive Php scripting?

2006-09-06 Thread Miles Thompson
At 02:02 AM 9/6/2006, Justin Madru wrote: I'm creating a simple personal web server. On a few of the pages is a html table. I was thinking of making it a php script, and the script would just output the html code for _one_ row. I would be calling the same very small php script maybe _30+_

Re: [PHP] Re: Format of Encrypted Password

2006-09-06 Thread Ray Hauge
On Wednesday 06 September 2006 04:02, Mourad Boulahboub wrote: Hi Kevin, Kevin Murphy schrieb am 06.09.2006 00:27: $_SERVER['PHP_AUTH_PW'] this is needed if you run HTTP-Authentication for e.g. .htaccess/.htpasswd i think you will find a string like Header(WWW-Authenticate: Basic in

RE: [PHP] Format of Encrypted Password

2006-09-06 Thread bruce
hi kevin... if you already received an answer to this email, feel free to disregard. the password that you're questioning is from mysql. --- [EMAIL PROTECTED] test]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL

[PHP] Formating a Double

2006-09-06 Thread Phillip Baker
Greetings All, I am trying to format a double to use thousands seperators and such. number_format does not appear to be working properly for this. My guess is cause I am trying to format a double rather than a string. Is there anything out there that will allow me to format a double to include a

RE: [PHP] Formating a Double

2006-09-06 Thread Jay Blanchard
[snip] I am trying to format a double to use thousands seperators and such. number_format does not appear to be working properly for this. My guess is cause I am trying to format a double rather than a string. Is there anything out there that will allow me to format a double to include a comma as

[PHP] sort() warning

2006-09-06 Thread Ashley M. Kirchner
Given this piece of code: $i = 0; if ($dir = opendir($path)) { while ($dh = readdir($dir)) { if ($dh != '.' $dh != '..') { $Dirs[$i] = $dh; $i++; } } } closedir($dir); sort($Dirs); Why does sort() give me the following warning: PHP Warning: sort()

RE: [PHP] Formating a Double

2006-09-06 Thread Robert Cummings
On Wed, 2006-09-06 at 11:21 -0500, Jay Blanchard wrote: [snip] I am trying to format a double to use thousands seperators and such. number_format does not appear to be working properly for this. My guess is cause I am trying to format a double rather than a string. Is there anything out there

Re: [PHP] sort() warning

2006-09-06 Thread Robert Cummings
On Wed, 2006-09-06 at 10:47 -0600, Ashley M. Kirchner wrote: Given this piece of code: $i = 0; if ($dir = opendir($path)) { while ($dh = readdir($dir)) { if ($dh != '.' $dh != '..') { $Dirs[$i] = $dh; $i++; } } } closedir($dir);

Re: [PHP] sort() warning

2006-09-06 Thread Ashley M. Kirchner
Robert Cummings wrote: It's because you have written sloppy code and didn't bother to initialize $Dirs to an array. So it's default value is null. You would know this if you had notices enabled. Error fixed. Also, the other problem is that you are either a) opening the wrong path, b)

Re: [PHP] sort() warning

2006-09-06 Thread Robert Cummings
On Wed, 2006-09-06 at 11:03 -0600, Ashley M. Kirchner wrote: Robert Cummings wrote: It's because you have written sloppy code and didn't bother to initialize $Dirs to an array. So it's default value is null. You would know this if you had notices enabled. Error fixed. Also,

Re: [PHP] PHP Access Violations

2006-09-06 Thread Christopher Watson
Thanks for the input, Jon. I'll get to the Apache and IIS restart suggestions soon. Meanwhile, I think I have a semi-repeatable recipe for getting the access violation to happen. As far as I can tell, everything is cool until I open up SQLyog and do some sort of database manipulation within

[PHP] need to generate fixed-length file

2006-09-06 Thread Karen Goeller
I'm having trouble generating a fixed-length (i.e., non-delimited) file format out of PHP 4, based on queries out of MySQL. These files are getting imported into a Unidata database and require a very specific byte-mapping format. However, while the fopen used with length will TRUNCATE to a

Re: [PHP] need to generate fixed-length file

2006-09-06 Thread Robert Cummings
On Wed, 2006-09-06 at 16:56 -0400, Karen Goeller wrote: I'm having trouble generating a fixed-length (i.e., non-delimited) file format out of PHP 4, based on queries out of MySQL. These files are getting imported into a Unidata database and require a very specific byte-mapping format.

Re: [PHP] PHP Access Violations

2006-09-06 Thread Christopher Watson
Spoke too soon. After a reboot, I had only IE and Homesite open, making changes to PHP code and running the app, and it hit an access violation. So SQLyog ain't it. -Chris On 9/6/06, Christopher Watson [EMAIL PROTECTED] wrote: Thanks for the input, Jon. I'll get to the Apache and IIS

[PHP] Sendmail_from

2006-09-06 Thread D Sledge
OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 4) web server: Apache 2.0 php version: 4.3.9 When I use the function mail(), the the from email address that is used is apache@hostname. I tried setting the sendmail_from directive in php.ini and the ServerAdmin directive in

Re: [PHP] Sendmail_from

2006-09-06 Thread Chris
D Sledge wrote: OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 4) web server: Apache 2.0 php version: 4.3.9 When I use the function mail(), the the from email address that is used is apache@hostname. I tried setting the sendmail_from directive in php.ini and the

RE: [PHP] php credit reporting API

2006-09-06 Thread bruce
hi dan... a couple of suggestions if you haven't already thought of them. keep in mind, i haven't talked to any of the vendors or looked into any of the myriad issues surrounding this area. a quick google search came across a few companies, one of which is: http://xml-creditreport.com/. they

[PHP] Re: Formating a Double

2006-09-06 Thread Rafael
number_format() Now, why do you say it's not working properly? Note: number_format() takes a float as an argument, not a string, and even if it were, the double would be casted to string. Phillip Baker wrote: Greetings All, I am trying to format a double to use thousands