Welcome Guest, Not a member yet? Register   Sign In
how can i run exe file ??
#1

[eluser]abada[/eluser]
like

echo exec('notepad.exe');


thanks
#2

[eluser]pickupman[/eluser]
Executing windows binary files maybe disabled on some server environments. If you are able to, try using the full path to the file. You will need to use / forward slashes for the path.
#3

[eluser]abada[/eluser]
@pickupman thanks
i tried

$addr = 'C:\Program Files\PDFCreator\PDFCreator.exe /PF"c:\a.doc"';
exec ($addr,$output, $return);

but no response from server

any ideas ??
#4

[eluser]pickupman[/eluser]
For security reasons this is probably disallowed. If you need to create a PDF file checkout dompdf in the wiki.
#5

[eluser]techgnome[/eluser]
Also... since it's running on the server, if the app does open... it's on the server, not the client. So if you were expecting it to open notepad on your client machine, you could be waiting a very very very long time.

-tg
#6

[eluser]abada[/eluser]
i found solution and i want to share with u
http://www.princexml.com/doc/7.0/

have funny Big Grin
#7

[eluser]chazy (aldever calvo)[/eluser]
are you successful with this?
my problem is similar to yours...

i have a text file and i want to make an executable file in which after the client download will automatically execute and write the text file to client's hard disk
#8

[eluser]InsiteFX[/eluser]
CodeIgniter removed the percent sign 20 for spaces you need to use them for spaces.

It's file://laptop/My Documents/FileSchemeURIs.doc Like so

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB