Re: [PHP-DEV] Moderate PHP-DEV
I propose a rename to php.c-internals.dev This leaves no confusion, it is about developing in C and C++ the language of PHP. I think restricting to those with cvs accounts is not the best solution. It excludes first-time users who have a useful patch from posting a message. Regards, Greg -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] nested namespace
Hi, I'm wondering if a note of clarification could be added to ZEND_CHANGES. The sentences: A namespace's name may contain colons to denote sub-namespaces. This is pure syntactic sugar, the Zend Engine will not see, for instance, the namespaces Package, Package:Subpackage and Package:Subpackage:Subsubpackage as related. will possibly be clearer if modified like: A namespace's name may contain SINGLE colons (:) to denote sub-namespaces. This is pure syntactic sugar, the Zend Engine will not see, for instance, the namespaces Package, Package:Subpackage and Package:Subpackage:Subsubpackage as related. DOUBLE colons are used to distinguish between nested namespaces as in Package::Subpackage. A namespace identifier may not begin with a colon. namespace Package { const one = 1; namespace SubPackage { const one = 'one'; } } namespace Package:Subpackage { const one = 'einz'; } echo Package::one; // 1 echo Package::Subpackage::one; // one echo Package:Subpackage::one // einz This is assuming I understand namespaces. Modify as needed. Regards, Greg -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] nested namespace
Derick Rethans wrote: On Fri, 7 Mar 2003, Greg Beaver wrote: namespace Package { const one = 1; namespace SubPackage { const one = 'one'; } } You can not nest namespaces, so this wont work. Derick OK, makes sense. Adding this sentence would clear up a great deal of confusion. Regards, Greg -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: [PHP] Threading
On Tue, 18 Feb 2003, Bruce Miller wrote: Will PHP allow multiple-thread execution? PHP4 does not have thread support. -- Greg Donald http://destiney.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] tokenizer and ZE2
Hi, are there any plans to update the tokenizer extension to recognize new ZE2 tokens T_ABSTRACT/T_PRIVATE/etc.? This will be very handy for making phpDocumentor PHP 5-ready. Initial investigation suggests all that is needed is to add a few lines like: REGISTER_LONG_CONSTANT(T_ABSTRACT, T_ABSTRACT, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT(T_PRIVATE, T_PRIVATE, CONST_CS | CONST_PERSISTENT); etc. and update token_name() Greg -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] CVS Account Request: cellog
help develop smarty template engine, help develop pear script for windows/linux to get it working properly to install phpDocumentor -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] can't get wincvs to ask for login
Hi, I'm trying to commit some changes, and can't get wincvs to log me in or even to request a password with pserver. I've changed the username from cvsread to cellog. Anyone with wincvs experience know how to make the stupid thing work? Greg -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] can't get wincvs to ask for login
Hi Andrey, Tortoisecvs is much better than wincvs, thank you. The only other problem I have is that cvs says I don't have karma to commit things in smarty. I assume this is because I have a new account, but if I should have enough karma to commit, I may have configured something wrong (although there doesn't appear to be anything to configure in tortoise). Otherwise, I need more karma :) Thanks, Greg - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: Greg Beaver [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 10:32 AM Subject: Re: [PHP-DEV] can't get wincvs to ask for login Try out : http://www.tortoisecvs.org/ This is shell extension to explorer.exe .Everything is done with the right button of the mouse wherever you are (except Java programs). On the same page there is project for Subversion shell of the same type. Andrey - Original Message - From: Greg Beaver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 5:27 PM Subject: [PHP-DEV] can't get wincvs to ask for login Hi, I'm trying to commit some changes, and can't get wincvs to log me in or even to request a password with pserver. I've changed the username from cvsread to cellog. Anyone with wincvs experience know how to make the stupid thing work? Greg -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] can't get wincvs to ask for login
Hi, I manually modified the Root file in each dir to have [EMAIL PROTECTED] instead of cvsread. The problem was karma, everything should be fixed now. Thanks, Greg - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: Greg Beaver [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 11:16 AM Subject: Re: [PHP-DEV] can't get wincvs to ask for login Did you checked out from smarty with your new account or with anonymous ? Andrey - Original Message - From: Greg Beaver [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 6:42 PM Subject: Re: [PHP-DEV] can't get wincvs to ask for login Hi Andrey, Tortoisecvs is much better than wincvs, thank you. The only other problem I have is that cvs says I don't have karma to commit things in smarty. I assume this is because I have a new account, but if I should have enough karma to commit, I may have configured something wrong (although there doesn't appear to be anything to configure in tortoise). Otherwise, I need more karma :) Thanks, Greg - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: Greg Beaver [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 10:32 AM Subject: Re: [PHP-DEV] can't get wincvs to ask for login Try out : http://www.tortoisecvs.org/ This is shell extension to explorer.exe .Everything is done with the right button of the mouse wherever you are (except Java programs). On the same page there is project for Subversion shell of the same type. Andrey - Original Message - From: Greg Beaver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 5:27 PM Subject: [PHP-DEV] can't get wincvs to ask for login Hi, I'm trying to commit some changes, and can't get wincvs to log me in or even to request a password with pserver. I've changed the username from cvsread to cellog. Anyone with wincvs experience know how to make the stupid thing work? Greg -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: Memory allocation problems
phpDocumentor (http://www.phpdoc.org) has had problems with this as well. PHP often doesn't give a fatal error, but instead segfaults. As of php 4.3.0, we aren't seeing any crashes, but haven't done extensive testing on the cvs, as we are not yet near a full release. Greg Edin Kadribasic [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a script that allocates a lot of memory (huge associative arrays). The problem is that this scripts bails out with fatal error (emalloc unable to allocate 44 bytes) when I hit the limit of physical ram in the machine. Swap never gets used. The machine has 1 GB of ram and 2 GB of swap space. Has anyone seen something like this before? Are there any limitations in the PHP memory allocation code that would prevent it from being able to use more memory. Edin -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: aggregation stability
As a further note, it appears that the issue may involve the deaggregate() function. When used as deaggregate($this), it seems to cause a crash. This is the only link to crashing I've found. If I can isolate it, I'll post a bug to the tracker. Greg Greg Beaver [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, How stable is aggregation considered to be for PHP 4.3.0 release? I've been getting crashes with apache 1.3.27/php 4.3.0/Win98SE in certain cases when calling a overriding method of an aggregated class. class A { function display() { } } class B extends A { function display() { } } class D { function test() { $this-display(); } } class C { function aggtest() { aggregate($this,'B'); aggregate($this,'D'); $this-test(); } } The code above works on my system, and demonstrates the general principle that I'm using. In some cases, just adding a flush();exit; causes an apache crash. In others, adding a call to a function crashes things. There is absolutely nothing consistent. I would like to attach a sample script that causes a crash, but I can't find anything smaller than the 25 files I have which will cause one. Has anyone else experienced this bizarre behavior? What can I do to find the bug or help others find it? I don't even know if it has anything to do with aggregation. The only consistency is that when I call an aggregated function from another class's aggregated function after deaggregating and then re-aggregating, it seems to get unstable. I can't find anything else that when I add it in causes a crash, and stops when I take it out. Thanks, Greg -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] aggregation stability
Hi, How stable is aggregation considered to be for PHP 4.3.0 release? I've been getting crashes with apache 1.3.27/php 4.3.0/Win98SE in certain cases when calling a overriding method of an aggregated class. class A { function display() { } } class B extends A { function display() { } } class D { function test() { $this-display(); } } class C { function aggtest() { aggregate($this,'B'); aggregate($this,'D'); $this-test(); } } The code above works on my system, and demonstrates the general principle that I'm using. In some cases, just adding a flush();exit; causes an apache crash. In others, adding a call to a function crashes things. There is absolutely nothing consistent. I would like to attach a sample script that causes a crash, but I can't find anything smaller than the 25 files I have which will cause one. Has anyone else experienced this bizarre behavior? What can I do to find the bug or help others find it? I don't even know if it has anything to do with aggregation. The only consistency is that when I call an aggregated function from another class's aggregated function after deaggregating and then re-aggregating, it seems to get unstable. I can't find anything else that when I add it in causes a crash, and stops when I take it out. Thanks, Greg -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] PHP Developer position available--South San Francisco
Hi, Not sure if this is the right place to post for this but wanted to give it a try. I work for CFN in South San Francisco and we are looking to add more talented PHP Application Developer to our small fun team. We are a stable private NON start-up NON dot.com company working in the oil industry providing financial services to independent oil marketers. This position is full time employment with great benefits and good growth potential. Requirements are only solid fundamental knowledge of OOP and at least one year developing Apps in PHP. If this is the wrong place to post just a postions, I would appreciate any help to re-direct. Thank you, Greg Greg Landis Snr Recruiter/CFN [EMAIL PROTECTED] 650 616-3318 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12563 Updated: Imlib2 Issue
ID: 12563 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Compile Failure Operating System: RedHat 7.1 / 2.4.7 Kernel PHP Version: 4.0.6 New Comment: The Imlib2 guys say it's a PHP bug: I reported what I thought to be a PHP bug, they say it's a bug in Imlib2. Please have a look. I don't see how this can be an imlib2 bug. it's a bug in php's autoconf/make etc. setup - probably related to how they do imlib2 detection and li checking. they should use imlib2-config [- 10:07AM ~ -]imlib2-config --version 1.0.4 [- 10:07AM ~ -]imlib2-config --cflags -I/usr/local/include -I/usr/X11R6/include [- 10:07AM ~ -]imlib2-config --libs -L/usr/local/lib -lImlib2 -lttf -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib [- 10:07AM ~ -]imlib2-config --prefix /usr/local [- 10:07AM ~ -]imlib2-config --help Usage: imlib2-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] to figure out cflags and link flags. this is likely a type.missing character or missing logic statement in their build procedure. it's not an imlib2 bug - unless your imlib2-config is spewing out empty results for --libs or --cflags... which it shoudln't. Previous Comments: [2001-08-04 00:19:43] [EMAIL PROTECTED] Not a PHP bug. Report this to the imlib author instead. [2001-08-04 00:17:05] [EMAIL PROTECTED] make fails while trying to add Imlib2 support. ./configure --with-xml --with-apxs=/usr/sbin/apxs --with-mysql=/usr --with-pgsql --with-imlib I can see the configure script finds my new Imlib2 install: snip checking for imlib2 support... yes checking for imlib_load_image in -lImlib2... yes /snip anyway, here's the error: Making all in . make[1]: Entering directory `/usr/src/php-4.0.6' /bin/sh /usr/src/php-4.0.6/libtool --silent --mode=link gcc -I. -I/usr/src/php-4.0.6/ -I/usr/src/php-4.0.6/main -I/usr/src/php-4.0.6 -I/usr/include/apache -I/usr/src/php-4.0.6/Zend -I/usr/include/mysql -I/usr/src/php-4.0.6/ext/xml/expat/xmltok -I/usr/src/php-4.0.6/ext/xml/expat/xmlparse -I/usr/src/php-4.0.6/TSRM -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath /usr/src/php-4.0.6/libs -avoid-version -L/usr/local/pgsql/lib -R /usr/local/pgsql/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/imlib/libimlib.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/pgsql/libpgsql.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -ldl -lpq -lmysqlclient -l -lcrypt -lresolv -lm -ldl -lnsl -lresolv /usr/bin/ld: cannot find -l--library=crypt collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/usr/src/php-4.0.6' make: *** [all-recursive] Error 1 I also tried adding a couple of paths to the --with-imlib switch, /usr/local/lib and /usr/local/include. Both variations produced the same error as above. I am trying to add imlib support. This is an upgrade on the same version of PHP I'm already running, 4.06. I experienced no missing crypt libraries on the previous install. I don't exactly understand why it's failing on this error: /usr/bin/ld: cannot find -l--library=crypt I don't see any kind of crypt files listed in the requirements for Imlib2: http://www.mcclanahan.cx/php_imlib/downloads.php If I leave off the --with-imlib option I get no errors, so I know that's the part that's breaking. When I installed Imlib2 there were no errors, and I see the files: locate Imlib2 /usr/local/lib/libImlib2.so.1.0.1 /usr/local/lib/libImlib2.so.1 /usr/local/lib/libImlib2.so /usr/local/lib/libImlib2.la /usr/local/lib/libImlib2.a /usr/local/include/Imlib2.h So I had a look at /etc/ld.so.conf. I added /usr/local/lib and ran ldconfig. This didn't help, same errors as above. A friend pointed out this: -lpq -lmysqlclient -l -lcrypt -lresolv -lm -ldl -lnsl -lresolv ^ | Here's the problem I have no idea how to fix it, if this is the issue... I am using PHP 4.0.6 Apache 1.3.20 MySQL 3.23.40 Postgresql 7.1.2 Imlib2 1.0.1 RedHat 7.1 Edit this bug report at http://bugs.php.net/?id=12563edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Re: Bug #10687 Updated: Wont Compile
./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.19 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug in latest CVS?? Autoconf
I got this after I d/l'd the CVS: [root@voyager php4]# ./buildconf buildconf: checking installation... buildconf: autoconf version 2.13 (ok) buildconf: automake version 1.4 (ok) buildconf: libtool version 1.3.5 (ok) rebuilding Makefile templates automake: configure.in: installing `Zend/ylwrap' rebuilding configure autoconf: Undefined macros: ***BUG in Autoconf--please report*** AC_ADD_LIBRARY ***BUG in Autoconf--please report*** AC_ADD_LIBRARY ***BUG in Autoconf--please report*** AC_ADD_LIBRARY ***BUG in Autoconf--please report*** AC_ADD_LIBRARY ***BUG in Autoconf--please report*** AC_ADD_LIBRARY ***BUG in Autoconf--please report*** AC_ADD_LIBRARY_WITH_PATH ***BUG in Autoconf--please report*** AC_ADD_LIBRARY ***BUG in Autoconf--please report*** AC_ADD_LIBRARY_WITH_PATH ***BUG in Autoconf--please report*** AC_ADD_LIBRARY ***BUG in Autoconf--please report*** AC_ADD_LIBRARY_WITH_PATH ***BUG in Autoconf--please report*** AC_ADD_LIBRARY ***BUG in Autoconf--please report*** AC_ADD_LIBRARY_WITH_PATH ***BUG in Autoconf--please report*** AC_ADD_LIBRARY ***BUG in Autoconf--please report*** AC_ADD_LIBRARY_WITH_PATH ***BUG in Autoconf--please report*** AC_ADD_INCLUDE rebuilding acconfig.h rebuilding main/php_config.h.in -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] ask for help
Did you get this figured out? I'm just starting to work on compiling PHP under Windows too and am having the same trouble with the execution of bison. Greg Sohl Cedar Rapids, IA [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... dear sir, I'm a new PHP developer and very interesting in PHP,and I want to compile the PHP4.04pl1 source code in win32 myself,but failed. I have installed cygwin on my machine(windows98),and downloaded the win32build lib and include files,when I launch VC++, and then select File = Open Workspace and select php4ts, Then select Build=Set Active Configuration and select the desired configuration,Finally select Build=Rebuild All,but the compiler report such errors as below: Configuration: ZendTS - Win32 Release_TS Performing Custom Build Step on ".\zend_language_parser.y" /usr/bin/BISON: invalid option -- S Usage: /usr/bin/BISON [-dhklntvyV] [-b file-prefix] [-o outfile] [-p name-prefix] [--debug] [--defines] [--fixed-output-files] [--no-lines] [--verbose] [--version] [--help] [--yacc] [--no-parser] [--token-table] [--file-prefix=prefix] [--name-prefix=prefix] [--output=outfile] grammar-file Report bugs to [EMAIL PROTECTED] Performing Custom Build Step on .\zend_ini_parser.y /usr/bin/BISON: invalid option -- S Usage: /usr/bin/BISON [-dhklntvyV] [-b file-prefix] [-o outfile] [-p name-prefix] [--debug] [--defines] [--fixed-output-files] [--no-lines] [--verbose] [--version] [--help] [--yacc] [--no-parser] [--token-table] [--file-prefix=prefix] [--name-prefix=prefix] [--output=outfile] grammar-file Report bugs to [EMAIL PROTECTED] Performing Custom Build Step on ".\zend_language_scanner.l" Performing Custom Build Step on .\zend_ini_scanner.l Compiling... zend.c zend_alloc.c zend_API.c zend_builtin_functions.c zend_compile.c D:\wyc\php-4.0.4pl1.tar\php-4.0.4pl1\Zend\zend_compile.c(21) : fatal error C1083: Cannot open include file: 'zend_language_parser.h': No such file or directory zend_constants.c zend_dynamic_array.c zend_execute.c zend_execute_API.c zend_extensions.c zend_hash.c zend_highlight.c D:\wyc\php-4.0.4pl1.tar\php-4.0.4pl1\Zend\zend_highlight.c(22) : fatal error C1083: Cannot open include file: 'zend_language_parser.h': No such file or directory zend_indent.c D:\wyc\php-4.0.4pl1.tar\php-4.0.4pl1\Zend\zend_indent.c(25) : fatal error C1083: Cannot open include file: 'zend_language_parser.h': No such file or directory zend_ini.c zend_ini_parser.c fatal error C1083: Cannot open source file: 'D:\wyc\php-4.0.4pl1.tar\php-4.0.4pl1\Zend\zend_ini_parser.c': No such file or directory Generating Code... Compiling... zend_ini_scanner.cpp zend_ini_scanner.l(22) : fatal error C1083: Cannot open include file: 'zend_ini_parser.h': No such file or directory Generating Code... Compiling... zend_language_parser.c fatal error C1083: Cannot open source file: 'D:\wyc\php-4.0.4pl1.tar\php-4.0.4pl1\Zend\zend_language_parser.c': No such file or directory Generating Code... Compiling... zend_language_scanner.cpp zend_language_scanner.l(44) : fatal error C1083: Cannot open include file: 'zend_language_parser.h': No such file or directory Generating Code... Compiling... zend_list.c zend_llist.c zend_opcode.c zend_operators.c zend_ptr_stack.c zend_sprintf.c zend_stack.c zend_variables.c Generating Code... Error executing cl.exe. php.exe - 7 error(s), 0 warning(s) I don't know how to configue the custom build on *.y and *.l to let bison genarate the .c and .h files. the custom build seting on zend_language_paraser.y is: if not "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p zend zend_language_parser.y if "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p zend zend_language_parser.y I don't know how to configue the build about bison and flex,could you give me a hand? Thank you very much! your sincerely,wyc -- »¶ÓʹÓà 21CN µç×ÓÓʼþϵͳ http://www.21cn.com Thank you for using 21cn.com Email system -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Re: PHP 4.0 Bug #9500 Updated: mssql_query returns false forINSERT UPDATE queries
Jani, Sure can. #8777 and #8783. Hope this helps. Greg Bug Database [EMAIL PROTECTED] 03/08/01 05:56PM ID: 9500 Updated by: sniper Reported By: [EMAIL PROTECTED] Status: Duplicate Bug Type: MSSQL related Assigned To: Comments: Mind telling that which bug report is the duplicate to this one? --Jani Previous Comments: --- [2001-02-28 16:05:31] [EMAIL PROTECTED] ?php mssql_connect('myserver', 'user', 'password'); mssql_select_db('mydatabase'); $Result = mssql_query("UPDATE mytable SET nextval=nextval+1"); if ($Result) { echo("Result is TRUEBR"); } else { echo("Result is FALSEBR"); } echo 'BRBR'; $Result = mssql_query("INSERT mytable values(10)"); if ($Result) { echo("Result is TRUEBR"); } else { echo("Result is FALSEBR"); } ? --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9500edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]