Archive for January, 2012
Is programming in core PHP better than using a framework?
What are the advantages of programming a big website using core php? is it more reliable and stable than frameworks such as codeignitor or Cakephp? Or are the frameworks better to use than corephp for valueable or big and complex websites? Or does it simply not matter at all?
Thanks in advance
this question revolves around the whole convention over configuration mindset. If you want to accomplish more for your site in less time you could use a framework. However, if you want the satisfaction of creating something on your own you would want to build from the ground up. In my experience I have always programmed everything on my own simply because I enjoy the satisfaction that comes along with using my own scripts.
How to get a random string in php programming?
You can use session id to geenrate random string
<?php
session_start();
echo session_id();
?>