Hello,
I marked the documents I think they should be in the manual, and not as a
text file in the source. IMO as much as possible documentation should be
available in _one place_: the manual.
On Tue, 12 Mar 2002, James Cox wrote:
/php4/
NEWS
CREDITS
INSTALL
LICENSE
TODO.BUILDv5
TODO
What about implementing in build process check for the version of the zlib library. If
=1.1.3 to give error message that =1.1.4 is
needed. 1.1.4 is at : ftp://ftp.info-zip.org/pub/infozip/zlib/zlib-1.1.4.tar.gz
Best regards,
Andrey Hristov
--
PHP Development Mailing List http://www.php.net/
At 10:43 AM 3/12/2002, Shane Caraveo wrote:
The stability issue is fairly obvious (you're much more likely to screw up
in a multithreaded environment if you load/unload libraries like hell, than
you are if you load them once, process-wide; this affects both code in PHP
and code in the
MK For them, digging into the guts of the system, installing PHP
MK extensions there and modifying obscure, Apple-supplied configuration
MK files is MUCH, MUCH more frightening than just downloading a php
MK extension, dropping it into the Sites folder in their home directory,
MK and calling
On 2002-03-12 10:50:43, Andrey Hristov wrote:
What about implementing in build process check for the version of
the zlib library. If =1.1.3 to give error message that =1.1.4 is
needed. 1.1.4 is at :
I already thought about that, but there are people or even whole linux
distributions (e.g.
Yeap. :(( the RH RPM is 1.1.3-25.7
ftp://updates.redhat.com/7.2/en/os/i386/zlib-1.1.3 -25.7.i386.rpm
Andrey
- Original Message -
From: Stefan Roehrich [EMAIL PROTECTED]
To: Andrey Hristov [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 11:46 AM
Subject: Re:
On 2002-03-11 23:28:36, Rasmus Lerdorf wrote:
It seems to work quite nicely for most. Having the mailing list software
remove a user's ability to control where replies go is even nastier. Add
Yes, in general I'm against adding forced Reply-To headers by mailing
list software, too (having
+1
I've asked the same thing before. Most people like the idea.
Hurmat said Gobar has started howto. It's good thing to have
XML document for these, but it's not well organized yet.
We are better to keep documents in source at least until
there is framework for these documentation.
In addition
Hi all,
I made a patch to enable/include assert()/assert.h.
If you have comment, please let me know.
Thank you.
--
Yasuo Ohgaki
[EMAIL PROTECTED]
Index: configure.in
===
RCS file: /repository/php4/configure.in,v
retrieving
That sounds like a pretty good idea, actually :)
Zeev
At 11:32 AM 3/12/2002, Stanislav Malyshev wrote:
MK For them, digging into the guts of the system, installing PHP
MK extensions there and modifying obscure, Apple-supplied configuration
MK files is MUCH, MUCH more frightening than just
Support in german translations.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I'm not sure if I have understood how to free the memory allocatedof a zval
correctly. Because I don't want to create memory leaks, please tell me if I
am right or tell me how it is done correctly:
If I create a zval with MAKE_STD_ZVAL, I just need to call FREE_ZVAL, because
there is no
As far as I see FREE_ZVAL is ZEND_FAST_FREE and the latter is not freeing memory just
removes the zval from a list. So it is
required to release the memory before that. Fix me if I'm wrong.
Regards,
Andrey
- Original Message -
From: Klaus Reimer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Hi,
On Tuesday 12 March 2002 14:01, Andrey Hristov wrote:
As far as I see FREE_ZVAL is ZEND_FAST_FREE and the latter is not freeing
memory just removes the zval from a list. So it is required to release the
memory before that. Fix me if I'm wrong.
FREE_ZVAL calls ZEND_FAST_FREE, that's
It is my mistake. There are two macroses ZEND_FAST_FREE
#define ZEND_FAST_FREE(p, fc_type) \
{\
TSRMLS_FETCH();\
\
((zend_fast_cache_list_entry *) (p))-next = (zend_fast_cache_list_entry *)
AG(fast_cache_list_head)[fc_type]; \
Zeev and Stas:
That sounds like a pretty good idea, actually :)
Might the solution be in the form of some 'auto-load extension folder'?
I.e., folder in which all extensions found there are loaded automatically?
Yes, this seems to be a near-perfect solution to me. Great!
--Marko
--
PHP
Morning, (maybe i am just blind...)
I doubt this can be counted as support question *grin*
Has anyone of you ever tried to exec a command while in safe_mode?
exec (blub); works fine, but it seems impossible to give a param
to blub that has spaces in it.
Stefan
--
PHP Development Mailing
In addition to Zeev,
Hey guys where is your problem if someone wants to infect php code with
functions that increases stability of code? The last days i spent much work
to get ext/exif working and many problems came from missuse of strxxx
functions. Changing to functions like strlcpy makes the
Hi,
I am trying to pass an array with hidden type and
access it by value.
for eg:
IN t.php
?php
$a = array(1, 2, 3, 4, 5);
print (form action =\t1.php\ method = post );
print(input type = hidden name =\_a\ value =$a
);
print(input type =submit value=submit);
print(/form);
?
IN
On Tue, 12 Mar 2002, Rasmus Lerdorf wrote:
Could you give me a quick summary of the changes. I am a little confused
as to why ext/zlib doesn't have a config.m4 file anymore, for example. I
see the config0.m4 file. What's the difference?
the 0 there makes sure it gets into another stage of
On Tue, 12 Mar 2002, Rasmus Lerdorf wrote:
Could you give me a quick summary of the changes. I am a little confused
Please refer to the posting New Build System committed to
Head.
as to why ext/zlib doesn't have a config.m4 file anymore, for example. I
That has been the case
?
$str = Hello World;
echo mb_strlen($str) . \n;
echo mb_strlen(mb_convert_encoding($str, BASE64), BASE64);
?
the code above prints out
11
16
... is this correct??? If so why does it work this way.
- Brad
__
Do You Yahoo!?
Try FREE Yahoo!
Hi,
i want your opinions for a clean solution of the safe_mode + exec problem.
Right now it is not possible to execute stuff like
/usr/local/bin/mybin param 1 param 2
because the whole line is passed to php_escape_shell_cmd
Is there any problem that i oversee, if we simply overjump quoted
Translate to Portugese the functions of PHP. I'm translate the Images Functions and
later I intend to translate more.
Rasmul Lerdorf told me to fill the form here.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
actually, I encountered serialize(), urlencode()
AND IT WORKS!!!
first you serialize(), then urlencode
then urlencode() and unserialize() to get back the
original array.
thanks
surya
--- Hunter, Ray [EMAIL PROTECTED] wrote:
Try using the $_POST function for getting the
variable...
It might be a bit late, but PHP-DEV is for developing PHP, not for
developing WITH PHP. Use [EMAIL PROTECTED] for support
questions.
Sander
On 2002.03.12 20:37 Surya Saraff wrote:
Hi,
actually, I encountered serialize(), urlencode()
AND IT WORKS!!!
first you serialize(), then urlencode
Hi,
I wrote a small patch to oci8.c's OCIError function which places the
following tag:
span style=color:#FF; font-weight:boldlt;ERRORgt;/span
just before an error in a sql statement and adds the modified statement
text into a new element called sqltext to the array returned by
Ahh. very kewl patch Dan.
Walt
On Tue, 2002-03-12 at 12:48, Daniel Ceregatti wrote:
Hi,
I wrote a small patch to oci8.c's OCIError function which places the
following tag:
span style=color:#FF; font-weight:boldlt;ERRORgt;/span
just before an error in a sql statement and adds
At 10:43 AM 3/12/2002, Shane Caraveo wrote:
The stability issue is fairly obvious (you're much more likely to
screw up
in a multithreaded environment if you load/unload libraries like hell,
than
you are if you load them once, process-wide; this affects both code
in PHP
and code in
On Tue, 2002-03-12 at 07:30, Stefan Esser wrote:
Morning, (maybe i am just blind...)
I doubt this can be counted as support question *grin*
Has anyone of you ever tried to exec a command while in safe_mode?
exec (blub); works fine, but it seems impossible to give a param
to blub that
Hey,
I'm not quite sure it's correct for the error message to print HTML itself.
It's probably more correct to do this from user land.
In any case, you should not be using malloc()/free() but emalloc()/efree().
If the request gets interrupted the memory will be freed if you're using
Hi,
Andi, thanks for the feedback. I've changed the patch to include emalloc
and efree.
I actually use PHP from the command line a lot and I've noticed that
warnings always get wrapped in b, so I figured it was ok to do HTML
here too.
I've modified the patch to also include an offset element
I'm -indefinite until the html gets out of it. There are no
error messages which do html on their own (if so, they are
bogus and need to be fixed). Command line does not use
b../b anymore (has been fixed).
On Tue, Mar 12, 2002 at 02:02:30PM -0800, Daniel Ceregatti wrote :
Hi,
How about doing what sqlplus does and simply add an asterisk at that point?
I'm ok with rolling my own inside of the script by using the offset element.
I simply think it'll do PHP users a service to have the "sqltext" in the array
in _some_ form, even if only with an asterisk.
Your
On Tue, Mar 12, 2002 at 02:26:24PM -0800, Daniel Ceregatti wrote :
How about doing what sqlplus does and simply add an asterisk at that
point? I'm ok with rolling my own inside of the script by using the
offset element. I simply think it'll do PHP users a service to have the
sqltext in
Yes. An example of what would be in the array returned by OCIError would
be:
// Given the code below...
$conn = OCILogon (bla bla bla);
$sql = "select t.foo, t.bar from table t where t.id = 1";
$stmt = OCIParse ($conn, $sql);
OCIExecute ($stmt, OCI_DEFAULT);
$error = OCIError ($stmt);
I like the idea of having the sqltext in the return array, as well as
the offset. This is a very usefull tool for debugging oracle sql
queries. I believe its something that OCIError has been lacking.
Anyone that uses Oracle along with sqlplus, you get the * under the
broken portion of the
Hi all,
I've decided to drop the old ISSOCK style code from my streams-enabled
PHP tree, since supporting both that and streams in the code makes the
code worse than it was originally (and the point is to make the code nicer).
But! What about third-party extensions? Are there any out there
Andrey,
I have a patch waiting to commit against the current CVS; I've
been holding off while waiting for the branch for the next release
and now I'm waiting for the new build system to settle down a little.
Since the patch touches most corners of PHP, it will need a bit
of testing in; I think
This is the first time I've tried installing on Solaris, so maybe I'm way
off, but anyways...
Here's how things look:
# ./buildconf
rebuilding configure
configure.in:124: warning: AC_PROG_LEX invoked multiple times
rebuilding main/php_config.h.in
# ./configure [any combination of configure
I added myself to the Sockets Extension a few months ago, and it has
never propagated.
-Jason
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Hello php-dev,
I created function `read_uploaded_file()`, i think it is useful at
to work with uploaded file in safe_mode and open_basedir, because if
i need only file content and safe_mode=on or open_basedir is set, i
can not read file, i must move it, read and delete then.
Best
On Tue, Mar 12, 2002 at 06:33:34PM -0500, J Smith wrote:
This is the first time I've tried installing on Solaris, so maybe I'm way
off, but anyways...
Here's how things look:
# ./buildconf
rebuilding configure
configure.in:124: warning: AC_PROG_LEX invoked multiple times
rebuilding
Brad Lafountain wrote:
?
$str = Hello World;
echo mb_strlen($str) . \n;
echo mb_strlen(mb_convert_encoding($str, BASE64), BASE64);
?
the code above prints out
11
16
... is this correct??? If so why does it work this way.
Yes. This is correct. BASE64 is not a valid _character_
Marko Karppinen wrote:
Zeev and Stas:
That sounds like a pretty good idea, actually :)
Might the solution be in the form of some 'auto-load extension folder'?
I.e., folder in which all extensions found there are loaded automatically?
Yes, this seems to be a near-perfect solution to me.
Guys,
Somebody hsa done something screwy with sessions, ther WEREN'T defining SID
when a cookie wasnt set. heres a diff:
--- php4-200203120300/ext/session/session.c Wed Mar 13 02:51:51 2002
+++ tmp/php4-200203120300/ext/session/session.c Sat Mar 9 11:33:29 2002
-940,14 +940,7
Yeah. I know.
This is one of the issue I'm going to discuss with Sascha.
It's not important for me compare to other issues, so this
will be the last one.
Anyway, may be we should go back to the original behavior
for now.
--
Yasuo Ohgaki
[EMAIL PROTECTED]
Matt Allen wrote:
Guys,
Somebody
Hi all,
I've noticed a couple of minor issues with the build system; perhaps
a build guru (Sascha!) could take a look...
sapi/cli/php seems to have a broken dependency; if I touch
ext/standard/aggregate.c, the object is built but the executable is
not re-linked.
make test will run, but
I'm finally trying to tackle an improvement in the config.m4 for my tuxedo module.
Previously, I've just hacked my way from other config.m4 scripts until it did what I
wanted. But now I need it to get fancy.
The problem comes because the raw Tuxedo libraries and the linking required
to use them
Related to my previous note, I remembered another question I've
pondered.
If you noticed in my last note, the link statement included -lpthread
(I've tried without it, it won't link without pthread).
Which implies to me that the Tuxedo libraries I'm bringing in, are themselves
multi-threaded;
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
because all the information is passed unmodified to the
developer.
Serious environments need
Translating the documentation to Indonesian langunages
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Linux, Apache 2 SAPI:
ext/mysql/php_mysql.lo: In function `zif_mysql_create_db':
/usr/src/php4/ext/mysql/php_mysql.c:942: undefined reference to
`mysql_create_db'
ext/mysql/php_mysql.lo: In function `zif_mysql_drop_db':
/usr/src/php4/ext/mysql/php_mysql.c:981: undefined reference to
Linux, Apache 2 SAPI:
ext/mysql/php_mysql.lo: In function `zif_mysql_create_db':
/usr/src/php4/ext/mysql/php_mysql.c:942: undefined reference to
`mysql_create_db'
ext/mysql/php_mysql.lo: In function `zif_mysql_drop_db':
/usr/src/php4/ext/mysql/php_mysql.c:981: undefined reference to
Hi,
It is not off topic. Its an annoying bug and I asked around if I oversee
something
if i change php_escape_shell_cmd to ignore stuff between quotes.
(off course checking for escaped quotes within the quotes)
Stefan
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit:
55 matches
Mail list logo