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 Mike Lewis 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. 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

    thanks, i just did $abs = "\L$abs\E";
  3. 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
  4. 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?
  5. 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...
  6. qwicker

    Redirect to home folder

    YEs, that worked feherke. Thanks so much for bearing with my noobness
  7. qwicker

    Redirect to home folder

    Hmmm I'm not sure if i have access to that. Let me explain my server setup. I am using a shared hosting account, thus i do not have direct access to the server. I use C-panel. I have an add-on domain name that is pointed to a folder in the main directory. I want to make the home directory one...
  8. qwicker

    Redirect to home folder

    How do i do that....sorry for being a noob. With .htaccess??
  9. 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...
  10. qwicker

    Delete a line

    I would much appreciate some help with this. I'm sure it isnt too complex, but im not exactly posetive how. <?php //open and read all the file $filename = "/usr/local/something.txt"; $handle = fopen($filename, "r"); $contents = fread($handle, filesize($filename)); fclose($handle);
  11. 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...
  12. 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