PHP Base64 Encode

Discussion in 'PHP' started by GeelongTECH, Dec 11, 2010.

  1. #1
    Hello,
    I have 2 files:
    1. index.php
    2. upload.php

    On index.php i have:
    <form action="/upload.php" method="POST">
    File: <input type="file" name="uploaded" /><br/>
    <input type="submit" />
    </form>
    HTML:
    but i need a code for upload.php that will encode the uploaded file to a base 64 string.

    Thanks,
     
    GeelongTECH, Dec 11, 2010 IP
  2. Cozmic

    Cozmic Member

    Messages:
    146
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    48
    #2
    Cozmic, Dec 11, 2010 IP
  3. xpertdev

    xpertdev Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    do you want to encrypt the file name only?
     
    xpertdev, Dec 11, 2010 IP