Jump to content

ober

Staff Alumni
  • Posts

    5,327
  • Joined

  • Last visited

Posts posted by ober

  1. I think you are confusing the issue.  What you really need to find out is which is processed first, the creation of the center area or the creation of the other modules?  If the center portion is created first, obviously that information will be available to generate your other area.

     

    I would also have to assume that if the center is generated based on the fact that other data is dictating the output of the center, wouldn't that data also be available to you to determine what to generate in your other module?

     

     

  2. 1) Don't use short tags, maybe your server doesn't recognize them.  Short tags are <? anything ?>.  Use <?php whatever ?>

     

    2) If this is truly an HTML file, file.html or file.htm will not process PHP unless the server is setup to do so (not likely).  Make sure the file is called "file.php".

  3. Yeah and also fat is good against radiation right? So when the nukes hit, your 300 pound body will be able to live against that ammount of radiation than the guy who is healthy! Also, when the nukes hit, its like having a portable food storage! Two for one deal!

     

    And people thought overweight people didn't have a reason for it!

    nah man, don't be seduced by that line of reasoning.  After nuclear fallout, there'll be zombies everywhere.  You can't be running from them when you're all fat and shit.  They'll just catch you and eat you and take forever to do it and you'll just have to sit there all that much longer. 

    BWHAHAHAHA... I should read the misc board more often.  QUOTED!

  4. I'm surprised that one even works.  You should have single quotes around 'yes'.

     

    Don't use empty, it is generally bad practice.  Did you know that the string "0" is considered empty?

     

    Use:

    if($weight != '')
    {
       // whatever
    }
    

     

    And for God's sakes, clean your data!

  5. Store a "logged in" variable in your session or cookie (wherever you store you login info).  If the user is not logged in, redirect (header) the user to the login page and store the link they were going to in a field on the login form.  When they login, redirect them again to the page they were going to.

  6. You are probably opening the new site "within" the old site.  Make sure that you either break out of the frame or open the new site in a completely new page.

     

    Also keep in mind that frames are completely client-side and should not affect session handling.  The only problem would be is if you include or open a page within a page where sessions are already started.

×
×
  • 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.