Jump to content

DeathStar

Members
  • Posts

    529
  • Joined

  • Last visited

    Never

Posts posted by DeathStar

  1. [ code ][ /code ]

    why do it that way?

    table of images

    <?php
    echo "
    <a href='?img=1.gif'><img src="1.gif"></a>
    <a href='?img=2.gif'><img src="2.gif"></a>
    <a href='?img=3.gif'><img src="3.gif"></a>
    <a href='?img=4.gif'><img src="4.gif"></a>
    <a href='?img=5.gif'><img src="5.gif"></a>";
    ?>
    <

    image page

    <?php
    $image = $_GET['img'];
    echo "image file: $img<br />";
    echo "<img scr='$image'>";
    ?>

  2. Hi there.

    I was wondering how i could do this secure enough?

    I'm going to accept payments with paypal(ipn) and then when the payment is complete the user must then be able to download it.

    but how do i ensure other people dont just get the zip file's location and downlaod it?

    I have though about this:

    when the payment is complete and the scripts recive the thumbup.gif the script then writes the script into a php file and then zip it, store it and then in 10mins delete it(that part by cron of course)

    Any  ideas where i can get tutorials on that, or better yet a script for that sole purpose?

     

    ~DeathStar~

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.