Hello,
I have a website with Joomla 3.4.8, with the extension Chronoforms5 RC6, where I developed a form.
In the onsubmit event, I
- A multi-page element (it is a form several pages which works fine)
- An element Custom code
- A redirection element to a PHP page, test.php, (an online payment gateway of)
I would like, using the element Custom code, insert a PHP code to write in $ _SESSION.
So I wrote:
and retrieve information for $ _SESSION in php test.php file.
Test.php The file contains:
and nothing is displayed.
I try the solution below:
http://stackoverflow.com/questions/9459430/include-jfactory-class-in-an-external-php-file-joomla
Doesn't work
I'm interested in any solution ...
I have a website with Joomla 3.4.8, with the extension Chronoforms5 RC6, where I developed a form.
In the onsubmit event, I
- A multi-page element (it is a form several pages which works fine)
- An element Custom code
- A redirection element to a PHP page, test.php, (an online payment gateway of)
I would like, using the element Custom code, insert a PHP code to write in $ _SESSION.
So I wrote:
session_start();
$_SESSION['test']='oui';
session_write_close();
and retrieve information for $ _SESSION in php test.php file.
Test.php The file contains:
session_start();
echo '<pre>';
print_r($_SESSION);
echo '</pre>';
and nothing is displayed.
I try the solution below:
http://stackoverflow.com/questions/9459430/include-jfactory-class-in-an-external-php-file-joomla
Doesn't work
I'm interested in any solution ...