Using php on mac
Posted: Sat Mar 08, 2008 8:30 pm
FIRST OFF:
I am mainly a mac user but i also have a windows xp
(so i would like to know how to do it on mac even though i dont think it would be much different if at all)
Ok i started a new website but i wanted to make my menu appear on every page just by a little code
i did some research and found how (i think) to do it. But since i havnt paid for a server or gotten a domain name or anything yet i just thought i would use xcode (just like a pumped up notepad in windows. Actually more like "e" text editor but most dont know about that so lets just go with notepad) and make a file and call it .html with the code below in it. (just like naming a file in notepad .html to make it a webpage) so both the webpage and the nav bar are renamed textdoc
Navigation bar:http://www.freewebs.com/goxinfo/nav.html
Css: http://www.freewebs.com/goxinfo/NavCss.css
Html: http://www.freewebs.com/goxinfo/navhtml.txt
(from my usb key)
<?php include("file:///Volumes/ISAAC'S%20USB/nav.shtml"); ?>
I think its because im looking for it off my computer other then off a server that you pay for but i really have no clue so any help would be much appreciated.
Thanks.
I am mainly a mac user but i also have a windows xp
(so i would like to know how to do it on mac even though i dont think it would be much different if at all)
Ok i started a new website but i wanted to make my menu appear on every page just by a little code
i did some research and found how (i think) to do it. But since i havnt paid for a server or gotten a domain name or anything yet i just thought i would use xcode (just like a pumped up notepad in windows. Actually more like "e" text editor but most dont know about that so lets just go with notepad) and make a file and call it .html with the code below in it. (just like naming a file in notepad .html to make it a webpage) so both the webpage and the nav bar are renamed textdoc
Navigation bar:http://www.freewebs.com/goxinfo/nav.html
Css: http://www.freewebs.com/goxinfo/NavCss.css
Html: http://www.freewebs.com/goxinfo/navhtml.txt
(from my usb key)
<?php include("file:///Volumes/ISAAC'S%20USB/nav.shtml"); ?>
I think its because im looking for it off my computer other then off a server that you pay for but i really have no clue so any help would be much appreciated.
Thanks.