| | |
Headers already written.
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2008
Posts: 1
Reputation:
Solved Threads: 0
I've downloaded some of my site, to transfer it to a new site, however when I upload it to the new site, I've found that if I zip it all up, it complains that the headers have already been written when I view the site, however if I just straight upload it, I don't get the error.
I don't think it's a coding error, think it's something to do with the upload\download. Anybody any ideas?
I don't think it's a coding error, think it's something to do with the upload\download. Anybody any ideas?
•
•
Join Date: Aug 2005
Posts: 150
Reputation:
Solved Threads: 13
I guess that during the encodation of the zips under PHP or whatever the engine writes a space, a carriage-return, a line-feed or any other ASCII-character that normally doesn't cause any problems. Now when PHP executes it, the engine thinks the HTML-code begins, sends the HTTP headers and then stucks when it comes to modify the header.
That's my only explaination I can think of. But it's quite interesting to know what really is the problem.
That's my only explaination I can think of. But it's quite interesting to know what really is the problem.
![]() |
Similar Threads
- Object is not being written into file!!! (C++)
- separating headers from implementation (C++)
- I Summon Clear Screen (C++)
- unresolved external symbol when using a hashtable class (C++)
- Counting the amount of letters in a phrase! (C++)
- loop in main function to an "if" statement (C++)
Other Threads in the PHP Forum
- Previous Thread: My .php page won't load on Macs
- Next Thread: Explode and Post doesn't seem to work together
| Thread Tools | Search this Thread |
.htaccess ajax apache api array beginner binary body broken cakephp checkbox class cms code cron curl database date date/time display dynamic echo email error file files folder form forms function functions gc_maxlifetime global google href htaccess html image include insert integration ip java javascript joomla limit link list login loop mail menu mlm mod_rewrite msqli_multi_query multiple mycodeisbad mysql oop parameter parsing paypal pdf php problem query radio random recourse recursion regex registrationform remote script search seo server sessions sms soap source space sql static syntax system table tutorial update upload url validation validator variable video web webdesign wordpress xml youtube





