.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old November 5th, 2003, 07:56 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: OT: PHP

You can not view a php file directly in your browser. It is a server side scripting language that generates HTML on the fly and sends that off to the user's browser to display. In order to view php files locally, you must install some php software (which is free) from http://www.php.net/

You can use any text editor to make php files. It does not make a difference in the end, just what your preference is for creating them. They are just text files with a .php extension (like html are just text files with a .html extension).

[ November 05, 2003, 17:57: Message edited by: Imperator Fyron ]
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #2  
Old November 5th, 2003, 08:02 PM
Ragnarok's Avatar

Ragnarok Ragnarok is offline
General
 
Join Date: Mar 2002
Location: Indiana
Posts: 3,229
Thanks: 0
Thanked 0 Times in 0 Posts
Ragnarok is on a distinguished road
Default Re: OT: PHP

Quote:
Originally posted by Imperator Fyron:
You can not view a php file directly in your browser. It is a server side scripting language that generates HTML on the fly and sends that off to the user's browser to display. In order to view php files locally, you must install some php software (which is free) from http://www.php.net/
That is sort of what I was thinking was the problem. I have the software installed on our server here; so would I have to create my PHP file and save it on the server, perhaps in our webpage directory, and then access it via our webpage to test the code?

[ November 05, 2003, 18:09: Message edited by: Ragnarok ]
__________________
Ragnarok - Hevordian Story Thread
-------------------
I think...therefore I am confused.
They were armed. With guns, said Omari.
Canadians. With guns. And a warship. What is this world coming to?
The dreaded derelict dwelling two ton devil bunny!
Every ship can be a minesweeper... Once
Reply With Quote
  #3  
Old November 5th, 2003, 08:31 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: OT: PHP

Yes. But, you can also install php on your computer. Every computer is a "server", technically. Just a local server though (you need extra programs running to allow Users over the net to see files on your comp, thus making it an actual web server). This is why you can do stuff like view html files that are on your computer in IE and such.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #4  
Old November 5th, 2003, 08:32 PM
Ragnarok's Avatar

Ragnarok Ragnarok is offline
General
 
Join Date: Mar 2002
Location: Indiana
Posts: 3,229
Thanks: 0
Thanked 0 Times in 0 Posts
Ragnarok is on a distinguished road
Default Re: OT: PHP

Quote:
Originally posted by Imperator Fyron:
Yes. But, you can also install php on your computer. Every computer is a "server", technically. Just a local server though (you need extra programs running to allow Users over the net to see files on your comp, thus making it an actual web server). This is why you can do stuff like view html files that are on your computer in IE and such.
Ahhh ok, I'll download the files on install on my own PC to run from.

Thanks for the help, Fyron.
__________________
Ragnarok - Hevordian Story Thread
-------------------
I think...therefore I am confused.
They were armed. With guns, said Omari.
Canadians. With guns. And a warship. What is this world coming to?
The dreaded derelict dwelling two ton devil bunny!
Every ship can be a minesweeper... Once
Reply With Quote
  #5  
Old November 5th, 2003, 08:49 PM

tesco samoa tesco samoa is offline
General
 
Join Date: Jul 2001
Location: Canada
Posts: 4,603
Thanks: 0
Thanked 0 Times in 0 Posts
tesco samoa is on a distinguished road
Default Re: OT: PHP

ace html 5 free is one i use. or just some text editor....
__________________
RRRRRRRRRRAAAAAGGGGGGGGGHHHHH
old avatar = http://www.shrapnelgames.com/cgi-bin...1051567998.jpg

Hey GUTB where did you go...???

He is still driving his mighty armada at 3 miles per month along the interstellar highway bypass and will be arriving shortly
Reply With Quote
  #6  
Old November 6th, 2003, 01:19 AM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: OT: PHP

Hell between all of you PHP people here, someone should be able to make one hell of a good web based game.
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #7  
Old November 6th, 2003, 02:04 AM
minipol's Avatar

minipol minipol is offline
Second Lieutenant
 
Join Date: Jul 2002
Location: Belgium
Posts: 558
Thanks: 0
Thanked 0 Times in 0 Posts
minipol is on a distinguished road
Default Re: OT: PHP

I use editpad lite on win and vim on Linux to edit my php files
__________________
A Se++ GdY $++ Fr+ C++++ Csc Sf++ Ai** AuO M MpT MpSk MpFd S--- Ss- RV Pw Fq Nd- Rp- G Mm++ Bb++ Tcp+ L++
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:00 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.