Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

putting script on a seperate page

Status
Not open for further replies.

thumbelina

Programmer
Jun 4, 2001
58
CA
i know that it can be done, and that after it calls the function or whatever on the next page runs, the original page should load with the needed changes or whatever the page should have done. I have no idea how to get this to work. Does anyone know how it works or where i can find out? Or maybe you can tell me how it works. Thanks
 
hi
if i am getting u right u have to use include("file path/file name") or require ()function in order to execute the code which is in a seperate file.
eg if u place a function in a file called functions.php
then in your main file u have to include("functions.php") and then call the function in main file.

hope that will help u
regards
spookie

 
that helps a bit, but i'm really looking for COMPLETE detals on how to do it, i have messed with the bits of instructions that i have found but they make no sense at all, and don't work. So really I need to know everything about how it is done. Thanks again. :)
 
Includes will not work if your webserver is not configured to allow them. The first thing you need to do is to contact your webserver administrator and see if ServerSide includes are enabled for your area.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top