Members: 16,996
Threads: 38,867
Posts: 159,477
Online: 41

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 07.04.2004, 05:45   #1 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 1
locokaress is on a distinguished road
Arrow Accessing Mambo components from non-mambo sites

hello
I want to directly link certain php pages from my website to other site for instance http://www.whateva.com/components/co...it/shoutit/php when i link directly to this site i get a promting sayin that i cannot access or view this page directly
SO my question is
Is there another way i can link these components and modules directly

Last edited by stingrey; 07.04.2004 at 06:42. Reason: Title changed to better reflect question
locokaress is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 07.04.2004, 05:49   #2 (permalink)
Professional Mamber
 
tonyskyday's Avatar
 
Join Date: Apr 2004
Location: Charlottesville, VA USA
Posts: 565
tonyskyday is on a distinguished road
Default Re: I need help please

I am not sure I understand exactly what you are asking.

Also, you might think about changing the title of your post to something more descriptive, as that will not only get more attention, but will help others to understand the problem.

-Tony
tonyskyday is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07.04.2004, 06:06   #3 (permalink)
Expert Mamber
 
keliix06's Avatar
 
Join Date: Mar 2004
Posts: 202
keliix06 is on a distinguished road
Send a message via MSN to keliix06
Default Re: I need help please

http://www.whateva.com/index.php?option=com_shoutit

Mambo has a built in function that if anyone tries to run a script without calling it through Mambo, the script will not run. This is a very important security feature.
keliix06 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07.04.2004, 15:36   #4 (permalink)
Professional Mamber
 
stingrey's Avatar
 
Join Date: Apr 2004
Location: Marikina, Manila, Philippines
Posts: 776
stingrey is on a distinguished road
Default Moderator Message

Thread Title renamed


I have changed the title of this thread to better reflect the question being asked.

As noted in the Guidelines for this Forum, please write a descriptive title for your threads.


- rEy -
__________________
Joomla! Core Team Member
Software Coding & Design - Stability Team Leader
www.joomla.org
Former Mambo Core Team Member
stingrey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12.04.2004, 02:48   #5 (permalink)
Senior Mamber
 
coke's Avatar
 
Join Date: Apr 2004
Posts: 125
coke is on a distinguished road
Send a message via MSN to coke
Default Re: I need help please

1)Mambo has a built in function that if anyone tries to run a script without calling it through Mambo, the script will not run.

that's not a built in function!

2)if you really want to link directly to a component you'll have to hack it because it uses functions of mambo that won't be available when accesing from outer space
__________________
Como quieres que te quiera si el que quiero que me quiera no me quiere como quiero que me quiera
coke is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12.04.2005, 23:28   #6 (permalink)
Baby Mamber
 
bucabay's Avatar
 
Join Date: May 2004
Posts: 12
bucabay is on a distinguished road
Exclamation Re: Accessing Mambo components from non-mambo sites

Quote:
Originally Posted by locokaress
hello
I want to directly link certain php pages from my website to other site for instance http://www.whateva.com/components/co...it/shoutit/php when i link directly to this site i get a promting sayin that i cannot access or view this page directly
SO my question is
Is there another way i can link these components and modules directly
Accessing a mambo component from outside mambo is not a good idea.

In each file inside a mambo component (or any other addon) in mambo you should find the lines:

PHP Code:
defined('_VALID_MOS') or die('Direct Access to this location is not allowed.'); 
This makes sure that the file is being accessed from within mambo or dies.
If you remove this line you can access the component from outsite mambo but open a security risk.

If you want to be able to use a component both in mambo and on another non-mambo site. It would be better to have the component run as a standalone script (hosted outsite mambo) and have the interface for using the script within mambo. That way if someone hacked into the component they are not hacking into your mambo site.

For example:
If you want the same shoutbox in mambo and a non-mambo site.
Have the shoutbox hosted outsite mambo. Then in mambo have a component (or in this case a module) that posts to the shoutbox (purely html for a shoutbox).
Managing the shoutbox can also be done from mambo. Configure your component to access the shoutbox database and manage the shoutbox. Remember to still include the lines:

PHP Code:
defined('_VALID_MOS') or die('Direct Access to this location is not allowed.'); 
in your mambo component.
__________________
Fiji Web Design
Mambo Components:
Cpanel Email for Mambo!.
Mambo Components:
AJAX Chat for Mambo!.
bucabay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 26.04.2005, 07:34   #7 (permalink)
Mamber
 
Join Date: Apr 2004
Posts: 50
me@phil-taylor.com is on a distinguished road
Default Re: Accessing Mambo components from non-mambo sites

What you need is the tool from PHIL TAYLOR over at:

https://www.phil-taylor.com/Free-Pro...mbo-PHP-Pages/
__________________
Phil Taylor -Developer
http://www.phil-taylor.com/
I only read these forums by RSS feed, so to get my attention just say my name in a post
me@phil-taylor.com is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06.05.2005, 07:44   #8 (permalink)
Baby Mamber
 
bucabay's Avatar
 
Join Date: May 2004
Posts: 12
bucabay is on a distinguished road
Exclamation Re: Accessing Mambo components from non-mambo sites

Quote:
Originally Posted by me@phil-taylor.com
What you need is the tool from PHIL TAYLOR over at:

https://www.phil-taylor.com/Free-Pro...mbo-PHP-Pages/

I second that... !!!
__________________
Fiji Web Design
Mambo Components:
Cpanel Email for Mambo!.
Mambo Components:
AJAX Chat for Mambo!.
bucabay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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



All times are GMT +2. The time now is 05:02.

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.