![]() |
i was looking for something like This =D
Thanks a lot =D i had this problem: Warning: copy(avatar1.gif): failed to open stream: Permission denied in /home/lifestre/public_html/foro/http_upload.php on line 311 avatar1.gif could not be uploaded! also will be cool than when the file was sucessfully uploaded, you can see the exactly url =D and, there is a way than the files can be saved in /upload directory instead the root? |
Quote:
as already mentioned before, i do not emulate a file manager. Please use other methods for this or just copy the files into the /upload folder. URL ? How can a file and dir based PHP file know your URL ? No way unless you implement it somewhere manually. This hack just knows your server paths and that's it. Sorry, no way for the URL. Regarding your problem: chmod 777 /upload should solve your problem. Cheers, |
0k, thanks for you answers
|
Quote:
Cheers, |
Due to a request here is a slightly modified version of this hack.
What has changed ? A thumbnail preview is now available after the successfull upload which is also linked to the new uploaded file. Please keep in mind that you should only allow GIF,JPG,JPEG and PNG files otherwise you will run into errors with the IMG tag. Screenshot attached. Enjoy it. Cheers, |
Quote:
Thanks, David |
Quote:
Cheers, |
@ Pseudomizer
many thx for your help echt nett von Dir :) *install* Limitter |
Quote:
Cheers, |
It seems impossible to change the directory destination of the files uploaded! :(
I put the two files of this hack on a subdirectory of the forum and with chdir I make the file read global.php. The Problem is that all the files uploaded, are in the root forum directory and not in the subdirectory where the 2 hack files are. Any suggestion? |
All times are GMT. The time now is 09:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|