On Thu, Apr 22, 2010 at 1:29 PM, Paul Halliday wrote:
> Ex:
>
> "This is the string and it is this long"
>
> This is
> the string
> and it
> is this
> long
>
> I found some long functions to achieve this but I couldn't help but
> think that it could be done in a couple lines.
>
> Possible?
>
> Tha
Ex:
"This is the string and it is this long"
This is
the string
and it
is this
long
I found some long functions to achieve this but I couldn't help but
think that it could be done in a couple lines.
Possible?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
Also consider :
$filezip_name = str_replace(' ', '_', $filezip_name);
http://php.net/manual/function.str-replace.php
It will be faster.
Philip
On Thu, 11 Jan 2001, Chris Lee wrote:
> just add this somewhere near the top.
>
> $filezip_name = ereg_replace(' ', '_', $filezip_name);
>
just add this somewhere near the top.
$filezip_name = ereg_replace(' ', '_', $filezip_name);
Chris Lee
Mediawaveonline.com
""David Smith"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> With the following code how can I check to see if the file being upl
With the following code how can I check to see if the file being uploaded
has a space in it? Maybe replace them with a _ or reject them all
together...
if ($FileType== "none") {
print "ERROR! - You must specify a File Type before we can begin the
upload.";
}
5 matches
Mail list logo