LocalConnection problem

i’m basically trying to make an updating function for a site.
if i have the two swf files open i get the localconnection class to work, but when i open the html pages it wont work. also how can i get the information that are being sent into the other movie to be saved? I’m trying to get this to work using php aswell but trying different ways to go about this… any ideas any1?