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 TouchToneTommy 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: qwicker
  • Content: Threads
  • Order by date
  1. qwicker

    Pentium D, Xeon...or is this all overkill?

    Hi, I'm looking to purchase a small server for my house. I have about 2-4 computers that will be accessing the server on a given day. The basic need for the server is data backup and consolidation. It is of utmost importance that certain files and databases are kept safe. I will also be using...
  2. qwicker

    case sensetivity

    how can i do an if statement to compare to variables, regardless of their case sensetivity. Lets say i have $a = ABC and $b = Abc. I want a value of true that $a==$b
  3. qwicker

    Variable contained in an array

    Hello again: I have an array with many elements. What would be the most efficient way to check to see if a string is contained somewhere in that array, line by line? I suppose a foreach loop?
  4. qwicker

    Break up a variable

    hello, I am quite new to perl and i am not sure how do do something. I have a string $ip = "153.104.232.232" for example, and i need to compare the first 8 characters of to another IP address. Basically i want to check if that IP is part of the correct subnet. So i need the function that will...
  5. qwicker

    Redirect to home folder

    Hi, this is probobly simple, but i want to set the home folder of my domain name to somehting other than the root. For example, i have www.name.com I want the default folder to be www.name.com/one/two instead of it just going to the default directory. I tried to redirect, but i creat an...
  6. qwicker

    Delete a line

    Hello all, I need a function to delete a line a line in a text file. I have this in my textfile: text1 fdjkjflskdjf 0 text2 948yrxd74yrn 0 *text3 437nfy4837nf 0 text4 uhdwiueh92d9 0 I need to delete the entire line that begins with *text3. The numbers after *text3 are randomly generated(they...
  7. qwicker

    Edit/append a file

    Hello, What i need to do is edit a text file. I have input in the file like this: text1 *text2 text3 *text4 text5 What i need to do is remove that asteric(*) from *text4. I do NOT want to remove the asteric from *text2. How do i do this? i assume fopen($filename 'a'); but what would the...

Part and Inventory Search

Back
Top