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

How do I trace C programs in Turbo C?
First of all goto C drive then program files then turbo c folder then open bin folder and search what program u want
Orange
0 0
6
any one can teach me c++
Yes of course i can give you online classes
Bhuvanesh
How can you check to see whether a symbol is defined?
You can use the #ifdef and #ifndef preprocessor directives to check whether a symbol has been defined (#ifdef) or whether it has not been defined (#ifndef).
Name
What are the restriction in making a inline function?
Inline function is the optimization technique used by the compilers. One can simply prepend inline keyword to function prototype to make a function inline. Inline function instruct compiler to insert complete...
Keshav

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

Ask a Question

Related Lessons

SQL Tips (4 to 6)
SQL tips 4:Avoid INDEX, unless you need to retrieve information quickly. Index will slower insert and update data query.The another way is using sub querySelect MAX(salary)FROM employeeWHERE salary IN(Select...

What is Python Egg?
(Attention: This is a technical post for Python developers. If you are not python programmer you might want to skip this). An .egg format files in Python is the standard distribution package contains...

How to become a self-taught programmer?
In this lesson, I will teach you the step by step process to becoming a self-taught programmer by learning all the programming concepts by yourself with the help of online resources. Step 1: Choose your...
A

Abraham Paul

1 0
0

Use IPython shell for better understanding of python
Hi All, Even though there are many editors like IDLE, PyDev, PyCharm are available for python, it is very advantageous to use ipython as an interactive shell for Pyhon. How to install it? pip install...

Functions In C Programming
A C-language program is nothing but collection of Function, these are the building blocks of a ‘C’ program. Generally, a function mans a task. “Function is a...

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