RE: [PHP] remove first character in text file

2004-11-24 Thread Robinson, Matthew
-Original Message- From: Dustin Krysak [mailto:[EMAIL PROTECTED] Sent: 24 November 2004 09:53 To: PHP Subject: Re: [PHP] remove first character in text file Just want to add to this with a little more info my text file is a list of email addresses with a "%" separ

Re: [PHP] remove first character in text file

2004-11-24 Thread Dustin Krysak
Just want to add to this with a little more info my text file is a list of email addresses with a "%" separating them. For example: [EMAIL PROTECTED]@[EMAIL PROTECTED] Now sometimes I end up with a "%" at the beginning. For example: [EMAIL PROTECTED]@[EMAIL PROTECTED] Or: [EMAIL PROTECTED]@[E

RE: [PHP] remove first character in text file

2004-11-23 Thread Mike
Start with fopen() - http://us2.php.net/manual/en/function.fopen.php Then use fread() - http://us2.php.net/manual/en/function.fread.php There's many user-contributed comments that should be of use. The docs are also quite helpful. -M > Hi there.. I have a text file where I need to remove JUST t

[PHP] remove first character in text file

2004-11-23 Thread Dustin Krysak
Hi there.. I have a text file where I need to remove JUST the first character in the text file. Can anyone point me to a tutorial? d -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php