title: Full website pages in just one page!
body: <p>hi
  I am working on a great website (social network with php) and I've decided to create only one php page, (index.php), but this php page will contain php if conditions and statments of the $_GET value,and will display the page requered (but in the same page index.php).</p>
  
  <p>This means that the code(javascript+xhtml+php) will be very huge (nearly all the project in one page). </p>
  
  <p>I will also use the Htaccess to rewrite the urls of those pages to avoid any malicious requests (so it will appear just like a normal website).</p>
  
  <p>But, before doing so, I just want to know about the advantages and downsides of this technique, seeing it from all other sides (security, server resources, etc...)</p>
  
  <p>thank you</p>