Hi,

I am converting my old php-flash project into web2py for GAE. Now, I am
confused about how to set param value.

FYI I used a single php file, index.php to communicate with flash.swf. So,
my other php files like login.php, logout.php, mail.php, xml.php etc used to
be called from this.

Below is the flash object call from index.php-

*<object classid="clsid:XXXXXXXXX-YYYY-ZZZZ-AAAA-BBBBBBBBBB" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0";
width="100%" height="100%" id="main" align="middle">
<param name="allowScriptAccess" value="all" />
<param name="flashvars" value= />
<param name="movie"
value="flash.swf?<?=substr($_SERVER["REQUEST_URI"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1);?>"
/>

<param name="loop" value="false" />
<param name="quality" value="high" />
<param name="bgcolor" value="#eeeeee" />
<embed
src="flash.swf?<?=substr($_SERVER["REQUEST_URI"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1);?>"
loop="false" quality="high" bgcolor="#eeeeee" width="100%" height="100%"
name="main" align="middle" allowScriptAccess="all"
type="application/x-shockwave-flash" pluginspage="
http://www.macromedia.com/go/getflashplayer"; />
</object>*

Now, I have converted those files into login.py, logout.py, mail.py and
xml.py. Now, how will the structure of index.py be? How can I pass
parameters to/from all other classes through index.py? What is the
equivalent of php $_SERVER ???

Any instruction with examples or reference or sample work is appreciated.

Thank you.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to