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. 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.
  6. 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
  7. Thank you for helpful reply. I'm sure, the goal of this script is not spamming. It will activate or "update" an advertisement's time submitting form, not insert any new. The function "activation" is supported by target site.
  8. maybe, you will need to learn the mp3 file format, and write an encoder / decoder in php
  9. I'm working on a script which: 1. login to a website's client area: .... read html page using 'grabhtml' .... fill the form with login and password .... submit form and log in 2. after logging in, submit an form, which activates my advertisemnt, so it will be topped (not spamming!) .... read html page using 'grabhtml' .... submit the specified form ??? The problem is - the website uses cookies to identify logged user. So when I log in throu automated script, it creates a cookie in my browser, but when I want to activate my form, identifies me as not logged. Question: how can I send cookie data to website (destination server) at step #2. , so the server will identify me as logged in? Thanx a lot
  10. Just a simple question, how much data can I store to memory when my PHP script is executed? f.e.: 1. step: read data from file (1 MB is possible? ) 2. make all needed changes 3. write data back to file thank you very much
  11. hello, I have a question, how to retrieve an address, f.e.: user type in browser: http://eshop.tibiz.net I need get this full string to identify the eshop from string. The problem is that I have a hosting without subdomains, so now if you type "eshop.tibiz.net" this is redirected to my starting location on hosting = www.tibiz.net. But if I can get the string from browser, I will redirect throught php to various subpages, fe: eshop.tibiz.net -> ./eshop diag.tibiz.net -> ./diagnsostics, etc... thank you very much for help
×
×
  • 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.