If I have an XML document with 2 applications nodes and the following template in the
style sheet
xsl:template match=application
xsl:number format=a value=position() /
xsl:value-of select=name /
br /
/xsl:template
the result is
b. the name
d. the name2
When I think it should be
Mårten Gustafsson wrote:
Ehrm. I should probably read through the entire manual, every day :)
wouldn't help in this case, the optional behavior of strtr() is really
hard to find (even i as a member of a doc team and parttime german manual
translater found it only by chance),
we should try to
Hello,
this is not a PHP bug, I even wonder if it's really a bug at all. If there
is a bug, which I dont think there is, it's in sablotron.
Derick
On Thu, 18 Apr 2002, Ken Egervari wrote:
If I have an XML document with 2 applications nodes and the following template in
the style sheet
I also recall that many of my first arguments were not saying that it sucks.
I think a majority of the problem is that everyone that sticks up for pear
sees anything that challenges where its going, its goals and what it current
has as an extremely large accusation and therefore it sucks. The
in setting up php-dev to reject most types of attachments, particularly
text/html, (like php-general does), i accidently caused the php-dev
traffic to get stuck. everything sent in the last day should start
trickling through in the next few hours. (including what will no doubt
be at least a few
Look, with that attitude, no wonder why it doesn't any better.
- Original Message -
From: Dave Mertens [EMAIL PROTECTED]
To: Dan Hardiker [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, April 17, 2002 1:18 PM
Subject: Re: [PHP-DEV] The PHP Platform
On Wed, Apr 17, 2002 at
Sorry, but if you have a problem your tires, you usually go to the
dealership's service department instead of going to the manufacturer. And
this is a bug. It used to work 4.1.0/4.1.1 and now that I have 4.1.2 it
doesn't work (probably due to a newer sablotron release).
On Wednesday, 17. April 2002 22:11, Eduardo Melo wrote:
htmldiv style='background-color:'DIV/DIV
DIV/DIV
PWhat is happening to the list .../P
PNo body anwser .../P
PInbsp;will be waiting for somenbsp;contact.BRBR--/P
DIV/DIV
H5Eduardonbsp;Melo/H5/divbr clear=allhrChegou o novo MSN
I've just been reading through RFC 2718 (Guidelines for new URL Schemes)
because the zlib and bzip2 wrappers have been playing on my mind recently.
With the new wrappers implementation, I changed zlib: to zlib:// and
required all wrappers to have :// after scheme part, as Sascha pointed
out that
Agreed - but who are you to decide what the right tools are?
I signed up to this list expecting inteligent debates and information about
PHP, not a mass willy waving exercise by yourself (and Mike Robinson) over
who knows best.
Any developer who needs mom to tell them what to do still is on the
Translating the documentation to Russian...
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
--- Dave Mertens [EMAIL PROTECTED] wrote:
Just in my case - We only have MS database servers at our company.
Why, because Learning all the ins and outs of postgresql or MySQL
takes a lot of time.
PHP has very good support for MS SQL Server. But MS SQL Server is
cheaper than Oracle.
So, we
In [EMAIL PROTECTED], Joseph Tate
wrote:
I didn't know that compiling with just domxml gave xslt as well. are
you sure of this?
--with-dom-xslt and --with-dom-exslt
But only since PHP 4.2
chregu
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit:
If I'm writing a C++ extension module and I want return_value to be the same
as this_ptr do I need to increase the ref count of the zval this_ptr?
Or is it safe just to do as the last line:
return_Value=this_ptr;
or
*return_value=*this_ptr;
or what
??
Sam
--
PHP Development Mailing
1. Be patient.
2. Send questions about developing WITH PHP to the php-general mailing list.
Greetings,
Manuzhai
Eduardo Melo [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
How can i use an component of HTML as such as :
SELECT name=editor
OPTION 1
You are neglecting the FreeBSD and OpenBSD projects. Both of these
operating systems have proven track records of security and reliability,
both in the practical world and in the brutal world of technical
security audits (just ask CERT, NASA, and the NSA).
What relevance does my post have to
Sorry, but if you have a problem your tires, you usually go to the
dealership's service department instead of going to the manufacturer. And
this is a bug. It used to work 4.1.0/4.1.1 and now that I have 4.1.2 it
doesn't work (probably due to a newer sablotron release).
Hi, I'm Joe, outa
On Thu, Apr 18, 2002 at 05:37:30PM -, Thies C. Arntzen wrote:
thies Thu Apr 18 13:37:30 2002 EDT
Modified files:
/Zend zend_hash.c zend_hash.h zend_list.c
Log:
make sure the resource-list is always consistent during shutdown. this fixes
#15499
[2-part question]
I'd like to make an optional apache directive for the apache2filter
that can define an overriding search path for the php.ini file.
Ideally I'd like to just set this variable in on of the callbacks, but
I'm not sure which one. Is it appropriate to set this in a wrapper
around
Have you tried running it through command line xslt processors?
xsltproc (part of libxslt) gives me this output:
bthe namebr/
dthe name2br/
Admittedly, it's not identical to the output you were getting,
but then it's using a different XSLT processor.
The point is that it is still b and d.
If
On Thu, Apr 18, 2002 at 12:57:21AM -0400, Ken Egervari wrote:
If I have an XML document with 2 applications nodes and the following
template in the style sheet
xsl:template match=application
xsl:number format=a value=position() /
xsl:value-of select=name /
br /
/xsl:template
On Wed, Apr 17, 2002 at 01:01:29AM +0200, Mårten Gustafsson wrote :
Is there anyone else than me that would find it useful to be able to do:
?php
$string = 'foo bar';
$replacements = array(
'foo' = 'FOO',
'bar' = 'BAR');
// Prints FOO BAR
echo
Hi,
How can I import/Export data to database using PHP following formats:
EDI, Access, Excel ?
Where can I find information about this ?
Thanks,
Rosen Marinov
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
For our systems, a windows machine (license fees, seats etc) costs in the
region of 10,000 in total. A FreeBSD machine running the same style of
software costs only 2,000 (and thats on the outer limit). What sensible
business throws away 8,000?
For your information, if your serious about
Marcus Börger wrote:
No that was S_ISDIR was introduced by me to have this -c option work
correctly.
I had a short email discussion with Yasuo about the macros i used and their
Oh. I thought S_ISDIR is in .h but in .c :(
IMHO, if it's in .c, we are better to use usual way (not use/create
immature.
- Original Message -
From: Sterling Hughes [EMAIL PROTECTED]
To: Ken Egervari [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002 2:31 PM
Subject: Re: [PHP-DEV] XSLT bug
Sorry, but if you have a problem your tires, you usually go to the
dealership's
-Original Message-
From: Hartmut Holzgraefe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 11:07 AM
To: [EMAIL PROTECTED]
Cc: PHP-Dev
Subject: Re: [PHP-DEV] Proposed additional behaviour of str_replace()
Mårten Gustafsson wrote:
Is there anyone else than me that
I for one have been using Java and .Net for all my applications
now.
Which is it, java most of the time, or java and .net
for all my applications now.
Big difference.
Is there alot of this sort of bickering on this mailing list, or is this
out of the norm?
He,
Hello,
Can someone point me in the directions of a tutorial or perhaps some info
on making PHP extensions on a Windows system ?
not on how to code them, but rather on how to compile them on a windows
system.
Thanks,
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit:
I know that there is a workaround (which is obvious), but I just wanted to
report it. position() is supposed to return the position of the node within
the current node list. So i'd expect 1,2,3,4...N. It's just strange why it
would behave otherwise. As for doing it this way? I'm just playing
On Thu, Apr 18, 2002 at 02:09:01PM -0400, Ken Egervari wrote:
I know that there is a workaround (which is obvious), but I just
wanted to report it. position() is supposed to return the position
of the node within the current node list. So i'd expect 1,2,3,4...N.
It's just strange why it
ahh, that makes sense. actually
template match=text()
/template
would do it too. Cool.
- Original Message -
From: Matt McClanahan [EMAIL PROTECTED]
To: Ken Egervari [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002 2:12 PM
Subject: Re: [PHP-DEV] XSLT bug
On
I've done some testing, and it seems that Apache messes with the server
variables when it sends the error document.
Basically, Apache does *NOT* send an HTTP 302 response. It sends an
HTTP 404 response, but outputs the full code from the ErrorDocument.
Unfortunately, it changes the
Hi,
On Wednesday, 17. April 2002 22:11, Eduardo Melo wrote:
htmldiv style='background-color:'DIV/DIV
DIV/DIV
PWhat is happening to the list .../P
PNo body anwser .../P
PInbsp;will be waiting for somenbsp;contact.BRBR--/P
DIV/DIV
H5Eduardonbsp;Melo/H5/divbr clear=allhrChegou o novo MSN
Hi,
I bumped to another segfault:
#0 _db_return_ (_line_=1633, _sfunc_=0x1b4c1d8, _sfile_=0x1b4c1dc,
_slevel_=0x1b4c1e0) at dbug.c:827
#1 0x006df19b in mysql_select_db (mysql=0x84454c8, db=0x87c52d8 tft)
at libmysql.c:1633
#2 0x006d9a4e in zif_mysql_select_db (ht=2,
tone down? I approached this bug as anything but inappropriate then everyone
starts getting all defensive on me.
I am free from ego. I don't think my library is the stuff. i just made
some valid arguments and then everyone starts feeling like they are being
threatened or accused and
Not noticing space is a *the* common pitfall in xslt!
If you before 4.1.2 had spaces and it spit out a,b then
the earlier version did not count the text-nodes and
therefore was erroneous.
marcus
and good morning to Matt - i am nearly going to bed
if there wasn't so much work left
At 20:12
Daniel Lorch wrote:
Could someone ban this guy from php-dev?
Georg
I wrote him a nice and friendly mail. I hope he understands us
finally as he appears to be having language problems.
have tried that in every possible way i could think of without any result
if he really has *that* big
You are completely avoiding the issue here. Getting the job done and
getting it done fast with the right tools are also 2 big differences.
- Original Message -
From: Dan Hardiker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 17, 2002 12:22 PM
Subject: RE: [PHP-DEV] The
Hi I have some problem when I try to generate HTML file from PHP.
I have a gen.php and inside
---
?
if ($QUERY_STRING==generate){
// I try on Linux and Win also
system(a.bat);
// content of a.bat:
// c:\php\php.exe -q
Look through the php4/ext directories for project files. Add the project
files to the php4ts workspace in VC++, and then compile them. If an
extension doesn't have a .dsp file for it, it hasn't been compiled for
windows. (Though support for windows is not that hard to add, if all the
libraries
I've been working on this sort of thing for the past few weeks as I've been
trying to make sure all of the PHP extensions I've written work on UNIX
systems as well as Windows systems.
I think you can compile using gcc and cygwin, but I believe the recommended
way is with Visual C++ 6, as the
I wholeheartedly agree with Dan on this issue. This bickering really
doesn't help anybody make PHP any better. From what I can gather this
mailing list is oriented towards developing a certain tool, PHP. While
Java and .Net discussions are relative in terms of their respective PHP
extensions,
Eduardo Melo wrote:
What is happening to the list ...
No body anwser ...
I will be waiting for some contact.
we are finaly ignoring you as you are neither able to switch of
HTML (as requested) as anybody else does nor understand the
concept of which list is which (by crosposting to
--- J Smith [EMAIL PROTECTED] wrote:
0. Start a new project in VC++ and add your extension's files.
1. In the Configurations dialog, add two configurations: Release_TS
and
Debug_TS. Release_TS should copy the settings from Release and
Debug_TS
should obviously copy from Debug. You can
Did php-dev get a collective male version of PMS all of a sudden? :-)
For the record, I agree that PEAR DB is a bit on the heavy side today.
A lean and mean redesign is planned for when aggregation and
overloading stabilizes. And maybe even rewriting some parts in C.
Ideally using PEAR DB
Latest CVS
MySQL 3.23.49 w/o server
/bin/sh /mnt/data1/Stuff/CVS/PHP/php4/libtool --mode=compile gcc -Iext/mysql/
-I/mnt/data1/Stuff/CVS/PHP/php4/ext/mysql/ -DPHP_ATOM_INC
-I/mnt/data1/Stuff/CVS/PHP/php4/include -I/mnt/data1/Stuff/CVS/PHP/php4/main
-I/mnt/data1/Stuff/CVS/PHP/php4
On Thu, 2002-04-18 at 14:26, Rosen Marinov wrote:
Hi,
How can I import/Export data to database using PHP following formats:
EDI, Access, Excel ?
Where can I find information about this ?
There is an Excel package in PEAR now, see
http://cvs.php.net/cvs.php/pear/Excel/
- Stig
--
PHP
On Thu, 2002-04-18 at 00:56, otto wrote:
Hi I have some problem when I try to generate HTML file from PHP.
I have a gen.php and inside
---
?
if (@$QUERY_STRING==generate){
// I try on Linux and Win also
On Thu, 2002-04-18 at 14:26, Rosen Marinov wrote:
Hi,
How can I import/Export data to database using PHP following formats:
EDI, Access, Excel ?
One way to import from excel/access/any odbc source data is ODBC.
check the documentation and the unixodbc site for further infos.
hth
pa
--
On 18/04/02, Ken Egervari [EMAIL PROTECTED] wrote:
I'm actually very unimpressed with how the people get all defensive, witty,
immature and whatever else to the list. Don't read this like, Oh Ken is
now attacking me. I'm not doing that. It just seems that I post (what I
thought) to be a
Hello,
how funny, I was discussing this issue with Stig on IRC too. I want to
implement encryption with streams too for the new encryption extension,
and we came up with something like this:
crypt(des)://blaat.txt
crypt(blowfish)://blaat.txt
and then something for zippers:
compress(zlib)://
Hi everyone,
I have a need not fullfilled by the current short set of dns functions
(no way to retrieve aliases), so I wrote a 'gethostent' function, which
accepts either hostname or ip, and returns a hash equivelant of the C
hostent struct. patch is attached, if no objections in the next
Get somebody with enough karma to update it I guess. But I'd recommend
opening up one of the VC++ projects from the source and checking the
settings out, 'cause I might have forgotten something there.
J
Brent R. Matzelle wrote:
This information would be a terrific addition to the PHP
At 23:13 18.04.2002, Shane Caraveo wrote:
Hi everyone,
I have a need not fullfilled by the current short set of dns functions
(no way to retrieve aliases), so I wrote a 'gethostent' function, which
accepts either hostname or ip, and returns a hash equivelant of the C
hostent struct. patch is
Hi Derick,
I like it too, but (and I hate this but) its not an rfc2396 compliant
scheme name. Valid characters in the scheme part are:
alpha digit + - .
So how are these?
crypt-des://blaat.txt
crypt-blowfish://blaat.txt
compress.zlib://file.gz
compress.bzip2://file.bz2
Hello,
I know im not sposta send posts here for help.. but this is on a live server..
i just upgraded my 4.0.6 server to 4.1.2 when i call system or shell_exec
functions it parses out all but one parameter. this only happens in the
mod_php4 as a cgi it works fine.
so
shell_exec(php -q
Hi,
Can someone tell me how to put on WEB page QuickTime movie ?
I tried with some code, but nothing happens... !
Can you send me a code for this ?
Thanks
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks a lot, i'll give it a try.
J Smith [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I've been working on this sort of thing for the past few weeks as I've
been
trying to make sure all of the PHP extensions I've written work on UNIX
systems as well as
Mårten gustafsson wrote:
Is there anyone else than me that would find it useful to be able to do:
?php
$string = 'foo bar';
$replacements = array(
'foo' = 'FOO',
'bar' = 'BAR');
// Prints FOO BAR
echo str_replace($replacements, $string);
?
With current behaviour one
The documentation seems to be behind 4.1.2 and lacking a few examples I could provide.
If you want help updating the documentation and expanding the examples, I can
contribute the odd hour some weeks. I have several pages of updates to contribute for
sockets based on PHP 4.1.2.
I am not
61 matches
Mail list logo