Sponsored Content
Special Forums UNIX and Linux Applications Apache+Perl: interruption of STDIN Post 302361633 by Corona688 on Tuesday 13th of October 2009 05:45:17 PM
Old 10-13-2009
Quote:
The only way I can think of to log the details is to handle the uploadError event and send the "message" parameter to the server as an ajax request.
This seems like a good idea.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Apache Perl/CGI

Can any body help me with apache and cgi i'dont know how iconfigure apache to use cgi... and when i try to start apachectl it says there is no file... please help me...i have apache installed... (1 Reply)
Discussion started by: CreamHarry
1 Replies

2. Web Development

php and perl on apache server

I'm having problems opening php and perl files on Apache. The server hasn't any association with those type of files by default and a window asking to choose a program to open them popups from the browser. How can I do to process them with the browser Thanks in advance. (1 Reply)
Discussion started by: capibolso
1 Replies

3. Programming

Wireless C program conncection interruption problem

Dear Gurus My company has a wireless handheld C program as text-mode workstations in remote sites. We suspected that the program get interrupted sometimes because of out-of-wireless access and hence resulted in db record locking and other issue. It did trouble us a lot. Is it possible to use... (2 Replies)
Discussion started by: charles_chu
2 Replies

4. UNIX for Advanced & Expert Users

Apache module & perl problem

I have a very strange problem that I can't seem to solve. I have apache module which filters content and within that module I will add some more content based on this calls: int check; check = system("/usr/bin/check"); check is a perl-script that exits with value 1 if the file doesn't... (2 Replies)
Discussion started by: hjalle
2 Replies

5. Red Hat

util-linux upgrade with interruption?

Hi All, I have util-linux upgrade that I need to do on redhat 4 ent. Does this going to interruption with the operation of the OS or application? Or this will be straight forward upgrade that will not make a harm or downtime of the OS. Thank you for any comments you may add. (3 Replies)
Discussion started by: itik
3 Replies

6. Shell Programming and Scripting

STDIN-perl

Good morning! How do I make the info that someone inputs from @userArray = <STDIN>, a new array? @userArray = <STDIN>; while () { chomp; last if ! /\d/; push(@userArray,$_); } my($sum,$avg) = &sumIt(@userArray); print "Total:$sum\nAverage:$avg\n"; Im... (2 Replies)
Discussion started by: bigben1220
2 Replies

7. Shell Programming and Scripting

ssh connection through shell script with no interruption

Hi all, I need ssh in shell script. My requirement is: - Take user_name and password from user (in PHP) - Pass this to shell script which will: - connect via ssh - Run sql query - Pass the results back in PHP - Put the results to website. I know PHP has libraries for ssh and ftp, but... (3 Replies)
Discussion started by: shekhar2010us
3 Replies

8. Shell Programming and Scripting

How to run the script with out any interruption ?

Hi , Loggin to another host using the below command in my shell script ssh-keygen > /dev/null ssh-copy-id -i ~/.ssh/id_rsa.pub My problem is , the second commmand expecting a user input Eg : Press Enter for below three questions and issue your password Enter file... (9 Replies)
Discussion started by: arukuku
9 Replies

9. AIX

ssh interruption after aix os upgrade

Hi Through nimadm (alt_disk_install) we done aix os upgrade in 3 lpars from aix 5.3 to aix 6.1. upgrade was successful. After the upgrade users complained on their ssh keys. Does upgrading aix version affects the user's ssh keys ? If so please suggest on options to correct them. (1 Reply)
Discussion started by: newtoaixos
1 Replies

10. Programming

Simple capturing of keyboard input without interruption

I would like to make a function or command that checks for keyboard input without interrupting the program and exits the program when a key is pressed (perhaps the 'q' key). The program below monitors and prints/executes commands upon a change in primary (mouse selection) or clipboard buffer. If... (4 Replies)
Discussion started by: bedtime
4 Replies
DTK_VIDEO_EXEC(3)						Draw Toolkit manual						 DTK_VIDEO_EXEC(3)

NAME
dtk_video_exec - Start/stop/pause a video texture SYNOPSIS
#include <dtk_video.h> int dtk_video_exec(dtk_htex vid, int command, const void* arg); DESCRIPTION
This function changes the state (or playing position) of a video texture referenced by vid according to the value of command: DTKV_CMD_PLAY: Set the video to play. arg is interpreted as a pointer to a variable of type int whose non zero value indicates that the state change is asynchronous and can be finished after the function returns. If arg is NULL, the change is performed synchronously. DTKV_CMD_PAUSE: Set the video to pause. arg is interpreted as a pointer to a variable of type int whose non zero value indicates that the state change is asynchronous and can be finished after the function returns. If arg is NULL, the change is performed synchronously. DTKV_CMD_SEEK: Seek the video to the position specified by arg which is then interpreted as a pointer to a variable of type long representing the position in milliseconds from the beginning of the video. arg is allowed to be NULL. In that case, the video will be positioned at its start. vid must be a dynamic texture created by one of the functions dtk_create_video_*(3). If the video was already in the requested state, the function will do nothing. If the video is created from the live source (webcam, network broadcast...), executing DTKV_CMD_SEEK will fail. RETURN VALUE
0 if the state has been changed or was already the one requested, -1 otherwise. SEE ALSO
dtk_load_video_file(3), dtk_load_video_gst(3), dtk_load_video_test(3), dtk_load_video_udp(3), dtk_load_video_tcp(3) EPFL
2011 DTK_VIDEO_EXEC(3)
All times are GMT -4. The time now is 11:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy