php-windows Digest 3 Jun 2004 11:21:52 -0000 Issue 2273
Topics (messages 23907 through 23914):
Re: pretty pictures
23907 by: Justin Patrin
[ANNOUNCEMENT] ODBTP 1.1.1 Released
23908 by: Robert Twitty
calculations
23909 by: Lenny Davila
23910 by: Larry E. Ullman
23911 by: Svensson, B.A.T. (HKG)
23912 by: Luis Moreira
23913 by: Svensson, B.A.T. (HKG)
Re: php.exe hang using Xitami on WinXP
23914 by: Claus
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Ross Honniball wrote:
Hello all,
This is nothing to do with php, but it's the only list i'm subscribed to
right now and I'm too lazy to join another. And you php people know more
than just php, right?
I'm chasing some very slick pretty pictures for drawing navigation buttons
(ie. '<< start', '< back', 'next>', 'end >>')
with slick looking arrows including different pictures for enabled and
disabled.
I can't believe how much time I have wasted un-successfully searching
the internet for this.
Ideally I'd love a cheap (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.
.
I just found Inkscape myself. It's free and might just do the trick for you.
http://www.inkscape.org/
--
paperCrane <Justin Patrin>
--- End Message ---
--- Begin Message ---
FYI for the members of this list that are using ODBTP:
Version 1.1.1 has been released, and is available for download at
http://odbtp.sourceforge.net
Key Changes:
* All version 1.1 known bugs have been fixed.
* Data truncation detection.
* Auto char to wide char mapping for MS Access in UNICODE SQL mode.
* PHP 5 support, including Win32 odbtp extension dlls.
* PEAR DB driver works with latest DB version.
--- End Message ---
--- Begin Message ---
I have in my php code:
$galleryRow = 3;
$maxwidth = 144;
$borderwidth = 2;
$imagediv = ($maxwidth + (2 * $borderwidth));
$contentwidth = ($imagediv * 3);
The output of contentwidth should be : 452
But it comes out as 444. Does anyone know what I am doing wrong?
TIA
------------------------------------
Eleno Davila
[EMAIL PROTECTED]
(877)933-6750 Ext�163 (direct line)
http://plasticsurgery.com�
--- End Message ---
--- Begin Message ---
I have in my php code:
$galleryRow = 3;
$maxwidth = 144;
$borderwidth = 2;
$imagediv = ($maxwidth + (2 * $borderwidth));
$contentwidth = ($imagediv * 3);
The output of contentwidth should be : 452
But it comes out as 444. Does anyone know what I am doing wrong?
The output should be 444:
$imagediv = (144 + (2 * 2)); // (144 + 4) = 148
$contentwidth = (148 * 3); // 444
Larry
--- End Message ---
--- Begin Message ---
How did you come to the conclusion it should be 452?
-----Original Message-----
From: Lenny Davila
To: 'php windows'
Sent: 3-6-2004 3:23
Subject: [PHP-WIN] calculations
I have in my php code:
$galleryRow = 3;
$maxwidth = 144;
$borderwidth = 2;
$imagediv = ($maxwidth + (2 * $borderwidth));
$contentwidth = ($imagediv * 3);
The output of contentwidth should be : 452
But it comes out as 444. Does anyone know what I am doing wrong?
--- End Message ---
--- Begin Message ---
Svensson, B.A.T. (HKG) wrote:
How did you come to the conclusion it should be 452?
-----Original Message-----
From: Lenny Davila
To: 'php windows'
Sent: 3-6-2004 3:23
Subject: [PHP-WIN] calculations
I have in my php code:
$galleryRow = 3;
$maxwidth = 144;
$borderwidth = 2;
$imagediv = ($maxwidth + (2 * $borderwidth));
$contentwidth = ($imagediv * 3);
The output of contentwidth should be : 452
But it comes out as 444. Does anyone know what I am doing wrong?
I am sorry, but substituting the names by their values you get
$imagediv = ( 144 + (2*2)) = 144 + 4 = 148
$contentwidth = (148 *3) = 444
Like Svensson says, how do you get 452 ?
If you calculate 452/3 you get 150.(6)
--- End Message ---
--- Begin Message ---
> >How did you come to the conclusion it should be 452?
> Like Svensson says, how do you get 452 ?
> If you calculate 452/3 you get 150.(6)
What I can read from the question: the predicted result should
be 452. Since the formula only does what is told to do, i.e.
output the number 444 with the specific input, then my conclusion
is that the wrong formula is used - but it is not possible to tell
what the proper formula should be without knowing what is to be
calculated.
Then we have the second alternative: he may had done a error
while calculating the predicted number - and then the formula
is indeed correct.
But I wont know until told, hence my question.
P.S. There are other alternatives as well, but lets leave them out for
now... D.S.
--- End Message ---
--- Begin Message ---
I've now installed Apache2 and php works fine both as CGI and as module.
Must be a configuration issue in Xitami.
/Claus
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Hi,
>
> I'm using pre-compiled Xitami v2.5c1 and PHP v4.3.6 on WinXP.
> Xitzmi is working with non-php pages and correctly filters a .php
> extionsion and starts php.exe.
>
> When fetching a file with a php script, e.g.
>
> ----
> <html><body>
> <?php
> phpinfo();
> ?>
> </body></html>
> ----
>
> php.exe correctly starts, but is stuck somewhere with no output to the
> browser.
>
> Terminating the php.exe process through taskmanager, the output is sent
> to the browser. Sometimes, but not always, it is necessary to terminate
> the php.exe process more than once before the full page is shown and
> all connections to the server are released.
>
> Executing the command 'php -i' at a command prompt does return a html
> text.
>
> Does anyone have an idea why php.exe is not terminating correctly?
>
> regards
> Claus
>
--- End Message ---