Unlimited Shared hosting & Unlimited Disk Space from $5.95 - Dreamhost
Solid Managed VPS with 4 IP's from $60 - Liquid Web
Lightning Fast Dedicated Servers & 1GB RAM from $149 - Liquid Web
#1 Domain Registration with WHOIS Privacy - Just $9.95
This Dreamhost support thread was started by rogwei on 2010-03-23 19:11:18:
Post Reply? I am providing a web service on a dreamhost server and the client is receiving what looks like a byte order mark in the content body of the script output as follows. key=EF5859DAB283A56A The relevant lines of script code follow. $msg = ”; … global $msg,$errors; //inside validation function … global $msg; //inside db insert function … global $msg; //inside key generate function … $msg .= ‘key=’.functionThatReturnsString(); //inside key generation function … global $msg; header(’Content-type: text/html’); header(’Content-Length: ‘ . strlen(utf8_decode($msg))); echo $msg; There cannot be a BOM before the header(string) calls or I would be getting a PHP warning, no? I am not getting any warnings. Does echo(string) insert a BOM (or other hidden characters) before the string argument? Can someone tell me how those characters are getting inserted into the content body? I am clueless. Thanks for your attention.
Join in on the original post at the Dreamhost Forum, Sign up for Dreamhost or view our Review of Dreamhost.
Related Web Host Reviews
- Main Shell Account
- render :text problem in RoR
- Hermes Outlet
- WordPress installation
- does dreamhost have webdesign software here?where?
- config file that calls sql database giving error
- Question about potential TOS violation
- How to make a database for a 3rd party program?
- Mail Management with PHP
- Can I host domain without changing DNS info?
Hosting Discounts
All Hosts
- 1&1
- A Small Orange
- Aplus
- Bluehost
- BurstNET
- CalPOP
- CariNet
- CheapVPS
- DailyRazor
- Dreamhost
- DynDNS
- Eapps
- EasyCGI
- Eleven2
- Elief
- Engine Yard
- Exmasters
- Fastservers
- Fat Cow
- Fluid
- Fused Network
- Future Hosting
- Geek Storage
- Globat
- GoDaddy
- GoGrid
- Good Avocado
- HiVelocity
- HostDime
- Hostgator
- HostICan
- Hostmonster
- HostV
- HostWay
- ICDSoft
- InMotion
- iWeb
- IX
- Joyent
- JustHost
- KnownHost
- Laughing Squid
- Layered Tech
- Limestone Networks
- LiquidWeb
- Litespeed
- LunarPages
- Media Temple
- Micfo
- MidPhase
- Mosso
- Myriad Network
- NetDepot
- Netfirms
- Peer1
- ProVPS
- Rackspace
- Razorservers
- ResellerZoom
- Right Scale
- SeeksAdmin
- Servage
- ServerBeach
- ServerPronto
- ServINT
- SilverRack
- Singlehop
- SiteGround
- Slhost
- Slicehost
- Softlayer
- SolarVPS
- Steadfast Networks
- TekTonic
- The Planet
- TheNYNoc
- Thinkhost
- Ultra Hosting
- Ultra Website Hosting
- Umbra Hosting
- URLJet
- Velcom
- VolumeDrive
- Voxtreme
- VPSLand
- WebHostingPad
- WiredTree
- WireNine
- XLHost
- Yahoo
- Yourserving

