hi, im sorry about all these treads but this will be the last one about my Image upload site 😉 any way im making this upload site and i just wanted to know if any one knows how to add a text output box

i have this code:

<input type="text" class="input-link" id="email-url" value="http://tinypic.com/r/o0eg8/5" size="39" onclick="highlight(getElementById('email-url')); APITrack('copy_details_view');" />

its in HTML form

i need to add it to my PHP code the output i have ATM is this

if(isset($_POST['Submit']) && !$errors)
{
echo "<h1>File Uploaded Successfully! your picture is located at:</h1>";
echo "<a href=\"images/$newname\">http://www.rspsstatus.110mb.com/jyjf/$newname</a>";
}

i just want it to have a text output box on the link to the picture

Thanks to ANY one who helps me =P

    Firstly your Input field does not have a name.

    <input type="text" class="input-link" NAME="EMAIL-URL" id="email-url" value="http://tinypic.com/r/o0eg8/5" size="39" onclick="highlight(getElementById('email-url')); APITrack('copy_details_view');" />

    i'm assuming you using the Method POST in your form.

    you can then use the $_POST command to retrieve the posted field.

    $emailurl=$_POST['EMAIL-URL'];
    

    and you echo/print it in your output

      Write a Reply...