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 bkrike 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: perlguy
  • Content: Threads
  • Order by date
  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?

    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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. perlguy

    How to remove '\n' char from string ??

    Does anyone know how to remove unwanted char e.g. '\n' from strings. As in perl we have a function called chomp($str) which only removes '\n' from the string if it exist. What is the best way to remove newline char '\n' from string. Appreciated. Regards.
  13. perlguy

    Does someone knows better C code for this?

    Hi everyone. Sorry to start this new thread , but had no choice since earlier thread was going too lengthy. With the help of some good experts in this forum I have come up with following solution for my following need: File &quot;list.txt&quot; consist records as : 1=bill gates=MicroSoft 2=Sam...
  14. perlguy

    Urgently in need of C code for. ...read inside??

    I would like to write a C prg. which should do exactly what my Perl prg. does. Here is what i need. There is a file called &quot;list.txt&quot; which has following records: 1=bill gates=MicroSoft 2=Sam walton=Walmart 3=Steve Jobs=Apple 4=Larry w=Oracle Now prg. should generate/print a new...

Part and Inventory Search

Back
Top