RE: Script feedback: insert string into another string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



But!!!!!
I am now noticing that the main page provides cookies called
_utma
_utmb
_utmc
_utmz

Hmmmmmmmmmmm

Brad

-----Original Message-----
From: Richard Lynch [mailto:ceo@xxxxxxxxx] 
Sent: Saturday, April 28, 2007 3:48 PM
To: micky@xxxxxxxxxxxxx
Cc: php php
Subject: Re:  Script feedback: insert string into another string

Without reading source, it sounds like you've just re-invented this:
http://php.net/wordwrap
:-)

On Sat, April 28, 2007 12:32 am, Micky Hulse wrote:
> Hi,
>
> I pieced-together a script that will insert a string into another
> string
> at a set interval of words... See here:
>
> <http://www.ambiguism.com/sandbox/truncate/truncate.php>
>
> [Click the "view source" link to view source.] :D
>
> Basically, I need a setup a page where my client can paste an article,
> automate the insertion of a template tag (in this case: {page_break})
> and then copy/paste into the blog/cms. My goal for this script was to
> make it easy for the CMS to create word-balanced pages.
>
> Long story short, I got what I think will be an acceptable script...
> but
> I would love to get feedback. What do you think? What can I improve?
> What am I doing wrong?
>
> The script does not need to be super-robust, but would love to hear
> what
> the PHP gurus have to say. ;)
>
> Many thanks in advance!
> Cheers,
> Micky
>
> --
> Wishlists: <http://snipurl.com/1gqpj>
>     Switch: <http://browsehappy.com/>
>       BCC?: <http://snipurl.com/w6f8>
>         My: <http://del.icio.us/mhulse>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux