uploader not working
Collapse
X
-
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:
-
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:
-
i get this when i try to download file... no matter what i do
and MMS inbox also file get uploaded, but file dont get displayedCode: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.
so.. im closer but im not done yet lol[/quote]
eventhough file DOES get uploaded !
Leave a comment:
-
re
i believe your problem may lie in the htaccess page located in share and mmsloads folders
Leave a comment:
-
i tried both ways now to change in config but still not working.showing same error broOriginally posted by metulj View Postok i got sorted this above
in config.php it's important how you write upload folder name...
i got like this now
before was like thisCode:$mmsdir = "./mmsloads/"; $ucdir = "./share";
those / (slashes are important)Code:$mmsdir = "./mmsloads"; $ucdir = "./share/";
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:
-
is it the mms share thingy for the lava script ? I got the same problem but i manage to solve it thoOriginally posted by metulj View Postok i got sorted this above
in config.php it's important how you write upload folder name...
i got like this now
before was like thisCode:$mmsdir = "./mmsloads/"; $ucdir = "./share";
those / (slashes are important)Code:$mmsdir = "./mmsloads"; $ucdir = "./share/";
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:
-
ok i got sorted this aboveOriginally posted by godzilla View Postyes 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
in config.php it's important how you write upload folder name...
i got like this now
before was like thisCode:$mmsdir = "./mmsloads/"; $ucdir = "./share";
those / (slashes are important)Code:$mmsdir = "./mmsloads"; $ucdir = "./share/";
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:
-
where do you host??Originally posted by godzilla View Postyes 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
funny i get exact same result lol
Leave a comment:
-
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
Leave a comment:
-
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:
-
place the upload.php in one of those foldersOriginally posted by godzilla View Posthow can i place them in one folder.
can u plz give me example bro sub
Leave a comment:
Leave a comment: