![]() |
write file - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: write file (/showthread.php?tid=11749) |
write file - El Forum - 09-22-2008 [eluser]dimis[/eluser] I am working with a multi language site. So I want when user add a new language to create a new language folder and file (application/languages) and then edit this file. How Can I "copy/paste" the folder application/english into application/spanosh for example? I write Code: $server=$_SERVER['/css/']; Code: Severity: Notice write file - El Forum - 09-22-2008 [eluser]GSV Sleeper Service[/eluser] $_SERVER[] is a PHP 'superglobal', there is no 'css' key - http://uk.php.net/manual/en/reserved.variables.server.php write file - El Forum - 09-22-2008 [eluser]Colin Williams[/eluser] [url="http://us2.php.net/copy"]copy('/path/to/src', '/path/to/dest')[/url] So, very basically, it would look like Code: $new_lang = $_POST['new_lang']; |