Not Nuke But Still PHP

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Not Nuke But Still PHP
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
OK, i have a index.php including header.php center.php footer.php , and in them files it includes a html/html.html template file, but how would i make the html file read functions like $sitename from lang.com , the html file is in html/header.html and the lang.php is in the home directory, anyone help me?



Back to top Reply with quote
#2   
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
i have seen the files in php nuke like header.php, tried some of dat code edited it to my needs, but still didn't work, i tried putting $sitename = "sitename" but then realised i would then have to do that on all files, so i just put a lang.php , so i need to include lang.php in header.php so it knows the functions from lang.php like $sitename , and i want the html file (header.html) to use header.php , or get language thingys straight from lang.php , anyone help again? i put in a lil more description this time lol




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#3   re: Not Nuke But Still PHP
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
ok, maybe this makes it a lil simpler, i have lang.php , .. including...

$left = include("leftblocks.php");
$right = include("rightblocks.php");


and on center.php i have

include("lang.php");


but i dont want w/e is in there to show up, i want it to act as a language file,

how do i do this, [ Register or login to view links on this board. ]

take a look, its up top, i want them on left and right, how do i do it :-/ this is scary stuff lol

thanx


Back to top Reply with quote
#4   
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
*icon_sad.gif* been 1 whole day now, i've tried everything, anyone gona help?




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#5   re: Not Nuke But Still PHP
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.71 posts per day
Posts: 5530
Points: 481,695
   
if you could just be patient. I would rather have the person that knows how to correct the problem answer your question, than have me shoot blindly and give you wrong answers

P.S. your test page is not displaying



Back to top Reply with quote
#6   
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
yeah i know, i moved it to the domain, [ Register or login to view links on this board. ] , and removed the bit that didn't look good but all i need now is what i wanted before, thanx anyway ;-)




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#7   re: Not Nuke But Still PHP
DaveTomneyUK
CZ Active Member
uk.gif
Occupation: PC Technician
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Oct 23, 2003
0.03 posts per day
Posts: 201
Points: 23,202
AIM Address Yahoo Messenger  
I've made a PHP portal myself so i'd be happy to help its on my old site at [ Register or login to view links on this board. ] but to contact me try and message kuyenmotdivad on yahoo messenger



Back to top Reply with quote
#8   
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
Thanx Dave! ;-) altou i already said it on messenger :P , all sorted now




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum