SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Feb 2006
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help me with Uploading files using URL

    Hello Everyone,
    help me with uploading files using URL. Iam able to upload files onto the server in the same fold. The file directory is defined as follows;

    $uploadLocation = "files/";

    But when I want to upload using the same script but change url to
    $uploadLocation = "http://www.mysite.com/files";Iam receiving an error.

    failed to open stream: HTTP wrapper does not support writeable connections.
    How can I solve this problem??
    Your help will be appreciated.

  2. #2
    SitePoint Addict ruba's Avatar
    Join Date
    Apr 2005
    Location
    Amman -Jordan
    Posts
    333
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can't user http:// to upload,
    you must write the server path

    /user/local/files ..
    Open Blocked website
    Open Blocked Website
    Knowledge Is Knowing That A Tomato Is A Fruit,
    Wisdom Is Not Putting It In A Fruit Salad.


Bookmarks

Posting Permissions

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