On Sat, 13 Sep 2003 [EMAIL PROTECTED] wrote: > Hi Sluggers: > > Issue: > For some reason when I load an html file in a browser some of the data is > not displayed. e.g I have an image <img> tag code in there. But when I do > view source via browser, I do not see the image <img> tag for the image I > wanted to see. However when I open the html file via the command line, I > see that the <img> tag for that particular image is there. > > Has anyone experienced this ? Is this the web server server doing this ? >
It's possible the web server might be doing this if the page contains for example php code that includes conditional logic (ie if/then/else ) or possibly style sheets (.css) or a multitude of other things you'd have to intentionally use. More likely it's a caching issue. Plenty of times I have found that when doing web development it's important to eliminate proxy/caches from the equation, this includes the local browser cache. Frequently I've been caught out thinking my perl/php/html code was the problem when it was just an old version being cached, mind you only for a few minutes. Here's a few steps you can do to try isolating the problem:- * Load up a different GUI browser on the same machine that hasn't seen the page before. * try lynx -source <url> |less * try export http_proxy="http://proxy-address:port/"; lynx -source <url> |less * compare above lynx operations between workstation & web server itself. IE login to the web server & run lynx. ---<GRiP>--- -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
