Why would you read data from another source when the data isn't in another source. Why not make the php that needs to read from the source that the perl reads from. I really don't even know what's going on anymore.