Quick Login   
 
Register AdminFusion Tutorials
 
Featured Sponsors


One.com Domain and Hosting


vBulletin, phpBB, & IPB Skins vBulletin Skins

Register
Register
Forum of the Month
Australian Webmaster
fotm

A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.

Tag Cloud
Latest Threads
Forum Stats
7,519 Members
163,683 Posts
41 Users Online

Please welcome our newest member, Kovich!

Affiliates
Welcome to the AdminFusion. AdminFusion is the ultimate resource for forum administrators and moderators. With exclusive articles, interviews with the experts, free downloadable skins, and the revolutionary post exchange system - PostFusion, AdminFusion is the place to go for all of your forum needs.  By joining AdminFusion, you will become part of a thriving admin community and immediately gain access to all of these resources. Registration is fast, simple and absolutely free so please join us today!
Want more than our forums? Try these: Post Fusion Forum Matrix
Old 12-29-2007, 01:34 AM   #1

DannyH's Avatar

Title: Member

Points: 1,447, Level: 10Points: 1,447, Level: 10Points: 1,447, Level: 10
Level up: 11%, 103 Points neededLevel up: 11%, 103 Points neededLevel up: 11%, 103 Points needed
Activity: 12%Activity: 12%Activity: 12%

Join Date: May 2007

Posts: 118

Location: Sheffield, UK

DannyH is on a distinguished road

Recent Blog: Upgrades
 
 
PHP

First of all, sorry if i've posted in the wrong section, I couldn't find anywhere else this may be suitable for.

I've started a new website, and want to update the side bar regulary. Is there anyway that I can do it so it works as an iframe but when you highlight it, it includes it in the page rather than highlighting the box?

So, say I have index.php, is there some code I can put in so it embeds, lets say test.php automatically?

Thanks...
__________________
www.forumize.net - Free PHPBB Forum
www.simalert.org - Free Sim Card Alerts
Reply With Quote
Old 12-29-2007, 04:45 AM   #2

Reiji Kurosaky's Avatar

Title: Member

Points: 1,849, Level: 11Points: 1,849, Level: 11Points: 1,849, Level: 11
Level up: 12%, 1 Points neededLevel up: 12%, 1 Points neededLevel up: 12%, 1 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Jul 2006

Posts: 135

Location: Dominican Republic

Reiji Kurosaky will become famous soon enough
Send a message via Yahoo to Reiji Kurosaky  
 
Hello,

<?php include('test.php'); ?>
__________________
http://www.theosforums.com/images/userbars/userbar1.png
Reply With Quote
Old 12-29-2007, 06:49 AM   #3

mh0825's Avatar

Title: Super Moderator

Points: 6,976, Level: 24Points: 6,976, Level: 24Points: 6,976, Level: 24
Level up: 25%, 74 Points neededLevel up: 25%, 74 Points neededLevel up: 25%, 74 Points needed
Activity: 32%Activity: 32%Activity: 32%

Join Date: Feb 2007

Posts: 1,272

Location: Gainesville, FL

mh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud of
Send a message via AIM to mh0825  
 
That include will only work if you do it in the actual index.php. If your forum uses templates, you can't use the php include in a non php file. The file that you put the <?php include... in would have to have the file type of .php in order for it to work.
Reply With Quote
Old 12-29-2007, 01:21 PM   #4

Reiji Kurosaky's Avatar

Title: Member

Points: 1,849, Level: 11Points: 1,849, Level: 11Points: 1,849, Level: 11
Level up: 12%, 1 Points neededLevel up: 12%, 1 Points neededLevel up: 12%, 1 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Jul 2006

Posts: 135

Location: Dominican Republic

Reiji Kurosaky will become famous soon enough
Send a message via Yahoo to Reiji Kurosaky  
 
Quote:
Originally Posted by mh0825 View Post
That include will only work if you do it in the actual index.php. If your forum uses templates, you can't use the php include in a non php file. The file that you put the <?php include... in would have to have the file type of .php in order for it to work.
Well, I assumed (although I don't know why) that he isn't talking about forums...
__________________
http://www.theosforums.com/images/userbars/userbar1.png
Reply With Quote
Old 12-29-2007, 02:26 PM   #5

DannyH's Avatar

Title: Member

Points: 1,447, Level: 10Points: 1,447, Level: 10Points: 1,447, Level: 10
Level up: 11%, 103 Points neededLevel up: 11%, 103 Points neededLevel up: 11%, 103 Points needed
Activity: 12%Activity: 12%Activity: 12%

Join Date: May 2007

Posts: 118

Location: Sheffield, UK

DannyH is on a distinguished road

Recent Blog: Upgrades
 
 
I'm doing a website in PHP format this time, thanks for the help, it works for the type of website i'm doing
__________________
www.forumize.net - Free PHPBB Forum
www.simalert.org - Free Sim Card Alerts
Reply With Quote
Old 06-24-2008, 09:25 PM   #6

DannyH's Avatar

Title: Member

Points: 1,447, Level: 10Points: 1,447, Level: 10Points: 1,447, Level: 10
Level up: 11%, 103 Points neededLevel up: 11%, 103 Points neededLevel up: 11%, 103 Points needed
Activity: 12%Activity: 12%Activity: 12%

Join Date: May 2007

Posts: 118

Location: Sheffield, UK

DannyH is on a distinguished road

Recent Blog: Upgrades
 
 
Having the same problem again, this time it's for a forum, so is there a html version of '<?php include('test.php'); ?>' ?

Thanks
Danny
__________________
www.forumize.net - Free PHPBB Forum
www.simalert.org - Free Sim Card Alerts
Reply With Quote
Old 06-27-2008, 01:20 AM   #7

mh0825's Avatar

Title: Super Moderator

Points: 6,976, Level: 24Points: 6,976, Level: 24Points: 6,976, Level: 24
Level up: 25%, 74 Points neededLevel up: 25%, 74 Points neededLevel up: 25%, 74 Points needed
Activity: 32%Activity: 32%Activity: 32%

Join Date: Feb 2007

Posts: 1,272

Location: Gainesville, FL

mh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud of
Send a message via AIM to mh0825  
 
IFRAME or HTML Server Side Includes.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
[MyBB News] MyBB and 2008 Compatibility Information (PHP 5) Industry News Other Software 4 11-19-2007 10:49 PM
Yahoo Lays Out Welcome Mat For PHP Devs shellspeare Graphics and Design 0 03-01-2006 08:08 AM
php Resource List gprime Graphics and Design 6 01-24-2006 04:01 PM

AdminFusion

All times are GMT +1. The time now is 07:35 AM. Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0 © 2005-2008 AdminFusion - All Rights Reserved



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72