Results 1 to 2 of 2
  1. #1

    upload a file using Script !

    Hi there !

    I want to try to upload a image using a script !

    I mean some thing like this

    upload =>> url("")

    and the script upload image !

    can i Run php in script tag ?


    some code


    some php code


    some script


    i need this just in this face , i know that i can use php in other places !

    please help me !

  2. #2
    The HTML <script> tags are meant for client-side javascript and not PHP. Typically for a file upload you will have a html form that sends the request to a PHP script in a POST request.

    This should explain what you need in order to accomplish a simple html/php based upload script:

Similar Threads

  1. Problems with PHP file upload script (1 file)
    By Barti1987 in forum Programming Discussion
    Replies: 1
    Last Post: 04-18-2007, 02:04 PM
  2. Need File Upload Script
    By JohnGladen in forum Other Web Hosting Related Offers
    Replies: 3
    Last Post: 10-28-2006, 11:19 PM
  3. File Upload Script Please
    By go4ram01 in forum Programming Discussion
    Replies: 2
    Last Post: 02-17-2005, 06:39 PM
  4. PhP upload script doesn't upload the file.
    By Nullified in forum Programming Discussion
    Replies: 7
    Last Post: 06-24-2004, 09:46 PM
  5. file upload script
    By cs_gamer in forum Web Hosting
    Replies: 5
    Last Post: 01-07-2004, 10:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts