Jump to content

xeronix

Members
  • Posts

    15
  • Joined

  • Last visited

    Never

Posts posted by xeronix

  1. If you're safe with both of them, they are NOT insecure.

     

    However, I do know that Joomla was exploited with the Mod Rewrite bug but swiftly patched.

     

    I suppose you could write a document explaining how Joomla was exploited and how it was patched (should have been documented somewhere)

     

    I use both of them to keep my URLs nice and clean.

  2. Hello there!

     

    My name is Chris. I'm 15 years old, and know how to code PHP.

     

    Normally when I tell a fellow coder that I'm 15, they normally look at me with wide eyes wondering how such a "young" person could code so well.

     

    I run a few high traffic websites, and am very fluent in the language (in my opinion).

     

    I hope I can be a help to the community and receive help when I'm in need!

     

    Thanks!

  3. Either would be good,

     

    I personally would make my own table and store the CID (Comment ID) L and D (Like and Dislike) as a boolean variable, then PID (Person ID) to keep track of if people are flaming your comments. The only problem with this, is that the server has to add up all the likes and dislikes, however, as long as your site doesn't have a huge overhead, you should be fine.

  4. Hey guys, I've got some problems that I just can't figure out on my own about how to structure my website.

     

    #1:

     

    I do know that I'm planning on keeping all of the script's files on one server, then simply mounting that server on my Apache servers, hence letting me load balance between servers of the same script.

     

    However, I'm having a little trouble as to if I should with subdomains or just working with the domain/login.php type structure.

     

    I personally think that working with subdomains is cleaner, but that sort of messes up my concept of working with one library of code.

     

    I'm trying to have 1 configuration file serve my information, but if I were to use subdomains, I would need multiple config files (at least I haven't thought of a way around it).

     

    I did think about having the system mount the root of my script, for example, /site then simply storing different sectors such as /site/login in each respective folder, then simply calling /site/config into the script via fopen or some other script to keep my config file universal.

     

    #2:

     

    I'm thinking about using load balancing with Apache and MySQL servers, however, how will I be able to keep my user's login sessions valid?

     

    It seems that if the Load Balancer were to switch servers while the user's session were still valid it would invalidate the cookie.

     

    That's when I thought of using cloud computing to run the entire site, however there are faults to that as I don't have a big initial investment to be putting into servers and colocation.

     

     

    If you have any ideas which you think would help me please post.

     

    Thanks!

  5. Hello All!

     

    Well, I'll get down to the base of my question.

     

    Right now, I'm designing a website to use a languages file and a config file.

     

    I'm approaching it in the following method, which is the languages file has

    <?PHP
    define("APPLICATIONTOP","Website Name");
    define("ETC","Whatever the content is");
    ?>
    

     

    and am trying to echo it.

     

    My method of inclusion is requiring the file in the top of my document, like

     

    <?PHP include('ex.'); ?>

     

    and I'm trying to simply echo it. However, it doesn't work.

     

    My echo method is

     

    <?PHP echo APPLICATIONTOP ?>

     

    which would be between my <title></title> tags for the HTML.

     

    Any ideas as to why it's not working?

     

    Thanks!

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.