Page 1 of 2
another php question
Posted: Mon Oct 21, 2002 5:51 pm
by Joey
i am watching a show on tv and they were talking about php. they said it is for serving web sites. is this true? you can serve your on site online for free using this?
also, may i suggest that we should add a new board called programming languages. it would be to talk about all languages in there instead of off topice everything else. it is just a thought.
Re:another php question
Posted: Mon Oct 21, 2002 5:57 pm
by Joey
in case no one understood that....
i meant you can actually fun your own server and host sites? would that be hard to do? how would you go about in putting it on the web? i dont understand. ???
Re:another php question
Posted: Mon Oct 21, 2002 6:14 pm
by AGI1122
I use my computer as a web server, php can't be used AS the web server, but it can be used ON the web server.
I personally use Apache for my web server.
I would recommend going to
www.phpgeek.com and downloading phptriad, it installs apache, php, and mysql. Very easily I might add.
Of course you still have to purchase a domain name. But until then, people can access your server by typing in your ip address.
So the answer is yes, you can host your site on your computer.
Re:another php question
Posted: Tue Oct 22, 2002 12:41 pm
by Joey
is it free to do that? also, i would have unlimited bandwidth and all the space my hard drive can handle since its on my pc right? is it hard to do this?
Re:another php question
Posted: Tue Oct 22, 2002 2:14 pm
by AGI1122
It is 100% free(except the domain name e.g. agigames.com).
You harddrive is the ammount of space you have to work with.
You should have unlimited bandwidth(unless you install the module for bandwith in apache), of course your isp might have a bandwidth so I couldn't be too sure about that.
As for how easy it is, an idiot could set it up just by downloading it, and running the installation file. Simple as that.
Re:another php question
Posted: Tue Oct 22, 2002 3:13 pm
by juncmodule
Hey Joey, I will answer your question about what bandwidth is here...I don't want to turn my thread into something about bandwidth under the AGI section. Anyway, This all kind of ties in with your questions here. Bandwidth is just a measurement of your file transfers to and from your website. You accumulate bandwidth anytime anything happens on your site. Since you are on tripod it's not really something you have to worry about. Tripod protects their bandwidth(which means if you exceed it...no one can access your site until the next month). However, I pay for my bandwidth, if it exceeds 20gigs I have to pay for it. 1 gig isn't much. I set up another account with ePerfect.net yesterday because my webhost didn't offer more than 1 gig. Now that I have 200mb of storage space and 20gigs of bandwidth I feel that I can put as many files as I want on my site. I have already used up about 25MB of the bandwidth on my old webhost just through setting up my site. This doesn't include ANY downloads. Also, I have only had about 20 unique hits on my site this month. So, add downloads to that, add hits to that, and you pass 1 gig REALLY quick.
Speaking of all this...Chris do you know of any prewritten PHP scripts that involve retrieving your current bandwidth and perhaps stopping traffic if it reaches a certain amount?
later,
-junc
Re:another php question
Posted: Tue Oct 22, 2002 4:00 pm
by AGI1122
Well I don't know of any php scripts, but I think the apache module for bandwidth does that.
Re:another php question
Posted: Tue Oct 22, 2002 5:30 pm
by juncmodule
do you know if (and how) you can do that with eperfect.net?
-junc
Re:another php question
Posted: Wed Oct 23, 2002 1:43 am
by AGI1122
eperfect.net already does that, when you use all your bandwith it shuts your site down, and you don't have to pay for any extra bandwidth that might have been used.
Re:another php question
Posted: Wed Oct 23, 2002 6:45 am
by juncmodule
Awesome. Thanks for telling me about them. I've been working on my new site since yesterday and everything has already been going smoothly. I already moved my message board and hopefully by the end of the day I will even have music and games uploaded. WooHoo!
later,
-junc
Re:another php question
Posted: Wed Oct 23, 2002 12:43 pm
by Joey
so once you install that thing you have an internet server? you can run your sites off of it am i correct? but you said it wouldnt be free to have a domain. how come if it is YOUR server. its like paying yourself....
Re:another php question
Posted: Wed Oct 23, 2002 4:05 pm
by smartguy240
What does PHP stand for again?
Pheteatype Hyperprocess or or something?
SMG240
Re:another php question
Posted: Wed Oct 23, 2002 8:36 pm
by juncmodule
Currently if you go to
http://209.197.248.39/ you will get my site(juncmodule.com is with a different host using a redirect to that address). This is because I haven't transfered my domain
name there yet. You are paying for that redirection. It has something to do with Name Servers and DNS servers and all of that mess. Either way it serves that name "string" to the correct number or http address. Perhaps Chris can explain that a little bit more intelligently than I can.
PHP originally (when only the inventor of it was using it) stood for "Personal Home Page" now it stands for Hypertext Preprocessor.
-junc
Re:another php question
Posted: Wed Oct 23, 2002 9:22 pm
by AGI1122
My server is my ip address. agigames.com isn't on my computer, that is a remote server hosted for me.
My personal server is on my pc, it doens't have a domain so you have to access it using my ip.
I set it up 100% free, my server uses apache, and has php, mysql, and perl installed.
Re:another php question
Posted: Thu Oct 24, 2002 5:44 am
by juncmodule
Something else that should be mentioned about that:
Static IP - unchanging IP address
Dynamic IP - IP address that randomly changes
As far as I know with a router you can make your IP static. However, the ISP I use has busted several of my friends for forcing a Static IP. Without a static IP I'm almost positive that it is impossible to run a server. Something you might want to check out if your interested in running one off of your own computer.
-junc