does this exists

They have: 19 posts

Joined: May 2000

I am looking for a cgi script or mysql script
that i can have on my website
like a form then my friend can type there name in and type a DVD movie and click on submit then it jump up in a frame or something
then another friend add his name and a dvd title and hit submit it jump up in the frame below the first one

when there are 8-10 dvd titles it will send a e-mail to me so i can order them from a dvd shop

anyone know if something exists or one could make for me

Justin S's picture

They have: 2,076 posts

Joined: Jun 1999

Well, I don't think there are any scripts that do that specifically, but I know how you could easily make one in CGI.

1) Write the info posted into a text file.
2) Make the CGI program read the text file and show the results.
3) If there are 10+ lines in the text file then it will e-mail you.

It's that simple..

------------------
My name is Nitsuj. I bet you're thinking WTF...

They have: 19 posts

Joined: May 2000

could you make one for me?
because i don't know a **** about writing
cgi script.

/Allan

They have: 14 posts

Joined: May 2000

Hello,

Well, it should be simple to make. But, why do you want to wait till there are 10 orders anyway ? Why not process the orders as and when they come ? Imagine the first of the ten guys, he'll have to wait for (perhaps) an eternity till the tenth guy orders something.

Also, you'll have to store sensitive information such as payment details in the text file right ?

Instead use a cart and process the orders one at a time. Its simpler too!

Regards
Arpith

------------------
Arpith.com

They have: 850 posts

Joined: Jul 1999

I hope this is what you were looking for:
http://dlo.net/~rob/cgi-bin/test/dvd.cgi

When 10 entries are found, it will use Sendmail to send all the entries to you, and than will empty the database.

The source can be found at: http://dlo.net/~rob/cgi-bin/test/dvdsource.txt

Hope that helps.

------------------
click here to help save lives
http://www.wiredstart.com : The Technology Start Page

They have: 19 posts

Joined: May 2000

it was just that i was looking for

thanks

They have: 19 posts

Joined: May 2000

hi again
i was thinking about it is posible to add a button so the dvd movies can be deleted again
if they don't wan't the movie anymore

They have: 19 posts

Joined: May 2000

thanks very much it's a great script
thanks again

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.