Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Includere fisiere php de pe subdomeniu (include)
#2
Poate trebuie sa iesi din doua foldere (../../) vezi cu (home/user_cPanel/public_html/nume_subdomeniu/nume_fisier.php).

Daca nu vrea vezi ceva de genul asta (desi nu prea recomand pentru ca se fac cereri http si, in functie de context, poate fi o problema de securitate, se poate vizualiza fisierul de catre vizitatori daca nu se pune intr-un folder greu de ghicit):
PHP Code:
<?php
eval(file_get_contents('http://subdomeniu.domeniu.com/sdf34ijo34ij5356ESEfsFSEF123/fisier.php.txt'));
?>
Reply


Messages In This Thread
RE: Inludere fisiere (include) - by Admin - 12-05-2012, 02:52 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Ajutor in configurare php nickname 6 19,758 01-30-2015, 11:28 PM
Last Post: MCod
  Autoredenumire cu PHP nickname 7 14,411 05-22-2012, 12:12 AM
Last Post: Admin
  Securizare PHP, protectie MySQL injection si XSS Admin 0 9,858 03-10-2011, 05:16 PM
Last Post: Admin
  in ce data suntem azi (php) Admin 2 17,677 11-07-2009, 03:53 PM
Last Post: Admin
  PHP: comanda if Admin 3 11,599 11-07-2009, 03:27 PM
Last Post: casperel
Lightbulb Suport PHP hbunny 0 7,212 10-16-2009, 11:38 AM
Last Post: hbunny
Exclamation Ajutor php frumushel 3 9,166 10-14-2009, 03:12 PM
Last Post: Admin
Lightbulb Tablouri in PHP hbunny 0 6,556 08-25-2009, 01:34 PM
Last Post: hbunny
  PHP pe intelesul tuturor Admin 9 42,568 06-28-2009, 10:03 AM
Last Post: TeKt0n1k
  Ce este PHP Admin 0 4,902 12-09-2008, 04:09 AM
Last Post: Admin



Users browsing this thread: 1 Guest(s)