Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
General Discussion
»
Technology and Development
»
Web Programming and Design
»
PHP...Where to start?
« previous
next »
Print
Pages: [
1
]
2
Go Down
Author
Topic: PHP...Where to start? (Read 7804 times)
0 Members and 2 Guests are viewing this topic.
tenniskid493
Guest
PHP...Where to start?
«
on:
January 20, 2006, 08:08:00 am »
I figured out that the best and most efficent way to store all the info and stats for the forum RPG will be by using PHP. What do I need to do to be able to host a .php file on my Invision board. Right now, it doesn't work. It just gives me a blank screen.
Logged
tifreak
LV11
Super Veteran (Next: 3000)
Posts: 2708
Rating: +82/-3
My Kung Fu IS strong...
PHP...Where to start?
«
Reply #1 on:
January 20, 2006, 08:10:00 am »
Umm, can I see the source of the file? It might be an error. Also, try putting the file in your folder on my server, see if it works there.
Logged
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%
tenniskid493
Guest
PHP...Where to start?
«
Reply #2 on:
January 20, 2006, 08:12:00 am »
it was an extremly simple code just to see if it worked
c1-->
CODE
ec1
c2
ec2
it's actually an html file w/ php script
Logged
tifreak
LV11
Super Veteran (Next: 3000)
Posts: 2708
Rating: +82/-3
My Kung Fu IS strong...
PHP...Where to start?
«
Reply #3 on:
January 20, 2006, 08:53:00 am »
This is mine:
c1-->
CODE
ec1
Testing php
echo "
Hello world!
";
?>
c2
ec2
Don't know if this helps any, I am still learning as well...
You can look at the source files in the php folder on my server...
Logged
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%
Tyler
Guest
PHP...Where to start?
«
Reply #4 on:
January 20, 2006, 12:33:00 pm »
Here is mine
c1-->
CODE
ec1
parse_str($_SERVER["QUERY_STRING"], $string); // use $string, could be a security breach otherwise
error_reporting(E_ALL); // All Errors
$page_buffer = NULL;
$page_buffer .="
Hello!
";
if ($string["say_something"] == 1)
Logged
tenniskid493
Guest
PHP...Where to start?
«
Reply #5 on:
January 20, 2006, 12:54:00 pm »
hmm...none of those seem to work. I'll try to do it in pure php and not just scripting inside of html
Logged
rivereye
LV8
Addict (Next: 1000)
Posts: 996
Rating: +0/-0
PHP...Where to start?
«
Reply #6 on:
January 21, 2006, 08:52:00 am »
make sure your extensions are .php and not .html (sounds stupid, but I have seen it before)
Logged
>(<')
tenniskid493
Guest
PHP...Where to start?
«
Reply #7 on:
January 21, 2006, 12:54:00 pm »
If I have them as .php it views it as a home publishing file. Is there a way I can get around this???
Logged
rivereye
LV8
Addict (Next: 1000)
Posts: 996
Rating: +0/-0
PHP...Where to start?
«
Reply #8 on:
January 22, 2006, 08:35:00 am »
yeah, change how it is registered in windows. You have to have appache installed and go to
http://localhost
to actually view the site though
Logged
>(<')
tenniskid493
Guest
PHP...Where to start?
«
Reply #9 on:
January 22, 2006, 11:03:00 am »
You have to have appache installed to see php???
Logged
tifreak
LV11
Super Veteran (Next: 3000)
Posts: 2708
Rating: +82/-3
My Kung Fu IS strong...
PHP...Where to start?
«
Reply #10 on:
January 22, 2006, 11:40:00 am »
I believe so.
Also, make sure you are saving it as a text document...
Did you try loading it to my site to see if it works?
Logged
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%
rivereye
LV8
Addict (Next: 1000)
Posts: 996
Rating: +0/-0
PHP...Where to start?
«
Reply #11 on:
January 22, 2006, 12:48:00 pm »
tenniskid, you only need it if you want to view on you computer, not files on a server
Logged
>(<')
tifreak
LV11
Super Veteran (Next: 3000)
Posts: 2708
Rating: +82/-3
My Kung Fu IS strong...
PHP...Where to start?
«
Reply #12 on:
January 22, 2006, 12:59:00 pm »
Well, the machine would still need apache to run...
Logged
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%
rivereye
LV8
Addict (Next: 1000)
Posts: 996
Rating: +0/-0
PHP...Where to start?
«
Reply #13 on:
January 22, 2006, 01:30:00 pm »
granted, yes. Look at source forge, there are enough there to fit you
Logged
>(<')
tenniskid493
Guest
PHP...Where to start?
«
Reply #14 on:
January 22, 2006, 02:06:00 pm »
@tifreak...I couldnt find the folder you made for me..where is it??
So if I wanted to upload a php file to a web host and then have people be able to see it, I would have to have apache on my computer??? Or would my host have to have apache??
Logged
Print
Pages: [
1
]
2
Go Up
« previous
next »
Omnimaga
»
Forum
»
General Discussion
»
Technology and Development
»
Web Programming and Design
»
PHP...Where to start?