# URLLoader bytesTotal = 0 w/ PHP content-length

**URL:** <https://forum.kirupa.com/t/urlloader-bytestotal-0-w-php-content-length/302509>\
**Category:** flash\
**Created:** [January 2, 2010, 1:54am UTC](https://forum.kirupa.com/t/urlloader-bytestotal-0-w-php-content-length/302509 "2010-01-02T01:54:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PsuFan](https://avatars.discourse-cdn.com/v4/letter/p/ce7236/32.png) [@PsuFan](https://forum.kirupa.com/u/PsuFan)\
**Post date:** [January 2, 2010, 1:54am UTC](https://forum.kirupa.com/t/urlloader-bytestotal-0-w-php-content-length/302509/1 "2010-01-02T01:54:46Z")

</div>

Hello,

Found lots of articles talking about why URLLoader.bytesTotal is zero because theres no HTTP header content-length. Adding this in PHP fixed the problem when run in Flash, but when uploaded to server, it returns zero again. Does anyone know why? It cant be a server issue because it works when tested in Flash, and I’ve checked for the HTTP content-length header, it is there.

Thanks  
PsuFan
