Using php on mac

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
toothyXdip
Forum Newbie
Posts: 1
Joined: Sat Mar 08, 2008 8:04 pm

Using php on mac

Post by toothyXdip »

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. :D
Post Reply