JavaScript Development
 
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 DesignJavaScript Development

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 January 23rd, 2002, 02:00 PM
indivision's Avatar
indivision indivision is offline
Flash Master / PHP Jester
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Location: Redondo Beach, CA
Posts: 133 indivision User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 36 m 7 sec
Reputation Power: 12
Drawing variables from various DHTML layers.

Scenario:

I have a page with session variables in the URL. A new DHTML layer is created with a flash movie. This movie calls a php script that sends the variables in. However, since it is on a new layer, the variables don't seem to exist there.

This is the script I am currently using:

PHP Code:
<?

print "&tid=$tid";
print 
"&username=$username";

?>


Question:

Is there a way that I can modify this script to draw these variables from the bottom layer that would contain the variables?
__________________



-Joe

Reply With Quote
  #2  
Old January 23rd, 2002, 09:21 PM
webgremlin webgremlin is offline
small, green, and connected
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: FL, SC
Posts: 63 webgremlin User rank is Private First Class (20 - 50 Reputation Level)webgremlin User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
if you mean that you have the session id in the url, you just need to make sure that whatever php script you call with the flash also has the session id in the url

-wg <><

Reply With Quote
  #3  
Old January 23rd, 2002, 10:11 PM
indivision's Avatar
indivision indivision is offline
Flash Master / PHP Jester
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Location: Redondo Beach, CA
Posts: 133 indivision User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 36 m 7 sec
Reputation Power: 12
strangely, we called the flash movie with the id in the url but for some reason. it wasn't available.

Reply With Quote
  #4  
Old January 23rd, 2002, 10:53 PM
webgremlin webgremlin is offline
small, green, and connected
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: FL, SC
Posts: 63 webgremlin User rank is Private First Class (20 - 50 Reputation Level)webgremlin User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
if the flash movie calls a php script, then that php script needs to know about the session variable. try making that call include the session id.

-wg <><

P.S. - I have zero experience calling php from flash, so I don't know exactly what you mean by that. I observe that some people put the content of html pages in to their flash. If that's how this is working, what you need is for the session id to be in the url called in the flash movie.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > Drawing variables from various DHTML layers.

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