List Info

Thread: Re: Execute external binary file with PHP




Re: Execute external binary file with PHP
country flaguser name
United States
2007-09-25 10:03:36

Hello i cant understand what u wanna say. What do u mean by this line ?
$com=("gcc -o new new.cn");
?????
is this the solution ?

listgroups%40ozwebwiz.com">listgroupsozwebwiz.com wrote: ----- Original Message -----
From: "Raquibul Islam";

Hi experts.
I have a problem.I wanna run binery using php,but i cant.
chk this out
<?php
$com=(&quot;gcc -o new new.c";);
system($com);
?>
Note:I'm using Fedora-7,Apache2,PHP-5.1.1 and i was logged on as root.
i used exec() function too btu it also fail.

Please help me.
------------------------
$com=(&quot;gcc -o new new.cn&quot;);
?????

Community email addresses:
Post message: php-list%40yahoogroups.com">php-listyahoogroups.com
Subscribe: php-list-subscribe%40yahoogroups.com">php-list-subscribeyahoogroups.com
Unsubscribe: php-list-unsubscribe%40yahoogroups.com">php-list-unsubscribeyahoogroups.com
List owner: php-list-owner%40yahoogroups.com">php-list-owneryahoogroups.com

Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links





---------------------------------
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.

---------------------------------
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
Re: Execute external binary file with PHP
country flaguser name
United States
2007-09-25 18:56:39

----- Original Message -----
From: "raquibul islam";
Hello i cant understand what u wanna say. What do u mean by this line ?
$com=(&quot;gcc -o new new.cn&quot;);
?????
is this the solution ?
------------------------------
Hi,
I don't do any command line stuff so I was only guessing. On a normal
system the command is not initiated until a "carriage return&quot; ("r&quot;) in
Windows or a "new line" ("n&quot;) in Linux or CRLF ("rn&quot;) in Mac is sent from
the console.

Thanks.

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )