[PHP] Re: 2 Questions: Static variables and the nature of the online manual

2008-03-04 Thread Nathan Rixham
Svevo Romano wrote: Hello, I got this e-mail address from the ŒAdd note¹ page within the php.net website. I was going to post something that was a question and I realised I was in the wrong place :) I have 2 basic questions and I¹m sorry if they may seem too basic. I¹m a bit new to php. The fi

[PHP] Re: 2 questions: Search in array and detect JS

2006-04-15 Thread Rafael
Ryan A wrote: Hi, Like the subject says; I have two questions: 1) Is it possible to detect JavaScript via php... and yes I do know that JS is client side while PHP is server...but how else to do it? The reason I ask is before serving an AJAX page I would like to make sure JS is enabled, if not,

[PHP] Re: 2 questions - PHP site Automatic search and slow display

2004-02-28 Thread Andre Cerqueira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (1) dont know if u understood, but have you tryed flush()? (http://www.php.net/flush) (2) i think you could make a script for 404 error, and that script could take that path in the url and use it for searching... Ryan A wrote: Hi, I have to question

[PHP] Re: 2 questions !

2003-03-01 Thread Vincent M.
Greg Beaver wrote: "Vincent M." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello, I didn't find in the doc how to: - Know the full path of the current directory. Like /var/www/to/the/path try using dirname(__FILE__) or dirname($_SERVER['PATH_TRANSLATED']) dirname($_SERVER['PAT

[PHP] Re: 2 questions !

2003-03-01 Thread Greg Beaver
"Vincent M." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I didn't find in the doc how to: > - Know the full path of the current directory. Like /var/www/to/the/path try using dirname(__FILE__) or dirname($_SERVER['PATH_TRANSLATED']) > - Know under which user work a