Comments on: Simple Layouts with PHP http://blog.themeforest.net/tutorials/simple-layouts-with-php/ The ThemeForest Blog Mon, 27 Sep 2010 19:49:11 +0000 http://wordpress.org/?v=2.9.1 hourly 1 By: Benny Dacks http://blog.themeforest.net/tutorials/simple-layouts-with-php/comment-page-1/#comment-25308 Benny Dacks Fri, 25 Sep 2009 06:56:28 +0000 http://blog.themeforest.net/?p=2312#comment-25308 This is just a bad idea all together. Think about the XSS/Injection implications of this unsanitary query string. Yikes... This is just a bad idea all together. Think about the XSS/Injection implications of this unsanitary query string. Yikes…

]]>
By: lord xeon http://blog.themeforest.net/tutorials/simple-layouts-with-php/comment-page-1/#comment-24452 lord xeon Sat, 19 Sep 2009 00:51:11 +0000 http://blog.themeforest.net/?p=2312#comment-24452 its a good tutorial up until the second part. Even with the whitelist, it's still a horrible idea to include anything gotten with php's $_GET. It's just bad coding. Stick with the first one, it's simple, and it works, and it's not hard to include two files, it's literally 2 lines of code that you can copy and paste into each new page, you could probably make a template if you're really lazy. its a good tutorial up until the second part. Even with the whitelist, it’s still a horrible idea to include anything gotten with php’s $_GET. It’s just bad coding.
Stick with the first one, it’s simple, and it works, and it’s not hard to include two files, it’s literally 2 lines of code that you can copy and paste into each new page, you could probably make a template if you’re really lazy.

]]>
By: Greg http://blog.themeforest.net/tutorials/simple-layouts-with-php/comment-page-1/#comment-23210 Greg Wed, 09 Sep 2009 08:54:46 +0000 http://blog.themeforest.net/?p=2312#comment-23210 Nice tutorial! How would i go about using htaccess to shorten the filename to http://domain.com/about for example when loading about.php into index.php with the seconded technique used in this tutorial. Nice tutorial!
How would i go about using htaccess to shorten the filename to http://domain.com/about for example when loading about.php into index.php with the seconded technique used in this tutorial.

]]>
By: Rohan http://blog.themeforest.net/tutorials/simple-layouts-with-php/comment-page-1/#comment-21381 Rohan Sun, 23 Aug 2009 09:12:24 +0000 http://blog.themeforest.net/?p=2312#comment-21381 Great article. Thanks! Great article. Thanks!

]]>
By: Basit http://blog.themeforest.net/tutorials/simple-layouts-with-php/comment-page-1/#comment-20603 Basit Sat, 15 Aug 2009 17:31:51 +0000 http://blog.themeforest.net/?p=2312#comment-20603 part 2 with http://smarty.php.net for beginners.. part 2 with http://smarty.php.net for beginners..

]]>
By: Mike McKee http://blog.themeforest.net/tutorials/simple-layouts-with-php/comment-page-1/#comment-20601 Mike McKee Sat, 15 Aug 2009 16:54:52 +0000 http://blog.themeforest.net/?p=2312#comment-20601 One must be careful to follow that step with the in_array() call. If you fail to do that, your site could definitely be open to XSS attacks where for instance I might do... ?page=../../file.txt ...where as you can tell I can start poking around one's hard drive on the server checking out files. One must be careful to follow that step with the in_array() call. If you fail to do that, your site could definitely be open to XSS attacks where for instance I might do…

?page=../../file.txt

…where as you can tell I can start poking around one’s hard drive on the server checking out files.

]]>
By: PJ http://blog.themeforest.net/tutorials/simple-layouts-with-php/comment-page-1/#comment-20312 PJ Thu, 13 Aug 2009 23:28:31 +0000 http://blog.themeforest.net/?p=2312#comment-20312 this is bad advice for beginners .... using $_GET unfilterd with inlcude is a really bad thing to teach people who don't know any better. don't do it this is bad advice for beginners …. using $_GET unfilterd with inlcude is a really bad thing to teach people who don’t know any better.

don’t do it

]]>
By: Noah Hendrix http://blog.themeforest.net/tutorials/simple-layouts-with-php/comment-page-1/#comment-20250 Noah Hendrix Thu, 13 Aug 2009 12:54:10 +0000 http://blog.themeforest.net/?p=2312#comment-20250 I encourage everyone to check out this tutorial on learning to mask URLs with HTACCESS: http://net.tutsplus.com/tutorials/other/using-htaccess-files-for-pretty-urls/ I encourage everyone to check out this tutorial on learning to mask URLs with HTACCESS:

http://net.tutsplus.com/tutorials/other/using-htaccess-files-for-pretty-urls/

]]>
By: Dipen (how to make money) http://blog.themeforest.net/tutorials/simple-layouts-with-php/comment-page-1/#comment-20249 Dipen (how to make money) Thu, 13 Aug 2009 12:52:42 +0000 http://blog.themeforest.net/?p=2312#comment-20249 Hi, Nice information on this topics. I really enjoyed it. But what do you think if some one can get an opportunity doing business at home and earn more money then a person who do the jobs. Check out http://companiesproducts.com/sembusinessblueprint.php and tell me what do you think? Thanks, for sharing this information. Hi, Nice information on this topics. I really enjoyed it. But what do you think if some one can get an opportunity doing business at home and earn more money then a person who do the jobs. Check out http://companiesproducts.com/sembusinessblueprint.php and tell me what do you think? Thanks, for sharing this information.

]]>
By: Tutoriales de la web para tu web » Blog Archive » Diseños simples con PHP http://blog.themeforest.net/tutorials/simple-layouts-with-php/comment-page-1/#comment-20190 Tutoriales de la web para tu web » Blog Archive » Diseños simples con PHP Wed, 12 Aug 2009 19:23:22 +0000 http://blog.themeforest.net/?p=2312#comment-20190 [...] ENLACE [...] [...] ENLACE [...]

]]>