🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: austin.internet
Article #154

stupid php question

#154
From: the wharf rat
Date: Sun, 08 Mar 2009 17:13
24 lines
2005 bytes
	I'm not a web programmer so I thought I'd beg for a clue here.

	Client has complicated web app written in PHP.  Runs on old
systems, php4 apache 2 etc.  Part of project is new colo, so moved
to modern software, php5, http 2 etc. All works fine except:

	Certain pages include inline graphics (image maps) generated by
including the call to the php script that generates the image in the template
of the page.  When the page is rendered the href's are resolved and we get
graphics.  But for some reason when these scripts execute in the new 
environment the output (the <map>...</map><img>...) stuff appears at the
TOP of the page outside the <body> instead of in the middle where the
template actually has the...call?...tag?..whatever.  (Is that clear?)

	I've played with php output buffering options, inserting various
tags such as table and object around the offending maps, and they still
output at the top of the page.  However, <b>stupid graph goes here</b> ends
up in the right place so it's a problem with the way these scripts get 
executed when the page is rendered...  

	I need a clue badly.  Anyone got one for me?  I'm really just a fancy
sysadmin and not any kind of a programmer never mind this new fangled browser
based stuff...
Technical Details
Message-ID: <gp0ub5$mo3$1@panix2.panix.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news-out.readnews.com!transit3.readnews.com!panix!panix2.panix.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 113866,3e309d157fe287e2,start
X-Google-Attributes: gid113866,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news-out.readnews.com!transit3.readnews.com!panix!panix2.panix.com!not-for-mail
From: wrat@panix.com (the wharf rat)
Newsgroups: austin.internet
Subject: stupid php question
Date: 8 Mar 2009 13:13:09 -0400
Organization: PANIX -- Public Access Networks Corp.
Lines: 25
Message-ID: <gp0ub5$mo3$1@panix2.panix.com>
NNTP-Posting-Host: panix2.panix.com
X-Trace: reader1.panix.com 1236532389 3646 166.84.1.2 (8 Mar 2009 17:13:09 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Sun, 8 Mar 2009 17:13:09 +0000 (UTC)