Dear All,
Would you tell me how I can passing a message along pipes?
I have built a token ring connected with pipes, but I don't know how to pass the message along it through the command line...
Thx.
Yours,
i- (1 Reply)
I am having a shell script which has to be called from a C program. I have to pass two parameters to this script. HOw can I do that?
eg:
int main()
{
char st1;
char str2;
// call a shell script
call_sh(str1,str2) where call_sh is the name of the shell script.
then i need to get the return... (5 Replies)
Hi All,
Does anyone have any solutions for passing back multiple variables back to the SHELL from a call to an ORACLE procedure:
eg
#username='scott'
#password='tiger'
#database='orcl'
username='ITGCD03D03'
password='tC5epIew'
database='ITGCD03D'
sqlplus -s... (4 Replies)
i want to add a system call(successfuly added) and pass the message(which contains int and a string)
/*code i used my program calling system call printmsg*/
message mm;
mm.m1_i1=10;
mm.m1_p1="hello";
printmsg(&mm);
/*user library*/
printmsg(*m1)
{
printf("integer... (1 Reply)
Hi
I have written a script using ftp to get files from one server and copy them to 2 dirrerent servers. I wish to call this script from a parent script that will check the number of files copied and run a check sum for each file. As the filenames for the files in the get portion of the script... (3 Replies)
Hi,
In my perl script I want to check whether *.csv files exist and take the count .
Below is the code:
$path = “/home/usr/jan/myfiles”
my $File_Count = `ls *.csv | wc -l `; # Checks in the current directory #Works fine if files exists.
my $File_Count = `ls $path/*.csv | wc -l `; # I need... (2 Replies)
Hello,
Has somebody download it before oracle deleted from support section?
I tried dl it from:
oracle.com/us/products/tools/message-passing-toolkit-070499.html Oracle Message Passing Toolkit
but:
section decommissioned. Same in support and edelivery
I phoned to oracle support and... (2 Replies)
Hi,
I am getting the below messsage in /var/adm/message after patching but sendmail is working after restoring the backup file.
sendmail: q4G7U1Cj014774: SYSERR(root): 127.0.0.1 config error: mail loops back to me (MX problem?)
sendmail: q4G801cw025824: SYSERR(root): 127.0.0.1 config... (3 Replies)
Hi All,
I have a shell script(test_abc.sh) with the following shell commands, which are invoking the same shell script with different parameters.
test_abc.sh
. ./test.sh abc >> test.log
. ./test.sh xyz >> test.log
. ./test.sh pys >> test.log
. ./test.sh abc >> test.log
.
.
... (4 Replies)
Discussion started by: dev.devil.1983
4 Replies
LEARN ABOUT PHP
ignore_user_abort
IGNORE_USER_ABORT(3) 1 IGNORE_USER_ABORT(3)ignore_user_abort - Set whether a client disconnect should abort script executionSYNOPSIS
int ignore_user_abort ([string $value])
DESCRIPTION
Sets whether a client disconnect should cause a script to be aborted.
When running PHP as a command line script, and the script's tty goes away without the script being terminated then the script will die the
next time it tries to write anything, unless $value is set to TRUE
PARAMETERS
o $value
- If set, this function will set the ignore_user_abort ini setting to the given $value. If not, this function will only return the
previous setting without changing it.
RETURN VALUES
Returns the previous setting, as an integer.
EXAMPLES
Example #1
A ignore_user_abort(3) example
<?php
// Ignore user aborts and allow the script
// to run forever
ignore_user_abort(true);
set_time_limit(0);
echo 'Testing connection handling in PHP';
// Run a pointless loop that sometime
// hopefully will make us click away from
// page or click the "Stop" button.
while(1)
{
// Did the connection fail?
if(connection_status() != CONNECTION_NORMAL)
{
break;
}
// Sleep for 10 seconds
sleep(10);
}
// If this is reached, then the 'break'
// was triggered from inside the while loop
// So here we can log, or perform any other tasks
// we need without actually being dependent on the
// browser.
?>
NOTES
PHP will not detect that the user has aborted the connection until an attempt is made to send information to the client. Simply using an
echo statement does not guarantee that information is sent, see flush(3).
SEE ALSO connection_aborted(3), connection_status(3), Connection Handling for a complete description of connection handling in PHP. .
PHP Documentation Group IGNORE_USER_ABORT(3)