Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Blog
#3
(12-23-2009, 04:18 PM)Master of The Universe Wrote: Not bad, but I see you always use JavaScript to redirect the user.
That's not needed, PHP has it's own function, header();

PHP Code:
header("Location: http://localhost/blog.php"); 

Thanks, I'll keep that in mind, I just knew the javascript one because of XSS > : D
Reply


Messages In This Thread
Simple Blog - by nevets04 - 12-23-2009, 03:42 PM
RE: Simple Blog - by Gaijin - 12-23-2009, 04:18 PM
RE: Simple Blog - by nevets04 - 12-23-2009, 04:38 PM
RE: Simple Blog - by Jamza - 12-23-2009, 04:45 PM
RE: Simple Blog - by Gaijin - 12-23-2009, 04:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)