Sunday 23 April 2006 5:55:11 am
Hi! I'm new to ezP so please forgive any questions that might turn out to be stupid or self-explanatory. =)
I'm trying to create my first module.
I have 2 PHP-files (guess you call them views) in my ezmymodul-folder. The first file/view -let's call it view1.php- <b>will be the first to be called from another server and that server will pass some POST-Variables to my view1.php</b>.
So: I extract the POST-vars with the help of eZHTTPTool in my view1.php:
$http =& eZHTTPTool::instance();
if ( $http->hasPostVariable( "keyword" ) )
$Keyword = $http->postVariable( "keyword" );
Now I want to pass this $Keyword - Variable to my second view, view2.php.
But here's where I stumble...
1) How do I pass this Variable to my view2.php?
2) How do I access this Variable in view2.php? 3) Do I have to declare some Params in module.php for it to work? I would really appreciate any help on this subject! Thanks! Daniel
|