Guest Posted May 4, 2010 Share Posted May 4, 2010 Hi Folks! Does any one know how to make a flash xml file "<link> to a php file? </link>" Example I have a flash map on my site My link it uses a xml file for configuration Here is the code this works as a html link <state> <id>65</id> <name>Worcestershire</name> <link>/partywedding/westmidlands/PWBpage1.php</link> <comment></comment> <color_map>0x352D7D</color_map> <color_map_over>0xE14200</color_map_over> <frame>_top</frame> <image>photo.jpg</image> </state> Here is what i thought would work and didn't <state> <id>65</id> <name>West Midlands</name> <link><?php echo tep_href_link(FILENAME_search_westmidlandspage1); ?></link> <comment></comment> <color_map>0x352D7D</color_map> <color_map_over>0xE14200</color_map_over> <frame></frame> <image>photo.jpg</image> </state> In my filenames.php is the following code define('FILENAME_search_westmidlandspage1', 'partywedding/westmidlands/PWBpage1.php'); Any help is appreciated Link to comment Share on other sites More sharing options...
Guest Posted May 5, 2010 Share Posted May 5, 2010 Can you put php code into a xml file? Link to comment Share on other sites More sharing options...
Guest Posted May 6, 2010 Share Posted May 6, 2010 Ok To put it another way can you call the file : <?php echo tep_href_link(FILENAME_search_westmidlandspage1); ?> In a html way that would hold the session id? These brackets <?php echo tep_href_link(FILENAME_search_westmidlandspage1); ?> are breaking the links for the rest of the page Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.