Members: 16,996
Threads: 38,831
Posts: 159,349
Online: 30

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 24.07.2005, 01:39   #1 (permalink)
Baby Mamber
 
Join Date: Jul 2005
Posts: 2
zinco is on a distinguished road
Default php include statement in html module

I want to just use a simple php include statement in an html module so that it provides sort of a link to a page that is straight html in another folder. This way I can allow others to edit that page without giving them access to the control panel in mambo.

Here is the code.

Code:
<?php 
include("http://www.somesite/site/somefile.php");
?>
It is not working. It is a link in the main menu and the page loads fine but the content that the include statement should include does not show.

Is there something against using php in the html module?
Is there another way to do this?

Thanks
zinco is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 24.07.2005, 05:04   #2 (permalink)
Baby Mamber
 
Join Date: Jul 2005
Posts: 2
zinco is on a distinguished road
Default Re: php include statement in html module

Well I used the staticxt module to do the same thing.
http://staticcontent.mamboforge.net/

THanks to that dude.

I still would like to know how to use php commands in an html wrapper. I thought I saw something about a php mambot.
zinco is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Include in Module -> Fatal Error in the others norater Module Development 1 09.05.2005 19:37
Using PHP in Module Content lane Mambo 4.5.1 'How Do I' Questions 2 30.03.2005 15:22
Module that loads html in a pool (bit like banners) Money-farm.com Mambo 4.5.1 'How Do I' Questions 1 29.01.2005 02:50
How do i include a webpage in a module??? Yodaya Mambo 4.5 'How Do I' Questions 5 27.01.2005 08:26
New component include php and html Kris Component 'How Do I' Questions 1 06.09.2004 09:41


All times are GMT +2. The time now is 20:21.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.