Results 1 to 10 of 10
Thread: PHP
Hybrid View
-
8th August 2010 15:48 #1_
Join Date: Apr:2006
Location: _
Posts: 1,128
PHP
. index.php include_once /opt/files . php , - /opt/files/image.png
Files 777. .
-
8th August 2010 16:55 #2
-
8th August 2010 17:08 #3
-
8th August 2010 17:41 #4_
Join Date: Apr:2006
Location: _
Posts: 1,128
index.php include_once ("/opt/files/main.php") .
main.php . .
main.php html .
-
8th August 2010 18:24 #5Registered User
Join Date: Jul:2006
Location:
Posts: 1,071
-
8th August 2010 17:52 #6
-
8th August 2010 18:26 #7_
Join Date: Apr:2006
Location: _
Posts: 1,128
index.php /var/www/index.php
<?
include_once '/opt/main.php'
?>
main.php /opt/main.php
<html>
<head>
<title>RMC</title>
<link rel="shortcut icon" type="image/x-icon" href="/opt/css/dropdown/images/favicon.ico" />
<link href="/opt/css/dropdown/themes/helper.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/opt/css/dropdown/themes/dropdown.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/opt/css/dropdown/themes/default.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
.........................
index.php /var/www
<html>
<head>
<title>RMC</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<link href="helper.css" media="screen" rel="stylesheet" type="text/css" />
<link href="dropdown.css" media="screen" rel="stylesheet" type="text/css" />
<link href="default.advanced.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
?
. Apache
-
8th August 2010 18:47 #8Registered User
Join Date: Jul:2006
Location:
Posts: 1,071
. http://red_leader.com/etc/passwd && etc/shadow, , , Apache ( , "../"- , ). , Alias- <directory ...> Apache.
777 , , - 644 www-data ( ).
:
, /var/www/ Apache ( htdocs-, ?). /opt/- - !
-
8th August 2010 18:49 #9
-
8th August 2010 18:23 #10




Reply With Quote


<img src="localhost/opt/files/image.png" />... - Alias Apache. .js/.css , .

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in