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, 2001
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++) {
,
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
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
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,
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
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-
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
: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
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
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
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
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
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:
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
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
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
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:
] 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
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
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
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
/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
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]
26 matches
Mail list logo