Re: [PHP] Extracting XMP tags from pictures

2006-06-24 Thread Dotan Cohen
On 24/06/06, tedd <[EMAIL PROTECTED]> wrote: Dotan: I did try that picture, but I couldn't extract exif/xmp data from it. I did manage to get the last tags in the hierarchy out of it. My tag "Places->Sarid" came out as "Sarid", and "People->Yehuda" came out as "Yehuda". PS: No offense, but th

Re: [PHP] Extracting XMP tags from pictures

2006-06-24 Thread tedd
At 8:24 PM +0300 6/24/06, Dotan Cohen wrote: >On 24/06/06, tedd <[EMAIL PROTECTED]> wrote: >>PS: The ee_extract_exif_from_pscs_xmp() function works -- but I can't find an >>image that has any info. > >You can use a picture of my friend Yehuda: >http://dotancohen.com/xmp_test.jpg > >Dotan Cohen >htt

Re: [PHP] Extracting XMP tags from pictures

2006-06-24 Thread Dotan Cohen
On 24/06/06, tedd <[EMAIL PROTECTED]> wrote: PS: The ee_extract_exif_from_pscs_xmp() function works -- but I can't find an image that has any info. You can use a picture of my friend Yehuda: http://dotancohen.com/xmp_test.jpg Dotan Cohen http://what-is-what.com -- PHP General Mailing List (ht

Re: [PHP] Cookie Question

2006-06-24 Thread Larry Garfield
On Saturday 24 June 2006 09:51, John Meyer wrote: > BTW, I have a question: which is the preferred way to handle variables > on the client side: cookies or sessions? Or are there situations where > one should be used and the other should be used in these other situations. If it's a variable that

Re: [PHP] Extracting XMP tags from pictures

2006-06-24 Thread tedd
At 6:04 PM +0200 6/24/06, M. Sokolewicz wrote: >tedd wrote: >> >>While we're on the subject, I tried to see how exif_read_data() works -- but, >>my tests come back: >> >>Fatal error: Call to undefined function: exif_read_data() in >> >>Any ideas as to why it's a undefined function for me? >> >

Re: [PHP] Extracting XMP tags from pictures

2006-06-24 Thread M. Sokolewicz
tedd wrote: At 1:44 PM +1000 6/24/06, chris smith wrote: This link: http://www.photography-on-the.net/ee/beta/cs_xmp_to_exif.php was on this page: http://www.php.net/manual/en/function.exif-read-data.php The manual usually has something useful. I continue to be amazed by the amount of info

Re: [PHP] Cookie Question

2006-06-24 Thread Robert Cummings
On Sat, 2006-06-24 at 10:51, John Meyer wrote: > tedd wrote: > > At 6:26 PM -0400 6/23/06, Tom Ray [Lists] wrote: > >> I've run into something rather odd with cookies today. I'm working with > >> this admin section on a site and I'm setting a cookie that is supposed to > >> be good for one hour.

Re: [PHP] Extracting XMP tags from pictures

2006-06-24 Thread tedd
At 1:44 PM +1000 6/24/06, chris smith wrote: >This link: >http://www.photography-on-the.net/ee/beta/cs_xmp_to_exif.php > >was on this page: >http://www.php.net/manual/en/function.exif-read-data.php > >The manual usually has something useful. I continue to be amazed by the amount of information con

Re: [PHP] Cookie Question

2006-06-24 Thread John Meyer
tedd wrote: At 6:26 PM -0400 6/23/06, Tom Ray [Lists] wrote: I've run into something rather odd with cookies today. I'm working with this admin section on a site and I'm setting a cookie that is supposed to be good for one hour. So in the cookie I have time()+3600 and all was well or that was

Re: [PHP] STRING TO ASCII CHARACTERS

2006-06-24 Thread John Hicks
Ahmed Saad wrote: On 23/06/06, cajbecu <[EMAIL PROTECTED]> wrote: $data .= "&#".ord(substr($string,$i,1)).";"; and I think there's no need for substr.. just $data .= "&#".$string[$i].";"; /ahmed And, for the record, you are not converting a string to ASCII, rather an ASCII string to

Re: [PHP] Cookie Question

2006-06-24 Thread tedd
At 6:26 PM -0400 6/23/06, Tom Ray [Lists] wrote: >I've run into something rather odd with cookies today. I'm working with this >admin section on a site and I'm setting a cookie that is supposed to be good >for one hour. So in the cookie I have time()+3600 and all was well or that was >until some

Re: [PHP] login problem

2006-06-24 Thread kartikay malhotra
strange problem, but very similar to links in linux. you must be maintaining a database or a record file. u can maintain all links ('users' as u put it) for a given user. if a user logs in through any of his accounts, check if he/she is logged in another A/C and stop this one. else, allow log-in