Jump to content

ManiacDan

Staff Alumni
  • Posts

    2,604
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by ManiacDan

  1. ereg has been deprecated, that means you can't use it.  The "changes" were an actual PHP version upgrade.

     

    To fix it, you have to use an alternative, like preg_match.  In general, what you do is:

     

    ereg('foo', $str);

     

    Change to:

     

    preg_match('/foo/', $str);

     

    Just add the slashes around the string.  

     

    Now, if you're calling the other ereg functions like eregi you'll need to do use flags on the expression, etc.

     

    Find all the instances of ereg and see which ereg functions they are.  If it's just ereg(), you're done.  If there's more, you may need to learn more about this transition or pay someone to do this fix.

  2. You say nothing happens, so there's two options:

     

    1)  both $dbrow and $skuid are empty legitimately and you need to debug your included code.

     

    2)  You have errors turned off and most of this code isn't working.  When you echo those variables, nothing happens...except maybe warnings about how the variables don't exist.

     

    Put this at the top of your script:

    error_reporting(E_ALL);

  3. That would work if you wanted to disallow my 25-character password with letters, numbers, and special characters.  There's no capital letter in my password, but there are six special characters.  I'm not sure why people think it's so important to make me conform to their password rules.  Just make it 6+ characters and be done with it.  All you're doing is making me write down the password to your site.

  4. I agree with requinix, the form stuff is basically all I've been using.  

     

    HTML5 is nice, but it's going to be 10 years before we can rely on it.  Javascript works for most of what HTML5 was supposed to do, and (like requinix said) neither are a site's foundation.

  5. What's the best way to do what?  We don't write coded for you here unless you're very lucky and ExtremeGaming happens to be around.  If you honestly can't figure this out, either hope to keep receiving his good graces, or pay someone to implement it for you.

  6. There's plenty of dutch sites which load in less than 3 minutes.  Check your server runtimes and loads locally, I could have called someone actually in Denmark and had THEM load the site faster than it loaded for me.  Page load time is the #1 killer of social networks.  You need users to be able to browse around randomly.  They're already bored, that's why they're on your site.  If you bore them, they will absolutely leave.  

     

    Source: I was a senior dev at a social network with 20,000,000 active members.

  7. It's also REALLY slow, more than 3 minutes to load your landing page for me.  That's more than 60 times the length it takes for a user to give up and never come back.

     

    Your informational pages in the footer (which open in new windows for no reason) contain invalid HTML, like you copied and pasted it from MS Word.

     

    Since your registration doesn't work, that's really all I can say.

     

  8. Add a field to the table called "archived."  Set that field to 0.  Add a button called "archive this" that will flip the "archived" field on a post to 1.  Have your main page only show items where archived = 0.  Have an archive page if you wish, which only shows archived = 1.

     

    What else are you looking for here?

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