[PHP-DEV] function basename()

2001-07-26 Thread Marcus
shouldn't the function basename() return only the script part and not the query part? Yes i know it would make a difference if a filesystem could have '?' in filenames or if you wanted to handle those for search operations. But perhaps ther could be another switch or just a function

[PHP-DEV] Re: Bug #12394: Select statement

2001-07-26 Thread Marcus
Try the following: $sql=select * from table_name where row_name like '%searchstring%'; - this differes in the quotes - sometimes it makes a difference - also it shouldnot in case of MySQL by the way your example cannot work because you should end the line wit ...string%\; -notice the second

Re: [PHP-DEV] function basename()

2001-07-27 Thread Marcus
Yes $PHP_SELF exists but it contains just the actual script. And therefore i missed a function for extracting filenames from urls. I needed to extract the scriptname from the url to identify the navigation position marcus Stig S. Bakken [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED

Re: [PHP-DEV] function basename()

2001-07-30 Thread Marcus
[EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi Marcus! On Thu, 26 Jul 2001, Marcus wrote: shouldn't the function basename() return only the script part and not the query part? I guess basename() is a filesistem function, and hence it doesn't ma

[PHP-DEV] Re: Bug #12484 Updated: Want to construct JPGS with GD how to config

2001-08-01 Thread Marcus
Format support has to be added --with-jpeg-dir --with-png-dir .. when libjpeg is not found then: --with-jpeg-dir=[directory for libjpeg] libjpeg has to be jpeg-6b -marcus T4c [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... i have done like

[PHP-DEV] Bug #12745: problem with the randomic generation of salt when a use crypt(pass)

2001-08-14 Thread marcus
From: [EMAIL PROTECTED] Operating system: Linux Slackware 7.1 PHP version: 4.0.6 PHP Bug Type: *Encryption and hash functions Bug description: problem with the randomic generation of salt when a use crypt(pass) problem with the randomic generation of salt when a use $string

[PHP-DEV] Re: python dictionary-like % (percent) substitution in php (was: Good idea in % (percent) substitutions in string)

2001-09-03 Thread Marcus
a table structure like create table ( id int, locale char(5), input text, output text) but that would require an implementation in dbx as every database is different in handling text. - marcus --- --- wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have seen tha

Re: [PHP-DEV] Re: python dictionary-like % (percent) substitution in php (was: Good idea in % (percent) substitutions in string)

2001-09-03 Thread Marcus
Wez Furlong [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On 03/09/01, Marcus [EMAIL PROTECTED] wrote: first: when handling multilanguage support you will of cause have an array of supported languages like $languages=array(en_GB,de_DE...) [..

[PHP-DEV] Bug #14997 Updated: Multiple system calls cause inifinite process forking

2002-01-14 Thread marcus
ID: 14997 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Program Execution Operating System: Linux PHP Version: 4.1.1 New Comment: There are zombie processes, but there are also many valid processes. Do you know a fix? Previous Comments:

[PHP-DEV] Bug #14997 Updated: Multiple system calls cause inifinite process forking

2002-01-18 Thread marcus
! Marcus Previous Comments: [2002-01-14 06:28:24] [EMAIL PROTECTED] There are zombie processes, but there are also many valid processes. Do you know a fix

[PHP-DEV] unsecure / unsafe /tmp/ usage in PHP 3

2001-01-17 Thread Marcus Meissner
./functions/post.c: fn = tempnam(php3_ini.upload_tmp_dir, "php"); fn = tempnam(php3_ini.upload_tmp_dir, "php"); fp = fopen(fn, "w"); Default configurations leaves the uploaddirectory empty, so this is using /tmp most likely. I have attached

[PHP-DEV] Bug #12302: timezone,struct statfs,linking

2001-07-21 Thread marcus . boerger
From: [EMAIL PROTECTED] Operating system: cygwin PHP version: 4.0.6 PHP Bug Type: *Compile Issues Bug description: timezone,struct statfs,linking I am trying to install php with gd,postgres,... to cygwin. +timezone must be explicitly converted to long by typecast in

[PHP-DEV] Re: Bug #12745: problem with the randomic generation of salt when a use crypt(pass)

2001-08-15 Thread Marcus Vinicius
der I supose that is must not work but works, did you tested ? - Original Message - From: PHP Bug Database [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 14, 2001 8:40 PM Subject: Bug #12745: problem with the randomic generation of salt when a use crypt(pass)

[PHP-DEV] Bug #12856: dynamic default function parameter not possible

2001-08-20 Thread marcus . boerger
; } function t2() { $d=2; return t(); } function t3($v=$GLOBALS['d']) { return $v; } return t(); // -- 1 return t2(); // -- 2 return t3(); // -- 1 greetings marcus -- Edit bug report at: http://bugs.php.net/?id=12856edit=1 -- PHP Development Mailing List http://www.php.net

[PHP-DEV] Bug #15204: make command failed (Solid + PHP)

2002-01-24 Thread Marcus . Luedecke
From: [EMAIL PROTECTED] Operating system: Linux 7.3 PHP version: 4.0.6 PHP Bug Type: Solid related Bug description: make command failed (Solid + PHP) The configuration of php with solid has worked. Command: ./configure --with-apache=[DIR] --with-mysql=[DIR]

[PHP-DEV] CVS Account Request: helly

2002-02-27 Thread Marcus Börger
Want to fix php4/ext/exif as discussed with Rasmus Lerdorf. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] GetImageSize,read_exif_data,Bug #6787,#14994

2002-03-03 Thread Marcus Boerger
Hi Rasmus, today i woke up and i think the solution is to have read_exif_data a third parameter whether or not to return information if no exif is present. And to support TIFFs with GetImageSize we only need a small addition of say less than 100 lines c code... marcus

Re: [PHP-DEV] php + cygwin - some more

2002-03-03 Thread Marcus Boerger
At 15:29 03.03.2002, you wrote: Ok, seeing that some people indeed do use cygwin to build PHP, here's report about my achievements: Just checked with new cygwin and it builds, compiles but does not link, seem to be a problem with underscore generation. The cli executable does not find its

Re: [PHP-DEV] GetImageSize,read_exif_data,Bug #6787,#14994

2002-03-03 Thread Marcus Börger
adding TIFF support for GetImageSize and leave it as it is besides that. The new exif module has some extensions, maybe i split up the information to seperate arrays to inform where the data comes from...but next version. marcus Marcus Boerger wrote: Hi Rasmus, today i woke up and i think

Re: [PHP-DEV] php + cygwin - some more

2002-03-03 Thread Marcus Börger
At 19:58 03.03.2002, Stanislav Malyshev wrote: MB datetime.c: In function `php_mktime': MB datetime.c:187: wrong type argument to unary minus MB gmadjust = -(is_dst ? (int)timezone - 3600 : (int)timezone); MB see (int) conversion of timezone - gmadjust has type int MB MB datetime.c:

Re: [PHP-DEV] php + cygwin - some more

2002-03-03 Thread Marcus Börger
files? marcus At 23:39 03.03.2002, you wrote: At 19:58 03.03.2002, Stanislav Malyshev wrote: MB datetime.c: In function `php_mktime': MB datetime.c:187: wrong type argument to unary minus MB gmadjust = -(is_dst ? (int)timezone - 3600 : (int)timezone); MB see (int) conversion of timezone

[PHP-DEV] New function (repost from php-cvs)

2002-03-04 Thread Marcus Boerger
not the only one who use this(or shoul i say must use this for savety reasons?) marcus -- PHP Development Mailing List http://wwwphpnet/ To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP-DEV] php_error $php_erormsg

2002-03-04 Thread Marcus Boerger
Question, do we have a function that resets the $php_errormsg variable before returning from a php function (Then one could write E_NOTICE to log but not generae info returning in $php_errormsg)? marcus - mailto:[EMAIL PROTECTED] I don't want to start any

Re: [PHP-DEV] cli version and shell useability

2002-03-05 Thread Marcus Börger
both are necessary to make php a widely accepted shell script language Also i would appreciate --help to show up with version and supported switches marcus to make At 09:39 05032002, Markus Fischer wrote: Is there a way to execute code from the command line AND process stdin/stdout

[PHP-DEV] Executing code with CLI without using a file

2002-03-05 Thread Marcus Boerger
the code pointer uses file_handle.filename The code compiles but i cannot build an executable. I only have CYGWIN where i am now and the CVS version does not build them marcus - mailto:[EMAIL PROTECTED] We are animals among animals, all children of matter, save

Re: [PHP-DEV] New Build System Committed to HEAD

2002-03-07 Thread Marcus Börger
Very nice new build system much faster the only thing what's left on that is .o in all .cvsignore - mailto:[EMAIL PROTECTED] We are animals among animals, all children of matter, save that we are the more disarmed. But since, unlike animals, we know that we must die, let

Re: [PHP-DEV] ||=

2002-03-08 Thread Marcus Börger
I ever wondered why this doesn't exist. But i do not see a real reason to add this. Marcus At 11:58 08.03.2002, you wrote: For some reason this doesn't exist in other languages like C++ and Java. I don't object to adding this as long as their is no good reason why those languages didn't

[PHP-DEV] vote for new function FP_FSKIP

2002-03-08 Thread Marcus Boerger
Please comment, if i hear enough '+' i will commit it. regards marcus - mailto:[EMAIL PROTECTED] We are animals among animals, all children of matter, save that we are the more disarmed. But since, unlike animals, we know that we must die, let us prepare for that moment

[PHP-DEV] CLI: Passing arguments to scripts....

2002-03-10 Thread Marcus Boerger
to the same value to make argument enumerating consistent. An opportunity would be setting argv[0] of script to argv[0] of cli. This way the user could get the execution-path on some systems. Any suggenstions? May i commit the change? regards marcus diff -u -w -r1.9 php_cli.c --- sapi/cli/php_cli.c 8

Re: [PHP-DEV] Suggest: Have PHP Session cookies-enabled check use any cookie

2002-03-10 Thread Marcus Börger
anymore when session cookies rewrite their urls. (My own hp would have the same problem...but i do not change that) marcus At 22:34 10.03.2002, you wrote: Hi, I don't know if this has been discussed before, but I have a suggestion about how PHP checks whether cookie support is enabled. Here is my

Re: [PHP-DEV] PHP audit project

2002-03-12 Thread Marcus Börger
be considered as such - this will also increase security against some server-attack mechanisms. And we are a large group doing an eXtreme developing - who knows exactly which function changes next day in which way? marcus At 14:31 11.03.2002, Zeev Suraski wrote: Frank, Don't be discouraged

Re: [PHP-DEV] OCIError patch

2002-03-13 Thread Marcus Börger
). So one could insert something of more flashy... marcus At 07:11 13.03.2002, Markus Fischer wrote: Of course the offset is fine. But if I were you, I wouldn't put the asterisk into the sql statement; just provide the offset. _This_ is the greatest flexibility you can provide

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/interbase interbase.c php_interbase.h

2002-03-15 Thread Marcus Börger
At 16:36 15.03.2002, Markus Fischer wrote: I think it's a good idea for every extension to display it's revision. Any objections to standardize this for all extension to displau their revision for those who don't have it yet ? So far only five extension seem to have

Re: [PHP-DEV] Re: php_copy_file

2002-03-15 Thread Marcus Börger
the function in code where the length is calculated automatically. Say you have stream a = length data*length read length copy_stream_to_stream(length) now it fails because you expect if (lngth) copy_strwam_to_stream(length) regards marcus Howzat? --Wez. On 16/03/02, l0t3k [EMAIL PROTECTED

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Marcus Börger
on cygwin (but i cannot finr any definition for them) ?! ext/standard/http_fopen_wrapper.o(.text+0x17f):http_fopen_wrapper.c: undefined reference to `SOCK_FCLOSE' ext/standard/http_fopen_wrapper.o(.text+0x280):http_fopen_wrapper.c: undefined reference to `SOCK_WRITE'

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Marcus Börger
SORRY, had to reconfigure with --enable-php-streams now it compiles and works but getimagesize is broken for jpegs i will fix that tomorrow - think it's a problem of the latest features (argh) marcus At 22:53 15.03.2002, Marcus Börger wrote: on cygwin (but i cannot finr any definition

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Marcus Börger
. in php_stream_seek i added code to make it much faster and i couldn't compile php_stdiop_read see diff marcus diff -u -w -r1.11 streams.c --- main/streams.c 16 Mar 2002 00:05:47 - 1.11 +++ main/streams.c 16 Mar 2002 02:28:55 - -132,7 +132,7 char buf

Re: [PHP-DEV] Re: php_copy_file

2002-03-15 Thread Marcus Börger
At 02:53 16.03.2002, Wez Furlong wrote: I'm not quite sure I know what you mean... Do you mean that if maxlen is -1, the function should not do anything? No it should copy until EOF on -1 but do nothing on 0 because zero means zero. marcus --Wez. On 16/03/02, Marcus Börger [EMAIL PROTECTED

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Marcus Börger
are about to emulate and it should be a feature that can be turned off or even better one that can be enabled by function call marcus At 22:12 15.03.2002, Wez Furlong wrote: Well, PHP finally supports fopen(https://...;) :-) Please please please test the following things in particular as I can't

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Marcus Börger
, tmp, PHP_STREAM_COPY_ALL) to get a copy on disk. Do we have a memory stream already? Anybody like this idea? When do you need to do this? Well, a general rule is when php_stream_is(src, PHP_STREAM_IS_STDIO) is false. --Wez. On 16/03/02, Marcus Börger [EMAIL PROTECTED] wrote: What do you think

[PHP-DEV] memory streams

2002-03-16 Thread Marcus Boerger
At the moment i am working at memory-streams If have the following problem left: I must extend struct _php_stream_ops with ftell by the way php_stream_tell is wrong because it relies on seek and that does return either 0 on success or an erroecode regards marcus - mailto

Re: [PHP-DEV] memory streams

2002-03-16 Thread Marcus Börger
At 18:58 16.03.2002, Marcus Boerger wrote: At the moment i am working at memory-streams If have the following problem left: I must extend struct _php_stream_ops with ftell by the way php_stream_tell is wrong because it relies on seek and that does return either 0 on success

Re: [PHP-DEV] Re: memory streams

2002-03-16 Thread Marcus Börger
, as there is no need. How are your memory streams implemented? (I was about to start on those!) See them attached, i will commit them as soon as they work --Wez. On 17/03/02, Marcus Boerger [EMAIL PROTECTED] wrote: At the moment i am working at memory-streams If have the following problem left: I

Re: [PHP-DEV] Re: memory streams

2002-03-16 Thread Marcus Börger
Little problem in php_stream_copy_to_stream: When copying the whole fstream the result is zero - should be size See patch. marcus diff -u -w -r1.23 streams.c --- main/streams.c 16 Mar 2002 18:52:03 - 1.23 +++ main/streams.c 16 Mar 2002 19:45:31 - @@ -377,8 +377,12

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /main streams.c

2002-03-16 Thread Marcus Börger
SORRY i checked and reloaded the file and i have no idea why whitespaces have changed - maybe i will change my editor... marcus At 21:05 16.03.2002, you wrote: helly Sat Mar 16 15:05:08 2002 EDT Modified files: /php4/main streams.c Log: -copy_stream_to_stream returns

[PHP-DEV] Streams

2002-03-16 Thread Marcus Boerger
to NULL. But when closing the destroy is not NULL To have it work i set it to NULL before closing it. Do you have any ideas? Test command for CLI was: php -r 'foreach(exif_read_data(http://marcus-boerger.de/php/ext/exif/test/kodak-dc210.jpg,,true) as $sect=$data) foreach($data as $key=$val

Re: [PHP-DEV] Re: memory streams

2002-03-16 Thread Marcus Börger
At 02:56 17.03.2002, Wez Furlong wrote: Hi Markus, (Sorry: I think I deleted the most relevant mail, so I'm replying to this one :-) Thanks for your work on the memory streams; I have a couple of comments about them: As they stand now, it is only possible to write in append mode. (Or it looked

[PHP-DEV] Re: memory streams

2002-03-16 Thread Marcus Börger
Date: Sun, 17 Mar 2002 04:16:07 +0100 To: Wez Furlong [EMAIL PROTECTED] From: Marcus Börger [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Re: memory streams As for the strange problems you have in the exif extension; if you switch to a stream opened with php_stream_fopen_tmpfile(), do you still have

[PHP-DEV] Re: memory streams

2002-03-17 Thread Marcus Börger
(url_stream_wrappers_hash, protocol, strlen(protocol), wrapper, sizeof(*wrapper), NULL); marcus Date: Sun, 17 Mar 2002 05:26:39 +0100 To: Wez Furlong [EMAIL PROTECTED] From: Marcus Börger [EMAIL PROTECTED] Subject: [PHP-DEV] Re: memory streams Cc: [EMAIL PROTECTED] Date: Sun, 17 Mar 2002 04:16:07 +0100 To: Wez

[PHP-DEV] RFC: CLI alone

2002-03-17 Thread Marcus Boerger
The following patch enables a CLI build without having CGI. Any suggestions? marcus diff -u -w -r1.163 acinclude.m4 --- acinclude.m413 Mar 2002 16:59:49 - 1.163 +++ acinclude.m417 Mar 2002 17:14:09 - -126,6 +126,14 ]) dnl +dnl Disable building CGI +dnl

Re: [PHP-DEV] getting the path to the php executable

2002-03-17 Thread Marcus Börger
php executable without having to make sure it is the one that the code inside run-tests.php picks up). In CLI you can pass that information from command line $ /t/php-cvs/php -r 'echo $argv[1];' -- `(pwd)` /home/marcus if that is a needed feature we better implement a useful solution

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/exif exif.c

2002-03-17 Thread Marcus Börger
should seek to 0 if copying all, shouldn't it? 3) the patch below shows that as expected only one line has to be modified in order to use temp-streams instead of temp-files directly. But you would have to reenable memory_streams.c. I tried it and it worked fine for me. marcus diff -u -w -r1.27

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/exif exif.c

2002-03-18 Thread Marcus Börger
and mostly small read operations in it. Also it worked with all other test images. Tell me when done, so i can add documentation. marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/exif exif.c

2002-03-20 Thread Marcus Börger
Finally i came back from work and installed me a new mdk8.2 - and it works :-) Yep tested the ext/exif and it's o.k. tomorrow more tests i think of copying files to streams to memory streams back to temp streams and then let us see. marcus At 00:36 20.03.2002, Wez Furlong wrote: To: Marcus

Re: [PHP-DEV] getting the path to the php executable

2002-03-20 Thread Marcus Börger
At 22:19 20.03.2002, Jim Winstead wrote: On Mon, Mar 18, 2002 at 05:56:02AM +0100, Marcus B?rger wrote: At 05:11 18.03.2002, you wrote: is there a way to get the path of the current php executable for the cli and cgi sapi implementations? this would be nice so that run-tests.php could run

[PHP-DEV] RFC: CLI -x

2002-03-22 Thread Marcus Boerger
#!/usr/bin/php -x $a = Hello ; $b = World!; echo $a $b\n; EOF With this you can do: [marcus@marvin tmp]$ ./hello.phpc Hello World!\n [marcus@marvin tmp]$ phpx hello.phpc Hello World! [marcus@marvin tmp]$ ./hello2.phpc Hello World! [marcus@marvin tmp]$ About the implementation: I had very big

Re: [PHP-DEV] CLI max_execution_time

2002-03-24 Thread Marcus Börger
I do not think it is a good idea to have many 'special ways' in cLI. Such as always registering argc/argv we have already. For me i would more likly have a special section in php.ini to set all this. marcus example *default* section: [CLI] register_argc_argv = On max_execution_time = Off

Re: [PHP-DEV] CLI max_execution_time

2002-03-24 Thread Marcus Börger
At 15:32 24.03.2002, Markus Fischer wrote: On Sun, Mar 24, 2002 at 03:04:18PM +0100, Marcus Börger wrote : I do not think it is a good idea to have many 'special ways' in cLI. Such as always registering argc/argv we have already. For me i would more likly have a special section in php.ini

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cli README php_cli.c

2002-03-24 Thread Marcus Börger
that have mostly the same content. marcus At 18:21 24.03.2002, you wrote: That is exactly what Derick and I meant and is not a good idea. Cannot we set the default settings _before_ php.ini parsing is done ?! set_time_limit() still works but settings it in PHP.INI does

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Marcus Börger
ideas $HOME/.php.ini and ifModule are a must have. marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Marcus Börger
a feature is less a problem that adding but we are on RC1. So it's up to you! marcus -- 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] sapi/cli broken in HEAD?

2002-03-27 Thread Marcus Börger
zend_alter_ini_entry(safe_mode, 10, 0, 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); marcus TO WEZ: could you please verify then i will commit it. My results: TEST RESULT SUMMARY = Number of tests: 222 Tests skipped: 5 (2.3%) Tests failed: 105 ( 48%) Tests passed: 112 ( 52

Re: [PHP-DEV] sapi/cli broken in HEAD?

2002-03-27 Thread Marcus Börger
and now nothing works. I will check it tomorrow or on friday. marcus At 20:19 27.03.2002, you wrote: Hello, is there something broken in the release branch too? Derick On Wed, 27 Mar 2002, Marcus Börger wrote: So one problem is my last 'fix' : i commited the older version ***sorry

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard file.c ftp_fopen_wrapper.c http_fopen_wrapper.c php_fopen_wrapper.c /ext/zlib zlib_fopen_wrapper.c /main memory_streams.c network.c php_streams.h streams.c user_streams.c

2002-03-27 Thread Marcus Börger
Should we have stat also for memory/temp streams? should be no problem but supporting access/modified time with it would slow down performance as querying time is timeconsumpting on most systems. marcus At 01:49 28.03.2002, you wrote: wez Wed Mar 27 19:49:00 2002 EDT Modified

Re: [PHP-DEV] CLI and -f

2002-03-28 Thread Marcus Börger
We cannot allow ./php -- -i for calling a script named -i because then we cannot use ./php -- args while parsing from stdin. We can implement -- only for one thing and that is currently real end of parameters. The difference to many other programs is that we came from CGI. marcus [marcus@zaphod

Re: [PHP-DEV] CLI and -f

2002-03-28 Thread Marcus Börger
At 01:57 29.03.2002, Markus Fischer wrote: On Fri, Mar 29, 2002 at 01:39:52AM +0100, Marcus Börger wrote : At 01:33 29.03.2002, you wrote: On Fri, Mar 29, 2002 at 01:00:47AM +0100, Marcus Börger wrote : The difference to many other programs is that we came from CGI

Re: [PHP-DEV] Re: Re: Session patch

2002-03-28 Thread Marcus Börger
a db also...) and the db solution is faster externally because it does not produce unnecessary dns traffic. b) With the db solution the user does not see that he is directed to another host. and hey i did not even change seesion-id generation! marcus At 02:29 29.03.2002, Stefan Esser wrote in answer

Re: [PHP-DEV] ErrorLog problem

2002-03-29 Thread Marcus Börger
and i like seeing my errors - i try to have no errors on my pages and i test them here in hope to have no errors on production server. marcus I will send the patch here for PHP 4.1.2... JP Markus Fischer [EMAIL PROTECTED] píse v diskusním príspevku [EMAIL PROTECTED]">news:[EMAIL P

Re: [PHP-DEV] ErrorLog problem

2002-03-29 Thread Marcus Börger
- maybe i will set it on for my production system when ready. This could also be a security issue for big hosters: Write a script that floods error.log. Not using error_log function what could be disabled by the hoster and producing different error messages could be a problem. marcus

Re: [PHP-DEV] cvs: php4 /main/main.c [[Re: [PHP-DEV] ErrorLog problem]]

2002-03-30 Thread Marcus Boerger
Try this patch. It does the same but it's a better solution. But where is the configure variable to have your feature disabled by default? - keep to discussion or say why you ignore discussion points. marcus At 04:40 30.03.2002, you wrote: rootshell Fri Mar 29 23:13:29 2002 CET

Re: [PHP-DEV] File inclusion from www.a.com to www.b.com

2002-04-02 Thread Marcus Börger
Normally this is a topic for [EMAIL PROTECTED] but i think it 'could' be a good feature to have include/require work with streams. Then the questioned code would work. The quick solution is to open the file is: eval(join('', file('http://www.a.com/includefile'))); marcus At 01:34 01.04.2002, you

[PHP-DEV] Re: Exif doesn't compile

2002-04-03 Thread Marcus Börger
any constant our self is that we do not know what the library does internally. Normally it should work on not more than 4 bytes but who knows? Will try to check verify that tomorrow - only problem is that i cannot produce worstcase testdata for that. marcus Derick On Wed, 3 Apr 2002, Marcus

[PHP-DEV] Re: [PHP-QA] Re: Exif doesn't compile

2002-04-04 Thread Marcus Börger
someone with MS VC should check the value of the variable __mb_cur_max. Then we can set it. Or does anyone have a better idea? marcus Thanks, Sander On 2002.04.03 21:33 Marcus Börger wrote: That should be a library constatnt i add it... marcus At 21:05 03.04.2002, Derick Rethans wrote: Hello

[PHP-DEV] classes, instances objects in ZE2

2002-04-05 Thread Marcus Börger
it BUT Then we should also have methods with same name but different parameter signature message-handlers? marcus

Re: [PHP-DEV] classes, instances objects in ZE2

2002-04-08 Thread Marcus Börger
At 15:36 08.04.2002, Kristian Köhntopp wrote: Marcus Börger wrote: - we have private, what about final, public, protected and abstract (can we remove/hide a method from an object)? Do we in ZE2? What use it is? In my book, private is only of very limited use, because there always must

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-08 Thread Marcus Börger
Mybe it would make sence to have MI for compile time and aggregation for run time. So we can have good design with MI and prototyping and testing and quick hacks with aggregeation. But doing compile times work with run time methods? marcus At 23:58 08.04.2002, you wrote: If MI can be emulated

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-08 Thread Marcus Börger
was that aggregation allows to change the methods of an object. IMHO there is room for both aggregate and MI. We have require and include, not just include? :-) - Stig On Tue, 2002-04-09 at 00:16, Marcus Börger wrote: Mybe it would make sence to have MI for compile time and aggregation for run

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-08 Thread Marcus Börger
some hours ago brad already unfolded the main difference: With aggregation you can have d=(a,b) and d=(a,c) while MI only allows d=(a,b,c). marcus - Stig On Tue, 2002-04-09 at 00:16, Marcus Börger wrote: Mybe it would make sence to have MI for compile time and aggregation for run

Re: [PHP-DEV] classes, instances objects in ZE2

2002-04-09 Thread Marcus Börger
At 10:47 09.04.2002, Kristian Koehntopp wrote: On Mon, Apr 08, 2002 at 05:18:07PM +0200, Marcus B?rger wrote: In my book, private is only of very limited use, because there always must be a way around it. I skipped the first part because i think we are now talking about the same thing here

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread Marcus Börger
implementation AND it works completly at runtime. As everything is available at runtime you do not have to worry about what language a COM component was written AND your compiler can build the interface to use. So it works at compile time, too. marcus -- PHP Development Mailing List http

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread Marcus Börger
That would be dynamically aggregation with other keywords (Delphi does not have MI or aggregation). At 11:27 09.04.2002, you wrote: On 09/04/02, Kristian Koehntopp [EMAIL PROTECTED] wrote: On Mon, Apr 08, 2002 at 08:57:09PM -0400, fabwash wrote: My vote is java like: no MI, no aggregation,

Re: [PHP-DEV] classes, instances objects in ZE2

2002-04-09 Thread Marcus Börger
At 11:34 09.04.2002, Kristian Koehntopp wrote: On Tue, Apr 09, 2002 at 11:11:58AM +0200, Marcus B?rger wrote: Keywords are better then implicit definitions. Agreed. I would like to have private, protected and public which can be easily done by adding one single flag to the members

RE: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Marcus Börger
the modelling aspect. I think having one of MI, aggregation and interfaces is essential for OO modelling. marcus -- 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

RE: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Marcus Börger
ItemContent() { return $this-a; } } class B implements Item { var $b; function ItemContent() { return $this-b; } } helped? marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread Marcus Börger
differ in the way they achieve reuse! Aggregation can be a runtime solution while MI can't. marcus Fab. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: aggregate() und overload()

2002-04-09 Thread Marcus Börger
) { $this-_X = $newX; } public property X = { read = $_X, write = set_X}; } marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread Marcus Börger
At 15:57 09.04.2002, Wez Furlong wrote: On 09/04/02, Marcus Börger [EMAIL PROTECTED] wrote: Where does C++ has aggregation? C++ has templates which can be used for aggregation purposes. (The Active Template Library, for example). --Wez. Ok. But templates are C++ way of parametric inheritance

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Marcus Börger
a class package and the user says hey your package does not work and i say hey you missused the package and can present him with the errorlog. marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Marcus Börger
-system. That we don't have yet. the only types we have are strings, arrays and numbers (and boolean). And anything can be converted implicitly. marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread Marcus Börger
classes that when starting code review seem to be of no context to the other classes. (One reason for the small classes is the lack of call by reference and structs so that has to be emulated with object passing). marcus. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit

[PHP-DEV] (v)spprintf

2002-04-09 Thread Marcus Boerger
, size); va_end(args); return ret; marcus - mailto:[EMAIL PROTECTED] I don't want to start any blashphemous rumours but i think that god's got a sick sense of humor and when i die i expect to find him laughing. Depeche Mode --- http://www.marcus-boerger.de ---

[PHP-DEV] modified base64

2002-04-10 Thread Marcus Boerger
the functions accept hexadecimal values as well because (i suppose) in most such cases the input/output is hexadecimal. Reference: RFC1321 MD5, RFC2396 URI, RFC2616 HTTP Any comments? marcus mailto:[EMAIL PROTECTED] -- Man will never reach the moon, regardless of all future scientific

RE: [PHP-DEV] modified base64

2002-04-10 Thread Marcus Börger
At 19:39 10.04.2002, Richard Heyes wrote: After (v)spprintf i have another modified function here: base64url_(en|de)code You could simply use this: urlencode(base64_encode($blaat)); Sure but the the encoding result grows in length (dynamically) what i wanted to avoid :-) marcus -- PHP

Re: [PHP-DEV] Re: modified base64

2002-04-10 Thread Marcus Börger
At 19:22 10.04.2002, Jim Winstead wrote: Marcus Boerger [EMAIL PROTECTED] wrote: After (v)spprintf i have another modified function here: base64url_(en|de)code I sometimes transmit binary data or thinks like session ids over http. when using base64 the problem is in the chars

Re: [PHP-DEV] modified base64

2002-04-10 Thread Marcus Börger
At 20:26 10.04.2002, Markus Fischer wrote: On Wed, Apr 10, 2002 at 07:42:57PM +0200, Marcus Börger wrote : At 19:39 10.04.2002, Richard Heyes wrote: After (v)spprintf i have another modified function here: base64url_(en|de)code You could simply use this: urlencode(base64_encode

Re: [PHP-DEV] modified base64

2002-04-10 Thread Marcus Börger
new functionality if you like it better i could call id url64_encode/decode marcus At 23:35 10.04.2002, Markus Fischer wrote: Yet it's not clear at least to me if you're talking about _modifying_ an existing functionality OR adding a new function. On Wed, Apr 10, 2002 at 10:59

[PHP-DEV] Thread safety global strings

2002-04-12 Thread Marcus Boerger
. marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/exif exif.c

2002-04-13 Thread Marcus Börger
Sure i do and it worked fine for all tests!? marcus At 00:02 13.04.2002, you wrote: sniper Fri Apr 12 18:02:30 2002 EDT Modified files: /php4/ext/exif exif.c Log: Fix the build. # Marcus, do you TEST build at all before you commit?! Index: php4/ext/exif/exif.c

Re: [PHP-DEV] Extra EXIF headers (exif.c)

2002-04-13 Thread Marcus Börger
Sounds nice but it will be a lot more work :-) I will try to include them and verify it. But we are in RC3 so you will find the code not before 4.3. marcus At 14:42 13.04.2002, you wrote: Hello there. I have been investigating the EXIF tags that Windows XP can add to files, and have

Re: [PHP-DEV] Extra EXIF headers (exif.c)

2002-04-13 Thread Marcus Börger
At 16:02 13.04.2002, you wrote: On Sat, Apr 13, 2002 at 03:25:30PM +0200, Marcus Börger wrote: Sounds nice but it will be a lot more work :-) I will try to include them and verify it. But we are in RC3 so you will find the code not before 4.3. OK, thanks! :) Maybe someone will build

  1   2   3   4   5   6   >