RE: [PHP] if($var) vs. if(isset($var))

2004-11-23 Thread Vincent Jansen
$var = false; Then the first returns false While the second is true -Original Message- From: Sam Smith [mailto:[EMAIL PROTECTED] Sent: dinsdag 23 november 2004 14:23 To: PHP Subject: [PHP] if($var) vs. if(isset($var)) What's the difference between: if($var) and

RE: [PHP] PHP5 Windows not built with Soap Enabled?

2004-07-15 Thread Vincent Jansen
Did you adjust your php.ini file? -Original Message- From: Sean Malloy [mailto:[EMAIL PROTECTED] Sent: donderdag 15 juli 2004 3:50 To: [EMAIL PROTECTED] Subject: [PHP] PHP5 Windows not built with Soap Enabled? Am I the only one experiencing this: Fatal error: Class

RE: [PHP] Bar/Line Graph Tool

2004-04-16 Thread Vincent Jansen
I like http://www.phplot.com/ --- Vincent Jansen [EMAIL PROTECTED] -Original Message- From: Hawkes, Richard [mailto:[EMAIL PROTECTED] Sent: vrijdag 16 april 2004 10:09 To: '[EMAIL PROTECTED]' Subject: [PHP] Bar/Line Graph Tool Good morning gang, I'm looking for a snazzy line/bar

RE: [PHP] Forwarding to another PHP page

2004-04-09 Thread Vincent Jansen
It should work even if you included something You probably have spaces outside the ?php tags You could use output buffering to prevent this from happening Vincent -Original Message- From: Ash.. [mailto:[EMAIL PROTECTED] Sent: vrijdag 9 april 2004 11:53 To: [EMAIL PROTECTED] Subject:

RE: [PHP] Forwarding to another PHP page

2004-04-09 Thread Vincent Jansen
PS: Someone will undoubtedly mention output buffering, which is a hack to allow header() to work even if there is output. Just learn to do it the right way. :) That would be me then :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP

[PHP] PHP5 xslt omit-xml-declaration

2004-04-08 Thread Vincent Jansen
Does this 'omit-xml-declaration' work? (my stylesheet looks with this) ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:output method=html version=4.0 encoding=UTF-8 indent=yes omit-xml-declaration=yes/ templates..

[PHP] XSLT bug?

2004-04-02 Thread Vincent Jansen
Don't know if this is the best place to post. I'm also not shure if this is a problem with the PHP implementation or it's something a bug in libxslt. But here's the deal. (I use php5.0.0RC1 for testing on winXP) This works: xsl:if test=position() $start xsl:call-template

RE: [PHP] Re: XSLT bug?

2004-04-02 Thread Vincent Jansen
That works, but shouldn't this behave the way I thought it should -Original Message- From: Juan Torres [mailto:[EMAIL PROTECTED] Sent: vrijdag 2 april 2004 15:59 To: [EMAIL PROTECTED] Subject: [PHP] Re: XSLT bug? Try this: xsl:if test=position() #60; $start Good Luck. -- PHP

RE: [PHP] Constants

2004-03-23 Thread Vincent Jansen
Not too fast. From http://www.php.net/zend-engine-2.php PHP 5 introduces per-class constants: ?php class Foo { const constant = constant; } echo Foo::constant = . Foo::constant . \n; ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] How to make sure a redirect works

2004-03-10 Thread Vincent Jansen
If you output a location header then I don't know what the browser will do with text sent after that. Hopefully nothing! I experienced some strange behaviour(=no redirect at all!!) with a script that send data after the location header. Best to do this header(Location: http://somesite.nl;);

RE: [PHP] wysiwyg editor

2004-03-10 Thread Vincent Jansen
I use http://www.fredck.com/FCKeditor/ Vincent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] new session in new window

2004-03-08 Thread Vincent Jansen
I quess you should start another session with another name session_name(newApp); session_start(); Vincent -Original Message- From: Tim Traver [mailto:[EMAIL PROTECTED] Sent: dinsdag 9 maart 2004 0:01 To: Jason Davidson Cc: [EMAIL PROTECTED] Subject: Re: [PHP] new session in new window

RE: [PHP] PHP and GET/POST

2004-03-08 Thread Vincent Jansen
If you let your script decide which page to load by examining $_POST['step'] You should get the desired behaviour. Seems like you have register_globals = on in your php.ini file and you're testing the variable $step (not the best of practices) Hope this helps. Vincent -- PHP General

RE: [PHP] Two easy questions I think..

2004-02-13 Thread Vincent Jansen
Sum() and auto_increment Why not read the mysql manual? -Original Message- From: Radwan Aladdin [mailto:[EMAIL PROTECTED] Sent: vrijdag 13 februari 2004 11:14 To: [EMAIL PROTECTED] Subject: [PHP] Two easy questions I think.. Hi.. 1- In my mySQL DB there is a field named Whole.. there

RE: [PHP] getting month from date variable

2004-02-12 Thread Vincent Jansen
Don't reinvent http://www.php.net/manual/en/function.strftime.php -Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent: donderdag 12 februari 2004 10:13 To: [EMAIL PROTECTED] Subject: [PHP] getting month from date variable HI, I have looked the php manual and

RE: [PHP] Math Question

2004-02-11 Thread Vincent Jansen
Seems to me you need floor($number1 / $number2) Vincent -Original Message- From: Richard Davey [mailto:[EMAIL PROTECTED] Sent: woensdag 11 februari 2004 15:07 To: Jeremy Schroeder Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Math Question Hello Jeremy, Wednesday, February 11, 2004,

RE: Re[2]: [PHP] Math Question

2004-02-11 Thread Vincent Jansen
] Sent: woensdag 11 februari 2004 15:23 To: Vincent Jansen Cc: [EMAIL PROTECTED] Subject: Re[2]: [PHP] Math Question Hello Vincent, Wednesday, February 11, 2004, 2:15:15 PM, you wrote: VJ Seems to me you need VJ floor($number1 / $number2) Only if you always want to round *down* the equation

FW: [PHP] Re: Generating an Excel file?

2004-01-20 Thread Vincent Jansen
( Content-Disposition: attachment; filename=MyFile.xls ); header( Content-Description: PHP Generated Data ); For me this works in both IE6 and Mozilla 1.5 --- Vincent Jansen -Original Message- From: Williams, Olwen - SAL [mailto:[EMAIL PROTECTED] Sent: dinsdag 20 januari 2004 4:59

RE: [PHP] Function Problem (Long-ish)

2004-01-13 Thread Vincent Jansen
I doubt that... MySQL says: Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause --- Vincent Jansen -Original Message- From: Dave Carrera [mailto:[EMAIL PROTECTED] Sent: dinsdag 13 januari 2004 13:58 To: 'Richard Davey' Cc

[PHP] XML/HTML encoding?

2004-01-09 Thread Vincent Jansen
Etc. This is what I want But my browser displays dotted e () works Because I don't want yes or no: Please tell me what (maybe obvious thing) I'm doing wrong Thanks --- Vincent Jansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] XML/HTML encoding?

2004-01-09 Thread Vincent Jansen
-01-09 at 08:23, Vincent Jansen wrote: I'm doing some XML processing with PHP5 I'm using UTF-8 encoding When I look at my xml doc it looks something like ?xml version=1.0 ? doc textdotted e (ë) works/text /doc (I hope you see a dotted e) After xslt I end

RE: [PHP] PHP code documentation tool

2004-01-08 Thread Vincent Jansen
I prefer phpDocumentor http://phpdocu.sourceforge.net/ --- Vincent Jansen -Original Message- From: Richard Davey [mailto:[EMAIL PROTECTED] Sent: donderdag 8 januari 2004 16:44 To: Karam Chand Cc: [EMAIL PROTECTED] Subject: Re: [PHP] PHP code documentation tool Hello Karam

[PHP] Gridwidget - javascript

2003-01-17 Thread Nico Jansen - NiRo IT Consultants B.V.
' SIZE=5 MAXLENGTH=5 onChange='njrecalculate()' value=$mytot/td/tr; ? Does anybody know how to access these mycell form fields on the client side using javascript. Nico Jansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: JPGrapgh and GD Library SAMBAR server

2002-06-20 Thread Nico Jansen - NiRo IT Consultants B.V.
Hi Christopher, I think that we have the same configuration. I'm running PHP with the SAMBAR server as well and the JP Graph module is working OK with me so it should be working. Have you tried the JP Graph - testsuit : On my notebook ( W2K ) I installed it at

[PHP] Re: [PEAR] PEAR

2002-04-03 Thread Martin Jansen
Jansen, [EMAIL PROTECTED] http://www.martin-jansen.de/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Unknown-Error in Sessions

2001-09-13 Thread Jansen
Hi, I just started using sessions on my Linux-Server with PHP 4.0.7 and got that error-message: Fatal error: Maximum execution time of 30 seconds exceeded in Unknown on line 0 I used the following scripts: PHP-Script 1: ?php session_save_path(directory-where-i-and-php-can-write);

[PHP] Feedback welcome!

2001-08-15 Thread David Jansen
editor is shareware so of course it costs nothing to try it out and start speaking up for the changes and features you would like to see. There are a lot of nice environments in which to write PHP but it sure doesn't hurt to have another choice. Thanks, David Jansen www.emurasoft.com -- PHP

[PHP-CVS] cvs: php4 /pear/DB common.php

2001-04-10 Thread Martin Jansen
mj Tue Apr 10 01:03:47 2001 EDT Modified files: /php4/pear/DB common.php Log: fixed typo in inline docs Index: php4/pear/DB/common.php diff -u php4/pear/DB/common.php:1.42 php4/pear/DB/common.php:1.43 --- php4/pear/DB/common.php:1.42Mon

Re: [PHP-CVS] cvs: CVSROOT / loginfo

2001-04-10 Thread Martin Jansen
On Tue, 10 Apr 2001 16:31:01 -, Rasmus Lerdorf wrote: -pearweb $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} +pearweb $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} Wouldn't it be better to send the commit messages to [EMAIL PROTECTED] or [EMAIL PROTECTED]? -Martin

[PHP-CVS] cvs: php4 /pear/HTML Table.php

2001-03-22 Thread Martin Jansen
mj Thu Mar 22 06:32:51 2001 EDT Modified files: /php4/pear/HTML Table.php Log: - Fixed bug reported by Bertrand Mansion. Index: php4/pear/HTML/Table.php diff -u php4/pear/HTML/Table.php:1.2 php4/pear/HTML/Table.php:1.3 ---

[PHP-CVS] cvs: php4 /pear/HTML Common.php

2001-03-22 Thread Martin Jansen
mj Thu Mar 22 07:27:07 2001 EDT Modified files: /php4/pear/HTML Common.php Log: - removed wrong copyright notice. Index: php4/pear/HTML/Common.php diff -u php4/pear/HTML/Common.php:1.2 php4/pear/HTML/Common.php:1.3 --- php4/pear/HTML/Common.php:1.2

[PHP-CVS] cvs: php4 /pear/HTML Common.php Table.php

2001-03-21 Thread Martin Jansen
mj Wed Mar 21 22:23:38 2001 EDT Modified files: /php4/pear/HTML Common.php Table.php Log: - some cosmetic changes in pear/html/HTML_Common and pear/html/HTML_Table for better readability. Index: php4/pear/HTML/Common.php diff -u

Re: [PHP-CVS] cvs: php4 /pear/HTML Common.php

2001-03-21 Thread Martin Jansen
On Thu, 22 Mar 2001 04:14:43 -, Adam Daniel wrote: * @copyright Copyright 2001 Ethicon Endo-Surgery Isn't this a contradiction to the copyright notice of the license in the head of the file? -Martin -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP-CVS] cvs: php4 /pear Cache.php

2001-03-04 Thread Martin Jansen
mj Sun Mar 4 06:26:59 2001 EDT Modified files: /php4/pear Cache.php Log: fixed typo Index: php4/pear/Cache.php diff -u php4/pear/Cache.php:1.3 php4/pear/Cache.php:1.4 --- php4/pear/Cache.php:1.3 Sat Mar 3 11:21:49 2001 +++ php4/pear/Cache.php

[PHP-CVS] cvs: php4 /pear/Benchmark Iterate.php

2001-03-02 Thread Martin Jansen
mj Fri Mar 2 10:24:00 2001 EDT Modified files: /php4/pear/BenchmarkIterate.php Log: - added check for existing bcmath extensions to Benchmark/Iterate.php - did some cosmetic changes to Benchmark/Iterate.php Index: