Originally posted by godzilla
View Post
uploader not working
Collapse
X
-
click here to join blingywap.co.za
http://blingywap.co.za
IF YOU NEED HELP JUST ASK AND ALWAYS SAY THANK YOU!
-
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
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
Comment
-
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 lolIt's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ â“â“¡â“” â“ⓑⓛⓔ ⓣⓞ â“—â“”â“â“¡ !
ιη тнєσÑу, тнє ÏÑα¢тι¢є ιѕ α Ñєѕυℓт σƒ тнє тнєσÑу, вυт ιη ÏÑα¢тι¢є ιѕ тнє σÏÏσѕιтє.
Comment
-
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
in config.php it's important how you write upload folder name...
i got like this now
Code:$mmsdir = "./mmsloads/"; $ucdir = "./share";
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 lolIt's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ â“â“¡â“” â“ⓑⓛⓔ ⓣⓞ â“—â“”â“â“¡ !
ιη тнєσÑу, тнє ÏÑα¢тι¢є ιѕ α Ñєѕυℓт σƒ тнє тнєσÑу, вυт ιη ÏÑα¢тι¢є ιѕ тнє σÏÏσѕιтє.
Comment
-
Originally 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
Code:$mmsdir = "./mmsloads/"; $ucdir = "./share";
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
click here to join blingywap.co.za
http://blingywap.co.za
IF YOU NEED HELP JUST ASK AND ALWAYS SAY THANK YOU!
Comment
-
Originally 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
Code:$mmsdir = "./mmsloads/"; $ucdir = "./share";
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
Comment
-
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.
so.. im closer but im not done yet lol[/quote]
eventhough file DOES get uploaded !It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ â“â“¡â“” â“ⓑⓛⓔ ⓣⓞ â“—â“”â“â“¡ !
ιη тнєσÑу, тнє ÏÑα¢тι¢є ιѕ α Ñєѕυℓт σƒ тнє тнєσÑу, вυт ιη ÏÑα¢тι¢є ιѕ тнє σÏÏσѕιтє.
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
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
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.
Comment
-
auto indexin file are not a really go being trueVisit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
Comment