AW: [PHP-DB] php and mysql on RH8.0
Hi Franco, did you install MySql? Check http://www.mysql.com/ to get the newest release. Best regards Claudia -Ursprüngliche Nachricht- Von: franco stridella [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 29. Dezember 2002 16:47 An: [EMAIL PROTECTED] Betreff: [PHP-DB] php and mysql on RH8.0 Hi, i apologize in advance for my stupid question. I installed RedHat8.0 with built in apache 2 and php 4.2.2 By looking at phpinfo() i see that php has been compiled with --with-mysql,shared and php works but it seems that mysql is not enabled. Why? how can i use mysql with php? what have i to enable to make it run? bye - Yahoo! Cellulari: scarica i loghi e le suonerie per le tue feste! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
AW: [PHP-DB] image size
Hi, here an easy way to do it: $size = GetImageSize($id); $width = $size[0]; $height = $size[1]; regards Claudia -Ursprungliche Nachricht- Von: John Coder [mailto:[EMAIL PROTECTED]] Gesendet: Samstag, 28. Dezember 2002 03:48 An: Petre NICOARA; [EMAIL PROTECTED] Betreff: RE: [PHP-DB] image size Hi guys, Do you know any methods or code for finding out the images width height either with php or javascript I have a little trouble manipulating the big images. Also, I don't keep the images in the database, are files on a server. look at http://www.php.net/manual/en/function.getimagesize.php John Coder Thanks, Petre NICOARA -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
AW: [PHP-DB] string concatenattion
Hey, try $str = str.buffer[$i]; since . does the concatenation. Best regards Claudia -Ursprungliche Nachricht- Von: roslyn jose [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 23. September 2002 12:39 An: [EMAIL PROTECTED] Betreff: [PHP-DB] string concatenattion hi, i have an array of strings and would like to create a single string from the array but starting somewhere in the middle of the array index and not from the start, is there any function for me to do a string concatenation. ive gone thro the manula and didnt find any, but if u have any bright ideas how this can be achieved, pls help. roslyn ?php $conn=pg_connect(host=abcd dbname=ucs user=roslyn password=roslyn); $filename=note.txt; $fp = fopen ($filename,r); $cnt=3; $buffer=file($filename); //pg_exec ($conn, insert into books(name,sequenceno,chapters,lang) values('$buffer[0]',1,$buffer[1],1)); $i=2; while($i = $cnt) { $str = buffer[$i]; $i++; } echo $str; fclose ($fp); ? this string only prints the last element in the buffer, and no concat is done. pls help - Do you Yahoo!? New DSL Internet Access from SBC Yahoo! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php