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...
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
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?
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.