Search found 3 matches

by Daedalus
Tue Nov 12, 2002 3:43 am
Forum: General Discussion
Topic: Using PHP in place of Bash
Replies: 2
Views: 1824

Actualy there is alot of different things you can do with running PHP as a shell script. I would say there is enough functionality in PHP as a shell script as Perl has as a shell script. There are also alot of cool things you can compile into PHP that are fun things to play with when ran from the co...
by Daedalus
Mon Nov 11, 2002 3:54 pm
Forum: PHP - Code
Topic: Files used by include library not displayed!
Replies: 6
Views: 914

A good rule of thumb that i allways go by is use $_SERVER['DOCUMENT_ROOT'] then your relative path. like include($_SERVER['DOCUMENT_ROOT'] . "/x/layout.php"); Then when you reference files your giving an absolute path rather then a relative path to what your looking for and your scripts wi...
by Daedalus
Mon Nov 11, 2002 3:45 pm
Forum: PHP - Code
Topic: Hide passwords
Replies: 1
Views: 832

If you put the data you want protected in a file outside the document root of your site, you can still include it from php but it will not be accessable from a Web Client.