On Fri, 2008-01-04 at 12:58 -0500, tedd wrote:
> Hi gang:
> 
> Here's the problem.
> 
> I have a client who has Flash Videos and wishes to rent these Videos 
> out for a certain time period. (No, it's not porn -- shame on you).

Bah!

> I have written the code and have NO problems with registering the 
> user, having the user pay, and managing user's time to allow viewing 
> the video. That's all been solved.
> 
> However, once the user is provided with a url where the Flash Video 
> resides, then the user can view the video remotely by just creating a 
> page that references that url -- that's easy to do.
> 
> Now, how can I stop that from happening?

Use a URL that maps to a PHP script. Have the PHP script check that they
are logged in. If not, redirect to login. If they are logged in, then
flush the flash object to their browser with appropriate headers.

Cheers,
Rob.
-- 
...........................................................
SwarmBuy.com - http://www.swarmbuy.com

    Leveraging the buying power of the masses!
...........................................................

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to