This is really basic.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

happypandaface
Forum Newbie
Posts: 8
Joined: Fri Jan 19, 2007 10:26 pm

This is really basic.

Post by happypandaface »

I want to use PHP to make an on-line multi-player game using PHP combined with Macromedia Flash. I found a tutorial on the internet and copied the code, then I pasted it into a notepad and saved it with a .php extension. Now I've uploaded it to my website and I went to the page where it was located and all thats there is the code. It just displays all the code I typed in, tags and everything.
http://www.thecollect3r.com/neo.php
I'm using godaddy.com and doteasy.com to host it. I'm not sure which one is actually the server for my website.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I'm not sure what you're asking. Can you restate the question?
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

Even their Windows servers seem to run Apache and claim to have PHP though...
(#10850)
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

He may not have a package that includes php.
happypandaface
Forum Newbie
Posts: 8
Joined: Fri Jan 19, 2007 10:26 pm

Post by happypandaface »

Where did you find that? I was looking for that forever. That could be the reason. I might be hosting off http://www.godaddy.com does it support php and mySQL?
User avatar
Serengeti.music
Forum Newbie
Posts: 8
Joined: Fri Jan 19, 2007 9:26 pm

Post by Serengeti.music »

My Godaddy account supports PHP. I use it all the time. I have the $3.99/mo package running on Linux. If you're running on Windows, you can easily switch everything over to Linux.
Mightywayne
Forum Contributor
Posts: 237
Joined: Sat Dec 09, 2006 6:46 am

Post by Mightywayne »

There might be a good free host in that advertising section this forum's got.

Hint. Hint.
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

It was on their website it took me three minutes to find it.
happypandaface
Forum Newbie
Posts: 8
Joined: Fri Jan 19, 2007 10:26 pm

Post by happypandaface »

Ok, so how do I get my PHP script to work? (Complete noob perspective)
happypandaface
Forum Newbie
Posts: 8
Joined: Fri Jan 19, 2007 10:26 pm

Post by happypandaface »

Ok, I know what how I got the website now. I got the name from godaddy, registered it free at doteasy, then hosted it on godaddy, so it should support PHP.
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

Call them and ask.
happypandaface
Forum Newbie
Posts: 8
Joined: Fri Jan 19, 2007 10:26 pm

Post by happypandaface »

but i dont wanna!
User avatar
Kadanis
Forum Contributor
Posts: 180
Joined: Tue Jun 20, 2006 8:55 am
Location: Dorset, UK
Contact:

Post by Kadanis »

happyandaface wrote:Ok, I know what how I got the website now. I got the name from godaddy, registered it free at doteasy, then hosted it on godaddy, so it should support PHP.
from this it sounds like you got the domain name from godaddy, but the server space from doteasy. you also say that you registered it "free" at doteasy.

according to the doteasy site, their "free" option does not support PHP. there's your answer. the reason you are seeing the code/tags is that some webservers will parse a .php file as text and just dump the entire contents into the browser window.

i suggest you find another host (if you want free hosting) that does support PHP, or start paying for it.
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

or let the thread rest in peace
Post Reply