Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8547087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:11:26+00:00 2026-06-11T13:11:26+00:00

In codeigniter I want to upload image to URL: http://example.com/uploads/temp/ when I submit the

  • 0

In codeigniter I want to upload image to URL:

http://example.com/uploads/temp/

when I submit the form I want to get original image name and image maybe named like this when upload success:

http://example.com/uploads/temp/iphone5_2012_09_20_02_02_03.png

image name structure:

[original_name][year][month][day][hour][minute][second]

So how can I get original image name before upload in codeigniter?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T13:11:27+00:00Added an answer on June 11, 2026 at 1:11 pm

    You can retrieve the file name with:

    $img_name = $_FILES['your_name_in_the_form']['name'];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to submit a form using jQuery in a CodeIgniter application. However, the
I want use from multiple upload image in codeigniter but problem is here that
I use codeigniter. I want multiple upload image, for this work, i use library
It's ok to upload image in file using codeigniter upload library with this example.
I am new in codeigniter, even in PHP. I want to upload a zipped
I'm using CodeIgniter + Zend libraries. I want to let users upload videos to
I want to override the validation_errors() method of the form helper in CodeIgniter for
I'm struggling to get the CodeIgniter Image Manipulation working correctly. Either it's a bug
I am working in codeigniter project I want to rewrite my URL using htaccess.
I want to install codeigniter on ' mydomain.com ', hosting (shared) presents next kind

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.