|
Posted by <talthen.z-serwera.o2 on 08/24/05 19:05
"Kimmo Laine" <eternal.erectionN05P@Mgmail.com>
> Why do you write to $_REQUEST in the first place? $_REQUEST is the array
> that holds all the userinputs, so why would you want to write into that?
> And also why would you use variable variables method for this, when a
> simple array reference is much more simple. This makes no sense at all to
> me.
Well... it's an ultra hacking method :P
I have an engine php script and some templates in php script. It is much
easier for me to change the engine, than all the templates.
All of this is working that way:
Engine1 from template1 is generating a website, I click OK and then the date
is send to engine2, which is generating the webpage using template2.
It worked fine, but I had to make new fields available in all templates used
by engine2. So it was much easier to add new $_REQUEST items in the engine2
(rest of $_REQUEST is passed from engine1) :]
It's a bit tricky, but works fine now :)
Regards,
Talthen
[Back to original message]
|