Re: [PHP] What happened with zend engine version 2?

2002-12-25 Thread Erik Franzén
You don't need to answer my questions. Found almost all answers myself (Yes, I was triggerhappy to post my questions here before I looked for the answers...) I have one question though, in which status are Zend Engine 2 in? I mean, have you already taken the major decisions about (for an example)

php-general Digest 25 Dec 2002 08:26:00 -0000 Issue 1783

2002-12-25 Thread php-general-digest-help
php-general Digest 25 Dec 2002 08:26:00 - Issue 1783 Topics (messages 129295 through 129316): What happened with zend engine version 2? 129295 by: Erik Franzén 129299 by: Rasmus Lerdorf 129308 by: Erik Franzén 129316 by: Erik Franzén Re: Problem with Include

Re: [PHP] Problem with Include

2002-12-25 Thread sport4ever
Thanks to all whom answered me while there is no solution for my problem (including more than one PHP file in a HTML page through SSI) :( I want to return to my server old configuration, It was: RedHat Linux 7.3 Apach 1.3 PHP 4.0.1 except PHP, because I have encountered some problems with PHP

[PHP] Writing byte 0A to a file (LF / CR related)

2002-12-25 Thread BBun
Hey, I am trying to write some binary data (image) to a file, but using fputs, every 0A byte will be written as 0D 0A. This is because of the windows representation of a new line (\r\n), but I'm not writing a text file! I'm writing binary data! Does anyone know how I can make this work correctly?

[PHP] Writing byte 0A to a file (LF / CR related)

2002-12-25 Thread BBun
Hey, I am trying to write some binary data (image) to a file, but using fputs, every 0A byte will be written as 0D 0A. This is because of the windows representation of a new line (\r\n), but I'm not writing a text file! I'm writing binary data! Does anyone know how I can make this work correctly?

[PHP] Re: Writing byte 0A to a file (LF / CR related)

2002-12-25 Thread Thomas Seifert
from the manual: Note: On systems which differentiate between binary and text files (i.e. Windows) the file must be opened with 'b' included in fopen() mode parameter. Thomas On Wed, 25 Dec 2002 11:43:13 +0100 [EMAIL PROTECTED] (Bbun) wrote: Hey, I am trying to write some binary data

[PHP] CVS download

2002-12-25 Thread Bc. Radek Kreja
Hello, I want to download PHP from CVS and a wrote this command (from manual): cvs -d :pserver:[EMAIL PROTECTED]:/repository co -r PHP_4_2_3 php4 But I got this message: cvs [server aborted]: no such tag PHP_4_2_3 Where is problem? Thanks Radek -- PHP General Mailing List

[PHP] How To Get Last Item Of An Array?

2002-12-25 Thread @ Nilaab
Hello Everyone, I have an multi-dimensional array called $cat_data, which is info extracted from a MySQL DB. I want to retrieve the very last item of that array. How would I do that? I know the first item can be retrieved by simply asking for $cat_data[0][0], which contains an id number. But I

Re: [PHP] How To Get Last Item Of An Array?

2002-12-25 Thread Chris Wesley
On Wed, 25 Dec 2002, @ Nilaab wrote: I have an multi-dimensional array called $cat_data, which is info extracted from a MySQL DB. I want to retrieve the very last item of that array. How would I do that? I know the first item can be retrieved by simply asking for $cat_data[0][0], which

[PHP] MySQL

2002-12-25 Thread Parry60
I'm having some problems with MySQL. PHP just isn't working with it. I'm running Apache 1.3.27 with PHP 4.2.3 and MySQL 3.23.49 on OpenBSD 3.2. Apache and PHP were compiled with source (PHP was configured with --with-mysql and --with-apxs), and MySQL was installed from a package. I can connect

Re: [PHP] Problem with comma in mail form

2002-12-25 Thread Chris Wesley
On Wed, 25 Dec 2002, Ben Edwards wrote: I have a fairly simple mail form which gets email, subject and message and posts to itself. It then use mail() function to send a email. mail( $admin_email, $subject, $message, From: $email ); Problem is the message gets truncated if there is a comma

[PHP] Good class for managing settings stored in INI (or other format)file?

2002-12-25 Thread Leif K-Brooks
I'm looking for a class to manage settings stored in a .ini (or other format) file. I could store them in a database, but they need to be there even when the DB's down. Any ideas? -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be

RE: [PHP] Good class for managing settings stored in INI (or other format) file?

2002-12-25 Thread John W. Holmes
I'm looking for a class to manage settings stored in a .ini (or other format) file. I could store them in a database, but they need to be there even when the DB's down. Any ideas? Parse_ini_file() may be of use. Or search phpclasses.org, they are sure to have something.

php-general Digest 25 Dec 2002 20:26:44 -0000 Issue 1784

2002-12-25 Thread php-general-digest-help
php-general Digest 25 Dec 2002 20:26:44 - Issue 1784 Topics (messages 129317 through 129327): Re: Problem with Include 129317 by: sport4ever Writing byte 0A to a file (LF / CR related) 129318 by: BBun 129319 by: BBun 129320 by: Thomas Seifert CVS download

RE: [PHP] How To Get Last Item Of An Array?

2002-12-25 Thread John W. Holmes
I have an multi-dimensional array called $cat_data, which is info extracted from a MySQL DB. I want to retrieve the very last item of that array. How would I do that? I know the first item can be retrieved by simply asking for $cat_data[0][0], which contains an id number. But I can't figure

Re: [PHP] How To Get Last Item Of An Array?

2002-12-25 Thread Jason Wong
On Thursday 26 December 2002 03:34, Chris Wesley wrote: On Wed, 25 Dec 2002, @ Nilaab wrote: I have an multi-dimensional array called $cat_data, which is info extracted from a MySQL DB. I want to retrieve the very last item of that array. How would I do that? I know the first item can be

Re: [PHP] How To Get Last Item Of An Array?

2002-12-25 Thread Leon Mergen
John W. Holmes [EMAIL PROTECTED] schreef in bericht 000401c2ac54$142032c0$7c02a8c0@coconut">news:000401c2ac54$142032c0$7c02a8c0@coconut... Kind of begs the question of why can't you just select what you need with the proper query, instead of loading everything into an array... Yeah, just add

[PHP] How to display field after MySQL join.

2002-12-25 Thread Stephen of Blank Canvas
Hi Everyone, I'm trying to display the content of two mysql tables on a single page, I have successfully joined them with the following statement. $query = SELECT serv.*, cat.* FROM site_services AS serv, site_servicescat AS cat WHERE serv.servicescat_id = cat.servicescat_id AND serv.theme_id

[PHP] Problem with compilation from CVS

2002-12-25 Thread Bc. Radek Kreja
Hello, I try compile PHP from CVS. I download source, configure it, compile it and install it. All ok, but after installation I got this: Fatal error: main() [function.main]: Failed opening required './libraries/grab_globals.lib.php' (include_path='.:/usr/local/lib/php') in

Re: [PHP] Problem with compilation from CVS

2002-12-25 Thread Johannes Schlueter
On Thursday 26 December 2002 00:57, Bc. Radek Kreja wrote: Fatal error: main() [function.main]: Failed opening required './libraries/grab_globals.lib.php' (include_path='.:/usr/local/lib/php') in /home/starnet.cz/dbadmin3/index.php on line 8 Where is problem, what I made bad? Hi, are you

Re: [PHP] Problem with compilation from CVS

2002-12-25 Thread Bc. Radek Kreja
Hello, yes, I am. Because if I compile PHP from source.tar.gz (version 4.2.3), it works. But I am not sure with version of PHP from CVS. I try cvs -d :pserver:[EMAIL PROTECTED]:/repository co -r PHP_4_2_3 php4 but answer is only cvs [server aborted]: no such tag PHP_4_2_3. Command

[PHP] Formatting text output

2002-12-25 Thread menezesd
Hello friends. I work for a school where we need to put the class results on to our web, one for every class. We enter the marks in the database and this should be displayed in a particular varying format as follows(an example) : Grade A Pass : 4554 7687 9834 2354 7671 Grade B Pass : 0045

RE: [PHP] Formatting text output

2002-12-25 Thread John W. Holmes
I work for a school where we need to put the class results on to our web, one for every class. We enter the marks in the database and this should be displayed in a particular varying format as follows(an example) : Grade A Pass : 4554 7687 9834 2354 7671 Grade B Pass : 0045 7612 2297

[PHP] Insert Record (php.ini)

2002-12-25 Thread Edson Waite
Hi all, Hope everyone had a Merry Christmas. I am trying to create a form to insert records into a MySQL db what setting should I be looking at in the php.ini? My page seems to work and goes to the next page correctly without errors, but does not enter any information in the database. Thanks

Re: [PHP] Formatting text output

2002-12-25 Thread Justin French
What does the database table(s) look like? I don't understand what '0045' and '2354' are -- are they student no's? Better questions get better answers :) Justin on 26/12/02 12:03 PM, menezesd ([EMAIL PROTECTED]) wrote: Hello friends. I work for a school where we need to put the class

RE: [PHP] Insert Record (php.ini)

2002-12-25 Thread John W. Holmes
I am trying to create a form to insert records into a MySQL db what setting should I be looking at in the php.ini? My page seems to work and goes to the next page correctly without errors, but does not enter any information in the database. Probably register_globals, if I had to guess.

[PHP] Re: MySQL

2002-12-25 Thread Mike Mannakee
Perhaps setting the ini file socket info is bypassing php using the tcp port directly. It should be going 'through' tcp/ip to get at the port mysql is listening to and they talk through there. I'm on a windows box and have limited experience with unix implementations, but on the one linux box I

Re: [PHP] Insert Record (php.ini)

2002-12-25 Thread Edson Waite
I checked and register_globals is ON, I am new to php and I am building on a tutorial from a book. below is the code any help would be appeciated. Thank you, Ed Waite ?php phpinfo(); function GetSQLValueString($theValue, $theType, $theDefinedValue = , $theNotDefinedValue = ) { $theValue =

Re: [PHP] Insert Record (php.ini)

2002-12-25 Thread Javier
There are single quotes missing before %s - '%s' $insertSQL = sprintf(INSERT INTO stories (firstName, lastName, address1, address2, city, `state`, country, postCode, telephone, email, title, story) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s),

[PHP] UltraTemplate's documentation

2002-12-25 Thread Javier
Hi! Has anybody got documentation for UltraTemplate? I read the examples on their website but I didn't understand it very well. Any doc. would be apreciated. :) -- *** s2r - public key: (http://leeloo.mine.nu/s2r-gmx.sig) -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Apache

2002-12-25 Thread Mantas Kriauciunas
Hey! I'm using FreeBSD 4.5 as my server and I have loaded Apache 1.3.2 and PHP 4.x . hare goes the question, sorry it isn't about php but still maybe you can help me. When I type Http://www.example.com/~user the page says that it doesn't exist.. But when I type in Http://www.example.com/~user/

Re: [PHP] How to display field after MySQL join.

2002-12-25 Thread Jason Wong
On Thursday 26 December 2002 07:25, Stephen of Blank Canvas wrote: Hi Everyone, I'm trying to display the content of two mysql tables on a single page, I have successfully joined them with the following statement. $query = SELECT serv.*, cat.* FROM site_services AS serv, site_servicescat AS