Re: [PHP] Grasping class / controllers

2011-03-30 Thread Aleksandar Skodric
/unsub.php That's completely CodeIgniter, not php. The mvc framework layout is something used by many languages, but questions about the framework aren't questions you should ask of the language but the framework. Thanks Ash -- With kind regards, Aleksandar Skodric aleksan...@skodric.c

[PHP] Grasping class / controllers

2011-03-30 Thread Aleksandar Skodric
Hi all, I am using Codeigniter framework, tho' I believe my question is more PHP related in general. Problem I am having is following. Codeigniter (CI) uses general class CI_Controller for all functions. I have extended this controller with: abstract class CORE_Controller extends CI_Controll

Re: [PHP] move_uploaded_file and CPU wait state (IO)

2006-03-01 Thread Aleksandar Skodric
php.ini value. Chris wrote: Aleksandar Skodric wrote: Hi, Yes, /tmp is on another disk then the final directory. I shall move it to the same disk (tmp_upload_dir) right now. Question: can I define tmp_upload_dir to be otherwise just for one host in apache conf, like: php_ini

Re: [PHP] working with ini files

2006-02-28 Thread Aleksandar Skodric
May I presume that your ini file is just simple plain text file? Check then how you can use PHP to handle files: http://nl2.php.net/manual/en/function.file.php http://nl2.php.net/manual/en/function.fopen.php http://nl2.php.net/manual/en/function.fwrite.php Although, I suggest creating such thin

Re: [PHP] move_uploaded_file and CPU wait state (IO)

2006-02-28 Thread Aleksandar Skodric
Hi, Yes, /tmp is on another disk then the final directory. I shall move it to the same disk (tmp_upload_dir) right now. Question: can I define tmp_upload_dir to be otherwise just for one host in apache conf, like: php_ini upload_tmp_dir /some/dir I am not sure that this works for all PHP i