Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 12th, 2002, 11:01 AM
[.RO]NIN [.RO]NIN is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: Romania
Posts: 5 [.RO]NIN User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to [.RO]NIN
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.

Reply With Quote
  #2  
Old December 13th, 2002, 01:38 PM
freddydoesphp freddydoesphp is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2000
Posts: 669 freddydoesphp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
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.

Reply With Quote
  #3  
Old December 13th, 2002, 02:20 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,966 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 52 m 24 sec
Reputation Power: 189
[.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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > win nt 40 + apache::can't read php generated variables into Flash MX

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap