Previous Thread
Next Thread
Print Thread
Rate Thread
BrokenToy #247318 05/21/2003 4:53 PM
Joined: Mar 2003
Posts: 215
Junior Member
Junior Member
Offline
Joined: Mar 2003
Posts: 215
Okay more info:

Yes it was a typo.

This does not work as I expected (copied from a template):
Code
<br /><!-- <? //UBBTREMARK --><br /><!-- echo <<<UBBTPRINT --><br />Testing.<br /><!-- UBBTPRINT; --><br /><!-- /* UBBTREMARK */ ?> --><br />

But this does:
Code
<br /><?<br />echo <<<UBBTPRINT<br />Testing.<br />UBBTPRINT;<br />?><br />

It is saved without spaces form the admin header editor.

But when loaded back into the admin header edit it becomes (with spaces at front and it no longer works):
Code
<br /> <?<br /> echo <<<UBBTPRINT<br /> Testing.<br /> UBBTPRINT;<br /> ?><br />

Version 6.2

My alternative method is to include a seperate file for what is being echoed (and changed frequently) but I wanted to simplify it and keep all the header code in one file.

Sponsored Links
Entire Thread
Subject Posted By Posted
php in header RandyJG 05/21/2003 10:28 PM
Re: php in header Dave_L_dup1 05/21/2003 10:36 PM
Re: php in header Astaran 05/21/2003 10:36 PM
Re: php in header slayer60 05/21/2003 10:47 PM
Re: php in header RandyJG 05/22/2003 12:53 AM
Re: php in header Astaran 05/22/2003 1:06 AM
Re: php in header omegatron 05/22/2003 3:43 AM
Re: php in header RandyJG 05/22/2003 6:00 AM
Re: php in header omegatron 05/23/2003 11:11 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 4445
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 30
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)