logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How to use HTTP Headers inside PHP? Write the statement through which it can be added?


  • Correct Answer
  • HTTP headers can be used in PHP by redirection which is written as: The headers can be added to HTTP response in PHP using the header() The response headers are sent before any actual response being sent The HTTP headers have to be sent before taking the output of any data The statement above gets included at the top of the script 


  • Technology problems


    Search Results


    • 1. How can I retrieve values from one database server and store them in other database server using PHP?
    • Discuss
    • 2. Will comparison of string "10" and integer 11 work in PHP?
    • Discuss
    • 3. With a heredoc syntax, do I get variable substitution inside the heredoc contents?
    • Discuss
    • 4. Difference between ActiveX Exe and Dll ?
    • Discuss
    • 5. Which of the following is not a function of a Warehouse?

    • Options
    • A. Ensuring Profit
    • B. Stabilisation in price
    • C. Risk-bearing
    • D. Storage
    • Discuss
    • 6. Describe how to create a simple AD rotator script without using database in PHP.
    • Discuss
    • 7. What is the difference between the functions unlink and unset in PHP?
    • Discuss
    • 8. What is the difference between _construct() and _destruct() methods in php?
    • Discuss
    • 9. What's the difference between GET() and POST() method?
    • Discuss
    • 10. What is the purpose $_PHP_SELF variable?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment