The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
PHP Trim... not working?
Hi all.
Im working on a script which keeps a memory of what text source has been read by determining which is new or old material using a txt log. The code I use to determine the search material and create / update the file and keep the .txt file as short as possible doesnt appear to be working. I cant see an error with my trim function so I am stumped as to why the code keeps logging source material and making the file larger and larger decreasing reliability, and not removing old source material. PHP Code:
Thanks Matt |
#2
|
||||
|
||||
I don't really understand what you're trying to do, but trim() only removes white-space, or another character if specified.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|