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]
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, 200
> 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; $i echo strtoupper($st
the moment a bit unstable.
Tia,
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]
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 PROTECT
he main script instead of
> being included externally. So i tried putting the code 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
sinc
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,
Hey,
read:
http://www.php.net/manual/en/function.ignore-user-abort.php
for more information :)
- Kees
> -Original Message-
> From: Matt Rogers [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 05, 2001 7:49 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Does PHP scripts always finish,
gt; From: Ryan Christensen [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 22, 2001 8: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 comma
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 window\nHTTP_R
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-
> Fro
I think you want this:
\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 PROTECTED]
> Subj
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
eateFromPng in -lgd... no
checking 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 k
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 withou
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 intege
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-general&w=2&r=1&s=tutorials&q=b
Kees
- Original Message -
Fro
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 conf
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
3.36 server 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 m
[PHP] 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,
>
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=en&lr=&safe=off&ic=1&th=8810708445e328bb&;
seekd=939114469#939114469
and this: http://marc.theaimsgroup.com/?l=php-dev&m=
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 messag
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 cal
hey Steve,
look here:
http://www.ultraedit.com/downloads/additional.html
for your additional wordfiles/tagfiles for ie. PHP (and a _lot_ of other
languages)
Kees Hoekzema
[EMAIL PROTECTED]
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Namens
Steve Haemelinck
hello all,
Rasmus, thanx for the advice you gave me :)
I had to alter two of the Makefiles and the libphp4.module file.
but now, finnally, it worked :D
thank you very much,
Kees Hoekzema
[EMAIL PROTECTED]
-Oorspronkelijk bericht-
Van: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Verzonden
pache 1.3.114
GD 1.3.8
libpng 1.0.8
zlib1.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,
/cmd.exe /C dir /b e:\logs1\] in
c:/www/apache/htdocs/counter-stats/test.php on line 3
The complete script is:
tia,
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
png 1.0.8
zlib 1.1.3
Linux 2.2.17
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]
29 matches
Mail list logo