Results 1 to 5 of 5
Thread: PHP - include ?
Hybrid View
-
10th July 2006 15:52 #1
PHP - include ?
-, .
, ...main.php?include=blabla.htmlCode:<?php if(isset($_GET['include'])) { include $_GET['include']; } ?>
.
(). . 1 php - , "include" "pic" .
php , popup . ...popup.php?pic=kartinka1.jpg
....
, .
. ?:EPOX MF4 Ultra-3#CPU: Athlon 64 X2 4600+ [Xigmatec HDT S963]#RAM: 21GB SuperTalent DDRII 800 CL4
#video:GAINWARD 8800GS 384MB#PSU:COOLER MASTER RP M520#Monitor:HP P1100 1280x1024 @100Hz
-
10th July 2006 17:37 #2
Join Date: Nov:2001
Location: Des Moines, Iowa
Posts: 4,284
...
PHP Code:echo "<img src=\"$_GET[pic]\">\n";
-
10th July 2006 18:36 #3
. . -.
?Code:<?php echo "<img src=\"$_GET[pic]\">\n"; ?>
:EPOX MF4 Ultra-3#CPU: Athlon 64 X2 4600+ [Xigmatec HDT S963]#RAM: 21GB SuperTalent DDRII 800 CL4
#video:GAINWARD 8800GS 384MB#PSU:COOLER MASTER RP M520#Monitor:HP P1100 1280x1024 @100Hz
-
10th July 2006 18:45 #4
:
$img, :
, : <img src="popup.php?img=path_to_file" />Code:<? header("Content-type: image/png"); if (file_exists($img)) { readfile($filename); } ?>
, ...Last edited by Skydive; 10th July 2006 at 18:57.
-
11th July 2006 01:57 #5
Skydive,
.
Fo ... .:EPOX MF4 Ultra-3#CPU: Athlon 64 X2 4600+ [Xigmatec HDT S963]#RAM: 21GB SuperTalent DDRII 800 CL4
#video:GAINWARD 8800GS 384MB#PSU:COOLER MASTER RP M520#Monitor:HP P1100 1280x1024 @100Hz




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