|
|
Joined: Aug 2001
Posts: 12
Newbie
|
Newbie
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? :-)
|
|
|
|
Joined: Oct 2000
Posts: 2
Lurker
|
Lurker
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[/]
|
|
|
|
Joined: Apr 2001
Posts: 50
Journeyman
|
Journeyman
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? +++
|
|
|
|
Joined: Nov 2000
Posts: 28
Journeyman
|
Journeyman
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
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
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|