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 gkittelson 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: izivt
  • Order by date
  1. izivt

    password decrypting...

    not if you used crypt() :-) ... well I shouldn't say that. not unless you have a lot of time on your hands to crack the algorithm
  2. izivt

    auto increment..

    @weapons=<F> should be this @weapons=(@weapons,$_);
  3. izivt

    auto increment..

    is this what you are trying to do??? open(F, &quot;weapons.txt&quot;); while(<F>) { chop; @weapons = <F>; } close(F); $count_weapons = @weapons; $string=join(&quot;<BR>&quot;,@weapons); print $string;
  4. izivt

    Alphabetical Sorts

    goBoating, It would timelocal(0,0,0,$date[1],$date[0] - 1,$date[2]); right? since the format is usually MM-DD-YY
  5. izivt

    piping

    Thank you very much mubman. That definitely did work. The funny part is that I actually tried that, but I reversed the 2>&1 and |, which I didn't realize was wrong. Thank you!! :-)
  6. izivt

    Alphabetical Sorts

    If I understand the other part correctly, then you are just trying to sort a bunch of data in chronological order which is stored in two corresponding arrays: dates and data for that date. If I understood that correctly, then you can just do any kind of sort on the dates array, after converting...
  7. izivt

    Alphabetical Sorts

    or you can do that :-) which is definitely simpler
  8. izivt

    piping

    that make sense. hmm.... I have tried a couple of syntaxes, but unfortunatly, I am not sure what the correct one is either.
  9. izivt

    Alphabetical Sorts

    ($crt_min,$crt_hour,$crt_day,$crt_month,$crt_year)=(localtime)[1..5]; then you can just format it anyway you please :-) to sort the dates, I am sure there is a module that would let you compare two dates, but I really don't know what it would be. The way I would approach the...
  10. izivt

    specific task at each time.

    if it is helpfull the full list of the arguments can be found at: http://www.ampl.com/cm/cs/what/ampl/NEW/printf.html
  11. izivt

    piping

    is it plausible that the &quot;at&quot; command actually calls on something else which eventually prints the final verifications?.. hmmm.. how would I be able to go around that and get the output?
  12. izivt

    piping

    I am having trouble piping the output of the &quot;at&quot; command to my program. it seems that it would work just like any function, but for some reason it does not output the info to STDOUT. ie. this works well.. ################## open(ATQ, &quot;atq|&quot;); while(<ATQ>) { print $_; }...
  13. izivt

    changing effective user

    and by set, I mean just make it equal to whatever UID. i.e. $>=501;
  14. izivt

    changing effective user

    yeah, no problem :-) it was pretty much nothing actually. The only thing I had to do was to set the effective user($>) and the real user($<) variables to the desired UID and would run that process as that user. For some reason I thought it was more complicated than that. I was looking for...
  15. izivt

    changing effective user

    alright.. never mind... I got it =)
  16. izivt

    changing effective user

    I am in the process of making a web-based mail autoresponder for a network with more than 400 users. Since it is a security risk to run the actual server as a root, I decided to submit the requests to a specific folder, and have a cron running every 5 minutes or so to execute the requests. The...
  17. izivt

    specific task at each time.

    I don't know, but, personally, to use a whole module just to do something simple, in terms of efficiency, is not really my preference =)... something like: if(length($min)==1) { $min=&quot;0&quot;.$min;} would work just well... just a suggestion :-)

Part and Inventory Search

Back
Top