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-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-09 Thread Anup Shukla
, Anup Shukla -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Where is FAM ?

2008-01-31 Thread Anup Shukla
? -- Regards, Anup Shukla -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can I do this -- method chaining

2008-01-30 Thread Anup Shukla
() { return new Test(); } public function doSomething() { echo __METHOD__ . PHP_EOL; } } Test::getInstance()-doSomething(); ? -nathan -- Regards, Anup Shukla -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] potentially __sleep() bug

2008-01-30 Thread Anup Shukla
A(; ? __sleep object(A)#1 (3) { [a1]= string(2) a1 [a2]= string(2) a2 [a3]= string(2) a3 } -- Regards, Anup Shukla -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] avoid server folder reading

2008-01-20 Thread Anup Shukla
! -- Regards, Anup Shukla -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session_start problems with FireFox on Mac

2008-01-12 Thread Anup Shukla
a long time to figure out that was the problem. What a killer! You may use ob_clean() just before the header() to get rid of the extra whitespaces. -- Regards, Anup Shukla -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Any way to use header() or another function to force user to top level

2008-01-12 Thread Anup Shukla
Chuck wrote: That is exactly what I am using now but the location I am redirecting to is loading within the div tags and at the top level of the browser. Are you using AJAX to load the page? -- Regards, Anup Shukla -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] ereg help!

2008-01-09 Thread Anup Shukla
a straight str_replace). Thanks Guess i was just trying to over think it. Have not done much with files. Steve $out = basename($file, .html) . .com; fairly limited i think, but simple. -- Regards, Anup Shukla -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Can't find .php3 files

2008-01-09 Thread Anup Shukla
the file systems. The admin.php3 seems to be 2 levels above the current dir. What about print realpath(../admin/admin.php3) in the same script? -- Regards, Anup Shukla -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] is_executable() ???

2008-01-07 Thread Anup Shukla
() and move_uploaded_file() functions is recommended while dealing with uploaded content. I'm on a NIX with Apache, etc. -- Regards, Anup Shukla -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php