why header() gives the error like header already sent in php
please
explain in brief
Answer / sasmitamohanta
Generally it gives error when u print or echo some content
before header() or setcookie() methods.
To avoid the error just put the print below header();
Is This Answer Correct ? | 6 Yes | 0 No |
Explain what is the main difference between require() and require_once()?
What is full form of PHP?
i was set new individual folder for saving session values,the folder name is session and i set 777 permission,using session.save_path function like session.save_path "/home21b/sub004/sc21311-ULCX/candyoflove.com/session/" but it causing Warning: Unknown(): SAFE MODE Restriction in effect. The script whose uid/gid is 12112/12112 is not allowed to access /home21b/sub004/sc21311-ULCX/candyoflove.com/session owned by uid/gid 12267/12267 in Unknown on line 0 ,please tell what changes make this script, i was using .htaccesss file..plz help me....
What types of Data Can Be Used as Array Keys?
How we can declare variable in php?
Explain what does the function get_magic_quotes_gpc() means?
Explain the difference between array_merge() and array_combine()?
Can we learn php without html?
What happens if an expected input field was not submitted?
What is php and how do you use it?
How to set a value in session? How to remove data from a session?
What are arguments in php?