Log in

View Full Version : Need PHP Embeding Help


syion
04-03-2002, 05:46 PM
https://vborg.vbsupport.ru/showthread.php?postid=235837#post235837

I posted a message in this forum but is more of a PHP question/problem can some one please Help me :(



This is the problem...
I can run the cal.php by calling it by it self (see link below)
http://www.vfdbl.com/forum/cal.php

When I try to include the cal.php in another page I get a bunch of errors. I created a simple *.php file to call the cal.php in see link below
http://www.vfdbl.com/calendar.php (not to be confused with forum/calendar.php)

Below if the script that I included inside the calendar.php page that I am using to call up the cal.php



<?php ?>
<meta http-equiv="Content-Language" content="en-us">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="200" id="AutoNumber1">
<tr>
<td>
<?php include ("http://www.vfdbl.com/forum/cal.php"); ?>
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>

Mark Hensler
04-03-2002, 10:04 PM
Did you fix it already?
I get no errors on your calendar.php link.

JediKNight
04-07-2002, 11:05 PM
calendar.php link is broken.

And, I always think we can and should only include or require files locally with respect to the parent file..?

and, what the <?php ?> is for? :ermm:

Jedi

syion
04-08-2002, 04:25 PM
I got it to work

Thanks for your help

Aaow AnD wHiTe
04-08-2002, 05:10 PM
syion, could you please share with us how did you fix it? Thank you :)