[PHP] iconv() in PHP returns 'Unknown error 0'

2005-09-07 Thread Toomas Aas
Hello! I am managing a FreeBSD 4.11 server which is currently running PHP 4.3.11. The server was originally installed in 2003 with an older version of PHP and libiconv 1.8. All software has been installed from FreeBSD ports. Over the time PHP has been upgraded several times, but libiconv

Re: [PHP] iconv() in PHP returns 'Unknown error 0'

2005-09-07 Thread Toomas Aas
Toomas Aas wrote: - ?php echo iconv(ISO-8859-1, UTF-8, This is a test.); ? - When I load this script via the browser, PHP outputs nothing. I have error logging set to file only, and in the

[PHP] PHP returns empty form

2004-08-24 Thread Richard Miller
Good evening! I am getting an error message that I've never seen before. I am POSTing an HTML form to a PHP script, but when I submit the form, my Safari browser says can't open the page such-and-such because it could not load any data from this location. Mozilla gives no error message but

Re: [PHP] PHP returns empty form

2004-08-24 Thread Curt Zirzow
* Thus wrote Richard Miller: Good evening! I am getting an error message that I've never seen before. I am POSTing an HTML form to a PHP script, but when I submit the form, my Safari browser says can't open the page such-and-such because it could not load any data from this location.

Re: [PHP] Php returns wrong content-type (one php, two apaches)

2003-09-24 Thread Marek Kilimajer
This will be some misterios error. I would change more configuration options, namely output log filenames. Well, but this won't help you now. Are you sure the other apache is not runnig? Jan Vitek wrote: Hello, I installed Apache 2.0.47 with PHP 4.3.3 (as Apache module). Everything worked

[PHP] Php returns wrong content-type (one php, two apaches)

2003-09-23 Thread Jan Vitek
Hello, I installed Apache 2.0.47 with PHP 4.3.3 (as Apache module). Everything worked fine, until I decided that I will install one more Apache. I installed the second apache (again Apache 2.0.47 and PHP 4.3.3) and configured it in a same way as the first apache, only the port (directive

[PHP] Returns..

2003-09-19 Thread Chris Mach
I have a simple little script that displays news articles that are stored in mySQL database. However, when the script displays the data, it doesn't recognize the returns/enters. So I have to put brbr when ever I want a new paragraph to begin. How can I get my script to recognize the returns? is

Re: [PHP] Returns..

2003-09-19 Thread Marek Kilimajer
nl2br() Chris Mach wrote: I have a simple little script that displays news articles that are stored in mySQL database. However, when the script displays the data, it doesn't recognize the returns/enters. So I have to put brbr when ever I want a new paragraph to begin. How can I get my script to

Re: [PHP] Returns..

2003-09-19 Thread Petre Agenbag
nl2br() On Fri, 2003-09-19 at 13:27, Chris Mach wrote: I have a simple little script that displays news articles that are stored in mySQL database. However, when the script displays the data, it doesn't recognize the returns/enters. So I have to put brbr when ever I want a new paragraph to

Re: [PHP] Returns..

2003-09-19 Thread Chris Mach
Why does it put a space in there? br / It's screwing up my other script which displays just the first 50 words of the news article by exploding each word into an array. So / is showing up after each break. http://www.ticatfans.com/index.php Marek Kilimajer [EMAIL PROTECTED] wrote in message

Re: [PHP] Returns..

2003-09-19 Thread Marek Kilimajer
The space is there so it does not break some old browsers which could thing it is BR/ tag (yes, it does not exists). Change your logic or do preg_replace(array(\r\n,\n,\r), 'br', $string) instead - not tested Chris Mach wrote: Why does it put a space in there? br / It's screwing up my

RE: [PHP] Returns..

2003-09-19 Thread Jay Blanchard
[snip] Why does it put a space in there? br / It's screwing up my other script which displays just the first 50 words of the news article by exploding each word into an array. So / is showing up after each break. http://www.ticatfans.com/index.php [/snip] It is inserting the XHTML acceptable

Re: [PHP] Returns..

2003-09-19 Thread Curt Zirzow
* Thus wrote Jay Blanchard ([EMAIL PROTECTED]): [snip] http://www.ticatfans.com/index.php [/snip] br /fontfont face=arial size=2/ Inserting a font tag (Bad, Bad Thing TM) in the space and displaying the last part of the tag. As a matter of fact, there is a font tag for each word on

Re: [PHP] Returns..

2003-09-19 Thread Raquel Rice
On Fri, 19 Sep 2003 07:53:12 -0400 Chris Mach [EMAIL PROTECTED] wrote: Why does it put a space in there? br / It's screwing up my other script which displays just the first 50 words of the news article by exploding each word into an array. So / is showing up after each break. The reason

Re: [PHP] Returns..

2003-09-19 Thread Comex
[EMAIL PROTECTED] Marek Kilimajer: The space is there so it does not break some old browsers which could thing it is BR/ tag (yes, it does not exists). Change your logic or do preg_replace(array(\r\n,\n,\r), 'br', $string) instead - not tested Why not use str_replace instead of

[PHP] PHP returns white page when in high load

2003-08-21 Thread awoerl
Hello, we are having a problem: We have running apache + php under Windows, see http://www.mvhs.de/contentserv/admin/phpinfo.php for the phpinfo. Everything runs fine, but after a while, sometimes after a week, it suddenly returns only a white page at the start page. However

[PHP] PHP returns this error... (1030: Got error 28 from table handler)

2002-03-05 Thread Jeff Lewis
I was returned this error after a mysql_query: 1030: Got error 28 from table handler What does this mean? It doesn't happen all the time and it almost random... I searched the mysql site and didn't find anything and a search on Google I found that it is a table that may have become corrupt so

Re: [PHP] PHP returns this error... (1030: Got error 28 from table handler)

2002-03-05 Thread Jeff Lewis
] PHP returns this error... (1030: Got error 28 from table handler) I was returned this error after a mysql_query: 1030: Got error 28 from table handler What does this mean? It doesn't happen all the time and it almost random... I searched the mysql site and didn't find anything and a search

Re: [PHP] returns (functions)

2001-09-05 Thread Alexander Deruwe
On Wednesday 05 September 2001 17:17, Joseph Bannon wrote: I have a foreach loop running in a function. During the foreach loop, if a variable matches another variable, it does return $variable. My question is this: does the function automatically stop running when the variable is returned?

Re: [PHP] returns (functions)

2001-09-05 Thread Rasmus Lerdorf
I have a foreach loop running in a function. During the foreach loop, if a variable matches another variable, it does return $variable. My question is this: does the function automatically stop running when the variable is returned? Yes -- PHP General Mailing List (http://www.php.net/) To