PDA

View Full Version : music videos and the like


godonholiday
05-23-2006, 02:16 PM
I am currently developing a site using php and mysql, i am using dreamweaver and flash and all of their great tools (i know some people are amazing coders but..i'm not)

I was wondering,

1) If i want people to be able to click on a song tilte and hear it, would the actaul song have to be stored in sql? or just a link and if a link then how do i tell the browser what software or player to ply that song?

2) same as above but for video files?

3) If the user likes the song and wants to buy it, or an album, can anyone give me help on making them availible using paypal and how would they be downloaded?

i just dont think i get the process of how the user gets access to to song and pays for it?

thanks in advance

Gavin

yorkeylady
05-25-2006, 12:39 AM
This is pretty easy to do.
If you know how to use perl and paypals ipn system.
You would pass the variable in the options tag of paypal form.
Paypal would pass it to your ipn script
The ipn script would record the transaction as complete.
Copy and rename the file they want to download to a download directory.

Use perl to email the link to the customer, tell them they have 2 days to download it.

godonholiday
05-25-2006, 11:24 AM
cheers yorkeylady, thats just what i needed, i understand the process now, just need to find out how to use perl and incorp it into my php based site. do you know of any sites that might hold my hand through this? with tutorials or forums?

thanks again

yorkeylady
05-25-2006, 07:10 PM
cpan.org Search for LWP

tek-tips.com
Perl forum

Search for Beginning Perl ebook