Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
web site making
#1
if a guy put a gun to your head and said "make me the best web site ever" what would you use html or php. what support does php require?
Reply
#2
I like to use html and save the stuff as .htm (it's more univeral i hear)... but then again i'm kind of a beginner at that stuff so i could easily be wrong.
Reply
#3
Well, that depends on the type of site you're making. If you will rarely have to change the pages, just use plain HTML.

On the other hand, if you want to automate updates and make other interactive things (such as forums), you have to use PHP (or another scripting language.)
Reply
#4
To use PHP, the server has to have PHP installed on it, since PHP is serverside scripting. PHP will install and run on any webserver which supports the common gateway interface (aka most any server except the one I wrote when i was REALLY bored...hehehe)
I'd knock on wood, but my desk is particle board.
Reply
#5
Heh ! I modified your server a while ago to admit QBasic CGIs Tongue

When it was asked to serve a .BAS file, it ran Qbasic with the BAS file, redirected everything to OUT.HTML and served that file. In QB you just had to output the HTML code using PRINT, for example, a counter:

Code:
PRINT "<html><head><title>QBasic generated page</title></head>"
PRINT "<body>"
OPEN "COUNTER.DAT" FOR BINARY AS #1
GET #1,,counter&
CLOSE #1
counter& = counter& + 1
OPEN "COUNTER.DAT" FOR BINARY AS #1
PUT #1,,counter&
CLOSE #1
PRINT "<b>This page has been visited "; counter&; " times.</b>"
PRINT "</body></html>"

It was slow, insecure and problematic, but it worked.

It was so cool Big Grin
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#6
hahaha! freaky Big Grin didn't know anyone actually did anything neat with that old hunk o junk web server wanabe Big Grin
I'd knock on wood, but my desk is particle board.
Reply
#7
Yeah, JQB45 once made a forum with QB CGI. He figured out how to get environment variables and everything...
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#8
I think Logic Lord and Pasco both fiddled with it too, many years ago.
I'd knock on wood, but my desk is particle board.
Reply
#9
Well, yeah, it's more of a gimmick than anything. QB is not the most text-parsing friendly language around, nor is dos the multitasking of operating systems Big Grin

As for asking whether to do it in php or html, that's like asking whether you should ride a car or a car-making machine. PHP and HTML are nowhere NEAR close to the same thing.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#10
I imagine it wouldn't be too difficult to modify my webserver to use the php.exe module Smile I just find it funny about QB being used to parse web scripts Big Grin hrm...maybe I'll take another stab at my server...someday...
I'd knock on wood, but my desk is particle board.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)