
As an interesting aside, heinzbakedbeans.com hasn't been registered by anyone.
( ,
Sun 16 Feb 2003, 23:52,
archived)

To anyone who can solve this problem.
I have Apache2 and PHP 4.3.0 (SAPI module) on a Windows XP system. PHP scripts process ok to the localhost Apache, but when I try to send or retrieve variables from/to a Flash 5 form using Post/Get (and I have tried using an example which works on the web ok) the variables don't get passed. Any ideas?
Here's the error.log generated when I try a simple back and forward passing variable script
PHP Notice: Undefined variable: value in C:\Program Files\Apache Group\Apache2\htdocs\middle.php on line 1
PHP Notice: Undefined variable: value in C:\Program Files\Apache Group\Apache2\htdocs\middle.php on line 9
PHP Notice: Undefined variable: value in C:\Program Files\Apache Group\Apache2\htdocs\middle.php on line 12
Any help greatly appreciated
( ,
Sun 16 Feb 2003, 23:59,
archived)
I have Apache2 and PHP 4.3.0 (SAPI module) on a Windows XP system. PHP scripts process ok to the localhost Apache, but when I try to send or retrieve variables from/to a Flash 5 form using Post/Get (and I have tried using an example which works on the web ok) the variables don't get passed. Any ideas?
Here's the error.log generated when I try a simple back and forward passing variable script
PHP Notice: Undefined variable: value in C:\Program Files\Apache Group\Apache2\htdocs\middle.php on line 1
PHP Notice: Undefined variable: value in C:\Program Files\Apache Group\Apache2\htdocs\middle.php on line 9
PHP Notice: Undefined variable: value in C:\Program Files\Apache Group\Apache2\htdocs\middle.php on line 12
Any help greatly appreciated

.. are you retrieving the variables in the PHP code?
Like, are you using the shorthand, or the full $HTTP_POST_VARS[""] array?
Can you post forms from a normal HTML form to a PHP page?
And you can keep the beer :-)
( ,
Mon 17 Feb 2003, 0:02,
archived)
Like, are you using the shorthand, or the full $HTTP_POST_VARS[""] array?
Can you post forms from a normal HTML form to a PHP page?
And you can keep the beer :-)

I reckon. I think there is a flag which you can turn off.
( ,
Mon 17 Feb 2003, 0:02,
archived)

is that I discovered the answer myself when I installed the older versions of PHP and Apache, but it was 3 am and I didn't write it down. (Of course, Macromedia's site is shite all wanking bastard fucking use, I'm never paying for one of their products ever again)
( ,
Mon 17 Feb 2003, 0:09,
archived)

though not waving, beating and smashing perhaps
( ,
Mon 17 Feb 2003, 0:10,
archived)

but with 4.2.1 you have to retrieve yer variables using $_POST["woo"] or $_GET["yay"] instead of ye olde method....
( ,
Mon 17 Feb 2003, 0:11,
archived)

just make the PHP script generate the output something like this
&variablename="wankyfucksocks"
and that would work
edit: There must be a site which explains this, I've been looking and there seem to be a few methods of doing it, but some are probably for older versions?
( ,
Mon 17 Feb 2003, 0:13,
archived)
&variablename="wankyfucksocks"
and that would work
edit: There must be a site which explains this, I've been looking and there seem to be a few methods of doing it, but some are probably for older versions?

Doesn't the & symbol indicate a pointer? And you missed a semicolon :-)
( ,
Mon 17 Feb 2003, 0:16,
archived)

the system variable 'trackvariables' (I think) was on, now it's off....the readmes say all of this anyway; basically you need to grab the variables using either Snoop's suggestion or mine.
( ,
Mon 17 Feb 2003, 0:22,
archived)

edit: No I'm doing something fundamentally more stupid than that I'm sure.
This is the Actionscript for the button to submit a variable, but it doesn't do it, nothing gets passed.
on (release) {
getURL ("middle.php", "_blank", "GET");
}
( ,
Mon 17 Feb 2003, 0:16,
archived)
This is the Actionscript for the button to submit a variable, but it doesn't do it, nothing gets passed.
on (release) {
getURL ("middle.php", "_blank", "GET");
}

expecting to be passed to middle.php? Does GetURL create a global variable?
( ,
Mon 17 Feb 2003, 0:23,
archived)

on a flash movie frame. And I think they may be global variables.
edit: I note global variables are set to off in PHP.ini. Damn I feel dim.
MANY THANKS. :D
( ,
Mon 17 Feb 2003, 0:28,
archived)
edit: I note global variables are set to off in PHP.ini. Damn I feel dim.
MANY THANKS. :D