Search found 6 matches

by Krishma
Thu Mar 09, 2006 10:38 am
Forum: PHP - Code
Topic: PHP and HTML
Replies: 1
Views: 694

PHP and HTML

feyd | Please use and tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color] Hi: I want display a HTML file if count = 1 if not it shouln'd show. How do I do it? <? if(isset ($_POST[$Count = 1])) ?> <html> <fo...
by Krishma
Wed Feb 22, 2006 6:51 pm
Forum: PHP - Code
Topic: Trying to use exec functions to execute and stop program
Replies: 0
Views: 172

Trying to use exec functions to execute and stop program

Hi: 1. I am executing exec function to start a program(Start ABC) 2. writing its output to a file(using batch file to do this) 3. Displaying that file(TEXT) 4. Stopping program (KILL) My problem is I want to delete TEXT file. As I have KILLED the process it is not allowing to do this. If some one ha...
by Krishma
Wed Feb 08, 2006 3:04 pm
Forum: PHP - Theory and Design
Topic: Calling OUT file file from PHP
Replies: 1
Views: 789

Calling OUT file file from PHP

Hi: I have two files: 1. <HTML> <HEAD <H1 align = center>Filter Adminstrator Interface</H1> <p> In order to start filter please press Start Button and if you want to stop filter press Stop</p> <BODY> <form action="test.php" method="post"> <input type="submit" name="...
by Krishma
Wed Feb 08, 2006 2:50 pm
Forum: PHP - Code
Topic: Executing Program from PHP
Replies: 2
Views: 533

Hi

I can run ls , cat, ps and all linux commands but not PHP. I don't think this is the issue
by Krishma
Wed Feb 08, 2006 1:27 pm
Forum: PHP - Code
Topic: Executing Program from PHP
Replies: 2
Views: 533

Executing Program from PHP

Hi:

I am trying to execute a C program by

$last_line = system('/doc/tmp/filter', $retval);

Where Filter is Output file on Linux located in directory /doc/tmp. My php file is in my web directory. How can I call execuateble file Filter to run it from my php file.

Thanks,
Krishma
by Krishma
Tue Feb 07, 2006 10:36 am
Forum: PHP - Theory and Design
Topic: PHP and C
Replies: 1
Views: 880

PHP and C

Hi: I need to develop an application in PHP which can start and stop my C program running at remote computer. For eg. I have one program filter that filters documents on Linux machine. Now I want to create a adminstrative console that has "Start" and "Stop" Button to start and st...