- -
PHP
(
http://www.greenguysboard.com/board/showthread.php?t=63531)
jollyhumper |
2012-02-18 10:15 AM |
PHP
HI have this Script:
Code:
$INDEXshow="1";
include("h.php");
?>
Test Test Test
$date = date('Y-m-d');
if(!is_dir("gallery/".$date)){$date="default";}
function fcheck($name){
if(@file_exists("gallery/".$date."/".$name)){
return "gallery/".$date."/".$name;
}else{
return "gallery/".$date."/".$name;
}}
?>
|
$INDEXshow="1";
include("f.php");
?>
It does what's needed.
Now I want to use it in a template for some easy galleries.
SO any one know how I can use same techncique to pull text out of a prefedined file, read it and place it on the page?
M:)rten
All times are GMT -4. The time now is 01:00 AM. |
|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc