View Full Version : going to different pages via php

12-28-2004, 03:25 AM
hi all,
I have a full flash site, with pages such as INFO, AUDIO, VIDEO etc...

now what i want is, to be able to write a link in my browser, and start my website straight at that page, e.g. http://abstracttv.com/video - and maybe have an index.php in that folder, have a different folder for each menu item. Maybe that might not be the best way to do it, maybe its better to do: http://abstracttv.com/loader.php?page=video . And then of course I have to deal with this info in flash!!

Does anyone have experience with this? the first method would be easier for the user to remember i guess (dunno why that would be important!!), but i guess the 2nd one would be easier to maintain (if a new page is added, modified etc.) and what kinda code would I need in the flash side (obviously the actual loading of the specified page i can take care of, its juz the getting the information from php that im not sure about)...


12-28-2004, 02:17 PM
This page might be some help... :)

12-28-2004, 04:40 PM
I think what you want is $HTTP_SERVER_VARS in PHP. It's an array of server variables. You should be able to extract the requested page from there and pass it to your Flash movie on the query string of the swf url in your object and embed tags.