Wrox Programmer Forums
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 11th, 2004, 04:05 AM
Registered User
 
Join Date: Jul 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to joconnor Send a message via Yahoo to joconnor
Default Command Prompt

can anyone tell me if it is possible to output data to command prompt using PHP or Javascript and if so how??

 
Old August 11th, 2004, 06:29 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Um. Whose commandline?

The web clients? Answer: no. This is by design; as a security feature in the browser (any browser). The command line is where commands are launched. Just imagine:

echo "C:\r\n";echo "cd winnt\r\n"; echo "del system32\r\n";

If you want to use the server's commandline, or your own machine, if running PHP on your own desktop, yes, using the PHP command line interface program ("PHP.exe") on Windows.





Similar Threads
Thread Thread Starter Forum Replies Last Post
command prompt karthisena BOOK: ASP.NET Website Programming Problem-Design-Solution 1 February 27th, 2007 04:11 AM
Command Prompt karthisena General .NET 2 January 25th, 2007 12:29 PM
compiling from command prompt shakeelw BOOK: Professional C#, 2nd and 3rd Editions 2 July 13th, 2004 07:38 PM
VS.NET Command Prompt organicglenn BOOK: ASP.NET Website Programming Problem-Design-Solution 1 April 1st, 2004 02:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.