4images Forum & Community
The forum for all 4images gallery administrators
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
[2023-01-23] 4images 1.10 released
Home
Help
Search
Login
Register
4images Forum & Community
»
4images Modifications / Modifikationen
»
Mods & Plugins (Requests & Discussions)
(Moderator:
mawenzi
) »
Want to upload .js,.php instead of image
« previous
next »
Print
Pages: [
1
]
Author
Topic: Want to upload .js,.php instead of image (Read 4341 times)
0 Members and 1 Guest are viewing this topic.
dilkebol
Newbie
Posts: 34
Want to upload .js,.php instead of image
«
on:
July 18, 2008, 08:59:01 PM »
I have installed 4images gallery on my 10 + websites. What I like to do it,I like to upload *.js or *.php or *.htm file along with *.jpg,*.gif
So that I can use other embedded documents from other websites.
Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Global Moderator
4images Guru
Posts: 17.849
mmm PHP...
Re: Want to upload .js,.php instead of image
«
Reply #1 on:
July 19, 2008, 01:35:06 AM »
How do you envision this to be displayed? will it display the source of such files like plain text?
If you are planning on do other then showing the source and if visitors can upload on your site, I would highly NOT recommend doing it for security reasons.
Logged
Your first three "must do" before you ask a question:
Forum rules
FAQ
Error messages
Bug Fixes & Patches
Search
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer.
(
forum rule #6
)
Extension for Firefox/Thunderbird:
Master Password+
Back/Forward History Tweaks (restartless)
Cookies Manager+
Fit Images (restartless for Thunderbird)
dilkebol
Newbie
Posts: 34
Re: Want to upload .js,.php instead of image
«
Reply #2 on:
July 19, 2008, 06:34:53 AM »
see below is the file
i.e. javascript
that I like to upload in such a manner that, it will execute & display images or whatever the code is
will not be displayed to visitors. i.e. output i want. not plain text
<script language='javascript' src='
http://www.santabanta.com/wallpapers/slideshow.asp?catname=aishwarya
rai'></script>
& my visitors are not able to upload .
If javascript is not working are are the another ways to so so..
thanks in advance.
Logged
dilkebol
Newbie
Posts: 34
Re: Want to upload .js,.php instead of image
«
Reply #3 on:
July 19, 2008, 10:40:14 AM »
Done it ............ !!!
w/o your help it was not possible
...
http://www.gr8click.com/photogallery/details.php?image_id=2017
Thanks again
Logged
Print
Pages: [
1
]
« previous
next »
4images Forum & Community
»
4images Modifications / Modifikationen
»
Mods & Plugins (Requests & Discussions)
(Moderator:
mawenzi
) »
Want to upload .js,.php instead of image