Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Without calling the parent's constructor the properties are never assigned any values.
  2. You need to call the parent's construct in your child. eg; public function __construct() { parent::__construct(); // rest of your code }
  3. It really depends on who owns the file and what group they are in. 644 will make a file read/write buy the owner, and readable to everyone else. 755 will make a directory the same.
  4. Obviously your not reading it properly. The syntax is [ic]foreach ($array as $value) {}[/ci] You need to use list.
  5. In general, files will only need to be readable by the web server. You might also need to grant write permissions to certain file and directories though depending on your needs.
  6. In this example, what exactly is $model?
  7. Frameworks do of course take time to learn, how much is dependant on the individual though. Having said that, you don't need to understand the entire framework to be able to make use of it though. You should be able to get up and running with a framework within the first few hours.
  8. You should try searching the board for similar topics. This question gets asked allot. See http://www.phpfreaks.com/forums/index.php?topic=344343.msg1624996#msg1624996
  9. This topic has been moved to Editor Help (Dreamweaver, Zend, etc). http://www.phpfreaks.com/forums/index.php?topic=344501.0
  10. This topic has been moved to PHP Installation & Configuration. http://www.phpfreaks.com/forums/index.php?topic=344472.0
  11. Use mod_alias. http://httpd.apache.org/docs/current/mod/mod_alias.html
  12. The actual command will need a single \, this means you will need two because you are using a double quoted string.
  13. You need to escape spacing in file/directory names on *nix.
  14. Backslashes are also special within double quoted strings and need to be escaped.
  15. You would need to configure your server to parse *.js files as php.
  16. This topic has been moved to PHPFreaks.com Questions, Comments, & Suggestions. http://www.phpfreaks.com/forums/index.php?topic=344321.0
×
×
  • 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.