Re: [PHP-WIN] Custom PHP extensions not woring on windows 2003 server

2005-11-29 Thread Armando
Here's my piece: I was running MySQL 4.0.2x and PHP 5.0.1. Upgraded MySQL to 5.0.15 and found PHP no longer working (Apache 2.0.5x). Upgraded PHP to 5.0.5 and copied the included libmysql.dll to the system32 directory and everything appears to be running just fine. To note, I used the zipped p

Re: [PHP-WIN] Re: Decryption

2005-11-29 Thread Kevin Smith
I think this will solve your problems, here is real working code. class ENCRYPTION { var $KEY = "NEED_A_DECENT_KEY"; //Encrypt Function function encrypt($string) { $iv = mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND); $passcrypt

[PHP-WIN] Re: Decryption

2005-11-29 Thread DvDmanDT
.. What exactly are you trying to do? If you are trying to decrypt user input, then no, it's not going to work.. You'll have to read the input first, then pass that to mcrypt_decrypt, then write that to your outfile.. -- // DvDmanDT mail: dvdmandt¤telia.com msn: dvdmandt¤hotmail.com "kumar kum

Re: [PHP-WIN] Custom PHP extensions not woring on windows 2003 server

2005-11-29 Thread Charlie Wong
I experimented with an install of PHP 5.1 and had the same problem. It would not load the mysql extension. I had to revert back to PHP 4.3 (which is having it's own problems). David Felton wrote: During my Googling I've read a lot about people having problems with Mysql and PHP 5, due to the

Re: [PHP-WIN] Changes to php.ini file have no effect

2005-11-29 Thread Charlie Wong
Thank you. I checked, and my phpinfo says my ini file should be in c:\php and that's where it is. Furthermore, and this is confusing me, when I look at PHP info it says for example that Display_Errors is on, but when I look in the ini file it is clearly off. Restarting Apache and restarting t

RE: [PHP-WIN] Custom PHP extensions not woring on windows 2003 server

2005-11-29 Thread David Felton
During my Googling I've read a lot about people having problems with Mysql and PHP 5, due to the built in support for MySQl being removed. I don't think this is the same issue. Thanks. -Original Message- From: Nico [mailto:[EMAIL PROTECTED] Sent: 29 November 2005 4:21 To: David Felton Su

[PHP-WIN] Custom PHP extensions not woring on windows 2003 server

2005-11-29 Thread David Felton
Hi guys. I have a custom-written PHP extension which is working great on my windows 2000 test server. When I try and run it on the windows 2003 server production server the extension faisl to load. I get a message along the lines of Application popup: Warning : Unknown(): Unable to load dynami

RE: [PHP-WIN] Changes to php.ini file have no effect

2005-11-29 Thread Jim McDonald
Definitely check the phpinfo() to verify that your path to the php.ini file is valid. PHP loads with default values in the event it cannot find php.ini. In windows, it looks in C:\Windows as the default directory. If, like me, you don't like moving your PHP files around, then you will need to se

RE: [PHP-WIN] Changes to php.ini file have no effect

2005-11-29 Thread Wayne Khan
You can use phpinfo() and look for the entry "Configuration File (php.ini) Path"... Not sure if an error or hacker can do so, but maybe its possible. Windows Apache runs PHP as as a module; have you tried simply restarting the webserver? Wayne -Original Message- From: Charlie Wong [mail