Members: 10,140
Threads: 38,830
Posts: 159,367
Online: 31

Newest Member: Xoote


Old 21.12.2004, 19:31   #1
andyawad
Baby Mamber
 
Join Date: Dec 2004
Posts: 5
andyawad is on a distinguished road
Default K1_php in new module

>> I am using Mambo 4.5.1a Stable <<

when I use the code into content
{kl_php}
ob_start();
include("/home/icopts/public_html/syncx/titles/syncx_data.html");
$buf = ob_get_contents();
ob_end_clean();
return $buf;
{/kl_php}
It works and it return data….

But when I use it in new Module it does not return data & you can see the code on the page…..my understanding that I can use {k1_php} in content & in new module….

As far as setting I followed all the steps & turned off the editor
__________________________________________________ __________________
>> Another question:::: Is it possible to have the module return data from another database (postgres).

Thanks for all your help
andyawad is offline   Reply With Quote
Sponsored Links
Old 19.01.2005, 20:02   #2
ilovemambo9
Baby Mamber
 
Join Date: Jan 2005
Posts: 5
ilovemambo9 is on a distinguished road
Send a message via AIM to ilovemambo9
Default Re: K1_php in new module

i had the same problem and can't solve it. Check out this post, though : http://mambers.com/showthread.php?p=88921#post88921 i think it's got something to do with a bad version / corrupt version of KL_PHP or badly configured...or none of the above.
Good luck.
ilovemambo9 is offline   Reply With Quote
Old 19.01.2005, 20:53   #3
eyezberg
Professional Mamber
 
eyezberg's Avatar
 
Join Date: Apr 2004
Location: Gap / France
Posts: 859
eyezberg is an unknown quantity at this point
Default Re: K1_php in new module

I have not had a look at this bot, but afaik, bots can be used only on content row=>text) thus not in modules..?
__________________
joe / ex Mambo ex Doc Team
Eyezberg.com
eyezberg is offline   Reply With Quote
Old 20.01.2005, 06:25   #4
Ndovu
Junior Mamber
 
Ndovu's Avatar
 
Join Date: Sep 2004
Posts: 36
Ndovu is on a distinguished road
Default Re: K1_php in new module

bots don't work in modules I've just learned!
__________________
Greetings from Africa!

http://www.advertisingdar.com
Ndovu is offline   Reply With Quote
Old 21.03.2006, 09:51   #5
green-mamba
Baby Mamber
 
Join Date: Dec 2004
Posts: 5
green-mamba is on a distinguished road
Default Re: K1_php in new module

Yes, I had the same problem - but don't despair!
Konlon also wrote a mod_kl_evalphp module that will parse PHP script directly in a module itself.
You can download it on this link:
http://forum.mamboserver.com/showthread.php?t=39045

I've just used it on my site and it works!

Hope it helps
Christine
green-mamba is offline   Reply With Quote
Old 25.06.2008, 15:49   #6
wowgold675
Baby Mamber
 
Join Date: Jun 2008
Posts: 12
wowgold675 is on a distinguished road
Angry buy cheapest wow gold here

We provide all WOW Gold services. You can buy WOW Gold, Cheap WOW Gold here. We provide Cheap WOW Gold to each loyal and reliable customer.
__________________
Interested in tis forum!
wowgold675 is offline   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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
First web camera module for mambo 4.5.1 noobnuggets Development Announcements 4 13.11.2005 11:26
Putting content anywhere on the page - Module ready vrajesh Mambo 4.5 General Talk 7 28.09.2005 20:54
Module displaying any content dulik Module 'How Do I' Questions 3 21.12.2004 20:05
Firefox search plugin installer module V2.0a! :) idigital Development Announcements 0 17.12.2004 12:38
Author Info module v1.0-Beta Released tonyskyday Development Announcements 0 27.07.2004 05:48


All times are GMT +2. The time now is 10:35.

Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.