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. melban

    output from script

    #!D:\win32app\Perl\bin\perl.exe use CGI; my $q = new CGI; $myname = &quot;Shelby&quot;; print &quot;Content-type: text/html\n\n&quot;; print qq ( <html><body> &quot;This is my HTML&quot;, $myname </body></html> );
  2. melban

    Login in to PHP website use a Perl Script

    How to you have to login to the php website ? Can you just redirec to to http://www.mydomain.com/login.php?user=username&pass=password ????
  3. melban

    Combining Variables

    $first = &quot;Fred&quot;; $last = &quot;Flintstone&quot;; $fullname = &quot;$first $last&quot;; print $fullname;
  4. melban

    emails automatically moving into personal folders

    What about setting the users email clients to not delete mail from the server? I don't understand exactly what you are trying to do.
  5. melban

    Archive All Incoming Email

    I am looking into monitory all email coming into my server and was wondering if anyone know of any software or scripts that will monitor a directory and automaticly copy and new files to a backup directory for archiving. I am using a Post.Office system and checking mail with Eudora. The...
  6. melban

    Run script from script and sent and receive data

    Will this allow me to send data back and forth?
  7. melban

    Run script from script and sent and receive data

    I want to start a script from another script where I will be able to send data from the 1st script to the 2nd. The 2nd will take that date and process it and give a result back to the 1st. The point is to run the 2nd on a system or exec command so that if a user exits their broswer then the...
  8. melban

    Open Directory isnt like DOORS

    open (FILENAME, &quot;files/file.db&quot;); $stuph = <FILENAME>; #first line of file close (FILENAME); Just like opening a regular file but your specify it in another directory.
  9. melban

    Help with control structures

    @tape = `vmquery -pn NT_Offsite_Pool`; if ($tape[6] eq &quot;TLD - Tape Library DLT (8)&quot;) { print $tape[1]; } OK so you made your array and then told it to run if $tape[6] is equal to your string. That only tells it to run once. Are your trying to do this? foreach $value (@tape){...
  10. melban

    problem with cookies

    to set the cookie to something else simple set the cookie again. it will overright the cookie. to get rid of a cookie just set the timeout to the current time. so once it gets the cookie the expiration is over and it will die. This should work I haven't messed with cookies in a long while.
  11. melban

    New 2 Perl - Help

    Give it the right permissions. Probably not just read but give it read & execute
  12. melban

    Textfile sharing

    And the better ways would be ???????????
  13. melban

    Textfile sharing

    To continue on this subject is there a way to keep other programs from accesing the file till you close the file? I am using a discusware board and am writing to the userlist but if the board accesses the user database it gets stopped in the middle. I was using flock but until reading the...
  14. melban

    Manipulating IP details

    Set up hardware profiles. Set one for work and one for home or whatever it would be. When the computer starts up it will prompt you for one or the other. Just select which profile and set the TCP/IP settings. When you switch between them the settings will change as well.
  15. melban

    Time and Date

    #!D:\win32app\Perl\bin\perl.exe print &quot;Content-type: text/html\n\n&quot;; ($SEC,$MIN,$HOUR,$MDAY,$MON,$YEAR,$WDAY,$YDAY,$ISDST)=LOCALtime(time); print &quot;seconds = $SEC<p>\n\n&quot; print &quot;minutes = $MIN<p>\n\n&quot; # use the above command for each of the outputs You don't...
  16. melban

    Time and Date

    ($SEC,$MIN,$HOUR,$MDAY,$MON,$YEAR,$WDAY,$YDAY,$ISDST)=LOCALtime(time); insert this code into a perl script and print the output. print LOCALtime(time); Then you will be able to see what the output is. Then try printing the following. print...
  17. melban

    Need some help with a simple script

    line breaks are accomplished with a &quot;\n&quot; If you were to just put in a carrage return you would get errors. Double space would be &quot;\n\n&quot; Hope that helps. Shelby
  18. melban

    Need some help with a simple script

    First off does the site where you got this script from allow you to edit it to your own needs? Shelby
  19. melban

    LWP and Sending Headers

    Hey yall I really really need some help on this one
  20. melban

    Array Question

    @array = (&quot;one&quot;, &quot;two&quot;, &quot;three&quot;); $removed = pop(@array); # &quot;$removed&quot; is now equal to &quot;three&quot; # but the array is equatl to (&quot;one&quot;, &quot;two&quot;) # to replace it use the following code push(@array, $removed); # the array...

Part and Inventory Search

Back
Top