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 strongm 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: *

  1. perlguy

    Resize partition? Is it possible?

    Is it possible to move all the files to a current existing partition? Then resize the partition and move everything back? Redhat Linux 7.2 (ext3) In details : When I initially created partition, I had wrongly allocated more space for /var partition....which I was suppose to allocate for /home...
  2. perlguy

    mod_perl

    I am using following code in my srm.conf, which works fine but it only puts header & footer for a www.mydomain.com <FilesMatch &quot;\.(html|htm)$&quot;> SetHandler perl-script PerlHandler Apache::Sandwich PerlSetVar HEADER &quot;/my_header.html&quot; PerlSetVar FOOTER...
  3. perlguy

    Quota Error in RedHat 7.2 ?

    I have just upgraded our web server from RedHat 6.2 to 7.2 .... Everything went fine.....server is up and running.....new kernal(2.4.7-10) is installed. BUT now quota system is not working. It used to work fine in RH 6.2 server. Whe I reboot my server I get following message: quotaon...
  4. perlguy

    How to retrive IP address in C?

    Is there any way to retrieve local PC IP address of user in C prg.? I would like to track the users on our website, also to block if someone tries to flood messages in the forum. All I need is to get his IP address when he logs in the forum. Is there any function to retrive IP address of user...
  5. perlguy

    Help me on this Perl Module

    I need help on the following perl module which displays last modified time in all html pages of &quot;/home/perlguy/test&quot; dir. I am using Apache Webserver. Prg. search for <BODY> tag if found prints Last modified time package Apache::Mytest; # file Apache::Mytest.pm use strict vars; use...
  6. perlguy

    Need best &amp; shorter solution?

    Thanks for reply. YES all the records are stored in Ascending order(1..100) but are of different length. Any suggestion? regards perlguy.
  7. perlguy

    Need best &amp; shorter solution?

    Can you or someone suggest some changes in the above code that will improve performance or will make my code shorter. I wish someone could help me here. waiting.... regards perlguy
  8. perlguy

    Need best &amp; shorter solution?

    Yes .... the record format is free....no fix format. That's why I am concern about my code.....I do not know how good it is for such free format file.
  9. perlguy

    Testing Tool for C program

    Thanks rbobbitt. Apreciated. I have downloaded and tested my C prg. I am also seaching for other tools on net. Please see my new post(thread - Need best & short solution) in this C forum where I have posted my 'C' code for which I am looking more efficeint and tight code. Hope you find any good...
  10. perlguy

    Need best &amp; shorter solution?

    I have wrote the following C prg. to display random record contents from text file 'pix.db'. It generates random num from 1 to 10 and then fetches corr. record from 'pix.db' File pix.db format: (note '|' is my field sepator) ID|pix file|pic name for example: 1|pix1.gif|pix1name...
  11. perlguy

    Testing Tool for C program

    Does anybody know tool for testing C programs. To be more specific I have written some C program using pointers, compiled them....no errors....no run problem at all. BUT I would like to know how efficeint my C programs are. Is there any tool that checks memory leaks, prg. speed....etc. Thanks...
  12. perlguy

    Is it OK if I do following in JavaScript?

    Hi rycamor, I tried your way but did not worked. BUT I have found another way to do it which is working but I DO NOT know whether this is allowed/worked in all the browser (I mean older version of IE/NE) The following code is tested on IE 5.00+ and NE 4.7+ . It is working !! But some...
  13. perlguy

    Is it OK if I do following in JavaScript?

    Sorry but forgot to mention one last thing i.e. somehow browser cache causing problem to execute ..... I mean I added my code in 5 different html pages. when I visit to lets say '1.html' the code executes and gives me random banner , then I go to '2.html' it gives me the same banner taht was on...
  14. perlguy

    Is it OK if I do following in JavaScript?

    Hi everyone, Thanks for all your help. &quot;rycamor&quot; is in right direction, that is what I wanted (in his words): There is absolutely no problem outputting valid Javascript from a CGI, SSI, or any server-side activity, as long as what is output fits the bill for client-side Javascript...
  15. perlguy

    Is it OK if I do following in JavaScript?

    so what if I just put following lines in my html page <SCRIPT SRC=&quot;mydomain/cgi-bin/banner.pl&quot; LANGUAGE=&quot;JavaScript&quot;></SCRIPT> my banner.pl will print the whole table contents..... Is it legal in Javascript ..... Will it work in all browser IE / NE ..... Any suggestions...
  16. perlguy

    Is it OK if I do following in JavaScript?

    I would apprecaite if any JavaScript guru here correct me on the following , I have following code in my &quot;index.html&quot; page: <html> <head> <title>This is a test</title> </head> <body> <h1> Testing whether it works or not</h1> <table width=&quot;100%&quot; cellspacing=&quot;0&quot...
  17. perlguy

    Can I use SRC tag to run .cgi program?? Please help.

    hi there, I have a very simple question. Is it possible to run &quot;.cgi&quot; or &quot;.pl&quot; program using javascript SRC tag? e.g. <SCRIPT LANGUAGE=&quot;JavaScript&quot; SRC=&quot;http://www.xxxx.com/cgi-bin/stats.cgi&quot;></SCRIPT> Is there any drawback of doing this ? Does anyone...
  18. perlguy

    How to get fresh copy of #include &quot;myconf.h&quot; ??

    I have stored my some variable inside &quot;myconf.h&quot; as shown below : /* begin myconf.h variable section */ char name[20] = &quot;tommy&quot;; int age = 26; /* end of myconf.h */ here is my main C prg. &quot;hello.c&quot; : #include <stdio.h> #include <stdlb.h> #include...
  19. perlguy

    This is tough one, Need &quot;C&quot; guru brain !!

    Thanks for all the suggestion. KUDOS !! It worked I have made the changes acc. to suggestion no. 2 of &quot;smaniraja&quot; , and it DID solved my problem. Appreciated. I really like this forum , it's LIVE here. Good &quot;C&quot; gurus like you guys are here. keep it up.
  20. perlguy

    This is tough one, Need &quot;C&quot; guru brain !!

    This is very tough for me, but I did my great attempt to solve but FAILED !! It would be great if someone has good stong alternative for the below C prg. : I am trying return a file record data from the function file_process() but it does not work properly. I mean everthing is ok inside...

Part and Inventory Search

Back
Top