Re: [PHP] Unexcepted $this

2008-03-09 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-09 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] Links hierarchy maintenance

2008-03-09 Thread Adil Drissi
Yes like that, but you can consider also that the vertical menu has different style for the link of the current page. Anyway it does not matter for this problem. Can you show us how your php function looks like? Or maybe you are just doing a test for each link for your function to know if it is the

Re: [PHP] Links hierarchy maintenance

2008-03-09 Thread tedd
Yes this is the correct way to do things. As i said, i'm using different styles for the menus links indicating the current page. Suppose my page has one horiontal menu at the top and one vertical menu at the left. In this case, one element of the horizontal menu and one from the vertical menu will

RE: [PHP] SMTP

2008-03-09 Thread Andrés Robinet
> -Original Message- > From: Ray Hauge [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 09, 2008 5:17 PM > To: Alain Roger > Cc: PHP General List > Subject: Re: [PHP] SMTP > > Alain Roger wrote: > > Hi, > > > > i know that this is not necessary the best forum for that, but i need to > get >

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: "UnEx

Re: [PHP] SMTP

2008-03-09 Thread Ray Hauge
Alain Roger wrote: Hi, i know that this is not necessary the best forum for that, but i need to get a real feedback and i guess you already faced the same issue as mine. basically, i develop php web application on windows XP platform. So i have apache 2.24 installed and PHP 5.2.4. now i would l

[PHP] SMTP

2008-03-09 Thread Alain Roger
Hi, i know that this is not necessary the best forum for that, but i need to get a real feedback and i guess you already faced the same issue as mine. basically, i develop php web application on windows XP platform. So i have apache 2.24 installed and PHP 5.2.4. now i would like to test if my app

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 = $this->f

Re: [PHP] send form by email with image spam controler

2008-03-09 Thread Per Jessen
Stut wrote: > On 9 Mar 2008, at 12:47, Per Jessen wrote: > >> Like I said, it can be broken too (given sufficient effort). > > It's not much effort - you just need to request a second URL after > you've got the form. It's not hard and really doesn't really put > anything more in the way of a bot

[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 = $this->filemanager->

Re: [PHP] Links hierarchy maintenance

2008-03-09 Thread Per Jessen
Adil Drissi wrote: > Hi Jessen, > > The question is how to make it aware of the context. > Do you know any work dealing with that? Variables? Set a variable $context= before you include, then have your include check on $context. /Per Jessen, Zürich -- PHP General Mailing List (http://www.p

Re: [PHP] Links hierarchy maintenance

2008-03-09 Thread Adil Drissi
Hi Jessen, The question is how to make it aware of the context. Do you know any work dealing with that? Thanks --- Per Jessen <[EMAIL PROTECTED]> wrote: > Adil Drissi wrote: > > > Hi, > > > > Yes this is the correct way to do things. As i > said, > > i'm using different styles for the menus l

Re: [PHP] send form by email with image spam controler

2008-03-09 Thread Stut
On 9 Mar 2008, at 12:47, Per Jessen wrote: Richard Heyes wrote: How about this one - http://jessen.ch/articles/captcha Well, of course it can be broken too - it's only a matter of money and time, both of which are critical to spammers. Interesting. How well does this work? Well - it's an i

Re: [PHP] send form by email with image spam controler

2008-03-09 Thread Per Jessen
Richard Heyes wrote: >> How about this one - >> >> http://jessen.ch/articles/captcha >> >> Well, of course it can be broken too - it's only a matter of money >> and time, both of which are critical to spammers. >> > Interesting. How well does this work? Well - it's an idea I've had for a whi

Re: [PHP] send form by email with image spam controler

2008-03-09 Thread Richard Heyes
How about this one - http://jessen.ch/articles/captcha Well, of course it can be broken too - it's only a matter of money and time, both of which are critical to spammers. (for the moment it has a limited number of questions and only in English). Interesting. How well does this work? I'm i

[PHP] path_info in fastcgi setting

2008-03-09 Thread Ian M. Evans
Greetings all. Making the transition to PHP 5.2.5 operating as FastCGI through Nginx. Seem to be having a bit o' weirdness with path_info. Under Apache and the PHP module: a) test.php path_info is blank b) test.php/ppp path_info=/ppp Under PHP FastCGI: c) test.php path_info is test.php d) test

Re: [PHP] send form by email with image spam controler

2008-03-09 Thread Per Jessen
tedd wrote: > Here's a few. > > http://webbytedd.com/aa/assorted-captcha/ > > BUT, all can be broke by a spammer. There is no solution. > How about this one - http://jessen.ch/articles/captcha Well, of course it can be broken too - it's only a matter of money and time, both of which are cri

[PHP] Re: Message

2008-03-09 Thread cadaver
Important message, do not show this anyone! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Links hierarchy maintenance

2008-03-09 Thread Per Jessen
Adil Drissi wrote: > Hi, > > Yes this is the correct way to do things. As i said, > i'm using different styles for the menus links > indicating the current page. Suppose my page has one > horiontal menu at the top and one vertical menu at the > left. In this case, one element of the horizontal me