My project consist of plugins, phrases, options and one new .php file.
How can I insert this new file into MyProject? I don't want users to install product using ftp or editing styles.
I tried to add in install script something like
or
but it didn't work.
How can I insert this new file into MyProject? I don't want users to install product using ftp or editing styles.
I tried to add in install script something like
PHP Code:
// BAD idea
$file = fopen("newfile.php","w");
$fwrite(" .. php code .. ");
...
PHP Code:
// VERY BAD idea
exec("echo '.. php code ... ' > file.php")
Comment