Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I have one PHP file, php1 sending data to another, php2.
I have a website with an EventStream set to php2.

Ideally, php1 would send the data to php2 and it would then echo it into the stream. However, I don't believe it works like that as there are two separate instances of php2 due to the different connections from php1 and the website.

Is there a better alternative to the following?:

php1 -> php2 -> file
file -> php2 -> website

php1 sends to php2, which writes to a file.
the website requests from php2, which reads from the file and echos

What I have tried:

.................................................................................................................
Posted
Comments
Graeme_Grant 10-Sep-17 21:42pm    
What is php1 & php2? Are they different pages, servers, websites?
[no name] 11-Sep-17 3:24am    
They're PHP files on an apache server

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900