Re: [PHP] problem loading extension
there should be something like: extension_dir = C:\PHP\extensions in your php.ini Simon Taylor wrote: Hi All, I have just been trying to add some more extensions to my site, I have copied the dll's for the extensions I wish to add to my extensions dir and uncommented them in my php.ini. This worked fine for all of them which include ctype, gd etc. , except for the xslt extension which will just not work for me... I am getting this message. PHP Warning: Unable to load dynamic library 'C:\PHP\dll\./php_xslt.dll' - The specified module could not be found. in Unknown on line 0 The file is most definitely there and if I move one of the other extension files I get the same message for them, not sure what I am doing wrong. Any ideas appreciated. Thanks _ Simon Taylor AfriTol (Pty) Ltd. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Add picture in DB
Have you used a SQL-Statement like: INSERT INTO `tablename` VALUES ('',LOAD_FILE('$file') to insert it with load_file? I used it without problems that way. Christian Ista wrote: Hello, I have a form, with 2 inputs ( a type file and a type text) and a submit. When I submit I receive an error, like this : ':\\Inetpub\\wwwroot\\test\\small2158.jpg)' at line 3 Could you tell me what can I do ? The better solution is save the picture in the database or save the link to this picture un the database ? Christian, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Looking for an open source PHP editor on linux
the personal edition (2.0) from www.zend.com well - its not open source but it has nice help and debug-features for PHP. Tariq Murtaza wrote: Dear All I am wondering if anyone know, some good open source editor for PHP on linux/Unix Hopping for The Best :) Tariq -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Register Globals Off in .htacces
it works only if i put it in my httpd.conf - yes allowoveride is set to all :/ i'm using apache 1.3.27 on win2k. Jon Haworth wrote: Hi, Thx for your reply It is working. No probs, glad to help. I also found from php.net that it's possible to set register_globals to off on a site-by- site basis via Apache, thus overriding the global setting of register_globals in php.ini: ServerName localhost DocumentRoot /var/www/html/mysite php_value register_globals 0 (or 1 for on) Yup, or even in directories: php_value register_globals 0 Which might be handy if you're updating scripts on a live site. Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Register Globals Off in .htacces
well, i found my mistake ;) on windows i forgot to change the name of the .htaccess-files because on win they couldnt have a extentsion without a name. So i've named them now only htaccess without the dot and it works fine Frank W. wrote: it works only if i put it in my httpd.conf - yes allowoveride is set to all :/ i'm using apache 1.3.27 on win2k. Jon Haworth wrote: Hi, Thx for your reply It is working. No probs, glad to help. I also found from php.net that it's possible to set register_globals to off on a site-by- site basis via Apache, thus overriding the global setting of register_globals in php.ini: ServerName localhost DocumentRoot /var/www/html/mysite php_value register_globals 0 (or 1 for on) Yup, or even in directories: php_value register_globals 0 Which might be handy if you're updating scripts on a live site. Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php