RE: [PHP] phpMyAdmin problem...

2002-01-16 Thread Kees Hoekzema
A couple of things: does mysql accept remote locations? iow, is your host set? further: always flush privileges :) But first, add a user, host: webserver, user foo, pass bar (whatever ;)) flush it and try again. - Kees -Original Message- From: Philip Jeffs [mailto:[EMAIL PROTECTED]]

RE: [PHP] php switch() problem

2001-11-16 Thread Kees Hoekzema
hey use exit; instead of break; break breaks the switch statement and continues with the code below, exit exits the script (en doesnt execute any code below the switch statement) Kees -Original Message- From: Ann Jamison [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001

RE: [PHP] String breaking up

2001-10-26 Thread Kees Hoekzema
Strings are arrays, so you can print out a string by doing something like this: Yups, this is possible, but i think he wants to have a newline for each character, you can doe this excelent with a small addition to your example: $string = hey there!; for ($i=0; $icount($string); $i++) {

[PHP] Apache, FreeBSD PHP

2001-10-01 Thread Kees Hoekzema
, Kees Hoekzema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] MySQL query length

2001-08-28 Thread Kees Hoekzema
You can alter the packetsize mysql will accept, you can find out the current setting with a show variables query, look for the max_allowed_packet var. You can alter it in your my.cnf file. (i have it on 25M atm). - Kees -Original Message- From: Niklas Lampén [mailto:[EMAIL

RE: [PHP] 2 NEWBIE QUESTIONS

2001-08-22 Thread Kees Hoekzema
into a variable and then including, but it didnt work. Then I tried echoing the variable but the PHP code isnt executed. and take a look at: http://www.php.net/manual/en/function.eval.php sincerly, - Kees Hoekzema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] converting numeric to a string

2001-08-07 Thread Kees Hoekzema
hey, this function does not exists. An interger can be treated as string without any problems, see also: http://www.php.net/manual/en/language.types.string.php#language.types.string .conversion Kees -Original Message- From: Don [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07,

RE: [PHP] PHP.... i suck at it

2001-07-22 Thread Kees Hoekzema
I think you want this: ?php echo IP ADDRESS \n; echo $remote_admin; ? \n is the newline code. so a double newline will look like: echo IP ADDRESS \n\n; Kees Hoekzema -Original Message- From: Kyle Smith [mailto:[EMAIL PROTECTED]] Sent: Monday, July 23, 2001 2:47 AM To: [EMAIL

RE: [PHP] PHP shell scripting..

2001-07-22 Thread Kees Hoekzema
Hello Ryan, You can use environment variables for that, like: echo $HOME; /* Shows the HOME environment variable, if set. */ You can also use getenv() en putenv() see also: http://nl.php.net/manual/en/language.variables.external.php hope it works :) - Kees -Original Message-

RE: [PHP] Automatic survey

2001-07-22 Thread Kees Hoekzema
Hey Ryan Look at this :) http://nl.php.net/manual/en/function.mail.php so a thing like: mail([EMAIL PROTECTED], My Own Subject, \ IP:\n$REMOTE_ADDR\n \ Port Number:\n$REMOTE_PORT\n \ System info:\n$HTTP_USER_AGENT\n \ Last page visited in this

RE: [PHP] PHP shell scripting..

2001-07-22 Thread Kees Hoekzema
:30 PM To: 'Kees Hoekzema' Subject: RE: [PHP] PHP shell scripting.. I'm slightly confused as to how I would run this from a shell though.. what would I enter in the command line then? - Ryan Christensen (mail) [EMAIL PROTECTED] (cell) 360-808-1506 -Original

[PHP] php-4.0.6, zlib, gd problem

2001-06-24 Thread Kees Hoekzema
for gdImageCreateFromGif in -lgd... no this is bad ;) So i recompiled gd-1.3.8, and zlib-1.1.3, with libpng-1.0.10 and jpeg-6b, still it is a no-go, so i have to stick with php-405 until this is solved, i hope someone has a solution, or otherwise i have to keep trying ;-) tia, Kees Hoekzema

RE: [PHP] php-4.0.6, zlib, gd problem

2001-06-24 Thread Kees Hoekzema
LS, -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 24, 2001 5:01 PM To: Kees Hoekzema Cc: [EMAIL PROTECTED] Subject: Re: [PHP] php-4.0.6, zlib, gd problem First, use absolute dirs, not relative dirs. ok, that solved the first problem

RE: [PHP] back again!!!

2001-06-18 Thread Kees Hoekzema
yeah, the 5000 emails in my inbox monthly ;) thanks for fixing it Rasmuss :) - Kees -Original Message- From: Jochen Kaechelin [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 10:14 PM To: PHP General Subject: [PHP] back again!!! great - something is missing without this

RE: [PHP] converting int to char

2001-05-19 Thread Kees Hoekzema
Hey, take a look at: http://www.php.net/manual/en/function.chr.php :) Kees -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 19, 2001 9:47 PM To: [EMAIL PROTECTED] Subject: [PHP] converting int to char how do I convert and integer value

Re: [PHP] Re: WELCOME to php-general@lists.php.net

2001-05-15 Thread Kees Hoekzema
http://hotwired.lycos.com/webmonkey/programming/php/index.html and, for general use: http://www.php.net/manual And this one can be usefull too. http://marc.theaimsgroup.com/?l=php-general http://marc.theaimsgroup.com/?l=php-generalw=2r=1s=tutorialsq=b Kees - Original Message - From:

Re: [PHP] PHP + GD + FreeBSD

2001-05-10 Thread Kees Hoekzema
Hmm, i had the same problem here, running FreeBSD and php-4.0.x + GD. Here is what i did, and it worked: make sure there is only 1 static gd-library on the system (search for libgd). second, install GD (make install after the compilation) make also sure that libpng is correctly installed and

RE: [PHP] zlib problem

2001-05-05 Thread Kees Hoekzema
hi Jeroen, first, try to compile zlib like this: gunzip -c zlib-1.1.3.tar.gz | tar xf -; \ mv zlib-1.1.3/ zlib; \ cd zlib; \ ./configure --static ; \ make; \ cd .. then compile php 4.0.5 with the --with-zlib=../zlib directive in the ./configure that worked for me :) Kees Hoekzema [EMAIL

[PHP] MySQL, PHP low-load problems

2001-04-20 Thread Kees Hoekzema
r is running on an dual PIII-1 GHz with 1.5G ram php-config: ./configure --with-apache=../apache_1.3.19 --enable-track-vars \ --enable-magic-quotes --with-gd=/usr/local --with-mysql --with-zlib=../zlib- 1.1.3 I still don't know who is wrong, PHP or MySQL, i hope some of you can give me more clarity in

RE: [PHP] mssql_pconnect issues?

2001-04-06 Thread Kees Hoekzema
Have you already tried to patch the Zend/zend_list.c file and recompile it? there is a known problem with persistent connections, read this: http://groups.google.com/groups?hl=enlr=safe=offic=1th=8810708445e328bb; seekd=939114469#939114469 and this:

RE: [PHP] mssql_pconnect issues?

2001-04-06 Thread Kees Hoekzema
] mssql_pconnect issues? Wouldn't this have made it in PHP 4.0.4 by now? Or am I reading 2001-01-04 wrong? (january 4?) Kees Hoekzema wrote: Have you already tried to patch the Zend/zend_list.c file and recompile it? there is a known problem with persistent connections, read this: http

RE: [PHP] whats the message count ?

2001-03-01 Thread Kees Hoekzema
hi, 1. http://marc.theaimsgroup.com/?l=php-general 2. will be there too i think Kees -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Namens Markus H. Maussner Verzonden: Thursday, March 01, 2001 12:52 PM Aan: [EMAIL PROTECTED] Onderwerp: [PHP] whats the

RE: [PHP] help!!! (PHP)

2001-01-23 Thread Kees Hoekzema
Hey Bruno, Information to generally setup a cron tab : How do I set up a cron job on Linux? --- http://www.faqts.com/knowledge_base/view.phtml/aid/1005/fid/436 In regards to php : How can I make a PHP script be

[PHP]GD, PHP and Apache troubles

2001-01-18 Thread Kees Hoekzema
1.1.3 Linux 2.2.17 Original distro Slackware 7.0 Does anyone know a solution? please let me know :) Kees Hoekzema, [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP]Windows 2000 program execution fails

2001-01-16 Thread Kees Hoekzema
/cmd.exe /C dir /b e:\logs1\] in c:/www/apache/htdocs/counter-stats/test.php on line 3 The complete script is: ? ? //include("config.inc"); exec("C:/WINNT/system32/cmd.exe /C dir /b e:\\logs1\\", $arr); print_r($arr); ? tia, Kees Hoekzema -- PHP General Mailing List

[PHP] Apache 1.3.14 - PHP-404 - GD-1.3.8 problems

2001-01-15 Thread Kees Hoekzema
Original distro Slackware 7.0 Kees Hoekzema, [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]