On Tue, Jun 08, 2010 at 09:37:00PM +0100, Srdjan Todorovic wrote:
On 8 June 2010 21:25, James Bensley jwbensley@gmail.com wrote:
On 8 June 2010 21:17, Chris G cl@isbd.net wrote:
Am I reduced to the nasty (but perfectly possible) expedient of page A writing something to a file somewhere and page B reading it?
Probably equally as nasty but another method would be to have a link on page a that is
<a href="PageB.php?val1=hello&val2=world">PageB</a>
Just whatever you do, do not pass var1 or var2 to anything that could spawn a shell or cause commands or custom php to run, or anything that will be used as includes.
Unless, of course, you want to be rooted.
I realise that anything I do like this will probably be horribly insecure but these pages are on a server only visible to my home intranet so (barring serious misconfiguration) security is not a major consideration.
I am also aiming to make the web server a separate machine whose destruction would not be a disaster.