|
Attention: Last reply in this thread was more than 17 Years ago |
|
Thread Tools |
#1
|
|||
|
|||
Photoplog and my applet: possible?
Hello!
I have developed a simple applet that let you edit images in a browser - think about a small, lite version of paintshop. The applet outputs a file in jpg or png format. Basically, this is what I want to do: 1) User creates the image using the applet 2) The applet outputs the image 3) Image is uploaded For the rest, the image can be handled as it is currently done by photoplog (forums are shown like a gallery where each image has its own thread). I wanted to know if you think an hack to photoplog would be doable - I am an expert php coder, but I have no time to develop a gallery from scratch, so photoplog could save me dozens of hours of work. Thanks! |
#2
|
||||
|
||||
Sorry, but I cannot answer this question with any amount of certainty, but one idea would be to pass the link to the image as a hidden field and then use that to prefill the 'Upload File From URL Link' box, assuming your PHP setup permits allow_url_fopen or cURL support for requests to the same server as the script.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#3
|
|||
|
|||
Sorry for bothering, one more question.
Speaking of security, are we forced to have the upload directory in a web accessible location? |
#4
|
||||
|
||||
Yes, the PhotoPlog images directory needs to be set to 777 permissions in a web accessible location. However, remember that having a 777 directory in and of itself is not the security issue. The security issue arises for two main reasons: 1) you are on shared hosting and your host doesn't block other people on that server from accessing your account and 2) the script has a vulnerability. To date, as far as I am aware, PhotoPlog has not had a vulnerability.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
Thread Tools | |
|
|