Ch 17: Message Board Issue
#1
Posted 6 February 2012 - 1:05 PM
1) No "Posted on" date/time
2) No "Latest reply" date/time
3) Nothing is returned when the "subject" topic is clicked (normally this would return the post content and a reply box).
I should specify that I have not completed the registration/login section yet - I've completed everything up to p.528 so far. Also, the Web server version I tested the message board on is PHP 5.2.6. Thanks much.
#2
Posted 6 February 2012 - 1:29 PM
#3
Posted 6 February 2012 - 1:57 PM
#4
Posted 6 February 2012 - 2:18 PM
#5
Posted 6 February 2012 - 2:22 PM
#6
Posted 6 February 2012 - 4:16 PM
The message board is still not functioning, and I'm not sure how to further clarify to him what I might need done on the server? Thanks again, Larry.
#7
Posted 6 February 2012 - 4:21 PM
#8
Posted 6 February 2012 - 4:59 PM
#9
Posted 7 February 2012 - 11:30 AM
BTW, does it matter that I'm using one database with unrelated (to the message board tables) tables in it? Not sure if its recommended practice to create a brand-new database for such things?
Thanks much.
#10
Posted 8 February 2012 - 8:00 AM
#11
Posted 8 February 2012 - 11:32 AM
#12
Posted 8 February 2012 - 11:53 AM
"Fatal error: Call to undefined function filter_var() on line 11"
And the related function...
9. // Check for a thread ID:
10. $tid = FALSE;
11. if (isset($_GET['tid']) && filter_var($_GET['tid'], FILTER_VALIDATE_INT, array('min_range' => 1)) ) {
#13
Posted 8 February 2012 - 11:57 AM
#14
Posted 8 February 2012 - 12:02 PM
PHP Version 5.2.6
FreeBSD 6.4-RELEASE-p8 FreeBSD 6.4-RELEASE-p8 #1 r101746: Mon Aug 30 10:34:40 MDT 2010 root@..usr/src/sys/i386/compile/VKERN i386
Build Date:May 7 2008 22:22:24
#15
Posted 8 February 2012 - 12:33 PM
#16
Posted 8 February 2012 - 1:00 PM
// Check for a thread ID:
$tid = FALSE;
if (isset($_GET['tid'])) {
Do you see any problems with this method used in this context, even though it works - I mean technically, Larry? Thanks again for your guidance and help - sincerely much appreciated.
#17
Posted 8 February 2012 - 2:39 PM
#18
Posted 8 February 2012 - 2:50 PM
#19
Posted 25 June 2012 - 4:58 AM
#20
Posted 25 June 2012 - 5:26 AM










