Results 1 to 6 of 6
Threaded View
-
17th Sep 2012, 12:09 PM #1OPMember
Another PHP little question
Hello guys,
Maybe someone can help me again with a PHP question.
I have WEBSITE A and WEBSITE B
In WEBSITE A I created a php file and I display the content on my index.php using this code:
PHP Code:<?php include 'block/content.php'; ?>
PHP Code:<?php include '/home/username_website_a/public_html/block/content.php'; ?>
Code:Warning: include(/home/username_website_a/public_html/block/content.php) [function.include]: failed to open stream: Permission denied in /home/username_website_b/public_html/index.php on line 45 Warning: include() [function.include]: Failed opening '/home/username_website_a/public_html/block/content.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username_website_b/public_html/index.php on line 45
But Im a newbie and I dont know If this is possible.
Can someone help me please? :-)
Thanks!!Divvy Reviewed by Divvy on . Another PHP little question Hello guys, Maybe someone can help me again with a PHP question. I have WEBSITE A and WEBSITE B In WEBSITE A I created a php file and I display the content on my index.php using this code: <?php include 'block/content.php'; ?> Now I want to display the exactly same file/content in WEBSITE B, for that I'm using this code: Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
<?php tag question
By Porsche_maniak in forum Web Development AreaReplies: 7Last Post: 1st Feb 2012, 10:35 PM -
DLE question
By Divvy in forum Webmaster DiscussionReplies: 4Last Post: 2nd Apr 2011, 03:00 PM -
question about windows server before i buy and question about wrzhost
By priviet02 in forum Hosting DiscussionReplies: 5Last Post: 3rd Jan 2010, 05:23 PM -
question
By priviet02 in forum Hosting DiscussionReplies: 2Last Post: 24th Sep 2009, 02:07 PM -
Question!
By Luke in forum General DiscussionReplies: 8Last Post: 23rd Sep 2009, 03:30 PM
themaManager - edit and manage...
Version 4.18 released. Open older version (or...