Hi,
If I understand you want to use your php application to search between the stocks and then subscribe to Lightstreamer the found stocks to receive real-time updates.
In brief the php part "decides" which stocks to subscribe to while the Lightstreamer part gives the real time updates.

Is that right?