Not signed in (Sign In)

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

Please sign in or apply for membership to remove the ads
    • CommentAuthorDemetrius
    • CommentTimeMay 17th 2006
     
    Hello,
    I'm in the middle of creating a website that many people can add photos too.
    At the moment I'm trying to modify the plogger-import script so that it will automatically bypass the process and just automatically upload all the photos from the directory when the page is loaded.

    I'm having limited success with this, so I was wondering. Is this actually possible or am I chasing an impossible goal?

    If so, if anyone can help then it would be greatly appreciated. My coding skills aren't none existant but they're severely limited by my lack of understanding of how to manipulate arrays as well as not having the most logical mind ever to exist.

    Thanks in advance.
    • CommentAuthorddejong
    • CommentTimeMay 19th 2006
     
    It is possible, but it's a security nightmare. Good luck with it, but do your homework in regards to how you handle unclean data and files, particularly regarding cross-site scripting (CSS or XSS) and file or SQL injections. It's a persistent problem that we've had with Plogger, mainly in regards to comments and register_globals.

    For programming references, start here:
    http://www.techtoolblog.com/archives/195-free-online-programming-books
    http://www.freeprogrammingresources.com/freephp.html

    And never forget the PHP Manual (http://www.php.net), which is phenomenally written.

    Also, my suggestion is to write yourself a simple php program called eval.php, which has a textarea on the bottom and runs eval() on the data from the textarea the top.

    Use $_GET, so you can pass around the URL or save the code in a bookmark. Then you can write code, submit, see it run, make changes, and run it again. It's great for learning or testing simple proofs-of-concept. Just don't leave it on a public server.

    Cheers,
    Derek