Re: [PHP] LOL, preg_match still not working.

2007-02-17 Thread Vahan Yerkanian
Correcting myself before my reply damages someone's box: Vahan Yerkanian wrote: rm -rf /usr/local/lib/* This indeed should be: rm -rf /usr/local/lib/php/* instead ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] LOL, preg_match still not working.

2007-02-17 Thread Vahan Yerkanian
Are you running under FreeBSD 6.2 and/or upgraded recently from 5.2.1 to 5.2.2? I had the same problem on FreeBSD 6.2, with php5 installed from ports collection after I portupgraded to 5.2.1. For me it appeared to be some kind weird misconfiguration problem that happened during the portupgra

Re: [PHP] Extracting EXIF/IPTC info from jpeg/tiff image files

2003-08-27 Thread Vahan Yerkanian
Hi, Some time ago I needed to read IPTC info from jpeg files, and I ended up with a function to read these fields from JPEG header. Another approach is to use ImageMagick to read the exif/iptc from jpeg/tiff. Here is the function, I hope it'll be useful: function get_IPTC($path) { $size = GetI

[PHP] looking for PHP, MYSQL & IMAGEMAGIK hosting

2003-01-23 Thread Vahan Yerkanian
I know I'll start another flamewar, but I'm desperate for a quality hosting provider supporting php/mysql/imagemagik anyone has good experience with any company? regards, Vahan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cookie, header, output problems

2003-01-14 Thread Vahan Yerkanian
You should not add any output after doing a "Location:" redirect. It's recommended to add an exit() after the header(). Proper browsers should halt their renderer and redirect when they find a Location: header. HTH, Vahan J. Alden Gillespy wrote: I'm creating an e-commerce website, and I just ne

[PHP] overlaying alpha channel png over jpeg

2001-08-27 Thread Vahan Yerkanian
eg is true color; Am I doing something wrong? have a look: Best regards, -- Vahan Yerkanian[EMAIL PROTECTED] Vice President, Design & Development Website @ http://www.abideweb.com/ AbideWeb Technologies, LLC Phone +3741 238650

[PHP] Shortest route between 2 cities

2001-06-19 Thread Vahan Yerkanian
'0' NOT NULL, PRIMARY KEY (matrixID), UNIQUE matrixID (matrixID) ); # Dumping data for table 'CityMatrix' INSERT INTO CityMatrix VALUES ( '1', '1', '4', '5', '10'); INSERT INTO CityMatri

Re: [PHP] HTTP post requests

2001-02-05 Thread Vahan Yerkanian
uot;.strlen($vars)\r\n\r\n$vars\r\n\r\n"; echo $header Of course these are not the complete headers browser sends, HTH, -- Vahan Yerkanian Email: [EMAIL PROTECTED] Leading Web Developer / Designer Phone: (374) 158-2723 Web Development Department

Re: [PHP] url hide

2001-01-22 Thread Vahan Yerkanian
Greetings, the only way which comes to my mind now is to use a stub , e.g. http://www.foo.co.uk/house-search/> this works 100%, though could sound weird at first. HTH, -- Vahan Yerkanian Email: [EMAIL PROTECTED] Leading Web Developer / Designer Phone: (374)

[PHP] HELP: problem listing directory contents

2001-01-20 Thread Vahan Yerkanian
#Return one level back,subletter listing. echo "Returning to $SubDir\n"; #chdir($SubDir); }; #Return one level back, letter listing. #chdir($FileDir); }; #Get the finish time and printout the stats. $endtime = doubleval(ereg_replace('