[PHP-DEV] CVS Account Request: lm92

2002-08-15 Thread liuming
translate documentation -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Parent _LINE_ Request

2002-08-15 Thread Yasuo Ohgaki
Richard Thomas wrote: > xdebug looks nice but this is something so basic that having it as a > base part of php would aid in development for everyone, including low > level/newbie programmers. Not to mention that the instructions provided > on there page are not possible for a very large portion o

[PHP-DEV] Hiding the remote server

2002-08-15 Thread Michael
Is it possible to write a script that: 1) gathers information 2) upon clicking a "submit" button, "posts" this information to a remote server for processing. 3) the remote server, by default, will generate results and display on it's own web page generated dynamically. 4) can we "intercept" this

[PHP-DEV] Re: cvs: php4 /sapi/apache mod_php4.c

2002-08-15 Thread Yasuo Ohgaki
Zeev Suraski wrote: > zeev Thu Aug 15 19:59:47 2002 EDT > > Modified files: > /php4/sapi/apache mod_php4.c > Log: > Fix a NASTY multithreading bug with in the Apache module Does this mean we should always use zend_hash_init_ex and unset apply protection? When w

[PHP-DEV] Re: #18401 [Opn->Ana]: shuffle() broken (fwd)

2002-08-15 Thread Yasuo Ohgaki
Dan Kalowsky wrote: > Anyone able to confirm or deny the validity of this patch? > > > -- Forwarded message -- > > [2002-07-18 01:03:51] [EMAIL PROTECTED] > > The shuffle() function in the CVS is (still) broken. It does not > correctly generate all possible combinations of the

[PHP-DEV] php 4.2.2, apache 2.0.40 make problem from source

2002-08-15 Thread alex stinson
From: Laurent Larquère <[EMAIL PROTECTED]> To: alex stinson <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP-INST] Re: php 4.2.2, apache 2.0.40 make problem from source Date: Fri, 16 Aug 2002 01:23:30 +0200 i have inserted a simple NULL as third argument and all goe

[PHP-DEV] Re: results of mysql_fetch are returning the incorrect records

2002-08-15 Thread K. Lee
I tried echo the sql in this function but I do not know where it print the statement. This function is inside *.inc file which is require in the html that I am printing the results of the query. So, to answer your question, I using the data to display on a html page. I am returning an array fro

Re: [PHP-DEV] Error reporting in PHP

2002-08-15 Thread John Lange
Thanks to all who replied to this. It looks like xdebug is going to work for me at least until it becomes part of the main PHP (or Zend) code. I'll get off this list now since I'm not a developer ;) John Lange On August 15, 2002 03:06 pm, Markus Fischer wrote: > Your lucky day, ZE2 will im

Re: [PHP-DEV] Error reporting in PHP

2002-08-15 Thread Markus Fischer
Your lucky day, ZE2 will implement this (see http://www.php.net/ZEND_CHANGES.txt ). If you need this functionality right now I suggest going with xdebug or apd, both provide such kind of facility. On Thu, Aug 15, 2002 at 02:20:33PM -0500, John Lange wrote : > Since I accidently

[PHP-DEV] Error reporting in PHP

2002-08-15 Thread John Lange
Since I accidently subscribed to the wrong list I might as well post this while I'm here... :) We do a lot of developing in PHP and we always use classes and inheritance for everything but there is one thing that drives me up the wall about PHP. If I call a function with the wrong number of pa

[PHP-DEV] Known limitations on error_log?

2002-08-15 Thread M. Brian Dunson
I am using php4 on an Apache server on W2K and am using the error_log function to write events to a file (log type 3). Under a load of six or more concurrent executions of the script that is writing to the log file, I get incomplete entries in the log file. The remainder of the script executes (

[PHP-DEV] php_error_docref bugs

2002-08-15 Thread Dan Kalowsky
Running the latest Windows CVS checkout, I get an interesting problem with the php_error_docref output. It seems to cut off the first letter of messages, ala: etwork.php) [ Blah blah blah blah. Might be good to fix that. >---< Dan Kal

[PHP-DEV] apache virtual hosts, php cgi and safe mode

2002-08-15 Thread Paul J
Dear All, Just a quick question regarding Apache and PHP as a CGI: Is it desired behaviour that under a VirtualHost directive (that specifies user and group directive to invoke suexec), php as a CGI then slips into safe mode? If so, can this be relaxed using a configure time option or is editing

[PHP-DEV] zend_hash_find,Z_OBJPROP and Zend2

2002-08-15 Thread Steve Alberty
Hi, i have problems with ming and the new zend2engine. Is it not possible to detect zend objects about the zend_hash_find method with the new zend engine? e.g.: in ming.c SWFgetProperty() zend_hash_find cant locate the objects which is defined with $movie=new SWFMovie(); (swfmovie_init())

Re: [PHP-DEV] Sending files to MS Internet Explorer with https doesn'twork

2002-08-15 Thread Marcel Beerta
First, wrong list. This list is for developing php, not for developing _with_ php ... MSIE has a bug which prevent's you to send encrypted files to the browser ... For a workaround, look at http://support.microsoft.com/default.aspx?scid=kb;EN-US;q316431 Greetings, Marcel Beerta John Lange s

[PHP-DEV] Sending files to MS Internet Explorer with https doesn't work

2002-08-15 Thread John Lange
I have seen code examples to send files to IE and they work great as long as the connection is not encrypted, but as soon as we switch to https, IE goes back to throwing the same errors. Here is the code. If anyone has a clue how to get this to work over https with IE please let me know. A maj

[PHP-DEV] Build warnings on OSX in sockets

2002-08-15 Thread Dan Kalowsky
Haven't noticed this before, so I'm guessing this isn't a good thing. /Users/dank/Development/php4-cvs/ext/sockets/sockets.c: In function `zif_socket_recvmsg': /Users/dank/Development/php4-cvs/ext/sockets/sockets.c:1524: warning: assignment from incompatible pointer type /Users/dank/Development/p

Re: [PHP-DEV] Accounts on Alpha/Tru64

2002-08-15 Thread James Cox
"Sebastian Nohn" <[EMAIL PROTECTED]> wrote: > I'm currently trying to get a machine for testing PHP on Tru64/Alpha. > Anyone who is _really_ interested in testing AND hunting bugs on that > platform should drop me a mail. http://www.testdrive.compaq.com/ __

[PHP-DEV] Re: ADVANCED PHP (SOCKETS) MULTIPLEXING SERVER

2002-08-15 Thread J Smith
Questions like this should be posted to php.general, not php.dev -- php.dev is for developing PHP itself; php.general is for developing WITH PHP. That aside, attached is a simple example of setting up a multiplexer with socket_select(). The example creates a [very] small chat server -- just st

[PHP-DEV] #18401 [Opn->Ana]: shuffle() broken (fwd)

2002-08-15 Thread Dan Kalowsky
Anyone able to confirm or deny the validity of this patch? -- Forwarded message -- Date: 14 Aug 2002 07:04:50 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: #18401 [Opn->Ana]: shuffle() broken ID: 18401 Updated by: [EMAIL PROTECTED] Reported

[PHP-DEV] ADVANCED PHP (SOCKETS) MULTIPLEXING SERVER

2002-08-15 Thread Gustavo Almeida
Dear php-dev, Hi, I'm here again with another doubt. Now, I know that I have to use socket_select() before the socket_accept(), but what I can't understand is how to "store" or handle many clients yet, my app has a lot of socket_write() and socket_read() functions, and

Re: [PHP-DEV] PHP extension initialisation

2002-08-15 Thread Tom Oram
On Thu, 15 Aug 2002, you wrote: > --- Tom Oram <[EMAIL PROTECTED]> wrote: >> Hi, >> Can someone please answer my question? >> >> When running a PHP extension when PHP is running as an apache module on linux >> it's module init function (PHP_MINIT_FUNCTION) gets called twice, once before >> apache

Re: [PHP-DEV] PHP extension initialisation

2002-08-15 Thread Brad LaFountain
--- Tom Oram <[EMAIL PROTECTED]> wrote: > Hi, > Can someone please answer my question? > > When running a PHP extension when PHP is running as an apache module on linux > it's module init function (PHP_MINIT_FUNCTION) gets called twice, once before > apache forks then once after, is there any wa

[PHP-DEV] PHP extension initialisation

2002-08-15 Thread Tom Oram
Hi, Can someone please answer my question? When running a PHP extension when PHP is running as an apache module on linux it's module init function (PHP_MINIT_FUNCTION) gets called twice, once before apache forks then once after, is there any way of finding out which init you are in. I can't keep

[PHP-DEV] Accounts on Alpha/Tru64

2002-08-15 Thread Sebastian Nohn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm currently trying to get a machine for testing PHP on Tru64/Alpha. Anyone who is _really_ interested in testing AND hunting bugs on that platform should drop me a mail. Regards, Sebastian Nohn - -- +49 170 471 8105 - [EMAIL PROTECTED] - http

Re: [PHP-DEV] Failing include/... and docref

2002-08-15 Thread Marcus Börger
At 12:35 15.08.2002, Sebastian Bergmann wrote: > Reproducing code: > > > > Error Message > > ... > main(foo) > [function.main] > ... main is the default answer for the function that computes the docref parameter. I'll see if we can make that better marcus -- PHP

Re: [PHP-DEV] Parent _LINE_ Request

2002-08-15 Thread Dan Hardiker
What you are requesting is available in the new ZE2. Have a look at the following URL for more information: http://www.php.net/ZEND_CHANGES.txt [what your after is the last item] Im unsure of what version of PHP the new ZE2 and its propegated functionality is expected in PHP, but PHP 5 would be

Re: [PHP-DEV] Parent _LINE_ Request

2002-08-15 Thread Richard Thomas
xdebug looks nice but this is something so basic that having it as a base part of php would aid in development for everyone, including low level/newbie programmers. Not to mention that the instructions provided on there page are not possible for a very large portion of the php programmers out ther

[PHP-DEV] Failing include/... and docref

2002-08-15 Thread Sebastian Bergmann
Reproducing code: Error Message ... main(foo) [function.main] ... -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Development Mailing

Re: [PHP-DEV] Parent _LINE_ Request

2002-08-15 Thread Alan Knowles
have a look at xdebug, or similar which does backtraces I think PHP5 will do this as well.. regards alan Richard Thomas wrote: >I have a set of universal DB wrappers that I use for most of my >projects. The great thing about these wrappers, they auto manage your >connection so connecting to 2

[PHP-DEV] Parent _LINE_ Request

2002-08-15 Thread Richard Thomas
I have a set of universal DB wrappers that I use for most of my projects. The great thing about these wrappers, they auto manage your connection so connecting to 2 dbs on a single server only require 1 DB connection, Keeps track of what DB belongs to what class call and auto switches DB's within t

Re: [PHP-DEV] Re: adding tcsetattr to dio extenstion

2002-08-15 Thread Sterling Hughes
> can somebody give me karma to add this.. > and probably karma for phpdoc/en/reference/dio/functions (or similar) > done. -Sterling > regards > alan > > > regards > alan > > Sterling Hughes wrote: > > >>attached is a patch to add tcsetattr() to the dio extension > >> > >>any objections/sug

Re: [PHP-DEV] Re: adding tcsetattr to dio extenstion

2002-08-15 Thread Alan Knowles
can somebody give me karma to add this.. and probably karma for phpdoc/en/reference/dio/functions (or similar) regards alan regards alan Sterling Hughes wrote: >>attached is a patch to add tcsetattr() to the dio extension >> >>any objections/suggestions for it.. >>for some reason if I do O_AS

Re: [PHP-DEV] Problems uploading large files

2002-08-15 Thread Stefan Esser
> [error] PHP Warning: Only 1284 bytes were written, expected to write > 5119 in Unknown on line 0 Your /tmp directory is most likely full. Stefan Esser -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php