In quite a few examples I've seen, they seem to use:
include "./cgi-bin/template.php";

Is there any difference to:
include "cgi-bin/template.php";

Before anyone mentions it, I use:
include $_SERVER['DOCUMENT_ROOT'].'/cgi-bin/template.php';
just in case I move it from the root.

I was just wondering why the extra "./" is added, as it doesn't seem to do 
anything.
Is it just to make it more readable or maybe secure?
Thanks, Bob E.





Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to