Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #7754
| From | "Robert Bralic" <robert.bralic@si.t-com.hr> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: How to run program from php..? |
| Date | 2012-12-10 13:46 +0100 |
| Organization | T-Com |
| Message-ID | <ka4lin$h8o$1@ls237.t-com.hr> (permalink) |
| References | <ka43jm$l74$1@ls237.t-com.hr> <918e61f4-eaa4-4089-9fa4-deb9468df09d@r3g2000vbn.googlegroups.com> |
"Captain Paralytic" <paul_lautman@yahoo.com> wrote in message news:918e61f4-eaa4-4089-9fa4-deb9468df09d@r3g2000vbn.googlegroups.com... On Dec 10, 7:39 am, "Robert Bralic" <robert.bra...@si.t-com.hr> wrote: > Hi, > > I want to run an external program from > php like this: > ?> > <a href="C:\Program Files\Adobe\Acrobat 6.0\Acrobat"><?php echo > $row[8]; ?></a> > <?php > > This marks file as link but doesen't run Acrobat.. > > Thanks in advance, Robert...;) Oh boy Robert, you have an awful lot to learn. the <a href...> part is HTML, it is nothing to do with php. HTML is interpreted by your browser. php runs on the server and so it has no way of opening acrobat on your client (a PC, tablet, phone, ...). If you check the documentation for HTML (there is lots around on the internet), you will never find anything that says that you can put such a link in there. At best, you could have your client configured such that, if say a .pdf file is delivered by the browser, it will launch Acrobat, but that is dependant on the set up of your machine (and influenced by the headers sent by the server). Escouse me for souch a stupid question, I understoded that this what it hapens on client not a server side, 5 minuts after putting a question... Thanks, Robert..;)
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to run program from php..? "Robert Bralic" <robert.bralic@si.t-com.hr> - 2012-12-10 08:39 +0100
Re: How to run program from php..? Captain Paralytic <paul_lautman@yahoo.com> - 2012-12-10 03:02 -0800
Re: How to run program from php..? "Robert Bralic" <robert.bralic@si.t-com.hr> - 2012-12-10 13:46 +0100
Re: How to run program from php..? The Natural Philosopher <tnp@invalid.invalid> - 2012-12-10 15:23 +0000
csiph-web