Re: [PHP-WIN] Is this a PHP bug?

2005-10-17 Thread Ross Honniball
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

Re: [PHP-WIN] Is this a PHP bug?

2005-10-16 Thread Ross Honniball
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

[PHP-WIN] Is this a PHP bug?

2005-10-16 Thread Ross Honniball
$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

Re: [PHP-WIN] How to advise a script to always execute or be included?

2005-10-13 Thread Ross Honniball
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

[PHP-WIN] How to advise a script to always execute or be included?

2005-10-12 Thread Ross Honniball
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

[PHP-WIN] Getting php_zip extension to work

2005-08-22 Thread Ross Honniball
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 ..

Re: [PHP-WIN] How to make mail() use correct headers?

2005-07-11 Thread Ross Honniball
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

Re: [PHP-WIN] unable to load php-gd2.dll

2005-06-14 Thread Ross Honniball
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. .

[PHP-WIN] Crazy user input with html in it

2005-05-27 Thread Ross Honniball
, 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

[PHP-WIN] Secure customer service web page browser

2005-04-25 Thread Ross Honniball
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

[PHP-WIN] Curly and annoying. Session vars and uniquely identifying a browser window.

2005-03-19 Thread Ross Honniball
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

[PHP-WIN] How do you tell if 'mail' function was successful?

2005-03-18 Thread Ross Honniball
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

Re: [PHP-WIN] Presenting code snipetts in standard PHP colours -THANKS

2004-12-09 Thread Ross Honniball
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:

[PHP-WIN] Presenting code snipetts in standard PHP colours

2004-12-09 Thread Ross Honniball
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

[PHP-WIN] Need to do graph. Where do I start?

2004-12-06 Thread Ross Honniball
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

[PHP-WIN] Hopefuly an easy one?

2004-07-31 Thread Ross Honniball
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

Re: [PHP-WIN] PHP OOP

2004-06-30 Thread Ross Honniball
$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

Re: [PHP-WIN] PHP OOP

2004-06-30 Thread Ross Honniball
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:

Re: [PHP-WIN] mysql money field type?

2004-06-28 Thread Ross Honniball
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

[PHP-WIN] Arrrrrrrrrrrg. Session management expert needed.

2004-06-06 Thread Ross Honniball
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

[PHP-WIN] pretty pictures

2004-06-02 Thread Ross Honniball
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

Re: [PHP-WIN] How do you delete a cookie on the spot?

2004-05-30 Thread Ross Honniball
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

Re: [PHP-WIN] Re: Hello and first question

2004-05-26 Thread 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

[PHP-WIN] Ampersand before function name

2004-05-25 Thread Ross Honniball
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

[PHP-WIN] tgz files

2004-05-24 Thread Ross Honniball
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.

Re: [PHP-WIN] Re: Why doesn't php have a 'date' variable type?

2004-05-20 Thread 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

RE: [PHP-WIN] Why doesn't php have a 'date' variable type?

2004-05-20 Thread Ross Honniball
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

[PHP-WIN] Why doesn't php have a 'date' variable type?

2004-05-20 Thread Ross Honniball
. 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

[PHP-WIN] Best way to tell how many rows a query returns

2004-05-12 Thread Ross Honniball
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

[PHP-WIN] Replacing field values in MySQL - is there an easy way?

2004-05-11 Thread Ross Honniball
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