Results 11 to 14 of 14
-
7th Aug 2010, 01:47 AM #11Respected DeveloperWebsite's:
wrzc.orgShit sorry it's late here and I'm not thinking straight. Use time() instead. You can also use date. Have a look at http://www.php.net/manual/en/function.date.php 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
-
7th Aug 2010, 01:49 AM #12OPMember
So would it be $time = time(m-d-Y); ?
Yea that is right. Thanks for all the help!
-
7th Aug 2010, 10:42 AM #13Member
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'])
-
7th Aug 2010, 02:06 PM #14MemberWebsite's:
ExpresShare.comthis 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.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Creating a Guestbook in RVSiteBuilder
By Areon in forum Server ManagementReplies: 0Last Post: 3rd Mar 2014, 03:12 PM
themaRegister - register to forums...
Version 3.39 released. Open older version (or...