|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
win nt 40 + apache::can't read php generated variables into Flash MX
Hello everybody!
This is my first message on this forum. I have the following problem: System: Win nt 4.0 service pack 6 Apache PHP MySQL Flash MX The problem: reading php generated variables from Flash The php script looks like this: PHP:-------------------------------------------------------------------------------- <? $result = $HTTP_GET_VARS['input'] +1; print "result=$result"; ?> -------------------------------------------------------------------------------- When I enter in the browser's address window the following address: <http://localhost/phpFile?input=100> In the Browser window appears: <result=101> So the php works fine with Apache! The next step would be to read the "result" variable into Flash, using the "loadVars()" method. This part doesn't work. What could be the problem? Win NT permissions? Apache settings? PHP .ini settings? I hope that somebody has the answer. |
|
#2
|
|||
|
|||
|
It could be any number of things.
What version of PHP are you using? I find that using $_REQUEST for PHP 4.2 and above instead of $HTTP_GET_VARS works good. Also what does your actionscript look like? Maybe the problem lies there. |
|
#3
|
|||
|
|||
|
[.RO]NIN, please donīt cross-post. Delete this post. (Click on "edit" on top here, check "delete" on the left and press the "delete" button.)
http://forums.devshed.com/showthread.php?threadid=48442 freddydoesphp, there is also some code.
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > win nt 40 + apache::can't read php generated variables into Flash MX |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|