Jump to content

ME_php Fresher

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ME_php Fresher's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. first you need to know you are using the input type file , so be sure to use the enctype , second use $_FILES or the uploader class of Codeigniter. Your problem is over.
  2. Change $config['index_page'] = 'index.php'; to $config['index_page'] = ''; and in the .htaccess file , write the following code RewriteEngine On RewriteCond %{REQUEST_URI} ^/system.* RewriteRule ^(.*)$ index.php?/$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ index.php?/$1 [L]
  3. why dont you try loading from helper class.
  4. if you are using the uploader class, rename the file during uploading, $config['file_name'] = $_FILES['userfile']['name'].'what you want the file name to be';
×
×
  • 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.