LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-21-2010, 08:03 PM   #1
knockout_artist
Member
 
Registered: Sep 2005
Distribution: fedora core 9
Posts: 324

Rep: Reputation: 33
PHP: how big buffer can it bring back.


Hi,

I need to use php to run some scripts locally.
I tried it with system,exec But it only brings back on line.

Ideally I want to take all the out put back on my browser.


PHP ------>shell scripts ------> error + plus out put
^--------------------------------------------|

some thing like that.

Thanks.
 
Old 01-21-2010, 08:19 PM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Pretty large.

Have you passed an additional parameter to store the output in as described here? http://www.php.net/manual/en/function.exec.php

This pretty basic and should just work.

jlinkels
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Compiz community shakeup could bring big improvements LXer Syndicated Linux News 0 02-09-2009 01:10 PM
Bring my keyboard back! Isix Linux - Newbie 4 01-28-2009 10:05 AM
How to bring back the grub of Suse tanveer Linux - General 2 05-04-2005 06:43 AM
how do i bring back windows OMEGA-DOOM Linux - Newbie 6 11-15-2004 03:06 PM
bring colors back to tex ... szmartby Programming 0 09-19-2003 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration