Click to See Complete Forum and Search --> : python server script


Obrion
12-09-2002, 10:00 AM
Ok i have a question that hopefully i can get some
help with. I have a company that needs me to do a
script for server pricing. I have never really done
much cgi scripting so i selected python as my tool.

This is the chart i have to use to calculate pricing..
the thing that sucks is that there is no standard
price upcharge so i can't just loop a formula.

http://www.i-hostingsolutions.com/gaming.html

here is my idea of the form. I am missing an output
box for the variable price. any ideas on what i should
use ?

http://www.enchantedlight.com/Junk/Bryan/script/IHS.htm

And here is my script. Feel free to laugh your ***
off at it. I am new at programming. (actually first
time ever coding something that is usefull) it is
suppose to be in python. So here is my first python
script.....



http://www.enchantedlight.com/Junk/Bryan/script/server.txt

do i have the right idea going on here, or does it
just suck?

p.s. it doesn't have to be secure...
it only has to mimic the chart for reference
Thanks,
Bryan