For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > December 2004 > cvs: php-news-web / article.php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: php-news-web / article.php
Wez Furlong

2004-12-27, 3:56 pm

wez Mon Dec 27 10:42:11 2004 EDT

Modified files:
/php-news-web article.php
Log:
Ensure this is an int


http://cvs.php.net/diff.php/php-new...27&r2=1.28&ty=u
Index: php-news-web/article.php
diff -u php-news-web/article.php:1.27 php-news-web/article.php:1.28
--- php-news-web/article.php:1.27 Wed Dec 22 17:39:19 2004
+++ php-news-web/article.php Mon Dec 27 10:42:10 2004
@@ -1,6 +1,7 @@
<?php
// vim:sw=2:ts=2:et

+$article = (int)$article;
if (!$article) die("no article specified");

require 'common.inc';
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com