uploader not working

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

  • subzero
    replied
    auto indexin file are not a really go being true

    Leave a comment:


  • opticalpigion
    replied
    i found only one problem here
    this script is not getting exact uploaded files folder to list it.

    and solution for is
    add
    move_uploaded_file("$superdat", "./$type/$superdat_name") in upload.php
    and into share.php action="viewdetails" use this code
    replace download link with
    echo "<a href=\"./$details[8]/$file\">Download this file</a><br/><br/><br/>";

    i didnt check this page in details i just make it work.. u should look deep in code and make it more better.

    Leave a comment:


  • subzero
    replied
    Funny i do get the uploads

    PHP Code:
    No database selected003.jpg has successfully been uploaded to the Uploads Center! 
    »Uploading porn material will lead to your permanent banning from the site!
    »Upload file size limit is 2MB
    Enter file description
    (Maximum 255 chars):

    Select File To Be Uploaded :



    You can upload files with folowing extentions:
    Audio: mid, midi, mp3, wav, mmf, amr
    Image
    : gif, bmp, jpeg, jpg, png, wbmp
    Video
    : 3gp, mpg, avi, mp4 
    Applications
    : jar, jad, sis, sisx, exe, nth, thm
    Archives
    : zip, 7z, rar
    Documents
    : rtf, doc, txt, pdf 

    Leave a comment:


  • metulj
    replied
    i get this when i try to download file... no matter what i do

    Code:
    Forbidden You don't have permission to access /mobitest/share/(sex11).gif on this server.
     Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    and MMS inbox also file get uploaded, but file dont get displayed
    so.. im closer but im not done yet lol[/quote]

    eventhough file DOES get uploaded !

    Leave a comment:


  • godzilla
    replied
    Originally posted by ozziemale31 View Post
    i believe your problem may lie in the htaccess page located in share and mmsloads folders
    i tired to delete .htaccess file from share folder but it still not working.

    i got same error

    Leave a comment:


  • ozziemale31
    replied
    re

    i believe your problem may lie in the htaccess page located in share and mmsloads folders

    Leave a comment:


  • godzilla
    replied
    Originally posted by metulj View Post
    ok i got sorted this above
    in config.php it's important how you write upload folder name...
    i got like this now
    Code:
    $mmsdir = "./mmsloads/";
    $ucdir = "./share";
    before was like this
    Code:
    $mmsdir = "./mmsloads";
    $ucdir = "./share/";
    those / (slashes are important)

    now files get uploaded...
    but when i try to download file, i get this
    Code:
    Forbidden You don't have permission to access /mobitest/share/(sex11).gif on this server.
     Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    and MMS inbox also file get uploaded, but file dont get displayed
    so.. im closer but im not done yet lol
    i tried both ways now to change in config but still not working.showing same error bro

    Leave a comment:


  • quiksilverX
    replied
    Originally posted by metulj View Post
    ok i got sorted this above
    in config.php it's important how you write upload folder name...
    i got like this now
    Code:
    $mmsdir = "./mmsloads/";
    $ucdir = "./share";
    before was like this
    Code:
    $mmsdir = "./mmsloads";
    $ucdir = "./share/";
    those / (slashes are important)

    now files get uploaded...
    but when i try to download file, i get this
    Code:
    Forbidden You don't have permission to access /mobitest/share/(sex11).gif on this server.
     Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    and MMS inbox also file get uploaded, but file dont get displayed
    so.. im closer but im not done yet lol
    is it the mms share thingy for the lava script ? I got the same problem but i manage to solve it tho

    Leave a comment:


  • metulj
    replied
    Originally posted by godzilla View Post
    yes i put .htaccess also but its not working yet php_flag register_globals on

    i got error now

    Warning: move_uploaded_file(./share/amisha_patel29e.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/godzilla/public_html/mysite/upload.php on line 270

    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpatsMj3' to './share/photo.jpg' in /home/godzilla/public_html/mysite/upload.php on line 270
    Couldn't copy file.

    do i have to insert this codings in .htaccess file

    PHP Code:
    AddType audio/AMR .amr
    AddType video
    /3gpp .3gp
    AddType video
    /3gpp .mp4
    AddType application
    /octet-stream .sisx
    AddType application
    /vnd.symbian.install .sis
    AddType application
    /java-archive .jar
    AddType text
    /vnd.sun.j2me.app-descriptor .jad
    ErrorDocument 403 
    /403.htm
    ErrorDocument 404 
    /404.htm
    ErrorDocument 500 
    /500.htm 
    ok i got sorted this above
    in config.php it's important how you write upload folder name...
    i got like this now
    Code:
    $mmsdir = "./mmsloads/";
    $ucdir = "./share";
    before was like this
    Code:
    $mmsdir = "./mmsloads";
    $ucdir = "./share/";
    those / (slashes are important)

    now files get uploaded...
    but when i try to download file, i get this
    Code:
    Forbidden You don't have permission to access /mobitest/share/(sex11).gif on this server.
     Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    and MMS inbox also file get uploaded, but file dont get displayed
    so.. im closer but im not done yet lol

    Leave a comment:


  • godzilla
    replied
    Originally posted by metulj View Post
    where do you host??

    funny i get exact same result lol
    i am paying for my host brother its good host and still this uploader not working.

    i liked this uploader so much but i m sad that i cant use it.

    Leave a comment:


  • metulj
    replied
    Originally posted by godzilla View Post
    yes i put .htaccess also but its not working yet php_flag register_globals on

    i got error now

    Warning: move_uploaded_file(./share/amisha_patel29e.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/godzilla/public_html/mysite/upload.php on line 270

    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpatsMj3' to './share/photo.jpg' in /home/godzilla/public_html/mysite/upload.php on line 270
    Couldn't copy file.

    do i have to insert this codings in .htaccess file

    PHP Code:
    AddType audio/AMR .amr
    AddType video
    /3gpp .3gp
    AddType video
    /3gpp .mp4
    AddType application
    /octet-stream .sisx
    AddType application
    /vnd.symbian.install .sis
    AddType application
    /java-archive .jar
    AddType text
    /vnd.sun.j2me.app-descriptor .jad
    ErrorDocument 403 
    /403.htm
    ErrorDocument 404 
    /404.htm
    ErrorDocument 500 
    /500.htm 
    where do you host??

    funny i get exact same result lol

    Leave a comment:


  • godzilla
    replied
    yes i put .htaccess also but its not working yet php_flag register_globals on

    i got error now

    Warning: move_uploaded_file(./share/amisha_patel29e.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/godzilla/public_html/mysite/upload.php on line 270

    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpatsMj3' to './share/photo.jpg' in /home/godzilla/public_html/mysite/upload.php on line 270
    Couldn't copy file.

    do i have to insert this codings in .htaccess file

    PHP Code:
    AddType audio/AMR .amr
    AddType video
    /3gpp .3gp
    AddType video
    /3gpp .mp4
    AddType application
    /octet-stream .sisx
    AddType application
    /vnd.symbian.install .sis
    AddType application
    /java-archive .jar
    AddType text
    /vnd.sun.j2me.app-descriptor .jad
    ErrorDocument 403 
    /403.htm
    ErrorDocument 404 
    /404.htm
    ErrorDocument 500 
    /500.htm 
    Last edited by godzilla; 27.04.09, 14:31. Reason: -

    Leave a comment:


  • ozziemale31
    replied
    do you have php globals switched to on

    Leave a comment:


  • godzilla
    replied
    i tried putting upload.php in image folder but it still not working.

    let me say how i uploade my files.

    i uploaded share.php and upload.php in that root in which my index.php is uploaded

    i also maked folders apps,document,video,archive,image.audio in same root where i uploaded my index.php and also i chmod 777 to those 6 folders and also i put $ucdir = "./share"; in config.php and its not working at all.

    it showing the same error i described above

    Leave a comment:


  • quiksilverX
    replied
    Originally posted by godzilla View Post
    how can i place them in one folder.

    can u plz give me example bro sub
    place the upload.php in one of those folders

    Leave a comment:

Working...
X