Jump to content

cassey071

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Everything posted by cassey071

  1. yes off course you need a basic knowledge in HTML and CSS before u can create a dynamic page PHP
  2. use htaccess to remove the extension name of php <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /test_directory/cyrus/CallingCards #Removes access to the system folder by users. #Additionally this will allow you to create a System.php controller, #previously this would not have been possible. #'system' can be replaced if you have renamed your system folder. RewriteCond %{REQUEST_URI} ^system.* RewriteRule ^(.*)$ /index.php?/$1 [L] #Checks to see if the user is attempting to access a valid file, #such as an image or css document, if this isn't true it sends the #request to index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L] </IfModule> <IfModule !mod_rewrite.c> # If we don't have mod_rewrite installed, all 404's # can be sent to index.php, and everything works as normal. # Submitted by: ElliotHaughin ErrorDocument 404 /index.php </IfModule>
  3. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /test_directory/cyrus/CallingCards #Removes access to the system folder by users. #Additionally this will allow you to create a System.php controller, #previously this would not have been possible. #'system' can be replaced if you have renamed your system folder. RewriteCond %{REQUEST_URI} ^system.* RewriteRule ^(.*)$ /index.php?/$1 [L] #Checks to see if the user is attempting to access a valid file, #such as an image or css document, if this isn't true it sends the #request to index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L] </IfModule> <IfModule !mod_rewrite.c> # If we don't have mod_rewrite installed, all 404's # can be sent to index.php, and everything works as normal. # Submitted by: ElliotHaughin ErrorDocument 404 /index.php </IfModule>
  4. $res_ar = $this->Contents->getProduct($this->uri->segment(4),$this->uri->segment(3));
  5. MVC is good. its OOP for me its more organize than the procedural but it depend on how your code more organize.,
  6. yes.., its more simple than traditional coding in php because some of libraries that you need is in thier
  7. use a reset tools here's the link of cssreset http://meyerweb.com/eric/tools/css/reset/
  8. i thnk the error is not in the controller try to check your model., just simply trap ur "ID" use isset for that code
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.