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 |
What are the security measures we have to take for our site not to hack by others?
Is array empty 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 is meant by nl2br()?
4 Answers Rushmore Consultancy,
When use javascript vs php?
What is composer phar?
What library is used for pdf in php?
What's the diff. between include() and Include_once().
How check variable is set or not in php?
Does php require a web server?
What is a composer?
What are php magic methods?