I have this PHP in my webpage:
<?php
$record = $reader->isp($_SERVER['REMOTE_ADDR']);
?>
I need a simple script that uses "strpos" to do all of the following:
- If "$record" contains "comcast", then echo "[login to view URL]"
- If "$record"contains "optimum", then echo "[login to view URL]"
- If "$record"contains "century", then echo "[login to view URL]"
- If "$record"contains "charter", then echo "[login to view URL]"
- If "$record"contains "clearwire", then echo "[login to view URL]"
- If "$record"contains "cox", then echo "[login to view URL]"
- If "$record"contains "earthlink", then echo "[login to view URL]"
- If "$record"contains "mediacom", then echo "[login to view URL]"
- If "$record"contains "rcn", then echo "[login to view URL]"
- If "$record"contains "sonic", then echo "[login to view URL]"
- If "$record"contains "warner", then echo "[login to view URL]"
- If "$record"contains "windstream", then echo "[login to view URL]"
- If "$record"contains "verizon", then echo "[login to view URL]"
- If "$record"contains "midcontinent", then echo "[login to view URL]"
- If "$record" DOES NOT contain any of the above strings, then echo "[login to view URL]"
Please check the clarification board.
You can find what you need on almost any forum.
Good luck !
i have to place some dummy text here, if not i won't be able to send the bid
Hello,
Greetings for the day !!
We, are a registered Pvt. Ltd. company has grown exponentially last 8.5 years with an excellent client base in worldwide, we are proud to be continually increasing the client contentment delivering them world class eminence projects.
===============
WHY CHOOSE US
===============
We have gone through your requirement in detail. We understood well the requirement of your project and also need to discuss some of the queries that we have. We have also discussed with our designers and developers regarding this project.
Your project will include the following :
1>W3C standards complaint valid xhtml 1.0 code and css2.1 code with seal with check
2>DIV based table-less design which is cross-browser compatible with InternetExplorer6 onwards, Firefox 3.6, Google Chrome 4.1, Mac Safari Browsers
3>Fast Loading, Tagged Website which can get atleast page rank1 in google within first 6 months of launch ----------------------------- Optional
4>Design can be web 3.0 onwards with code-optimized
Please open your private message box to discuss more on this project and have a quick look to
Always willing to walk extra miles to achieve the Excellence.
Pl. reply.
Warm Regards,
Richard D’ Silva,
Head- IT Delivery Excellence
Not going to waste your time. I will finish this script within a few minutes.
We will be able to test it together if you want also. Let's finish this fast :)