$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
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
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
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:
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
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..
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
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
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:
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;);
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
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
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
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
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
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,
]
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
( 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
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
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
-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
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
' 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
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
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
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);
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
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
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
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
---
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
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
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
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
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:
35 matches
Mail list logo