per in a former
life, it is easier to
convert the string to numeric than the numeric to string for the 'on-the-fly'
compare.
I hope this helps your understanding. My suggestion is if you are still of the
mind this is a bug
report it to PHP.
P-
--- Ross Honniball <[EMAIL PROT
I'm yet to be convinced it isn't a bug. I suspect it is a bug that has been
around so long that they can't afford to fix it or it may break many
applications that for various peculiar reasons rely on it to behave as it does
for their code to work.
For those who have tried to defend its behavio
$x = 0; // Numeric zero
$y = 'Some kind of string';
if ($x == $y) echo 'they equal using ==';
if ($x === $y) echo 'they equal using ===';
The above will echo 'they equal using =='.
The values don't look very equal to me.
Can anyone explain the logic behind this?
I'm heading home now but look
I managed to find this myself. If anyone else was interested, I was looking for
the auto_prepend_file directive in php.ini.
Ross.
Ross Honniball wrote:
How do you advise a script to always execute or be included before each
script is run?
I can remember reading that this was an option
How do you advise a script to always execute or be included before each script
is run?
I can remember reading that this was an option years ago and want to use it now
but I'm having trouble finding it in the manual.
Thanks ... Ross
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscr
I have un-commented extension=php_zip.dll in my php.ini but get this message
when Apache starts:
Unable to load dynamic library 'c:\php\ext\php_zip.dll' = The specified module
could not be found.
Has anyone got the php_zip extension up and running successfully on Windows?
Thanks in advance ..
I haven't looked to see exactly what headers it produces, but using:
$old = ini_set('sendmail_from', '[EMAIL PROTECTED]');
before you use the mail() function works for me.
anton wrote:
Hello,
Our windows server has sendmail_from set to null in ini. We are hosting many
domains, and having a si
the php_gd2.dll
I have restarted IIS but still nothing
I am using Window XP $ 2000 with IIS 5.0 but still nothing
Please help
Disieyi
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
. Ross Honniball. JCU Bookshop Cairns, Qld, Australia.
.
, as text
Then when you display this data (echo it), your page will show an html
input box.
I think there are a number of functions in php to cope with this, but
wondering what people find to be the best/most efficient or whatever one.
What do you do?
..
.. Ross Honniball. JCU Bookshop Cairns
to do anything else on the PC.
Anyone know the best approach to take? Maybe some kind of linux distro
running some custom browser?
Thanks for your help.
. Ross Honniball JCU Bookshop Cairns Supervisor
. James Cook Uni, McGregor Rd, Smithfield, Qld. 4878, Australia
. Ph
way of
avoiding the issues I am faced with?
Thanks ... Ross
.
. Ross Honniball. JCU Bookshop Cairns, Qld, Australia.
.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone know how to tell if a mail('[EMAIL PROTECTED]', 'sub', 'body')
is successful or not?
Thanks .. Ross
.
. Ross Honniball. JCU Bookshop Cairns, Qld, Australia.
.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you to all who replied to my question. The perfect solution for me
was the highlight_string function. Bril.
Thanks again ... Ross.
X-Originating-IP: [210.213.222.149]
X-Originating-Email: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]
From: "OJ Tibi" <[EMAIL PROTECTED]>
To:
Hi all,
What is the easiest way to get a web page to list source code with standard
colour high-lighting (as used in my php_manual_el.CHM file and as you see
on various php web pages about the place).
Is there a class or a function or something that anyone knows of?
Thanks ... Ross
.
. Ross
forward to replies in the
morning.
Thanks ... Ross
.
. Ross Honniball. JCU Bookshop Cairns, Qld, Australia.
.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ection to what php function
escapes characters or whatever it has to do?
Help much appreciated ... Ross
.
. Ross Honniball. JCU Bookshop Cairns, Qld, Australia.
.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$obj_item;
} else {
print "No data";
}
}
-
the output is fine, and when I uncomment the print line and call the script
i do not get the "No data" message, as the object exists.
Could it be that it is just not possible to return the sort of object that
i
so I could output the bits that it has more
conviently (in templates etc.)
cheers,
Ben
--
+++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++
GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
R, and the display was right, but when I sorted the results by price,
1,200,000 appreared before 230,900.
Any ideas?
Natan Shar
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
. Ross Honniball. JCU Bookshop Cairns, Qld, Australia.
.
--
PHP Windo
fire up a NEW session in
certain situations (the result being that it can NOT find the previous
screens a user has visited).
Anyone had any similar problems and found a solution?
Regards ... Ross
.
. Ross Honniball. JCU Bookshop Cairns, Qld, Australia.
.
--
PHP Windows Mailing List (http
ie. free) drawing product that is really good for
whippying up my own, but if there are some really cool pictures already out
there that that's going to save me time.
Please help ... Desperate.
.
. Ross Honniball. JCU Bookshop Cairns, Qld, Australia.
.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e url to get back to the
page, e.g. http://server/main/ it will still state that you have logged in.
This seems to be flying all over the place, can anyone help? Please don't
direct me to the PHP Manual or any other place as I have already checked.
Many thanks,
Dan
. Ross Honniball
://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
. Ross Honniball. JCU Bookshop Cairns, Qld, Australia.
.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Just curious about what the apmersand does in this context:
function & funcname ($parm) {}
(Can't find it in the manual for some reason)
.
. Ross Honniball. JCU Bookshop Cairns, Qld, Australia.
.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I'm hoping to install phpdocumentor which I have down-loaded as a 'tgz'
file to my windows machine. I'm not actually familiar with tgz files and
have no idea what I'm actually meant to do with it.
What does one do with a tgz file?
Ross
.
. Ross Honniball.
certainly help.
Thanks again Walter and Justin.
Regards ... Ross
At 01:29 AM 21/05/2004, you wrote:
PEAR:Date
Walter
"Ross Honniball" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I accidently sent this to php-db mailing list earlier today. Apologies to
> p
of a different type.
At 07:38 PM 20/05/2004, you wrote:
> Why doesn't php offer a standard class or variable
> type to help process dates in a standard manner?
Maybe because PHP is typeless(?).
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
. Annoying.
Anyway, am I missing something, or do other people find this a glaring
omission in an otherwise spiffing product?
Ross
PS note that in refering to dates above, I really mean date + time.
. Ross Honniball JCU Bookshop Cairns Supervisor
. James Cook Uni, McGreggor Rd, Smit
ECT * FROM table WHERE conditions LIMIT 30,30
Say there are 200 records that match 'conditions', only 30 rows are
returned (of course). How do I find out the total number (200 in this case)
that matched the conditions?
Any ideas?
. Ross Honniball JCU Bookshop Cairn
27;def', fld3='xyz', fld4='something
else'
if you try and say :
REPLACE INTO table SET fld1='abc', fld4='something else'
it sets fld2 and fld3 to null :-(.
Anyone know an easy way to get mysql to retain non-key values not
explicitly set in a replace c
30 matches
Mail list logo