Jump to content

tibiz

Members
  • Posts

    14
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

tibiz's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. thank you for answer. modification of httpd.conf and setting ownership is not possible on my hosting. I not running on own web server. So the last option is to set up .htaccess to affect with settings the subdirectories , but exclude the root directory where the .htaccess is. The only known good and working situation is (but don't like it): </root/> *.php all CMS files </root/subdir1/> *.htaccess disabling running scripts as described in my previous post </root/subdir1/subdir2/> the place for all 3d-party user's stuff accessable via FTP
  2. (same question but simplier way) how setup .htaccess to apply functions: RemoveHandler .php .phtml .php3 .php5 RemoveType .php .phtml .php3 .php5 php_flag engine off only to subfolder .../files/ and it's content but the .htaccess must be placed in root directory
  3. Hello, I have a directory tree for my project: /www/CMS/ /www/CMS/files/ /www/CMS/files/Images /www/CMS/files/Documents The user is able to access content and subfolders files/ via FTP, which is the place for his stuff My question is, how can I prevent running php scripts in files/ , files/Images/ , files/Documents/ using .htaccess because I tried run a <?php echo get_file_contets("../../index.php"); ?> in /www/CMS/files/Images/ and it displayed my code; I have a .htaccess file: RemoveHandler .php .phtml .php3 .php5 RemoveType .php .phtml .php3 .php5 php_flag engine off but if place it in /www/CMS/ it stops running my project; if I place it in /www/CMS/files/ , the htaccess can be simply deleted by user via ftp thank you for any help
  4. Hello, is there an app which is able to translate human readable php scripts into an unreadable/incomprehensible/ script , f.e. from: class CUser { public function Login() { ... } }; $user = new CUser(); will make something: class RF34AFD { public function RGH54SDSDAQ() { ... } }; $r5sfds=new RF34AFD(); $r5sfds->RGH54SDSDAQ(); I'm going to upload my scripts to a server which don't support any PHP encoder (zend, ioncube, etc.) so I want to protect my script particularly. thak you for any answers
  5. Any ideas to solve this problem ?
  6. thank you. I know about $_SERVER["HTTP_REFERER"] it work when I click in browser window on a link which is referring to my website. but domain "B" is reditercted to domain "A" through DNS settings.
  7. Hello, I have domain "A" coming with a wehosting and a domain "B" , it's DNS is redirected to domain "A". Now I'm solving how to catch the url (domain name) of "B", that is redirecting to me. Is it possible throught PHP ? Thak you
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.