Dan Cech wrote:
> 
> As I outlined earlier in this thread, this will _not_ work if php is
> running as a cgi, you'll get 'php4-cgi' instead of 'myfilename.php'
> unless you have cgi.fix_pathinfo set to 1 (default is 0).
> 
> Your previous comment regarding the fact that __FILE__ will give the
> name of the file it is placed in rather than the requested file is
> perfectly valid and worth keeping in mind.
> ---8<---
> Dan
> 
i wonder what  basename($_SERVER['PHP_SELF']) does on a CGI system,
from php running as module i get the filename only (w/o path and
QUERY_STRING)
-- 
View this message in context: 
http://www.nabble.com/Holiday-Greetings-to-Everyone...-tf2882582.html#a8114887
Sent from the NYPHP-Talk mailing list archive at Nabble.com.

_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to