Re: [PHP] Unexcepted $this

2008-03-13 Thread Anup Shukla
Murat BEŞER wrote: So what do you thing about on this thing ? I really would like to figure out the problem. However, my simple script to mimic your code did not throw any errors. If you could provide some more details, maybe we can figure out the problem. -- Regards, Anup Shukla -- PHP

Re: [PHP] Unexcepted $this

2008-03-13 Thread Eric Butera
2008/3/13 Anup Shukla [EMAIL PROTECTED]: Murat BEŞER wrote: So what do you thing about on this thing ? I really would like to figure out the problem. However, my simple script to mimic your code did not throw any errors. If you could provide some more details, maybe we can figure

Re: [PHP] Unexcepted $this

2008-03-13 Thread Ray Hauge
Eric Butera wrote: 2008/3/13 Anup Shukla [EMAIL PROTECTED]: Murat BEŞER wrote: So what do you thing about on this thing ? I really would like to figure out the problem. However, my simple script to mimic your code did not throw any errors. If you could provide some more details, maybe

Re: [PHP] Unexcepted $this

2008-03-13 Thread Eric Butera
On Thu, Mar 13, 2008 at 12:56 PM, Ray Hauge [EMAIL PROTECTED] wrote: Eric Butera wrote: 2008/3/13 Anup Shukla [EMAIL PROTECTED]: Murat BEŞER wrote: So what do you thing about on this thing ? I really would like to figure out the problem. However, my simple script to

Re: [PHP] Unexcepted $this

2008-03-10 Thread Anup Shukla
Murat BEŞER wrote: Thank you Anup, But why I getting this error ? is this a bug ? Its not a bug. It has to do with operator precindence and associativity. -- Regards, Anup Shukla -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Unexcepted $this

2008-03-10 Thread Anup Shukla
I am sorry. Please disregard my previous post. I think i am wrong on that. -- Regards, Anup Shukla -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Unexcepted $this

2008-03-10 Thread Murat BEŞER
So what do you thing about on this thing ? Anup Shukla yazmış: I am sorry. Please disregard my previous post. I think i am wrong on that. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Unexcepted $this

2008-03-10 Thread Ray Hauge
Murat BEŞER wrote: I can't under stood but PHP gaves me an error: UnExcepted $this for || $this-getFileExtension($file) == 'jpg' When I removed jpg extension check it's okay... PHP script runs well. What is the problem :) public function loadImages($folder) { $result =

Re: [PHP] Unexcepted $this

2008-03-10 Thread Philip Thompson
On Mar 10, 2008, at 8:32 AM, Ray Hauge wrote: Murat BEŞER wrote: I can't under stood but PHP gaves me an error: UnExcepted $this for || $this-getFileExtension($file) == 'jpg' When I removed jpg extension check it's okay... PHP script runs well. What is the problem :) public function

Re: [PHP] Unexcepted $this

2008-03-10 Thread Ray Hauge
Philip Thompson wrote: On Mar 10, 2008, at 8:32 AM, Ray Hauge wrote: Murat BEŞER wrote: I can't under stood but PHP gaves me an error: UnExcepted $this for || $this-getFileExtension($file) == 'jpg' When I removed jpg extension check it's okay... PHP script runs well. What is the problem :)

[PHP] Unexcepted $this

2008-03-09 Thread Murat BEŞER
I can't under stood but PHP gaves me an error: UnExcepted $this for || $this-getFileExtension($file) == 'jpg' When I removed jpg extension check it's okay... PHP script runs well. What is the problem :) public function loadImages($folder) { $result =

Re: [PHP] Unexcepted $this

2008-03-09 Thread Anup Shukla
Murat BEŞER wrote: I can't under stood but PHP gaves me an error: UnExcepted $this for || $this-getFileExtension($file) == 'jpg' When I removed jpg extension check it's okay... PHP script runs well. What is the problem :) public function loadImages($folder) { $result =

Re: [PHP] Unexcepted $this

2008-03-09 Thread Murat BEŞER
Thank you Anup, But why I getting this error ? is this a bug ? I have changed my code like this if (in_array($this-getFileExtension($file), array('gif', 'jpg', 'png'))) { } but I can't understand. Anup Shukla yazmış: Murat BEŞER wrote: I can't under stood but PHP gaves me an error: