I start my xampp using user-1 .
I start my application in localhost (localhost/myapplication/index.php)
When I click on button I am executing following command to open pdf:
PHP code:
- Code: Select all
$cmdpdf = '"C:\Program Files (x86)\Foxit Software\Foxit Reader\FoxitReader.exe" '.$pdfnameinTempdeudPDF.'';
shell_exec($cmdpdf);
It open PDF for user-1 his current screen using FoxIT Reader.
For user-2
There is no need to start xampp as its alredy started by user-1
I start my application in localhost (localhost/myapplication/index.php)(using different session with login)
When I click on button then its opens PDF in user-1 screen.
Can you please help me in that?