Skip to main content
gamedev.net
🔒 Locked

Web Design - PHP?

Started by Raymondo 8 replies 400+ views
Original Post
Raymondo
Raymondo
I've finally found the time to do some web design, and so this week I want to learn everything I possibly can about PHP Do you guys have any good recommendations on places I should vist, or things I should know? [edited by - raymondo on March 16, 2003 1:29:42 AM]
Extrarius
Extrarius
From http://php.org you can download a function reference in windows help file format, which makes coding php a LOT easier. Also, crimson editor from http://www.crimsoneditor.com is a nice, simple editor. It comes with a php syntax file but you can download a better one from the site.
"Walk not the trodden path, for it has borne it's burden." -John, Flying Monk
Raymondo
Raymondo
Now i'm having problems


I downloaded the trial version of codecharge studio, and I tried putting together some PHP, from one of the tutorials in hopes of getting a grasp of how PHP works and all that.

When I try and view the "live page", and it gives me the following error

CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers.
The headers it did return are:
//no headers were listed in the error


I went into the folder where everything is saved... C:\testpage, and tried opening some of the different html files...

I keep seeing things like this:




Any ideas on what the source of the problem(s) could be?


For reference, I'm using IIS 4.0 I think, or maybe 5.0 -> and I have the latest version of PHP installed, and php.exe is listed in IIS.


[edited by - raymondo on March 16, 2003 1:35:11 AM]
mentalstatement
mentalstatement
you must be one amazing designer to me limited by standard html design.. most often then i hear people''s creativity being limited, its usually not the result of the software they use, but their lack of knowledge in using it..
Maaaaaaaahahaha. Who''s da king baby?
Raymondo
Raymondo
smartass, you know what I mean.



help anyone?
Bossk
Bossk
quote:
Original post by mentalstatement
you must be one amazing designer to me limited by standard html design.. most often then i hear people's creativity being limited, its usually not the result of the software they use, but their lack of knowledge in using it..

Jesus, you are one annoying troll, aren't you?

[edited by - Bossk on March 16, 2003 1:58:16 AM]
superpig
superpig
Any page with PHP code in it has to be saved with a .php extension. That's how the web server can tell to run it with PHP. It looks to me like your pages are .html... which will not work.

And cmon.. who needs something like Codecharge Studio to write PHP code? You don't need an IDE to do text editing...

Oh, and your very first program should never be something from a tutorial like that. It should be this:

<?php
phpinfo();
?>

That's the way to prove that your PHP install is up and running OK.

Superpig
- saving pigs from untimely fates, and when he's not doing that, runs The Binary Refinery.

[edited by - Superpig on March 16, 2003 9:44:30 AM]

[edited by - Superpig on March 16, 2003 9:44:53 AM]
Richard "Superpig" Fine - saving pigs from untimely fates - Microsoft DirectX MVP 2006/2007/2008/2009
"Shaders are not meant to do everything. Of course you can try to use it for everything, but it's like playing football using cabbage." - MickeyMouse
Xtremehobo
Xtremehobo
Maybe try another webserver?
Try Apache
Its quite easy to set up with php and its very stable.

EDIT: Oh, didn't notice you didn't give your files php extensions...

[edited by - Xtremehobo on March 16, 2003 11:33:02 AM]
pixelwrench.com | [email="matt[nospam]@pixelwrench[nospam]com"]email[/email] lethalhamster: gamedev keeps taking my money, but im too lazy to not let them
Raymondo
Raymondo
As it turns out, I'm just an idiot. The tutorial uses both html *and* php, and I had set everything up incorrectly.

I wrote a php test that did "hello world", and everything works fine.

I guess I'm going about this all wrong.


I wanted to make a "developers site" where people working on a game can login, and work on different aspects of the design document, in one centralized location, that automatically changes version numbers, dates, lets you add comments, and back everything up.


I was thinking it might be easier to do something like that with an IDE. I guess I'm wrong?

[edited by - raymondo on March 16, 2003 2:59:12 PM]
wild_pointer
wild_pointer
Unless you''re doing it for as a learning experience... Sourceforge already does a good job of that, as does CVS.
[size=2]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.