I have a text file of email addresses that is all squished together. It looks like this:
abcd@gmail.comfefef@mail.comfefefef@yahoo.comfewferf@mail.net...
What I want to do is insert a paragraph after every instance of "com" or "net" etc so I can read it as a list like this:
abcd@gmail.com
fefef@mail.com
fefefef@yahoo.com
fewferf@mail.net
thank
Header redirect
Hello ive got a problem ive got form with its action set to itself.Code: <form id="formID" class="formular" method="post" action=""/>it then runs
Extending Exception to contain method name
I was wondering, if there's a way to extend Exception in such a way, that it would contain name of a method where it has been thrown.Right now I have this:class myException extends Exception {
Are sessions secure at all?..
I haven't really gotten into yet, but I was just thinking of something weird..Lets say you have a session element $_SESSION['is_admin']..Is that easy to modify the cookie or whatnot and change it to
Recognising Revenue daily
Hello.
Load Animated Image while cache is serve
I have a page that loads up using cache and took about 1 to 2 minutes before it loads to the page. Is there a way that while the cache is being pulled out and then disappear once the cache is
Select question
Hi,First I would like to say that php is pretty new for me.. so please don't shoot me if this should be a stupid question!But I'm a little surpized due to following..I have a search script (very large
SAP Business Suite
Hi all:
Converting RGB values to HEX
Code: <?PHP$file_handle = fopen("colors/rgb.csv", "r");while (!feof($file_handle) ) {$line_of_text = fgetcsv($file_handle, 1024);print $line_of_text[2] . $line_of_text[3] .
Concatenate two strings ???
I have string one $string1 and another $string2.How to concatenate (add) both of them $string1+" "+$string2 also check condition for the total string length not more than 100 characters
Include a php
Hello, I'm trying to include a function that shows the recent searches. Example I have index.html-------------------------------------------------------------------------