UrbanPro

Learn Programming Languages from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

How can I display image through php programming? It has to be stored in a specific folder in my system.

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

Sorry no idea.
Comments

Software Professional Trainer with 26+ years of Experience in Software Design and Development

In your front end code ie HTML code write the following script img src=$dir .\.$file alt=$file style="width:100px;height:150px" where $dir => directory $file ==> image filename
Comments

Angularjs Trainer

Using Glob function in PHP
Comments

Coaching

Easy way... 1. Put the images on any directory (apache must have permission to read the file). 2. create another script to read the image file.
Comments

IT Professional Trainer working with a reputed Institute. Headquarters: Hyderabad

According to me, for that you have to Upload the Images through PHP code and your Images will be stored in a specific folder in your System , the URL will be stored in the Database Table. Now by using the code for searching a record related with the Image. You can easily find and display it on a Web...
Comments

Trainer

There are two options. 1) either store in mysql 2)store in folder
Comments

c,c++,vb,vb.net,php.joomal,basic,all computer subjects

yes it can be stored $error) { if ($error == UPLOAD_ERR_OK) { $tmp_name = $_FILES; $name = $_FILES; move_uploaded_file($tmp_name, "$uploads_dir/$name"); } } ?> Note: move_uploaded_file() is both safe mode and open_basedir aware. However, restrictions are...
read more
yes it can be stored $error) { if ($error == UPLOAD_ERR_OK) { $tmp_name = $_FILES["pictures"]["tmp_name"][$key]; $name = $_FILES["pictures"]["name"][$key]; move_uploaded_file($tmp_name, "$uploads_dir/$name"); } } ?> Note: move_uploaded_file() is both safe mode and open_basedir aware. However, restrictions are placed only on the destination path as to allow the moving of uploaded files in which filename may conflict with such restrictions. move_uploaded_file() ensures the safety of this operation by allowing only those files uploaded through PHP to be moved. read less
Comments

View 5 more Answers

Related Questions

What is the use of header files in C language?
In summary, header files in C serve as a means of organizing code, providing function prototypes and shared declarations, promoting modularity, and facilitating code reuse. They are essential in large...
Kamal
0 0
6
Which are the best books to learn C?
- Yashwant Kanetkar - E Balagurusamy
Kratika
Where can I get Python online training?
You can get many institutes in google which are providing online training.
Taranum
Is learning Python good or bad?
Its depend on your requirement, I mean if you are seeking for good opportunity to move from one Org. to another, or migrating some applications into your project, or your manager are eagerly requesting...
Harish
0 0
7

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

INTRODUCTION TO PROGRAMMING LANGUAGES
Language is a medium for communication. If we want to perform anything with another person, we can know the human language as a human being. Similarly, if we want to perform anything with a computer, we...

C and C++ programming with memory level debugging
Understanding C and C++ programming by using memory level debugging. Step 1: Understand the Memory map of C executable Step 2: Start memory level debugging using popular IDE Step 3: Find the memory...

Why C is a Language and not a database?
When I interviewed a candidate, I raised this question many times, but I have not got the answer correctly. To under why C is a language and not a database, it is good to understand why our communication...


PHP Intro.
What is PHP? PHP is an acronym for "PHP Hypertext Preprocessor" PHP is a widely-used, open source scripting language PHP scripts are executed on the server PHP costs nothing, it is free to download and...

Recommended Articles

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Looking for Programming Languages Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for Programming Languages Classes?

The best tutors for Programming Languages Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Programming Languages with the Best Tutors

The best Tutors for Programming Languages Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more