Previous Thread
Next Thread
Print Thread
Rate Thread
#211400 08/18/2001 9:51 PM
Joined: Aug 2001
Posts: 12
Newbie
Newbie
Offline
Joined: Aug 2001
Posts: 12
I am tring to use this addon and I am having trouble getting it working. The problem has to be with the webpage I am trying to get the file to print to. Here is what my code looks like:

[:red]<?php
echo "<html>
<body>";
virtual ("./boards/addons/w3tnews.php");
echo "</body>
</html>";
?>[:black]

I also tried it this way[:green]

<?php
echo "<html>
<body>";
include "./boards/addons/w3tnews.php";
echo "</body>
</html>";
?>[:black]

I also tried something super simple[:orange]

<html>
<body>
<? include "./boards/addons/w3tnews.php"; ?>
</body>
</html>[:black]

None of these attempts has succeded. Can anyone help? :-)

Sponsored Links
rdragon #211401 08/19/2001 11:41 AM
Joined: Oct 2000
Posts: 2
Lurker
Lurker
Offline
Joined: Oct 2000
Posts: 2
Easiest thing to use (and what i have used) is:

<html>
<head><title>Page</title></head>
<body>
<?php include("boards/addons/w3tnews.php"); ?>
</body>
</html>

Just make sure the variables in w3tnews.php are set right []/testimages/icons/smile.gif[/]

rdragon #211402 08/20/2001 12:14 PM
Joined: Apr 2001
Posts: 50
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 50
There may be a problem with the path pointing to w3tnews.php. Verify that the path syntax is correct.


+++ Quis custodiet ipsos custodies? +++
rdragon #211403 08/27/2001 11:25 AM
Joined: Nov 2000
Posts: 28
Journeyman
Journeyman
Offline
Joined: Nov 2000
Posts: 28
The Death has it right. Simply use a standard html page with the exact syntax he has....and always give it the .php extention. Check the relative paths carefully. Usually that is the problem.

Joined: Jun 2001
Posts: 176
Member
Member
Offline
Joined: Jun 2001
Posts: 176
also try .shtml for your page I had the same trouble
& I put the includes in the same directory as the webpage it self
so give that a try if your still having trouble

Sponsored Links

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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)