RE: Re: Browser could not get mp3 files from http site

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Wed, Sep 24, 2008 at 9:56 AM, Richard Lynch <rlynch@xxxxxxxxx>
> wrote:
> > As a general rule, check what happens when you do wget -S on the URL
> and see what the browser sees.
>
> Thanks Richard and all responses. That was the best PHP and HTML debug
> I've learned so far. I always find it is difficult to debug html and
> JS when doing PHP program. I can debug C/C++ using gdb well but no
> idea what the tools can be used for browser debug.
>
> Anyway, the problem has been resolved. It turns out it was an
> authorisation issue. My web server requests a log in at beggin,
> although I can see every pages and download other data and image
> files, somehow it cannot download the mp3 file. As soon as I remove
> the login, it works fine.

If you are used to gdb, you will want to check out:
XDebug

If you are on Windows, there is also a web-based kcachegrind-like tool for code analysis, though it is in its infancy:
http://code.google.com/p/webgrind/
Written in PHP, natch. :-)

For webgrind, xdebug-helper is invaluable:
https://addons.mozilla.org/en-US/firefox/addon/3960
Alas, it doesn't seem to work for me with latest FF 3.0.1 :-(


_______________________________________________________

The  information in this email or in any file attached
hereto is intended only for the personal and confiden-
tial  use  of  the individual or entity to which it is
addressed and may contain information that is  propri-
etary  and  confidential.  If you are not the intended
recipient of this message you are hereby notified that
any  review, dissemination, distribution or copying of
this message is strictly prohibited.  This  communica-
tion  is  for information purposes only and should not
be regarded as an offer to sell or as  a  solicitation
of an offer to buy any financial product. Email trans-
mission cannot be guaranteed to be  secure  or  error-
free. P6070214

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux