uploading and downloading problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    uploading and downloading problem

    hi pls i need help, am using mobdunia script, at times if i try to upload files, its tells me error, but in some site i upload through import just fine,
    2. I have observe that when i upload files that have %20 or 02% that file will not download, i tought problem is from host, then i change host, yet am still facing same problem, pls any body can help me.

    #2
    %20 is a space ..... which can break the url if its scripted wrong

    Comment


      #3
      thanks bro, but what kind i do now,since most site have links that contain %20 , i mean itsnt any way i can upload without it refusing to download? Tanks 4 reply

      Comment


        #4
        $uploadname = str_replace(" ", "_", $uploadname);

        or if your files are already uploaded then use:

        $filename = str_replace(" ", "%20", $filename);
        to correct the url

        Comment

        Working...
        X