true

Find the best tutors and institutes for PHP

Find Best PHP Classes

Please select a Category.

Please select a Locality.

No matching category found.

No matching Locality found.

Outside India?

Search for topics

What is the use of header() function in PHP?

Asked by Last Modified  

IT Courses/Programming Languages/PHP

Follow 0
Answer

3 Answers

Please enter your answer

Sr. Software Engineer And Professional Trainer. Taking core java classes on very nominal prices .

Http is an application level protocol so it exchange the conversation between client and server via http headers so if you want to add any header to your response you can use this function to instruct client to redirect 302 , location or many more things .
Comments

Trainer

The functionality of header() function is to sends a raw HTTP header to a client.You can do stuffs like redirecting to a page, preventing cache , showing specific content on the page, like pdf,json.image etc.The signature of header() looks like header(string,replace,http_response_code)
Comments

Trainer

header () function is used to give the path of page that you want to run. e.g. header ("location:index.php"); This code will open the page from your current page to that specified page "index.php". Have a nice day!
Comments

View 1 more Answers

Related Lessons

A New Way To Learn Web Development.
Hello, My name is Ajay. I work at a small IT company and yes on weekends provides some training and guidance and consultancy to students. Before past 7-8 months, I was just a random student just like so...

Ajay | 19 May

1 0
0

Core PHP v/s PHP Frameworks
PHP Frameworks: Framework is a piece of software by which one can develop large enterprise, robust & secure software applications. Frameworks provide straight forward flow and strict guidelines by...

Husain Athar | 01 Apr

0 1
0

Migration from other languages to Salesforce
Anyone can easily migrate from other language to Salesforce. People must have skills to understand business logic.

Recommended Articles

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 >

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 >

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 >

Applications engineering is a hot trend in the current IT market. An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company s manufacturing, marketing, sales, and customer...

Read full article >

Looking for PHP Classes?

Find best PHP Classes in your locality on UrbanPro.

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for PHP Classes?

Find best tutors for PHP Classes by posting a requirement.

  • Post a learning requirement
  • Get customized responses
  • Compare and select the best

Looking for PHP Classes?

Find best PHP Classes in your locality on UrbanPro

Post your learning requirement

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 25 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 6.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