Jump to content

MS-DOS


swap567

Recommended Posts

You can't execute a ms-dos script on a unix server (without third party applications), just as you can't execute bash scripts on a windows server (without third party applications). What operating system the visitor is using has no bearing on the script's execution because php is server-side. Which script are you trying to execute? There may be a unix variant.

Link to comment
Share on other sites

I want to copy a small program that I made with a .exe and that is on a data server only to the c:\temp and execute it so the visitor can see my application

 

I know that maybe for some security we can't do this but maybe and I just want to try.

 

I AM NOT A HACKER

THAT FOR MY JOB

Link to comment
Share on other sites

You would need to have a user download the file and execute it on their system themselves, there's not supposed to be a way you can do it automatically. I'd also advise distributing the source along with the binaries so your customers can have peace of mind if that's something you're willing to do.

Link to comment
Share on other sites

Ok if I can't do this...

 

I have an other question because I tried to do it all in php before doing my application

 

i just need to verify in the server data something like

 

\\servername\folder\......

if the file I'm searching exist.

 

with the function fileExist(file_name)

 

if I try to put the path directly the php return me nothing

Link to comment
Share on other sites

No I want to be able to see the content of another server (data server only)

 

But I can see if the content exist but I can link to the content if I know that he exist. So I just want to have a way to verify if the content exist. After I can show it no problem.

 

Do you have an other way (other than php) to see the content of an other source??

 

I can change my application an write it in an other language....

 

thx

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.