Jump to content

Help please


kirkster

Recommended Posts

First just say hello to everyone! :)

 

Hope you can help me out if possible.

 

I'm using a php page to send a command to a unix box and for some reason its chopping off half of the string

 

String below :-

 

$cmdline_start = "rsh sun52 -n " . chr(34) . "/AAHELP/live/system/AAHELP_boot_central START CSWRITE sun52_LBCSH " . $service . " Phoenix > /AAHELP/live/tmp/PHOENIX.LOG 2>&1 <"  . "/dev/null &" . chr(34);

 

Everything after the 2>&1 < part is cut off, however if i remove the < character it puts the rest of the string in.

 

Please help!

 

Much appreciated Kirky!

Link to comment
https://forums.phpfreaks.com/topic/43645-help-please/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.