Actually I have created a PHP Script where .htaccess file is required. But problem is that: When I my script on Ipage server, This server don't upload .htaccess file automatically.
Although I can create .htaccess file from server by "Create File" button. In this situation, I want: My script will create automatically .htaccess file, if not found .htaccess file in my directory.
My .htaccess file's code is
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]