POV-Ray : Newsgroups : povray.off-topic : Need a scripting language : Re: Need a scripting language Server Time
10 Oct 2024 17:21:42 EDT (-0400)
  Re: Need a scripting language  
From: Darren New
Date: 16 Mar 2008 22:45:39
Message: <47dde963$1@news.povray.org>
Chambers wrote:
> I thought about something like that, but then I'd need to either run 
> Apache on my local machine, or set up a part of my website for that.

You can set up an entire domain name just for this application if you 
like. It's pretty trivially straight-forward.

> Probably the latter would be the easiest option, although I would 
> appreciate having the data stored locally.

Nothing keeps PHP from accessing the data in a mysql server on your 
local machine.  If you want something fast and easy and HTML is good 
enough interface-wise, PHP is probably good enough.

PHP isn't what you'd call an elegant language, but it has piles of 
poorly-named and poorly-organized functions that do most everything 
you'd want to do, and it's easy to find help doing things.

Just remember to escape any string you pass as SQL, and it's probably a 
bad idea to mix HTML and PHP in the same file, even tho that's how it's 
designed.  Remember that PHP stands for "Phil's Home Page" and grew from 
there, and expect quality commensurate with that.

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.