Jump to content

dkperez

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Everything posted by dkperez

  1. Can you elaborate on that? Isn't "my computer" the client? It's a single laptop that'll have the software running locally... So, again, still have the same problem.... Even WITH the full path I can't get Notepad or Irfanview or anything else to come up and run normally.
  2. OK, found the thing in services to tell Apache to interact with the desktop....... Shut everything down and restarted....... When I run the php, instead of getting a notepad window I just get "loading" and nothing happens....... What am I missing?
  3. Let me switch to a (hopefully) more generic example: <?php $status=exec ("notepad.exe"); ?> which I PRESUME should just run notepad.... Unfortunately, you lost me with the "go into the Apache service under the Windows service control panel and check the "Allow service to interact with desktop" checkbox and restart the Apache service." I'm running xampp, so I'll have to figure out how to get into the Windows service control panel and all that....
  4. OK, I"ve either made this EASIER or a LOT HARDER...... I found out last night that the facility where the meeting is held, and where the slideshow needs to be shown HAS NO WI-FI........ So, there's no Internet connection that'll do me any good....... SO, I"m going to have to rethink this whole mess... Probably just run the browser locally, and do something with a php slideshow.....
  5. Tried the line, which is one I've tried before. I get the "loading" message and spinning indicator, but nothing ever comes up...... It doesn't get much simpler than this example, so what's going on? <?php $status=exec ("c:\\xampp\\htdocs\\i_view32.exe /slideshow=xxx.txt"); ?>
  6. I've already done all the stuff in the replies...... I don't get an image..... The full-sized images to be displayed are located in a folder on the LOCAL system. The browser is running from the web server, and all the necessary full path and file information is available there.... BUT, to simplify things, here's a simplified version of my html that (AS NEAR AS I CAN TELL) should display an image..... It DOESN'T....... I need someone to tell me what's wrong with the syntax: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> </head> <body> <div> <form> <a><img src="file:///d:/dew.jpg" alt="NO IMAGE AVAILABLE"></a> </form> </div> </body> </html> I've even attached a much smaller, low quality version of the dew.jpg file....... What have I got wrong in here? [attachment deleted by admin]
  7. I want to display images. LOCAL IMAGES. We can argue about all the reasons to "download the files from the server" and all the other extraneous stuff, but right now I need to know HOW to do this... In php I figure out what files should be in the show and create a file with the list. Irfanview has a command line option so it'll start up and display the local files. It looks like: c:\xampp\htdocs\i_view32.exe /slideshow=xxx.txt Open a Windows command window, put in the text, and it works PERFECTLY...... HOW do I do this from php? I found the "EXEC" command, and tried: $status=exec ("c:\xampp\htdocs\i_view32.exe /slideshow=xxx.txt"); and I get activity, but no Irfanview popping up and running... What DO I need to do to get this to work?
  8. I want to display a local image from a browser. Without wasting the time on a urination festival about "why do I want to display a local file" or "why not download it from the server", trust me that I want to display a local image..... php sets everything up, so I have the full path and all for the image. In the form I have: <a><img src="c:/xampp/htdocs/images/xxx.jpg" alt="NO IMAGE AVAILABLE"></a> and all I get is "NO IMAGE AVAILABLE". I rummaged around, and found that wiki insists that the correct syntax is: <a><img src="file:///c:/xampp/htdocs/images/xxx.jpg" alt="NO IMAGE AVAILABLE"></a> but I get the same "NO IMAGE AVAILABLE"...... So, from a plain old, regular html file that has a form in it, HOW do I display this image?
×
×
  • 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.