Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: xiaoleiqq
  • Content: Threads
  • Order by date
  1. xiaoleiqq

    bash script on different input

    I am writing a bash script that reads different directory by user input, e.g., the user can use "sh run folder1" or "sh run folder2" to go into different dir to open files. Since I am a newb to script language and I am not sure how to write this, any suggestion is appreciated.
  2. xiaoleiqq

    basic script problem..

    Hi, I have a program that ask for user input during process. Right now I want to create a script that can automatically fill in the user input from the script, how should I do that? Thank you very much.
  3. xiaoleiqq

    writing a script

    Hi, I have a program that ask for user input during process. Right now I want to create a script that can automatically fill in the user input from the script, how should I do that? Thank you very much.
  4. xiaoleiqq

    running server program from web site problem

    Hi, I have a server program running that waits for files arrive and that program needs to be invoke from the web browser. That waiting time might be up to couple hours, so I have my code as follow, ... `perl -w wait.pl &` ... which I think it will run (since I put a & there) but it turns...
  5. xiaoleiqq

    running remote server program

    Hi all, I have a web script (located in a web server) that wants to launch the program on another server(data server on the same network). I use Net::SSH::Perl module from CPAN, and it works if I log in to the web server and running the web script from there and fail to launch the program...
  6. xiaoleiqq

    Reading file from different server

    for some reason the data files are stored in different server and I need to access those files, just wonder which module is available to perform this job? THanks,
  7. xiaoleiqq

    Permission and security

    Hi Everyone, In my perl script I need to let the user create a file--that is, I need to set the directory permission to 777, I just wonder how dangerous this would be? (apparently that's the only way to go) Thanks for any comments.
  8. xiaoleiqq

    eliminating whitespace in a string

    any command in Javascript can perform this job? Thanks in advance.
  9. xiaoleiqq

    IE does not recognized display attribute?

    Hi, my intent is to switch content around by the dropdown box, here is the code: ... <div style="display:none" id="DD">...</div> ... and have a js which check for this id, and make necessary changes,here is the code: if (document.formname.selectionname.value== "DD"){...
  10. xiaoleiqq

    simple write to file won't work :(

    Below are the script... It works on the shell, but won't work from a web browser, I think probably the permission issue? Thank you in advance #!/usr/bin/perl # # final use CGI; use strict; my $a = new CGI; my $email; print $a->header(); print $a->start_html(-title =>"order"); print...
  11. xiaoleiqq

    multiple js files create a headache

    I have two different js files, namely validate1.js and validate2.js, each have their own function call validate1() and validate2(), then I include them in the header, so it looks like this: <head><title>input coordinates</title> <script src = "validate1.js" type="text/javascript"></script>...
  12. xiaoleiqq

    not working after move from HTML to a file

    After I move the JS code out of HTML into a file, the function stop working and I have no idea why this happen, Here is the html code, <head> <script src="foo.js"></script> ... <form ... onsubmit="return check(this)"> ////////////////////////////// ////////////////////////////// here is the...
  13. xiaoleiqq

    calling a C program from perl

    I am currently working on connecting a C program with perl, but have no idea where to start. The idea is perl will invoke the C program (an executable file) with certain parameters(just like the linux shell did), and leave the program running alone and finished. Please give any suggestions...

Part and Inventory Search

Back
Top