[PHP-DB] PDO stored procedures php5.1 mysql5

2007-02-19 Thread gxjw-3301
Hello, I've some problems with calling stored procedures. When I try to execute the demonstration example on php.net I get no result, but it works with normal SQL-commandqueries software: MAMP-package: php 5.1.6, mysql 5.0.19, apache 2.0.59 my stored procedure is for this example returns a

[PHP-DB] Fatal Error: Class 'mysqli' not found in...

2007-02-19 Thread Ralph E. Brickley
Hello All, I have been using Apache 2, PHP5 and MySQL 4 and 5 for a long time, and recently had to wipe my box due to a virus! Now that I have everything reinstalled, I can NOT get rid of this annoying MySQLi error. I have experienced this before but I can't seem to fix it this time. I

RE: [PHP-DB] Fatal Error: Class 'mysqli' not found in...

2007-02-19 Thread Dwight Altman
So we are talking about MS Windows? I was shocked to see Linux antivirus offerings, so you had me concerned for a moment. I can only laugh at your calamity. Okay, I can offer something else. How about providing the list with the not found in... part? Perhaps put it where it is looking for it?

Re: [PHP-DB] Fatal Error: Class 'mysqli' not found in...

2007-02-19 Thread John Comerford
Have you tried using phpinfo() to make sure it's seeing your php.ini file ? Ralph E. Brickley wrote: Hello All, I have been using Apache 2, PHP5 and MySQL 4 and 5 for a long time, and recently had to wipe my box due to a virus! Now that I have everything reinstalled, I can NOT get

RE: [PHP-DB] Fatal Error: Class 'mysqli' not found in...

2007-02-19 Thread Ralph E. Brickley
I discovered my problem by using phpinfo() and realizing that the include_path and extension_dir did not equal what I had set in php.ini. Then I got to digging. I have always kept php.ini in C:\WINDOWS. I copied php.ini from windows to the PHP installation path, restarted apache, and viola.

[PHP-DB] Re: [PHP-WIN] A measre of security

2007-02-19 Thread bedul
- Original Message - From: Gustav Wiberg [EMAIL PROTECTED] To: 'bedul' [EMAIL PROTECTED]; php-windows@lists.php.net Cc: php-db@lists.php.net Sent: Monday, February 19, 2007 2:28 PM Subject: RE: [PHP-WIN] A measre of security -Original Message- From: bedul [mailto:[EMAIL

[PHP-DB] RE: [PHP-WIN] A measre of security

2007-02-19 Thread Gustav Wiberg
Hi there! It seems to be a tought problem (in the means of time to solve it anyway) Here's anyway a function that might help you on the long road... function weekRange() { $week = 7//Set week $year = 2007 //Set year