[SOLVED] how to write to a file?
Moderator: General Moderators
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA
No need to get mad. Neither one of them is really at fault.n00b Saibot wrote:i think 'anjanesh' you should think of a solid reason before pointing out at others. a person does something because there is solid reason behind it which may not be clear to anybody else. and also as as 'admin' he can think for situation in a better way that most of us.
[edit]
For people with PHP < 5.PHP.net strpos() user comments wrote: GrandLibrarian at iname dot com
27-Apr-2000 09:32
To find the position of a string in a case-insensitive manner without converting everything to lowercase, try using stristr:<br>
$temp = stristr($haystack,$needle);<br>
$pos = strlen($haystack)-strlen($temp);