Jump to content

[SOLVED] Hiding the ECHO function


Amps

Recommended Posts

what do you mean teh code is visible on screen? do you mean you can see php code in your markup?

 

or do you mean you want to hide all teh flash vars being sent to the swf?

 

If its the latter I suggest that you look a retrieving data within the swf using xml (the xml can be generated by a php script called by the swf) to generate the info.  It could be that you place all the data you need in a session variable, call the php script that generates the data and then clear those session vars - unless someone knows what the session vars are called they will be unable to see what info is being sent...

Example:

 

I have a index.php page with lots of variables like

 

$var1 = "Whatever";

 

I pass the variables to flash using

 

echo("&var1=$var1&")

 

I have a flash movie on that page which is displaying these variables then BUT

 

since im using echo the variable is ALSO displayed on the body of the page.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.