On Wed, October 26, 2005 2:12 pm, Jason Gerfen wrote:
I am recieving this error in the logs when attempting to split strings
with str_split(). I am not sure but isn't this a default function for
PHP, as in there aren't any dependant packages involved during the
./confgure time?
Errors:
PHP
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:
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
HAH...I found it. I have version 4.3.3
Does that version not have this function or something?
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
[snip]
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.
[/snip]
make a page like this
?php
phpinfo();
[snip]
HAH...I found it. I have version 4.3.3
Does that version not have this function or something?
[/snip]
Looking at http://www.php.net/str_split I see that it is valid for PHP 5
only
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Aaron Todd wrote:
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.
Well, it looks like str_split() was
Aaron Todd wrote:
HAH...I found it. I have version 4.3.3
Does that version not have this function or something?
Thanks,
Aaron
According to the manual...
http://us4.php.net/str_split
str_split() is a php5 function.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP
On Thu, 12 Aug 2004 14:11:13 -0400, Aaron Todd [EMAIL PROTECTED] wrote:
HAH...I found it. I have version 4.3.3
Does that version not have this function or something?
http://us3.php.net/manual/en/function.str-split.php
Look at the top. Only PHP5 is listed.
Thanks,
Aaron
John Nichel
[snip]
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.
[/snip]
From the command line type php -v
It'll
Do you know of a simular function that will split a string in the same way.
I have phone numbers stored in a database in the format ##. I need
to display the number on the page in the format ###-###-. str_split()
worked perfectly for this. Is there another function?
Thanks,
Aaron
[snip]
Do you know of a simular function that will split a string in the same
way.
I have phone numbers stored in a database in the format ##. I
need
to display the number on the page in the format ###-###-.
str_split()
worked perfectly for this. Is there another function?
[/snip]
On Friday 13 August 2004 03:27, Aaron Todd wrote:
(B Do you know of a simular function that will split a string in the
(B same way. I have phone numbers stored in a database in the format
(B ##. I need to display the number on the page in the format
(B ###-###-. str_split()
13 matches
Mail list logo