Activity Stream
48,140 MEMBERS
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On Google+
Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
    Respected Developer
    Quote Originally Posted by Speakup View Post
    Call to undefined function now()
    that is to the

    $time = now();
    Shit sorry it's late here and I'm not thinking straight. Use time() instead. You can also use date. Have a look at to see what type of day you want and how you want it displayed.

    eg 1st July 2010, 1-7-2010, 7-1-10, etc etc.

    I've moved this to the coding area as it's more of a coding topic than a Tutorial.
    Tutorial How to SEO your Warez Site a guide to help you increase your organic traffic

    Huge list of Warez Sites and free Multiposter Templates

  2.   Sponsored Links

    So would it be $time = time(m-d-Y); ?

    Yea that is right. Thanks for all the help!

    If you use what i posted you dont need to do that, when the data is inserted it automatically inserts a timestamp aswell.

    just echo date("d/m/y", $row['timestamp'])

    this still vuln to many other attacks other than SQL injection(XSS,CSRF,....).
    User input should be validated correctly for any HTML/PHP tags for that u can use strip_tags or htmlspecialchars.
    And don't you ever trust the user.Always filter their input.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Creating a Guestbook in RVSiteBuilder
    By Areon in forum Server Management
    Replies: 0
    Last Post: 3rd Mar 2014, 03:12 PM

Tags for this Thread