Article View: pl.comp.lang.php
Article #1813Re: PHP i ANSI C (LINUX)
From: Arkadiusz Pietrzyk
Date: Fri, 31 Aug 2001 06:46
Date: Fri, 31 Aug 2001 06:46
12 lines
1720 bytes
1720 bytes
> Czy można i jak można wykonać w PHP odwołanie do mojej funkcji napisanej w
> ANSI C. Przykładowo mam napisany program obsługujcy łcze szeregowe
RS-232
> (Linux) który z zewnętrznego terminala pobiera dane. Chciałbym te pobrane
> dane umieszczać na stronie WWW. Czy można co? takiego zrobić w PHP i jak?
Muzyc funkcji system() w PHP aby wywolac zewnetrzny program. Jesli
program zwraca jakies informacje mozna je wyswietlic na ekranie (np. <?
print(system( - tu sciezka i nazwa programu - ));?>. Wiecej informacji o
funkcji system znajdziesz http://pl.php.net/manual/en/function.system.php
BeStIa
Technical Details
Message-ID:
<9mnc2k$7a1$2@news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mailReferences:
<9mlrns$rfu$1@news.internetia.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail From: "Arkadiusz Pietrzyk" <arek@iksik.net> Newsgroups: pl.comp.lang.php Subject: Re: PHP i ANSI C (LINUX) Date: Fri, 31 Aug 2001 08:46:35 +0200 Organization: tp.internet - http://www.tpi.pl Lines: 14 Message-ID: <9mnc2k$7a1$2@news.tpi.pl> References: <9mlrns$rfu$1@news.internetia.pl> NNTP-Posting-Host: terra.evernet.pl X-Trace: news.tpi.pl 999240596 7489 213.76.131.98 (31 Aug 2001 06:49:56 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: 31 Aug 2001 06:49:56 GMT X-Notice-1: This post has been postprocessed on the news.tpi.pl server. X-Notice-2: Subject line has been filtered and leading Odp: string removed. X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-Subject: Odp: PHP i ANSI C (LINUX) X-MSMail-Priority: Normal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit