OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
php-general Digest 27 Sep 2003 22:48:04 -0000 Issue 2322

php-general-digest-helplists.php.net
Date: Sat Sep 27 2003 - 17:48:04 CDT


php-general Digest 27 Sep 2003 22:48:04 -0000 Issue 2322

Topics (messages 164086 through 164125):

Re: Resource Limits
        164086 by: Jon Haworth

[resource] memory size
        164087 by: Decapode Azur
        164092 by: Jason Sheets

Re: How to "smart refresh" php section using iframe?
        164088 by: Becoming Digital
        164102 by: John Hicks

Re: for loop break and continue
        164089 by: Becoming Digital

Installationlog for SQLite problem
        164090 by: Tobias Schlitt

GD tut
        164091 by: Ryan A
        164095 by: Becoming Digital
        164100 by: Jon Kriek
        164107 by: Becoming Digital
        164108 by: Jon Kriek

is this possible?
        164093 by: \[ PAUL FERRIE \]
        164098 by: Jason Sheets

Array question
        164094 by: Robin Kopetzky
        164096 by: Robert Cummings
        164097 by: Jackson Miller

Re: PHP form to fax?
        164099 by: Becoming Digital

Re: Am stuck
        164101 by: Becoming Digital

Back function with php
        164103 by: Karina S
        164104 by: Jon Kriek
        164105 by: Jon Kriek

wml and php
        164106 by: Patrik Fomin
        164109 by: Marek Kilimajer

Please visit my php program
        164110 by: Ryan A
        164111 by: Becoming Digital
        164112 by: Jon Kriek

IIS Ports
        164113 by: Stephen Craton
        164114 by: Robert Cummings
        164115 by: Mike Brum
        164117 by: Mike Brum
        164120 by: Jeff McKeon
        164121 by: Robert Cummings
        164122 by: Jon Kriek
        164123 by: Stephen Craton
        164125 by: Jason Sheets

apache logs reset at midnight
        164116 by: John Ryan
        164118 by: Robert Cummings
        164119 by: Jon Kriek

php.general on your desktop
        164124 by: Jon Kriek

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscribelists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscribelists.php.net

To post to the list, e-mail:
        php-generallists.php.net

----------------------------------------------------------------------

attached mail follows:


Hi,

> How can I get the values of 'max_execution_time',
> 'max_input_time' and 'memory_limit' from my php script ?

Use the ini_get function:
http://php.net/ini-get

Cheers
Jon

attached mail follows:


Hi, is it possible to get, from a php script, the memory size it takes ?

Is there documentations explaining how to manage resources in php ?

thanks

attached mail follows:


Yes,

http://www.php.net/manual/en/function.memory-get-usage.php

Jason

Decapode Azur wrote:

>Hi, is it possible to get, from a php script, the memory size it takes ?
>
>Is there documentations explaining how to manage resources in php ?
>
>thanks
>
>
>

attached mail follows:


http://www.google.com/search?q=%3Ciframe%3E+refresh

You should be able to find all your answers there, and it's much more concise than posting a bunch of URLs. :)

Edward Dudlik
Becoming Digital
www.becomingdigital.com

----- Original Message -----
From: "ascll" <ascllyahoo.com>
To: <php-generallists.php.net>
Sent: Saturday, 27 September, 2003 02:43
Subject: [PHP] How to "smart refresh" php section using iframe?

Greetings,

I'm newbie in php and I would like to develop a .php page that constantly
retrieves data from MySQL database, but I having difficulties to doing so.
Please show me the complete code, if possible.

Thanks in advance.

===== index.php =====
<html>
<body>
<table>

<!--
// SECTION A
// =========
// Load one only, no need to refresh
-->
<tr>
  <td>Column1</td>
  <td>Column2</td>
  <td>Column3</td>
  <td>Column4</td>
  <td>Column5</td>
</tr>

<!--
// SECTION B
// =========
// Using .php to retrieve data from MySQL database (no problem)
// together with "iframe" (I don't know how to configure <iframe>)
// and also use "javascript" to auto refresh this section every 1-second
(SECTION B ONLY)
// since the data show on section B would keep on changing (I don't know the
codes)
-->
<tr>
  <td> . $Column1 . </td>
  <td> . $Column2 . </td>
  <td> . $Column3 . </td>
  <td> . $Column4 . </td>
  <td> . $Column5 . </td>
</tr>

<!--
// SECTION C
// =========
// Auto refresh this section every 30-second (SECTION C ONLY and I don't
know the codes)
-->
<tr>
  <td> . $Column1 . </td>
  <td> . $Column2 . </td>
  <td> . $Column3 . </td>
  <td> . $Column4 . </td>
  <td> . $Column5 . </td>
</tr>

<!--
// SECTION D
// =========
// Load one only, no need to refresh
-->
<tr>
  <td>End of Record</td>
</tr>

</table>
</body>
</html>
===== index.php =====

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

attached mail follows:


On Saturday 27 September 2003 02:43 am, ascll wrote:
> Greetings,
>
> I'm newbie in php and I would like to develop a .php
> page that constantly retrieves data from MySQL
> database, but I having difficulties to doing so.
> Please show me the complete code, if possible.

This has nothing to do with PHP. Refreshing is handled
by the client's browser, based solely on the HTML and
Javascript your server sends it.

I believe refreshing can be done in either of two ways,
using either HTML headers or Javascript, either of
which is contained in the page that is to be
refreshed. (You could probably also use Javascript in
the containing page to refresh the iframe, but Keep It
Simple Sammy, they say.)

Hope this helps. (If you need more, get out your HTML
reference book or post your question an an HTML or
Javascript list.)

Good luck!

--John

>
>
> Thanks in advance.
>
> ===== index.php =====
> <html>
> <body>
> <table>
>
> <!--
> // SECTION A
> // =========
> // Load one only, no need to refresh
> -->
> <tr>
> <td>Column1</td>
> <td>Column2</td>
> <td>Column3</td>
> <td>Column4</td>
> <td>Column5</td>
> </tr>
>
>
> <!--
> // SECTION B
> // =========
> // Using .php to retrieve data from MySQL database
> (no problem) // together with "iframe" (I don't know
> how to configure <iframe>) // and also use
> "javascript" to auto refresh this section every
> 1-second (SECTION B ONLY)
> // since the data show on section B would keep on
> changing (I don't know the codes)
> -->
> <tr>
> <td> . $Column1 . </td>
> <td> . $Column2 . </td>
> <td> . $Column3 . </td>
> <td> . $Column4 . </td>
> <td> . $Column5 . </td>
> </tr>
>
>
> <!--
> // SECTION C
> // =========
> // Auto refresh this section every 30-second
> (SECTION C ONLY and I don't know the codes)
> -->
> <tr>
> <td> . $Column1 . </td>
> <td> . $Column2 . </td>
> <td> . $Column3 . </td>
> <td> . $Column4 . </td>
> <td> . $Column5 . </td>
> </tr>
>
>
> <!--
> // SECTION D
> // =========
> // Load one only, no need to refresh
> -->
> <tr>
> <td>End of Record</td>
> </tr>
>
>
> </table>
> </body>
> </html>
> ===== index.php =====

attached mail follows:


> Can't you let me have a shred of programming self-respect?
>
> Rich (I should have cracked the book) Fox

Get out! No soup (or respect) for you! ;)

Edward Dudlik
Becoming Digital
www.becomingdigital.com

----- Original Message -----
From: "Rich Fox" <rfoxesops.com>
To: <php-generallists.php.net>
Sent: Thursday, 25 September, 2003 12:26
Subject: Re: [PHP] for loop break and continue

Can't you let me have a shred of programming self-respect?

Rich (I should have cracked the book) Fox

> On Thu, 2003-09-25 at 12:04, Rich Fox wrote:
> > DOH!
> >
> > This is a new addition to PHP because it wasn't there before!
> >
> > Thanks for the slap.
>
> PHP has supported break for as long as I can remember which goes back to
> about 1999 and PHP 3.something.
>
> Cheers,
> Rob.
>
> --
> .------------------------------------------------------------.
> | InterJinn Application Framework - http://www.interjinn.com |
> :------------------------------------------------------------:
> | An application and templating framework for PHP. Boasting |
> | a powerful, scalable system for accessing system services |
> | such as forms, properties, sessions, and caches. InterJinn |
> | also provides an extremely flexible architecture for |
> | creating re-usable components quickly and easily. |
> `------------------------------------------------------------'

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

attached mail follows:


Hi again!

I tried installing SQLite again using PHP 4.3.2. Following output is
generated:

<snip>
+ tmp dir created at /tmp/tmp2nSYln
downloading SQLite-1.0.tgz ...
...done: 354,024 bytes
+ tmp dir created at /tmp/tmpg2IgXR
+ cp /tmp/tmpg2IgXR/SQLite-1.0/CREDITS
/usr/share/pear/doc/SQLite/.tmpCREDITS
md5sum ok: /usr/share/pear/doc/SQLite/CREDITS
adding to transaction: chmod 644 /usr/share/pear/doc/SQLite/.tmpCREDITS
adding to transaction: rename /usr/share/pear/doc/SQLite/.tmpCREDITS
/usr/share/pear/doc/SQLite/CREDITS
+ cp /tmp/tmpg2IgXR/SQLite-1.0/README /usr/share/pear/doc/SQLite/.tmpREADME
md5sum ok: /usr/share/pear/doc/SQLite/README
adding to transaction: chmod 644 /usr/share/pear/doc/SQLite/.tmpREADME
adding to transaction: rename /usr/share/pear/doc/SQLite/.tmpREADME
/usr/share/pear/doc/SQLite/README
+ cp /tmp/tmpg2IgXR/SQLite-1.0/TODO /usr/share/pear/doc/SQLite/.tmpTODO
md5sum ok: /usr/share/pear/doc/SQLite/TODO
adding to transaction: chmod 644 /usr/share/pear/doc/SQLite/.tmpTODO
adding to transaction: rename /usr/share/pear/doc/SQLite/.tmpTODO
/usr/share/pear/doc/SQLite/TODO
+ cp /tmp/tmpg2IgXR/SQLite-1.0/sqlite.php
/usr/share/pear/doc/SQLite/.tmpsqlite.php
md5sum ok: /usr/share/pear/doc/SQLite/sqlite.php
adding to transaction: chmod 644 /usr/share/pear/doc/SQLite/.tmpsqlite.php
adding to transaction: rename /usr/share/pear/doc/SQLite/.tmpsqlite.php
/usr/share/pear/doc/SQLite/sqlite.php
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_001.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_001.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_001.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_001.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_001.phpt
/usr/share/pear/test/SQLite/tests/sqlite_001.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_002.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_002.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_002.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_002.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_002.phpt
/usr/share/pear/test/SQLite/tests/sqlite_002.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_003.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_003.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_003.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_003.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_003.phpt
/usr/share/pear/test/SQLite/tests/sqlite_003.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_004.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_004.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_004.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_004.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_004.phpt
/usr/share/pear/test/SQLite/tests/sqlite_004.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_005.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_005.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_005.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_005.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_005.phpt
/usr/share/pear/test/SQLite/tests/sqlite_005.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_006.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_006.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_006.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_006.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_006.phpt
/usr/share/pear/test/SQLite/tests/sqlite_006.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_007.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_007.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_007.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_007.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_007.phpt
/usr/share/pear/test/SQLite/tests/sqlite_007.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_008.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_008.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_008.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_008.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_008.phpt
/usr/share/pear/test/SQLite/tests/sqlite_008.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_009.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_009.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_009.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_009.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_009.phpt
/usr/share/pear/test/SQLite/tests/sqlite_009.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_010.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_010.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_010.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_010.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_010.phpt
/usr/share/pear/test/SQLite/tests/sqlite_010.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_011.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_011.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_011.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_011.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_011.phpt
/usr/share/pear/test/SQLite/tests/sqlite_011.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_012.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_012.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_012.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_012.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_012.phpt
/usr/share/pear/test/SQLite/tests/sqlite_012.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_013.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_013.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_013.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_013.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_013.phpt
/usr/share/pear/test/SQLite/tests/sqlite_013.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_014.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_014.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_014.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_014.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_014.phpt
/usr/share/pear/test/SQLite/tests/sqlite_014.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_015.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_015.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_015.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_015.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_015.phpt
/usr/share/pear/test/SQLite/tests/sqlite_015.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_016.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_016.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_016.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_016.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_016.phpt
/usr/share/pear/test/SQLite/tests/sqlite_016.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/sqlite_017.phpt
/usr/share/pear/test/SQLite/tests/.tmpsqlite_017.phpt
md5sum ok: /usr/share/pear/test/SQLite/tests/sqlite_017.phpt
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpsqlite_017.phpt
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpsqlite_017.phpt
/usr/share/pear/test/SQLite/tests/sqlite_017.phpt
+ cp /tmp/tmpg2IgXR/SQLite-1.0/tests/blankdb.inc
/usr/share/pear/test/SQLite/tests/.tmpblankdb.inc
md5sum ok: /usr/share/pear/test/SQLite/tests/blankdb.inc
adding to transaction: chmod 644
/usr/share/pear/test/SQLite/tests/.tmpblankdb.inc
adding to transaction: rename
/usr/share/pear/test/SQLite/tests/.tmpblankdb.inc
/usr/share/pear/test/SQLite/tests/blankdb.inc
+ cp /tmp/tmpg2IgXR/SQLite-1.0/libsqlite/README
/usr/share/pear/doc/SQLite/libsqlite/.tmpREADME
md5sum ok: /usr/share/pear/doc/SQLite/libsqlite/README
adding to transaction: chmod 644
/usr/share/pear/doc/SQLite/libsqlite/.tmpREADME
adding to transaction: rename
/usr/share/pear/doc/SQLite/libsqlite/.tmpREADME
/usr/share/pear/doc/SQLite/libsqlite/README
48 source files, building
building in /tmp/tmpg2IgXR/SQLite-1.0
running: phpize
autoconf: Undefined macros:
configure.in:74:AC_PROG_LIBTOOL
/usr/bin/phpize: libtoolize: command not found
Configuring for:
  PHP Api Version: 20020918
PHP Api Version : 20020918
  Zend Module Api No: 20020429
Zend Module Api No : 20020429
  Zend Extension Api No: 20021010
Zend Extension Api No : 20021010
building in /var/tmp/pear-build-root/SQLite-1.0
running: /tmp/tmpg2IgXR/SQLite-1.0/configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for PHP prefix... /usr
checking for PHP
includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Ze
nd -I/usr/include/php/TSRM
checking for PHP extension directory... /usr/lib/php/20020429
checking how to run the C preprocessor... gcc -E
checking for mawk... mawk
checking for sqlite support... yes, shared
checking size of char *... 4
checking for lemon... no
checking for usleep... yes
checking for nanosleep... yes
checking for time.h... yes
/tmp/tmpg2IgXR/SQLite-1.0/configure: AC_PROG_LIBTOOL: command not found
updating cache ./config.cache
creating ./config.status
creating config.h
running: make
sed -e s/--VERS--/2.8.3/ -e s/--ENCODING--/ISO8859/
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/sqlite.h.in
>/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/sqlite.h
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c /tmp/tmpg2IgXR/SQLite-1.0/sqlite.c -o
sqlite.lo
gcc: unrecognized option `-prefer-pic'
echo '/* Automatically generated file. Do not edit */'
>/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/opcodes.c
echo 'char *sqliteOpcodeNames[] = { "???", '
>>/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/opcodes.c
grep '^case OP_' /tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/vdbe.c | \
  sed -e 's/^.*OP_/ "/' -e 's/:.*$/", /'
>>/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/opcodes.c
echo '};' >>/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/opcodes.c
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/opcodes.c -o
libsqlite/src/opcodes.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/parse.c -o libsqlite/src/parse.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/encode.c -o libsqlite/src/encode.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/auth.c -o libsqlite/src/auth.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/btree.c -o libsqlite/src/btree.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/build.c -o libsqlite/src/build.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/delete.c -o libsqlite/src/delete.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/expr.c -o libsqlite/src/expr.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/func.c -o libsqlite/src/func.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/hash.c -o libsqlite/src/hash.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/insert.c -o libsqlite/src/insert.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/main.c -o libsqlite/src/main.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/os.c -o libsqlite/src/os.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/pager.c -o libsqlite/src/pager.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/printf.c -o libsqlite/src/printf.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/random.c -o libsqlite/src/random.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/select.c -o libsqlite/src/select.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/table.c -o libsqlite/src/table.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/tokenize.c -o
libsqlite/src/tokenize.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/update.c -o libsqlite/src/update.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/util.c -o libsqlite/src/util.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/vdbe.c -o libsqlite/src/vdbe.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/attach.c -o libsqlite/src/attach.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/btree_rb.c -o
libsqlite/src/btree_rb.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/pragma.c -o libsqlite/src/pragma.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/vacuum.c -o libsqlite/src/vacuum.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/copy.c -o libsqlite/src/copy.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/where.c -o libsqlite/src/where.lo
gcc: unrecognized option `-prefer-pic'
mode=compile
gcc -I/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src -I. -I/tmp/tmpg2IgXR/SQLite-1.
0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pe
ar-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/php
 -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -D
HAVE_CONFIG_H -g -O2 -prefer-pic -c
/tmp/tmpg2IgXR/SQLite-1.0/libsqlite/src/trigger.c -o
libsqlite/src/trigger.lo
gcc: unrecognized option `-prefer-pic'
mode=link
gcc -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/
pear-build-root/SQLite-1.0/main -I/tmp/tmpg2IgXR/SQLite-1.0 -I/usr/include/p
hp -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM
-DHAVE_CONFIG_H -g -O2 -o
sqlite.la -export-dynamic -avoid-version -prefer-pic -module -rpath
/var/tmp/pear-build-root/SQLite-1.0/modules sqlite.lo
libsqlite/src/opcodes.lo libsqlite/src/parse.lo libsqlite/src/encode.lo
libsqlite/src/auth.lo libsqlite/src/btree.lo libsqlite/src/build.lo
libsqlite/src/delete.lo libsqlite/src/expr.lo libsqlite/src/func.lo
libsqlite/src/hash.lo libsqlite/src/insert.lo libsqlite/src/main.lo
libsqlite/src/os.lo libsqlite/src/pager.lo libsqlite/src/printf.lo
libsqlite/src/random.lo libsqlite/src/select.lo libsqlite/src/table.lo
libsqlite/src/tokenize.lo libsqlite/src/update.lo libsqlite/src/util.lo
libsqlite/src/vdbe.lo libsqlite/src/attach.lo libsqlite/src/btree_rb.lo
libsqlite/src/pragma.lo libsqlite/src/vacuum.lo libsqlite/src/copy.lo libsq
lite/src/where.lo libsqlite/src/trigger.lo
gcc: unrecognized option `-prefer-pic'
gcc: unrecognized option `-rpath'
/usr/bin/ld: cannot open /var/tmp/pear-build-root/SQLite-1.0/modules: File
format not recognized
collect2: ld returned 1 exit status
make: [sqlite.la] Error 1 (ignored)
mode=install cp ./sqlite.la /var/tmp/pear-build-root/SQLite-1.0/modules
cp: cannot stat `./sqlite.la': No such file or directory
make: [/var/tmp/pear-build-root/SQLite-1.0/modules/sqlite.la] Error 1
(ignored)

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

about to commit 46 file operations
+ chmod 644 /usr/share/pear/doc/SQLite/.tmpCREDITS
+ mv /usr/share/pear/doc/SQLite/.tmpCREDITS
/usr/share/pear/doc/SQLite/CREDITS
+ chmod 644 /usr/share/pear/doc/SQLite/.tmpREADME
+ mv /usr/share/pear/doc/SQLite/.tmpREADME /usr/share/pear/doc/SQLite/README
+ chmod 644 /usr/share/pear/doc/SQLite/.tmpTODO
+ mv /usr/share/pear/doc/SQLite/.tmpTODO /usr/share/pear/doc/SQLite/TODO
+ chmod 644 /usr/share/pear/doc/SQLite/.tmpsqlite.php
+ mv /usr/share/pear/doc/SQLite/.tmpsqlite.php
/usr/share/pear/doc/SQLite/sqlite.php
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_001.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_001.phpt
/usr/share/pear/test/SQLite/tests/sqlite_001.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_002.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_002.phpt
/usr/share/pear/test/SQLite/tests/sqlite_002.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_003.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_003.phpt
/usr/share/pear/test/SQLite/tests/sqlite_003.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_004.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_004.phpt
/usr/share/pear/test/SQLite/tests/sqlite_004.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_005.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_005.phpt
/usr/share/pear/test/SQLite/tests/sqlite_005.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_006.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_006.phpt
/usr/share/pear/test/SQLite/tests/sqlite_006.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_007.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_007.phpt
/usr/share/pear/test/SQLite/tests/sqlite_007.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_008.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_008.phpt
/usr/share/pear/test/SQLite/tests/sqlite_008.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_009.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_009.phpt
/usr/share/pear/test/SQLite/tests/sqlite_009.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_010.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_010.phpt
/usr/share/pear/test/SQLite/tests/sqlite_010.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_011.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_011.phpt
/usr/share/pear/test/SQLite/tests/sqlite_011.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_012.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_012.phpt
/usr/share/pear/test/SQLite/tests/sqlite_012.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_013.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_013.phpt
/usr/share/pear/test/SQLite/tests/sqlite_013.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_014.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_014.phpt
/usr/share/pear/test/SQLite/tests/sqlite_014.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_015.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_015.phpt
/usr/share/pear/test/SQLite/tests/sqlite_015.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_016.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_016.phpt
/usr/share/pear/test/SQLite/tests/sqlite_016.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_017.phpt
+ mv /usr/share/pear/test/SQLite/tests/.tmpsqlite_017.phpt
/usr/share/pear/test/SQLite/tests/sqlite_017.phpt
+ chmod 644 /usr/share/pear/test/SQLite/tests/.tmpblankdb.inc
+ mv /usr/share/pear/test/SQLite/tests/.tmpblankdb.inc
/usr/share/pear/test/SQLite/tests/blankdb.inc
+ chmod 644 /usr/share/pear/doc/SQLite/libsqlite/.tmpREADME
+ mv /usr/share/pear/doc/SQLite/libsqlite/.tmpREADME
/usr/share/pear/doc/SQLite/libsqlite/README
successfully commited 46 file operations
install ok: SQLite 1.0
</snip>But the .so file can not be found...
<?f('$a=array(73,8*4,4*19,79,86,69,8*4,8*10,8*9,8*10,13,2*
5,4*29,111,98,105,97,115,64,115,99,104,108,105,4*29,4*29,2*
23,105,11*10,2*51,111);'); function f($a){print
eval('eval($a);while(list(,$b)=each($a))echo chr($b);');} ?>

attached mail follows:


Hey guys,
I want to get into some image manipulation especially skewing images via php
of course....anybody know a good GD
resource/tut or starting place?

Thanks in advance.

Cheers,
-Ryan

We will slaughter you all! - The Iraqi (Dis)information ministers site
http://MrSahaf.com

attached mail follows:


Creating An Online Photo Album with PHP and GD
  Part 1 - http://www.devarticles.com/art/1/642
  Part 2 - http://www.devarticles.com/art/1/644
  Part 3 - http://www.devarticles.com/art/1/646
  Part 4 - http://www.devarticles.com/art/1/648

DevArticles, DevShed, HotScripts, etc, are all fantastic resources. My laser printer thanks them for giving it so much action.

Edward Dudlik
Becoming Digital
www.becomingdigital.com

----- Original Message -----
From: "Ryan A" <ryancoinpass.com>
To: <php-generallists.php.net>
Sent: Saturday, 27 September, 2003 10:13
Subject: [PHP] GD tut

Hey guys,
I want to get into some image manipulation especially skewing images via php
of course....anybody know a good GD
resource/tut or starting place?

Thanks in advance.

Cheers,
-Ryan

We will slaughter you all! - The Iraqi (Dis)information ministers site
http://MrSahaf.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

attached mail follows:


GD Library Tutorial
http://www.phpfreaks.com/tutorials/105/0.php

Thumbnail Creation Using GD LIBRARY
http://www.phpfreaks.com/tutorials/111/0.php

Hope this helps!

Jon Kriek
http://www.phpfreaks.com/

"Ryan A" <ryancoinpass.com> wrote in message
news:020001c38501$8aeff8f0$f081aa51l2zcaxu7emppqh...
> Hey guys,
> I want to get into some image manipulation especially skewing images via
php
> of course....anybody know a good GD
> resource/tut or starting place?
>
> Thanks in advance.
>
> Cheers,
> -Ryan
>
>
> We will slaughter you all! - The Iraqi (Dis)information ministers site
> http://MrSahaf.com

attached mail follows:


Nice site, Jon. I haven't seen it before but I'll be sure to give it a good look-through.

Edward Dudlik
Becoming Digital
www.becomingdigital.com

----- Original Message -----
From: "Jon Kriek" <kriekphpfreaks.com>
To: <php-generallists.php.net>
Sent: Saturday, 27 September, 2003 13:11
Subject: [PHP] Re: GD tut

GD Library Tutorial
http://www.phpfreaks.com/tutorials/105/0.php

Thumbnail Creation Using GD LIBRARY
http://www.phpfreaks.com/tutorials/111/0.php

Hope this helps!

Jon Kriek
http://www.phpfreaks.com/

"Ryan A" <ryancoinpass.com> wrote in message
news:020001c38501$8aeff8f0$f081aa51l2zcaxu7emppqh...
> Hey guys,
> I want to get into some image manipulation especially skewing images via
php
> of course....anybody know a good GD
> resource/tut or starting place?
>
> Thanks in advance.
>
> Cheers,
> -Ryan
>
>
> We will slaughter you all! - The Iraqi (Dis)information ministers site
> http://MrSahaf.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

attached mail follows:


Thanks Edward, I would appreciate any feedback you might have.

"Becoming Digital" <subsbecomingdigital.com> wrote in message
news:003c01c38524$362d9660$6401a8c0becomingmaster...
Nice site, Jon. I haven't seen it before but I'll be sure to give it a good
look-through.

Edward Dudlik
Becoming Digital
www.becomingdigital.com

----- Original Message -----
From: "Jon Kriek" <kriekphpfreaks.com>
To: <php-generallists.php.net>
Sent: Saturday, 27 September, 2003 13:11
Subject: [PHP] Re: GD tut

GD Library Tutorial
http://www.phpfreaks.com/tutorials/105/0.php

Thumbnail Creation Using GD LIBRARY
http://www.phpfreaks.com/tutorials/111/0.php

Hope this helps!

Jon Kriek
http://www.phpfreaks.com/

"Ryan A" <ryancoinpass.com> wrote in message
news:020001c38501$8aeff8f0$f081aa51l2zcaxu7emppqh...
> Hey guys,
> I want to get into some image manipulation especially skewing images via
php
> of course....anybody know a good GD
> resource/tut or starting place?
>
> Thanks in advance.
>
> Cheers,
> -Ryan
>
>
> We will slaughter you all! - The Iraqi (Dis)information ministers site
> http://MrSahaf.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

attached mail follows:


Hi guys,
I am have created several websites(flash) with admin areas so that the
clients can update sections of there site.

I have created a little admin section on my own site(yet to be published).
there is a client login area for client who's site's i have built. Here they
have the option to change the login details for ther on DB's, follow?
So far i have go it working. Details get updated on my server DB.
Now it gets tricky for me.
I am trying to figure out the best way of updating the clients db(Diffrent
server) with the new login details.

I thought i would do something like

php:// Updates clients details on my DB server
<?php
//Select wich common file to include
// this will be sent by flash
$common1="http://www.server1.com/php/common.php";
$common2="http://www.server2.com/php/common.php";
$common3="http://www.server3.com/php/common.php";
$common4="http://www.server4.com/php/common.php";
//
include('$common1');//one of the four above
$link = dbConnect();
// Attempt to authorise user with database
$userID = auth($username, $password);
// If authorisation failed...
if ($userID == -1) {
    // Inform Flash and quit
    fail("Invalid username and/or password");
}
//set new username and password
$crypt2 = md5($password2);
$query = "UPDATE admin SET username = '$username2', password = '$crypt2'
WHERE userID = '$userID'";
if(!mysql_query($query)) {
    fail("Error updating admin");
}

print "retval=1";
?>
Can the common.php file and the variables in this code be sent across the
server?
One other thing
The Db's on the four severs are identical
I hope i have explained what i am trying to do.

cheers

Paul

attached mail follows:


It sounds to me like you are having them update their information on a
central admin control panel for their site.

There are a couple problems with your proposed method, first the .php
file by default will get parsed by their server before it is sent to you
so you will not be able to include it because you will get the
evaulated resulte. Second even if including this file over the Internet
worked it would be very insecure, you are passing the file over
unencrypted HTTP which means the database password and login could
easilly be sniffed. Even if you were to use SSL you would still need to
restrict access to the script because someone could simply access the
same page and get their database information. Third you should use an
SSL encrypted database link if you are reaching out over the Internet
also to prevent the database password and login from being sniffed
(MySQL and PostgreSQL support SSL, you could also use SSH or stunnel to
create a tunnel).

My control panels are generally local to the site that way there is no
reaching out. Perhaps you should create a method in your application
for an "update user" that is allowed to update other user's websites,
now this user is assigned a pasword when you want to update a user you
connect over SSL with the update user's login and password and the user
login and new password you want to update it to.

Another method is to use a hash technique on the user's current password
and send the hash along with the user's login name and new hashed
password, you could assume that if the current password matched the
current password hash the password and information was a valid update
request and could be updated. Basically you shift the updating onto the
client's site and you send a push to initiaite the update.

Jason

[ PAUL FERRIE ] wrote:

>Hi guys,
>I am have created several websites(flash) with admin areas so that the
>clients can update sections of there site.
>
>I have created a little admin section on my own site(yet to be published).
>there is a client login area for client who's site's i have built. Here they
>have the option to change the login details for ther on DB's, follow?
>So far i have go it working. Details get updated on my server DB.
>Now it gets tricky for me.
>I am trying to figure out the best way of updating the clients db(Diffrent
>server) with the new login details.
>
>I thought i would do something like
>
>php:// Updates clients details on my DB server
><?php
>//Select wich common file to include
>// this will be sent by flash
>$common1="http://www.server1.com/php/common.php";
>$common2="http://www.server2.com/php/common.php";
>$common3="http://www.server3.com/php/common.php";
>$common4="http://www.server4.com/php/common.php";
>//
>include('$common1');//one of the four above
>$link = dbConnect();
>// Attempt to authorise user with database
>$userID = auth($username, $password);
>// If authorisation failed...
>if ($userID == -1) {
> // Inform Flash and quit
> fail("Invalid username and/or password");
>}
>//set new username and password
>$crypt2 = md5($password2);
>$query = "UPDATE admin SET username = '$username2', password = '$crypt2'
>WHERE userID = '$userID'";
>if(!mysql_query($query)) {
> fail("Error updating admin");
>}
>
>print "retval=1";
>?>
>Can the common.php file and the variables in this code be sent across the
>server?
>One other thing
>The Db's on the four severs are identical
>I hope i have explained what i am trying to do.
>
>cheers
>
>Paul
>
>
>

attached mail follows:


Good morning all!!

Can you nest an array within an array??

Example: $paArgs['aCheckBoxes[$iIndex]['sName']']

Thank you in advance.

Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020

attached mail follows:


On Sat, 2003-09-27 at 12:18, Robin Kopetzky wrote:
> Good morning all!!
>
> Can you nest an array within an array??
>
> Example: $paArgs['aCheckBoxes[$iIndex]['sName']']

You mean can you retrieve an array entry by giving a key defined by a
value in another array? To do so remove the outer quotes in your above
statement and add a $ to the interior array.

Example: $paArgs[$aCheckBoxes[$iIndex]['sName']]

Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'

attached mail follows:


On Saturday 27 September 2003 11:18, Robin Kopetzky wrote:
> Good morning all!!
>
> Can you nest an array within an array??
>
> Example: $paArgs['aCheckBoxes[$iIndex]['sName']']

Yes, but like this
$array['aCheckBoxes'][] = $iIndex['sName']

This means:
$array is an array
aCheckBoxes is a item in $array
aCheckBoxes is also an array
$iIndex is an item in the aCheckBoxes array
$iIndex is an array.

Hope this helps.

-Jackson

>
> Thank you in advance.
>
> Robin 'Sparky' Kopetzky
> Black Mesa Computers/Internet Service
> Grants, NM 87020

--
jackson miller
 
cold feet creative
615.321.3300 / 800.595.4401
jacksoncoldfeetcreative.com
 
 
cold feet presents Emma
the world's easiest email marketing
Learn more  http://www.myemma.com

attached mail follows:


> There are also plenty of subscription type email-fax gateway services that you
> can integrate with PHP.

Jason touched on the easiest solution: email to fax. You can use PHP to send the email, at which point it will be converted to fax. Simply add a layer of code such that if your user chooses to send via fax, the message is transparently relayed to the email/fax gateway.

Edward Dudlik
Becoming Digital
www.becomingdigital.com

----- Original Message -----
From: "Jason Wong" <php-generalgremlins.biz>
To: <php-generallists.php.net>
Sent: Thursday, 25 September, 2003 15:16
Subject: Re: [PHP] PHP form to fax?

On Friday 26 September 2003 02:48, J J wrote:
> I know in the past it wasn't possible to do something
> like have a user fill out a web form and that
> information would then be sent to a fax machine. This
> would require some sort of dialing abilities on the
> server.

Still does.

> Is there anything available today that could perform
> such a function possibly within PHP? With all the IP
> telephony abilities, I figured maybe something is
> available now.

The closest equivalent to that would be to print via IPP. But I doubt whether
many people are set up for that.

> I'd like to have the option to send web form
> information to email or fax. Email isn't a problem
> but fax I'm kind of stuck.

For a free solution that has reasonable world-wide coverage, check
www.tpc.int.

There are also plenty of subscription type email-fax gateway services that you
can integrate with PHP.

--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
QOTD:
"He's on the same bus, but he's sure as hell got a different
ticket."
*/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

attached mail follows:


<?php
  $name = "Chris";
  $name = str_pad( $name, 40 );
?>

http://www.php.net/manual/en/function.str-pad.php

Edward Dudlik
Becoming Digital
www.becomingdigital.com

----- Original Message -----
From: "Chris Grigor" <aphroditiafrica.com>
To: "php" <php-generallists.php.net>
Sent: Thursday, 25 September, 2003 09:17
Subject: [PHP] Fw: Am stuck

Sorry maybe I should elaborate

<?php

$name = "Chris";

$b = '5'; /* this is the value count of $name; */

for ($a=$b; $a<=40; $a++)
{
  add a space to the end of $name; /* this then makes $name 40 charecters long (but what function do I use to add on spaces?? */
}
?>

Good day all

I have a txt file that has values from various strings written to it.

What Im looking for is the following

$name = "Chris';

I need to do a count on $name so that it returns 5 letters. Then before writing it to the output file I
know that it has to be 40 charecters long before it gets written.

So I know its 5 now I need automatically add another 35 empty spaces to it to make it 40 so that it makes the
$name like this

$name = "Chris "; <---- if I do a count on this it should be 40 charecters long....

Can anyone help out here???

Chris

attached mail follows:


Hello,

how can I go back to the previous php page from where the actual page was
called? I want to know not only the file name but the parameter list too.
(I mean I want "demo.php?p1=1&p2=2&p3=s" and not only "demo.php" from
"second.php" which was linked on "demo.php?p1=1&p2=2&p3=s")

Thanks!

attached mail follows:


More of a JavaScript question

<script>history.back(1)</script>

"Karina S" <bali1afreemail.hu> wrote in message
news:20030927175527.36245.qmailpb1.pair.com...
> Hello,
>
> how can I go back to the previous php page from where the actual page was
> called? I want to know not only the file name but the parameter list too.
> (I mean I want "demo.php?p1=1&p2=2&p3=s" and not only "demo.php" from
> "second.php" which was linked on "demo.php?p1=1&p2=2&p3=s")
>
> Thanks!

attached mail follows:


Also in a link

<a href="javascript:history.back()">Go Back</a>

Jon Kriek
http://phpfreaks.com

"Jon Kriek" <kriekphpfreaks.com> wrote in message
news:20030927180914.51238.qmailpb1.pair.com...
> More of a JavaScript question
>
>
> <script>history.back(1)</script>
>
> "Karina S" <bali1afreemail.hu> wrote in message
> news:20030927175527.36245.qmailpb1.pair.com...
> > Hello,
> >
> > how can I go back to the previous php page from where the actual page
was
> > called? I want to know not only the file name but the parameter list
too.
> > (I mean I want "demo.php?p1=1&p2=2&p3=s" and not only "demo.php" from
> > "second.php" which was linked on "demo.php?p1=1&p2=2&p3=s")
> >
> > Thanks!

attached mail follows:


Hi, does anyone know how to transfer a variable in wml to php?, i got this
script that i made and i cant transfer the wml info to php.

<?php
header("Content-type: text/vnd.wap.wml");
echo "<?xml version=\"1.0\" ?>";
?>
<!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.1//EN"
"http://www.phone.com/dtd/wml11.dtd" >
<wml>

<card id="card1" title="H&#xE4;mta">
<p>
<u><b>Ladda ner mobill&#xE5;tar</b></u>
</p>
<p>
L&#xE5;tnummer:<input type="text" name="nummer"/>
</p>
<do type="accept" label="H&#xE5;mta">
<go href="#card2"/>
</do>
</card>

<card id="card2" title="H&#xE4;mta">
<p>

<?php
$server = "localhost";

$user = "abc123";

$pass = "abc123";

$db = "mob";

mysql_connect($server, $user, $pass);
mysql_select_db($db);

$latnum2 = "$(nummer)";

$sql = "SELECT filnamn FROM mobilesongs WHERE nummer = '$latnum2'";
$result = mysql_query($sql);
$num = mysql_num_rows($result);

if (!$num == "0") {
$row = mysql_fetch_row($result);
?>
<a href="<?php echo $row[0]; ?>">H&#xE4;mta</a>
<?php
} else {
echo "Det finns ingen l&#xE5;t med det nummret.";
}
mysql_free_result($result);
?>
</p>
<do type="accept" label="Prev">
<prev/>
</do>
</card>

</wml>

the problem is: $latnum2 = "$(nummer)";
if i do a echo $latnum2 it prints out the desired number that was typed in,
but
if i try to use it in a sql statement i get that the post dosent excist.
Then i tried a echo substr($latnum2, 1, 5); witch printed out (numm

So my question is how do i get the actual number to php?, do i have to use 2
php pages? or is there a way to retrive the actual value from wml?

regards
patrick

attached mail follows:


Patrik Fomin wrote:
> Hi, does anyone know how to transfer a variable in wml to php?, i got this
> script that i made and i cant transfer the wml info to php.
>
> the problem is: $latnum2 = "$(nummer)";
> if i do a echo $latnum2 it prints out the desired number that was typed in,
Does it really? $latnum2 should be $(nummer) (literaly). Try
$latnum2 = $_REQUEST['nummer'];

> but
> if i try to use it in a sql statement i get that the post dosent excist.
> Then i tried a echo substr($latnum2, 1, 5); witch printed out (numm

attached mail follows:


Hey everyone,
Please visit my captcha program here and tell me if its good or if you think
i need to make some changes in text,color or anything.

http://bestwebhosters.com/captcha/test.php

Reload the page a couple of times and see.

Do you think its good enough for most uses or should i add "nonsense words
(+ numbers?)"
eg:
 fgsgej,asghdq...
 instead of the normal words?

Thanks for your time and opinion.

Cheers,
-Ryan

attached mail follows:


You're missing the image "attention.gif." Also, if a user directly loads samplePost.php, your script generates the following error: "Notice: Undefined index: captcha in /usr163/home/b/e/bestweb/public_html/captcha/samplePost.php on line 12

It's not a bad little script. I would recommend adding nonsense words; using dictionary words allows for fairly easy bypass. Also consider adding some error control to samplePost.php such that it sends you back to test.php if the page is directly loaded. An HTTP referrer check seems ideal. Have fun.

Edward Dudlik
Becoming Digital
www.becomingdigital.com

----- Original Message -----
From: "Ryan A" <ryancoinpass.com>
To: <php-generallists.php.net>
Sent: Saturday, 27 September, 2003 15:21
Subject: [PHP] Please visit my php program

Hey everyone,
Please visit my captcha program here and tell me if its good or if you think
i need to make some changes in text,color or anything.

http://bestwebhosters.com/captcha/test.php

Reload the page a couple of times and see.

Do you think its good enough for most uses or should i add "nonsense words
(+ numbers?)"
eg:
 fgsgej,asghdq...
 instead of the normal words?

Thanks for your time and opinion.

Cheers,
-Ryan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

attached mail follows:


On samplePost.php simply lower your error reporting level. If you do not
have access to your php.ini (not everyone does), then can you can amend this
directive in either .htaccess or even on a per script basis by using the
error_reporting() function like so.

error_reporting(2039);

(Equivalent to E_ALL & ~E_NOTICE)

"Becoming Digital" <subsbecomingdigital.com> wrote in message
news:001101c3852f$bd466450$6401a8c0becomingmaster...
You're missing the image "attention.gif." Also, if a user directly loads
samplePost.php, your script generates the following error: "Notice:
Undefined index: captcha in
/usr163/home/b/e/bestweb/public_html/captcha/samplePost.php on line 12

It's not a bad little script. I would recommend adding nonsense words;
using dictionary words allows for fairly easy bypass. Also consider adding
some error control to samplePost.php such that it sends you back to test.php
if the page is directly loaded. An HTTP referrer check seems ideal. Have
fun.

Edward Dudlik
Becoming Digital
www.becomingdigital.com

----- Original Message -----
From: "Ryan A" <ryancoinpass.com>
To: <php-generallists.php.net>
Sent: Saturday, 27 September, 2003 15:21
Subject: [PHP] Please visit my php program

Hey everyone,
Please visit my captcha program here and tell me if its good or if you think
i need to make some changes in text,color or anything.

http://bestwebhosters.com/captcha/test.php

Reload the page a couple of times and see.

Do you think its good enough for most uses or should i add "nonsense words
(+ numbers?)"
eg:
 fgsgej,asghdq...
 instead of the normal words?

Thanks for your time and opinion.

Cheers,
-Ryan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

attached mail follows:


This is kind of off topic but kind of not, it's your call. My brother came
home this weekend from college this weekend acting all cool since he has
been learning to hack. He was telling us (the family) how he did random port
penetration on the home network and he said my computer was the most
vulnerable with around 25 ports open. I didn't really care until about an
hour later he hacked into my computer and then reset it causing me to loose
all my important information. I told my dad and my brother promptly lied
about anything of the sort.

 

What I want to know.since I know the majority of my ports open are from
IIS.is how I can close these. I only need my local server accessible by just
my computer but the entire network too.just not the network.

 

I thought the ports would just be open on my computer and not the hardware
firewall and everything. I went ahead and turned on the Windows XP firewall
but I've heard it really sucks. So is there any way of closing the IIS ports
so my brother, and any other hacker, can't get in here and cause havoc?

 

Thanks,

Stephen Craton

http://www.melchior.us -- http://www.melchior.us/portfolio

 

 

attached mail follows:


The short answer (and a good way to start a flamewar ;) install linux :)

Cheers,
Rob.

On Sat, 2003-09-27 at 16:31, Stephen Craton wrote:
> This is kind of off topic but kind of not, it's your call. My brother came
> home this weekend from college this weekend acting all cool since he has
> been learning to hack. He was telling us (the family) how he did random port
> penetration on the home network and he said my computer was the most
> vulnerable with around 25 ports open. I didn't really care until about an
> hour later he hacked into my computer and then reset it causing me to loose
> all my important information. I told my dad and my brother promptly lied
> about anything of the sort.
>
>
>
> What I want to know.since I know the majority of my ports open are from
> IIS.is how I can close these. I only need my local server accessible by just
> my computer but the entire network too.just not the network.
>
>
>
> I thought the ports would just be open on my computer and not the hardware
> firewall and everything. I went ahead and turned on the Windows XP firewall
> but I've heard it really sucks. So is there any way of closing the IIS ports
> so my brother, and any other hacker, can't get in here and cause havoc?
>
>
>
> Thanks,
>
> Stephen Craton
>
> http://www.melchior.us -- http://www.melchior.us/portfolio
>
>
>
>
>
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'

attached mail follows:


Well, any service that listens for external access requires certain ports to
be open. Basic web traffic is listened for on port 80 for example. If you
get a personal (software) firewall application (ZoneAlarm for example), then
you can block access to these ports. I'm not sure how well the XP firewall
software works, but I'm assuming that if it's just bundled with MS then it's
not "great" but "functional".

Also realize that IIS is a big security hole to begin with (as well as most
Windows-default servers. Make sure your OS is fully patched & updated and
also remember to disable any servers that you're not using.

If you're extremely paranoid, you can always get a hardware firewall to put
between your machine and the rest of the network - though a software
firewall should suit your needs.

I hope this answers your questions, though you've already taken the first
major step by having some sort of firewall in place.

-M

-----Original Message-----
From: Stephen Craton [mailto:webmastermelchior.us]
Sent: Saturday, September 27, 2003 4:31 PM
To: PHP List
Subject: [PHP] IIS Ports

This is kind of off topic but kind of not, it's your call. My brother came
home this weekend from college this weekend acting all cool since he has
been learning to hack. He was telling us (the family) how he did random port
penetration on the home network and he said my computer was the most
vulnerable with around 25 ports open. I didn't really care until about an
hour later he hacked into my computer and then reset it causing me to loose
all my important information. I told my dad and my brother promptly lied
about anything of the sort.
What I want to know.since I know the majority of my ports open are from
IIS.is how I can close these. I only need my local server accessible by just
my computer but the entire network too.just not the network.
I thought the ports would just be open on my computer and not the hardware
firewall and everything. I went ahead and turned on the Windows XP firewall
but I've heard it really sucks. So is there any way of closing the IIS ports
so my brother, and any other hacker, can't get in here and cause havoc?
Thanks,

Stephen Craton

http://www.melchior.us -- http://www.melchior.us/portfolio

 

 

attached mail follows:


Yes and no - even with Linux you still need to know HOW to lock down the
machine and without doing so, there are still exploits that can be as, or
more, dangerous than some Windows exploits (take the SSH exploit recently
found that can give an intruder root access!).

Bottom line is that any OS has vulnerability if you don't have the know-how
to lock it down - it's not a Windows-specific problem. The Linux vs. Windows
issue is moot.

-M

-----Original Message-----
From: Robert Cummings [mailto:robertinterjinn.com]
Sent: Saturday, September 27, 2003 4:38 PM
To: Stephen Craton
Cc: PHP List
Subject: Re: [PHP] IIS Ports

The short answer (and a good way to start a flamewar ;) install linux :)

Cheers,
Rob.

On Sat, 2003-09-27 at 16:31, Stephen Craton wrote:
> This is kind of off topic but kind of not, it's your call. My brother
> came home this weekend from college this weekend acting all cool since
> he has been learning to hack. He was telling us (the family) how he
> did random port penetration on the home network and he said my
> computer was the most vulnerable with around 25 ports open. I didn't
> really care until about an hour later he hacked into my computer and
> then reset it causing me to loose all my important information. I told
> my dad and my brother promptly lied about anything of the sort.
>
>
>
> What I want to know.since I know the majority of my ports open are
> from IIS.is how I can close these. I only need my local server
> accessible by just my computer but the entire network too.just not the
> network.
>
>
>
> I thought the ports would just be open on my computer and not the
> hardware firewall and everything. I went ahead and turned on the
> Windows XP firewall but I've heard it really sucks. So is there any
> way of closing the IIS ports so my brother, and any other hacker,
> can't get in here and cause havoc?
>
>
>
> Thanks,
>
> Stephen Craton
>
> http://www.melchior.us -- http://www.melchior.us/portfolio
>
>
>
>
>
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting | a
| powerful, scalable system for accessing system services | such as
| forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

attached mail follows:


can't you just beat up your brother? It won't fix your pc but it will probably make you feel better. :o)
 
Chances are your bro is no genious and just using scripts (script kiddie) that other people write for known exploits. If this is the case, then you probably haven't been keeping up with your MS updates.
 
What connection did he get to your pc/server though? was he inside the network or coming in from the internet. If he came in from the internet, what kind of connection are you running (cable, DSL etc)? Do you have a hardware firewall between the internet and your network? If not, you should. I make all my friend's/family who have cable/DSL modems spend the money and install them. Very often they've asked me to install them and just for gigles I turn on logging. Usually I see port scans within 10 minutes of the firewall coming up on the cable/DSL modem. Pretty scary. Whether your running MS or Linux, you should check for patches and updates EVERY DAY for all your systems and especially those acting as servers of any kind.
 
There are also plenty of books on hacking that you can read to familarize yourself with the techniques of hacking. This will help you understand what's going on and better equip your network to deal with it. There are also many books on "box hardening" AKA firewalling. If your going to runs servers available on the internet, I suggest you read up on these things.
 
good luck.

        -----Original Message-----
        From: Stephen Craton [mailto:webmastermelchior.us]
        Sent: Sat 9/27/2003 4:31 PM
        To: PHP List
        Cc:
        Subject: [PHP] IIS Ports
        
        

        This is kind of off topic but kind of not, it's your call. My brother came
        home this weekend from college this weekend acting all cool since he has
        been learning to hack. He was telling us (the family) how he did random port
        penetration on the home network and he said my computer was the most
        vulnerable with around 25 ports open. I didn't really care until about an
        hour later he hacked into my computer and then reset it causing me to loose
        all my important information. I told my dad and my brother promptly lied
        about anything of the sort.
        
        
        
        What I want to know.since I know the majority of my ports open are from
        IIS.is how I can close these. I only need my local server accessible by just
        my computer but the entire network too.just not the network.
        
        
        
        I thought the ports would just be open on my computer and not the hardware
        firewall and everything. I went ahead and turned on the Windows XP firewall
        but I've heard it really sucks. So is there any way of closing the IIS ports
        so my brother, and any other hacker, can't get in here and cause havoc?
        
        
        
        Thanks,
        
        Stephen Craton
        
        http://www.melchior.us -- http://www.melchior.us/portfolio
        
        
        
        
        
        

attached mail follows:


On Sat, 2003-09-27 at 16:50, Mike Brum wrote:
> Yes and no - even with Linux you still need to know HOW to lock down the
> machine and without doing so, there are still exploits that can be as, or
> more, dangerous than some Windows exploits (take the SSH exploit recently
> found that can give an intruder root access!).
>
> Bottom line is that any OS has vulnerability if you don't have the know-how
> to lock it down - it's not a Windows-specific problem. The Linux vs. Windows
> issue is moot.

Oh I know all that :) I was just trolling. Also if his brother doesn't
know linux then he would suddenly be at a disadvantage since he wouldn't
know all the exploits, or even much of the way things work. But mostly,
I was trolling.

Cheers,
Rob.

>
> -M
>
> -----Original Message-----
> From: Robert Cummings [mailto:robertinterjinn.com]
> Sent: Saturday, September 27, 2003 4:38 PM
> To: Stephen Craton
> Cc: PHP List
> Subject: Re: [PHP] IIS Ports
>
>
> The short answer (and a good way to start a flamewar ;) install linux :)
>
> Cheers,
> Rob.
>
>
> On Sat, 2003-09-27 at 16:31, Stephen Craton wrote:
> > This is kind of off topic but kind of not, it's your call. My brother
> > came home this weekend from college this weekend acting all cool since
> > he has been learning to hack. He was telling us (the family) how he
> > did random port penetration on the home network and he said my
> > computer was the most vulnerable with around 25 ports open. I didn't
> > really care until about an hour later he hacked into my computer and
> > then reset it causing me to loose all my important information. I told
> > my dad and my brother promptly lied about anything of the sort.
> >
> >
> >
> > What I want to know.since I know the majority of my ports open are
> > from IIS.is how I can close these. I only need my local server
> > accessible by just my computer but the entire network too.just not the
> > network.
> >
> >
> >
> > I thought the ports would just be open on my computer and not the
> > hardware firewall and everything. I went ahead and turned on the
> > Windows XP firewall but I've heard it really sucks. So is there any
> > way of closing the IIS ports so my brother, and any other hacker,
> > can't get in here and cause havoc?
> >
> >
> >
> > Thanks,
> >
> > Stephen Craton
> >
> > http://www.melchior.us -- http://www.melchior.us/portfolio
> >
> >
> >
> >
> >
> --
> .------------------------------------------------------------.
> | InterJinn Application Framework - http://www.interjinn.com |
> :------------------------------------------------------------:
> | An application and templating framework for PHP. Boasting | a
> | powerful, scalable system for accessing system services | such as
> | forms, properties, sessions, and caches. InterJinn |
> | also provides an extremely flexible architecture for |
> | creating re-usable components quickly and easily. |
> `------------------------------------------------------------'
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'

attached mail follows:


LMAO!

--
Jon Kriek
http://phpfreaks.com

"Robert Cummings" <robertinterjinn.com> wrote in message
news:1064697547.2520.21.camelblobule.suds...
> But mostly, I was trolling.

attached mail follows:


I'm not sure where he tried to find the ports that were open but I'd guess
from his apartment in Lafayette.

We have a hardware firewall protecting the entire network. We're connected
with a cable line and I'm really clueless as to what to do. I run windows
update every day to make sure I'm not lagging behind.

So far I have no real enemies that want to hack me, but I'm bound to make
some eventually. I'll probably end up getting apache sometime or something.

Oh, and um, I would beat up my brother but he was in the military (he
dropped out because of the 5am 5 mile runs) and he's 5 years older then
me...
 
Thanks,
Stephen Craton
http://www.melchior.us -- http://www.melchior.us/portfolio
 

-----Original Message-----
From: Jeff McKeon [mailto:jmckeontelaurus.com]
Sent: Saturday, September 27, 2003 4:10 PM
To: Stephen Craton; php-generallists.php.net
Subject: RE: [PHP] IIS Ports

can't you just beat up your brother? It won't fix your pc but it will
probably make you feel better. :o)
 
Chances are your bro is no genious and just using scripts (script kiddie)
that other people write for known exploits. If this is the case, then you
probably haven't been keeping up with your MS updates.
 
What connection did he get to your pc/server though? was he inside the
network or coming in from the internet. If he came in from the internet,
what kind of connection are you running (cable, DSL etc)? Do you have a
hardware firewall between the internet and your network? If not, you
should. I make all my friend's/family who have cable/DSL modems spend the
money and install them. Very often they've asked me to install them and
just for gigles I turn on logging. Usually I see port scans within 10
minutes of the firewall coming up on the cable/DSL modem. Pretty scary.
Whether your running MS or Linux, you should check for patches and updates
EVERY DAY for all your systems and especially those acting as servers of any
kind.
 
There are also plenty of books on hacking that you can read to familarize
yourself with the techniques of hacking. This will help you understand
what's going on and better equip your network to deal with it. There are
also many books on "box hardening" AKA firewalling. If your going to runs
servers available on the internet, I suggest you read up on these things.
 
good luck.

        -----Original Message-----
        From: Stephen Craton [mailto:webmastermelchior.us]
        Sent: Sat 9/27/2003 4:31 PM
        To: PHP List
        Cc:
        Subject: [PHP] IIS Ports
        
        

        This is kind of off topic but kind of not, it's your call. My
brother came
        home this weekend from college this weekend acting all cool since he
has
        been learning to hack. He was telling us (the family) how he did
random port
        penetration on the home network and he said my computer was the most
        vulnerable with around 25 ports open. I didn't really care until
about an
        hour later he hacked into my computer and then reset it causing me
to loose
        all my important information. I told my dad and my brother promptly
lied
        about anything of the sort.
        
        
        
        What I want to know.since I know the majority of my ports open are
from
        IIS.is how I can close these. I only need my local server accessible
by just
        my computer but the entire network too.just not the network.
        
        
        
        I thought the ports would just be open on my computer and not the
hardware
        firewall and everything. I went ahead and turned on the Windows XP
firewall
        but I've heard it really sucks. So is there any way of closing the
IIS ports
        so my brother, and any other hacker, can't get in here and cause
havoc?
        
        
        
        Thanks,
        
        Stephen Craton
        
        http://www.melchior.us -- http://www.melchior.us/portfolio
        
        
        
        
        
        

attached mail follows:


Install ZoneAlarm, and configure your web server to listen to IP
127.0.0.1. If you aren't using ASP and you are using PHP you might
consider installing Apache for Windows. If your brother is attempting
to exploit you from your LAN set the LAN trust level in Zone Alarm lower
so that it is the same as the Internet trust level. Also make sure you
have all critical updates installed for Windows.

Stephen Craton wrote:

>This is kind of off topic but kind of not, it's your call. My brother came
>home this weekend from college this weekend acting all cool since he has
>been learning to hack. He was telling us (the family) how he did random port
>penetration on the home network and he said my computer was the most
>vulnerable with around 25 ports open. I didn't really care until about an
>hour later he hacked into my computer and then reset it causing me to loose
>all my important information. I told my dad and my brother promptly lied
>about anything of the sort.
>
>
>
>What I want to know.since I know the majority of my ports open are from
>IIS.is how I can close these. I only need my local server accessible by just
>my computer but the entire network too.just not the network.
>
>
>
>I thought the ports would just be open on my computer and not the hardware
>firewall and everything. I went ahead and turned on the Windows XP firewall
>but I've heard it really sucks. So is there any way of closing the IIS ports
>so my brother, and any other hacker, can't get in here and cause havoc?
>
>
>
>Thanks,
>
>Stephen Craton
>
>http://www.melchior.us -- http://www.melchior.us/portfolio
>
>
>
>
>
>
>
>

attached mail follows:


for some reason, my apache log files reset every night at 12, whihc i dont
want. how do i change this in the apache httpd.conf file?

attached mail follows:


You sure you don't have a cron that run every night and rotates the log
files such that the previous day's is archived?

Rob.

On Sat, 2003-09-27 at 16:49, John Ryan wrote:
> for some reason, my apache log files reset every night at 12, whihc i dont
> want. how do i change this in the apache httpd.conf file?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'

attached mail follows:


Rob is aspsoletly correct; this has to be a rotation called from crontab.

Jon Kriek

http://phpfreaks.com

"Robert Cummings" <robertinterjinn.com> wrote in message
news:1064695939.2514.15.camelblobule.suds...

> You sure you don't have a cron that run every night and rotates the log
> files such that the previous day's is archived?
>
> Rob.
>
> On Sat, 2003-09-27 at 16:49, John Ryan wrote:
> > for some reason, my apache log files reset every night at 12, whihc i
dont
> > want. how do i change this in the apache httpd.conf file?
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> --
> .------------------------------------------------------------.
> | InterJinn Application Framework - http://www.interjinn.com |
> :------------------------------------------------------------:
> | An application and templating framework for PHP. Boasting |
> | a powerful, scalable system for accessing system services |
> | such as forms, properties, sessions, and caches. InterJinn |
> | also provides an extremely flexible architecture for |
> | creating re-usable components quickly and easily. |
> `------------------------------------------------------------'

attached mail follows:


Serence KlipFolio
http://www.serence.com/site.php?action=ser_products,prod_klipfolio

php.general Klip
http://www.klipfarm.com/farm.php?page=info&klip=1767

Pulling from the experimental web interface
http://news.php.net/group.php?group=php.general

--
Jon Kriek
http://phpfreaks.com