xoops forums

Forum Index


Board index » All Posts (hervet)




hervet

Friend of XOOPS
Posted on: 2009/7/29 14:15
hervet
hervet (Show more)
Friend of XOOPS
Posts: 2267
Since: 2003/11/4
#31

Re: PHP-Debugging without XOOPS

Hello frank,

Quote:

frankblack wrote:
Hope this is helpful to someone?

Yes to me !
This is an excellent initiative.
Hope this code will be part of new versions.

Bye,
Hervé


hervet

Friend of XOOPS
Posted on: 2009/6/12 7:38
hervet
hervet (Show more)
Friend of XOOPS
Posts: 2267
Since: 2003/11/4
#32

Re: XoopsObject and design patterns?

It's a little bit of the "active record" design pattern.


hervet

Friend of XOOPS
Posted on: 2009/4/29 5:52
hervet
hervet (Show more)
Friend of XOOPS
Posts: 2267
Since: 2003/11/4
#33

Re: Ultimate e-commerce solution, needs integration

There's no relationship between Php4 and the .htaccess file.
The last one is used for url rewriting.
In all the cases, the module requires Php5:
http://xoops.instant-zero.com/modules/faq/faq.php?faqid=18


hervet

Friend of XOOPS
Posted on: 2009/3/20 10:36
hervet
hervet (Show more)
Friend of XOOPS
Posts: 2267
Since: 2003/11/4
#34

Re: Hook system for Xoops

Hello,

Quote:

kaotik wrote:
Hervet: how would this be implemented? Something like $XoopsHook? Wouldn't that be the idea Catzwolf is already sugesting with $hook = XoopsHook::getInstance();?


This is just a quick idea :
$service = XoopsServices::getInstance();

$service->call('mymodule', 'myMethod', 'Credentials', 'myParameter1', 'myParameter2', ...);

For example :
$service->call('News, 'CreateArticle', 'myFantasticPassword', array('Title' => 'My article', 'Content' => 'Hello world', etc));


For getting information :
$service->get('mymodule', 'myMethod', 'Credentials', parameters);

Several advantages :
1/ By using a XOOPS layer, XoopsServices, it will enable modules to speak between them and it will enable external "clients" to talk with us (a Java applet, another website etc)
2/ XOOPS itself could use this to communicate with modules. For examples for each module's search

This is just SOAP.

bye,
Hervé


hervet

Friend of XOOPS
Posted on: 2009/3/20 8:50
hervet
hervet (Show more)
Friend of XOOPS
Posts: 2267
Since: 2003/11/4
#35

Re: Hook system for Xoops

All this sounds excellent but why limit to exchanges between modules ?
A layer for web services could enable modules to "discuss" and will enable modules to be called from the outside.


hervet

Friend of XOOPS
Posted on: 2009/3/19 12:32
hervet
hervet (Show more)
Friend of XOOPS
Posts: 2267
Since: 2003/11/4
#36

Re: Module Repository: Question and Answer Session

I vote for attaching banks to the GPL license


hervet

Friend of XOOPS
Posted on: 2009/3/13 15:10
hervet
hervet (Show more)
Friend of XOOPS
Posts: 2267
Since: 2003/11/4
#37

Re: My search 1.1 SQL Injection vulnerable

Quote:

trabis wrote:
This only happens if using "magic quotes gpc" in php settings.

no


hervet

Friend of XOOPS
Posted on: 2009/3/13 14:03
hervet
hervet (Show more)
Friend of XOOPS
Posts: 2267
Since: 2003/11/4
#38

Re: My search 1.1 SQL Injection vulnerable

I could be wrong but :

1/ Data are coming from XOOPS itself, so sanitized and they are sanitzed by the module by this code :
if (!$searches->cleanVars()) {
            foreach(
$searches->getErrors() as $oneerror) {
                echo 
"<br><h2>".$oneerror."</h2>";
            }
            return 
false;
        }

Just before the code you mention.

2/ If there is an Sql injection, quoteString will not change anything.


hervet

Friend of XOOPS
Posted on: 2009/3/11 9:46
hervet
hervet (Show more)
Friend of XOOPS
Posts: 2267
Since: 2003/11/4
#39

Re: E-Mall

Don,

I'm going to contact you.

Bye,
Hervé


hervet

Friend of XOOPS
Posted on: 2009/3/10 9:11
hervet
hervet (Show more)
Friend of XOOPS
Posts: 2267
Since: 2003/11/4
#40

Re: XOOPS 2.3.3rc Issues

On my homepage, I have :
Quote:

Warning: Smarty error: unable to read resource: "db:system_homepage.html" in file /class/smarty/Smarty.class.php line 1092




TopTop
« 1 2 3 (4) 5 6 7 ... 139 »