Re[2]: [PHP] Protecting files

2003-02-17 Thread PR
Hello Greg, Yes, I am in a shared environment..but I do have access to chmod.. GD> What kind of system is it? If it's unix you can make use of chown and GD> chmod to protect your stuff. If it's windows, I don't know. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP] Protecting files

2003-02-17 Thread PR
Hello, How can I protect my php files among other files like templates (.inc) and mysql config (config.inc) files being copied/read/imported (front page)/used by other applications other than my site... can this be done by htaccess? is so , could anyone point me into right direction? -- Thank

[PHP] Reading File Name

2003-02-13 Thread PR
Hello all, I am fairly new to PHP and I am trying to read files in the directory (gif files)and based on the names of the files create links on the page. The words within the file will be separated with underscores(02_13_2002_This_file_name.gif but I do not have to use underscores if it is going t

[PHP] inserting PHP code into PHP document

2002-05-14 Thread PR
Hi All: Many of my pages has similar lines of code that I would like to group and have it inserted when required: if ($HTTP_SESSION_VARS[first_name]){ $header='...'; } else { $header='...'; }; I placed the code in separate file and tried implode but