luciferonline Posted October 3, 2006 Share Posted October 3, 2006 Hi all just took a shift from kirupa.I am using an include{ object.php} (excuse my novicness)hahathe question is how do i load that file only once?not on every instance? or page change?cheers brndn Quote Link to comment Share on other sites More sharing options...
vbnullchar Posted October 3, 2006 Share Posted October 3, 2006 include_once('filename.php') or require_once(filename.php) Quote Link to comment Share on other sites More sharing options...
luciferonline Posted October 3, 2006 Author Share Posted October 3, 2006 still seems not to working. ???this file contains some java vars and functions. so i want to store them for the next page.anyone encountered this type of issue?here a link for anyone who is interestedhttp://nvah.co.nz/first_test.phpthanks for the straight up responsecheers lucifer Quote Link to comment Share on other sites More sharing options...
obsidian Posted October 3, 2006 Share Posted October 3, 2006 ok, now i'm a little confused. you're storing java vars in a PHP include file? or are you talking about spitting out javascript? also, if you include the file on each page, the vars should be there. i'm not sure i follow. Quote Link to comment Share on other sites More sharing options...
luciferonline Posted October 3, 2006 Author Share Posted October 3, 2006 yeh thats the one but i am not sure that this can be done?if you have a play with the blue text links you will see what i am trying to do?is this possible with php or am i better off using js?Not too sure yet.any pointers? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.