HTML Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherHTML Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old February 16th, 2007, 04:30 AM
feeblminds feeblminds is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jan 2007
Posts: 54 feeblminds User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 40 m 2 sec
Reputation Power: 4
Running windows commands from a webpage.

Is there anyway to run windows command from a webpage. Not for malicous purposes. Basically I have built a system in php that allows my employees to track case progress. Its all done online thorugh mysql and php. I want them to be able to click a button that will open something like 'explorer x:\mydocs\client1\'.

I think its probably not possible for security reasons but does anybody know of any javascript that may do this??

Reply With Quote
  #2  
Old February 16th, 2007, 04:34 AM
feeblminds feeblminds is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jan 2007
Posts: 54 feeblminds User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 40 m 2 sec
Reputation Power: 4
In fact I just figure it out in IE, its a simple as linking to 'file://x:\clients files'. Does anybody know of a method that may work in firefox.

Reply With Quote
  #3  
Old February 17th, 2007, 02:56 PM
tstolber's Avatar
tstolber tstolber is offline
Contributing User
SEO Chat Loyal (3000 - 3499 posts)
 
Join Date: Jul 2004
Location: Bedfordshire
Posts: 3,098 tstolber User rank is Second Lieutenant (5000 - 10000 Reputation Level)tstolber User rank is Second Lieutenant (5000 - 10000 Reputation Level)tstolber User rank is Second Lieutenant (5000 - 10000 Reputation Level)tstolber User rank is Second Lieutenant (5000 - 10000 Reputation Level)tstolber User rank is Second Lieutenant (5000 - 10000 Reputation Level)tstolber User rank is Second Lieutenant (5000 - 10000 Reputation Level)tstolber User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 9 h 7 m 57 sec
Reputation Power: 72
Send a message via Google Talk to tstolber Send a message via Skype to tstolber
As long as the people viewing the page are at the location and on the network where the server is you just call the file up. If the browser has the plug in to handle the file then it will work, basically it sounds like you need an Intranet solution.

If thats not the case then you are probably better off using a non web based application and using an extranet with VPN tunnellin gif the people using the system are not at the location.

Further to this, if certain browser settings are turned on you can run an activeX application that can execute code.

I think the setting in IE is Allow Active Content to run and you need Java installed. I have used a web conferencing set up like this that allows control over the users machine.

Be a bit more specific and I will see if I can provide a more definitive answer. This is probably more of a forums.devshed.com question though, try there.

Reply With Quote
  #4  
Old February 23rd, 2007, 09:50 PM
brandall brandall is offline
Contributing User
SEO Chat Regular (2000 - 2499 posts)
 
Join Date: Aug 2004
Location: Bay Area, CA
Posts: 2,350 brandall User rank is Sergeant Major (2000 - 5000 Reputation Level)brandall User rank is Sergeant Major (2000 - 5000 Reputation Level)brandall User rank is Sergeant Major (2000 - 5000 Reputation Level)brandall User rank is Sergeant Major (2000 - 5000 Reputation Level)brandall User rank is Sergeant Major (2000 - 5000 Reputation Level)brandall User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Weeks 3 Days 5 h 59 m 33 sec
Reputation Power: 46
Why do you need to access anything via Windows if the application is all in PHP/MySQL? It seems a lot portable and safe to just use PHP to access whatever it is your after. It is very simple to use PHP the read the files in a directory and make them available for download.

What exactly are you wanting to accomplish?

And in short, as long as your user is willing to install an ActiveX component or Java Applet, you can do just about anything you want on their machine. But you will also be opening them up to all kinds of security issues if you are not very careful with the application. In general, it is not a good way to go in my opinion.
__________________

"Live never to be ashamed of what is written about you. Even if what is written is not true" -- Richard Bach

Yahoo Store SEO

Reply With Quote
Reply

Viewing: SEO Chat ForumsOtherHTML Coding > Running windows commands from a webpage.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 8 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek