[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Raxan Framework Online Forum • View topic - got error in hello world itself
Page 4 of 5

Re: got error in hello world itself

PostPosted: Tue Apr 17, 2012 2:11 am
by raymond

Re: got error in hello world itself

PostPosted: Tue Apr 24, 2012 10:18 pm
by finaxis
hello Raymond,
thanks for the last post.

session with raxan

$a = do not want to use file for session handling, use db instead. (how to and how do I use databank feature then)

$b = Raxan::databank is great. but I want to handle 1 session per user across browsers and show alert on next login attempt. I tried using session_set_save_handler (code attached) but can't make it work. Please enlighten me on this.

also any tip/sample code on login / session is humbly requested.

Thanks and Regards,
Finaxis

Re: got error in hello world itself

PostPosted: Wed Apr 25, 2012 2:16 am
by raymond

Re: got error in hello world itself

PostPosted: Sat May 12, 2012 10:10 am
by finaxis
Hello Raymond,
my use case:
user clicks on submit login button(login form):

c()->confirm("Access to this account is blocked. Would you like to un-block right away ?", _event('ok', null,$this->okShow((string) $this->user['username'])), _event('cancel',null,null));

My problem:
Passing the username from the login form to _event('ok') and _event('cancel') when clicked on the confirm dialogue box(js).

In the above "confirm dialogue" , clicking on 'ok' works great, but click on "Cancel" completes the ok-function and then completes the cancel function.

Please move your magic wand.

Thanks and Regards,
Finaxis

Re: got error in hello world itself

PostPosted: Fri May 18, 2012 1:48 am
by raymond
Hi ,

From what I'm seeing the code for the _even() callback is incorrect. You should use the $this->registerEvent() method to first register the "ok" and "cancel" events. Check out the PHP/HTML Source cde in this example:




Best regards,
__
Raymond

Re: got error in hello world itself

PostPosted: Fri May 18, 2012 7:14 am
by finaxis

Re: got error in hello world itself

PostPosted: Fri May 18, 2012 5:00 pm
by raymond

Re: got error in hello world itself

PostPosted: Mon Jul 23, 2012 2:44 pm
by finaxis

Re: got error in hello world itself

PostPosted: Thu Aug 02, 2012 8:38 pm
by finaxis
Hello Raymond,
m longing to use this functionality (checkValidity) with all my forms.

checkValidity.php.zip
test page for checkValidity
(1.58 KiB) Downloaded 1375 times

Please let know what to do to make it work.
Thanks and Regards,
Finaxis.

Re: got error in hello world itself

PostPosted: Fri Aug 17, 2012 3:46 am
by raymond
Hi,

There are two ways to get the checkValidity() method working:

1. Set $this->preserveFormContent = true inside the _config handler
2. Call $this->updateFormFields() inside the event - This update form fields with postback values

I've attached the updated code.

checkValidity.php.zip
(1.21 KiB) Downloaded 1380 times

See also http://raxanpdi.com/sdk/docs/data-sanitization.html

__
Raymond