Buy Now
Sign in

So, it was the Israeli Zionists behind all my problems!

For everyone who read about the problems I have been having the last few years, the zionist criminals are behind that, they have loyal groups around the world whom they use to hit innocenets, they do not like GOOD JUST people who can create bridges and make peace, specifically those who are religious, Muslims or Christians, And this is because the zionists are here to devide and destroy!

My life has been miserable, and they tried to make me think it's the French, the Italians, the Canadians, the Turkish, the Egyptians, the Germans, the Russians, the Malaysians, the Chrinese, the Japanese, they even used some American decoy, but it was them, the dirty zionists!

How do they play this ? Using cause and effect, they hit me while giving a logical reason related to one of the groups above, the reason is fake of course, but it took me a long time to understand this, almost 10 years, it's very difficult to think straight when someone is emotionally disturbed!

These criminals possess the following technologies:

  1. They create fake dreams, and can make in sleep interrogations and information extraction!
  2. They can disturb memory and play with the neurotransmitters' balance during sleep, you wake up the next day feeling horrible for no reason, trying to remember something happy gives no emotions at all!
  3. They use the cell phones to capture your brain waves and analyze it to know how do you feel and what you are thinking about (Google Glass was doing something similar)

They have been using these techniques against me for years to break me down while trying to make me suspect any of the groups above based on the situation, making me live in sadness and depression alone, they denied me friends and they destroyed all my relationships, and recently they started to torture me and tried to make me commit suicide in HongKong.

I do not believe a lot of people know this info, please share it, for the sake of God, for the sake of humanity!

Max

CF V3 On Submit Before Email

Nicodemus , July 26 2011, 09:43
N
Nicodemus 19
July 26 2011, 09:43 #73699
I'm doing something wrong here but can't track it down.

J 1.5.23
CF

Straightforward form with checkboxes, textboxes, a textarea and an imageverification and submit button.

Sends emails ok, add rows to db table ok. Lovely.

Now I want to add some sanitisation using JRequest in the 'On Submit code - before sending email' in the 'Form Code' tab.

'compname' is a textbox in the form.

<?php
$compname = JRequest::getString('compname','Noinput','post');
JRequest::setVar('compname', $compname);
?>


I put 'Noinput' in the default value for the getString in the hope it would show up in the email and table row thus indicating the code was running but I get nothing Nor does CF's debug show 'Noinput' in the POST array for 'compname'.

Emails are on in the general tab. DB Connection is enabled and set to 'after email'. Mootools upgrade plugin is disabled. J email cloaking plugin is ordered before the chronoforms J plugin.

There is a thank you message in the 'On Submit code - after sending email'

The form is embedded in an article using the CF J plugin.

Nick
GreyHead 65
July 26 2011, 09:58 #73700
Hi Nicodemus ,

All that sounds correct to me. Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

Bob
If you'd like to buy me a coffee or two, thank you very much
N
Nicodemus 19
July 26 2011, 10:16 #73703
Will do, thanks Bob.

Nick
GreyHead 65
July 26 2011, 13:44 #73719
Hi Nick,

I can't see why this isn't working - but it isn't. Maybe something in Joomla! changed ???

Here's a workaround:
<?php
$compname = JRequest::getString('compname', 'Noinput', 'post');
if ( !$compname ) {
$compname = 'Noinput';
}
JRequest::setVar('compname', $compname);
?>

Bob
If you'd like to buy me a coffee or two, thank you very much
N
Nicodemus 19
July 26 2011, 15:12 #73724
Hi Bob,

Reckon you're right. Probably a change in core code somewhere. This particular site we're building doesn't have any of the more esoteric J! plugins that can sometimes cause odd behaviour like that. It's pretty bog standard with an Artisteer template, they don't often give us problems.

Thanks for the workround - I'm going to have to think carefully how I go about this since I also want to use some SSV but that's fine .

My original purpose was to gain an indication that the JRequest was working, not to set a default. So perhaps I should dive into the core code and see what they're actually trying to filter out then see if I can inject it

Again thanks for your time Bob. Much appreciated. I'll get you back when I'm not skint. I mean buy you a sherbert

Cheers
Nick
N
Nicodemus 19
July 27 2011, 07:53 #73748
Tested input cleansing and filtering by JRequest and tags in the J api blacklist removed

For example: <html><style='blah /><more tags> Now some text
Gets converted to: Now some text

Cheers

Nick
GreyHead 65
July 27 2011, 09:27 #73751
Hi Nick,

Good :-) Did you also get the 'default value' to work?

Bob
If you'd like to buy me a coffee or two, thank you very much
N
Nicodemus 19
July 27 2011, 09:59 #73757
Hi Bob,

Nope. Default value only works with your workround.

I'd planned to pop a question up on the J! forums but am under pressure to get this and some other stuff done sharpish. So that'll have to wait unfortunately.

Cheers
Nick