I thought someone might ask me that.  I honestly dont know.  I have been
looking for a comand that I can run to find out, but I havent found one.  I
have SSH access to the server so if you know of a way to get the version
please let me know.

Thanks,

Aaron


"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Aaron Todd wrote:
> > I was just wondering if anyone can look an the following code and tell
me if
> > there are any obvious errors.  I wrote this in DZsoft PHP editor where
it
> > works perfectly.  But then when I run it on my webserver it gave me a
fatal
> > error:
> >
> >     Fatal error: Call to undefined function: str_split() in
> > /home/virtual/site341/fst/var/www/html/test.php on line 12
> >
> > <html>
> > <head>
> >   <title></title>
> > </head>
> > <body>
> > <?php
> > $teststr = "5176948000";
> > $parsed = str_split($teststr,3);
> > echo "$teststr<br>";
> > echo "$parsed[0]-$parsed[1]-$parsed[2]$parsed[3]";
> > ?>
> > </body>
> > </html>
>
> What version of php is your webserver running?
>
> -- 
> John C. Nichel
> ÜberGeek
> KegWorks.com
> 716.856.9675
> [EMAIL PROTECTED]

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

Reply via email to