View Single Post
Old June 13th, 2007, 07:40 PM   #1 (permalink)
Frank Shaw
Member
Verified Customer
 
Join Date: Jun 2007
Posts: 67
How do I call the /photopost/index.php from my own page in a include function

I droped this on my web page which is in another directory but under the same IP and domain acount on my web server and I am get the errors or warning messages and never displaying the web page.

<?php
//////////////////////////// COPYRIGHT NOTICE //////////////////////////////
// This script is part of PhotoPost PHP, a software application by //
// All Enthusiast, Inc. Use of any kind of part or all of this //
// script or modification of this script requires a license from All //
// Enthusiast, Inc. Use or modification of this script without a license //
// constitutes Software Piracy and will result in legal action from All //
// Enthusiast, Inc. All rights reserved. //
// http://www.photopost.com legal@photopost.com //
// Developer: Michael Pierce (http://www.mdpnet.com) //
// //
// PhotoPost Copyright 2007, All Enthusiast, Inc. //
////////////////////////////////////////////////////////////////////////////


include("../photopost/index.php");



?>

What I want is the index.php to be displyed inside my web oage - what am I posiably doing wrong can any one explian.

Are there any enviroment variables or something else i could be missing?

The warning messages :

Warning: include(../photopost/index.php) [function.include]: failed to open stream: No such file or directory in C:\Inetpub\vhosts\burningtaper.org\httpdocs\index-6.php on line 62

Warning: include() [function.include]: Failed opening '../photopost/index.php' for inclusion (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\burningtaper.org\httpdocs\index-6.php on line 62

What could posiable be the problem - by the way I am running on a windows server just let you if it makes a difference!

THANKS

Frank H. Shaw

you can see the exact page i want to intergate to my web page by click on this link http://burningtaper.org/photopost/index.php and the page i want to do the intergation to is just click on this link http://burningtaper.org/index-6.php I hope this helps explin things a little better.
Frank Shaw is offline   Reply With Quote