php-windows Digest 9 Mar 2002 10:57:13 -0000 Issue 1037
Topics (messages 12541 through 12548):
Need some help with Graphs
12541 by: Mihail Bota
12542 by: alain samoun
12543 by: Mihail Bota
12544 by: alain samoun
Re: EZ upgrade to php 4.1.1
12545 by: Steve Yates
XSLT encoding error
12546 by: Mike Eynon
strings with $ sign
12547 by: Sviss Cobazor
gd-library ...
12548 by: Marcel Besancon
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 ---
Hello,
I am trying to install, configure and compile all what is needed in order
to be able to create graphs from database queries.
I am not very good in C, therefore I am not sure what I am doing is right.
I got all the gd, zlib libraries from the associated sites, I copied the
dll's from the php binary (4.1.1) into C:\winnt\system32, I uncommented
the necessary lines from php.ini and then I tried to run from the command
line php --with-gd=...the path (i hope is the correct one)
There is no result for this compilation, and I do not know what to do...to
interrupt or to let it leave?
Did I miss something in this process?
I'd appreciate any help from anybody...
I apologize if this message is too stupid.
Thanks.
Mihai
--- End Message ---
--- Begin Message ---
Mihail:
The command line use is:
(From the MSWindows, supposing that php.exe is in C:\php )
C:\php> php Yourscript.php
You do not need any compilation, since the GD, ZLIB etc.. dlls have been
compiled with your php version. Just make sure that the dlls you get are
from the same source of your PHP and that they are uncommented in your
php.ini files.
A+
Alain
-----Original Message-----
From: Mihail Bota [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 2:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Need some help with Graphs
Hello,
I am trying to install, configure and compile all what is needed in order
to be able to create graphs from database queries.
I am not very good in C, therefore I am not sure what I am doing is right.
I got all the gd, zlib libraries from the associated sites, I copied the
dll's from the php binary (4.1.1) into C:\winnt\system32, I uncommented
the necessary lines from php.ini and then I tried to run from the command
line php --with-gd=...the path (i hope is the correct one)
There is no result for this compilation, and I do not know what to do...to
interrupt or to let it leave?
Did I miss something in this process?
I'd appreciate any help from anybody...
I apologize if this message is too stupid.
Thanks.
Mihai
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Alain,
I was impressed by JPGraph and I wanted to use it for my applications
(statistics). JPGraph needs GD 2.0... this is the point where i am
stuck...
So, the oerror looks like this:
Fatal error: imagecolorresolvealpha(): requires GD 2.0 or later in
c:\inetpub\wwwroot\Graphs\jpgraph.php on line 2889
Mihai
On Fri, 8 Mar 2002, alain samoun wrote:
> Mihail:
> The command line use is:
> (From the MSWindows, supposing that php.exe is in C:\php )
> C:\php> php Yourscript.php
> You do not need any compilation, since the GD, ZLIB etc.. dlls have been
> compiled with your php version. Just make sure that the dlls you get are
> from the same source of your PHP and that they are uncommented in your
> php.ini files.
> A+
> Alain
>
> -----Original Message-----
> From: Mihail Bota [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 08, 2002 2:23 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Need some help with Graphs
>
>
> Hello,
>
> I am trying to install, configure and compile all what is needed in order
> to be able to create graphs from database queries.
> I am not very good in C, therefore I am not sure what I am doing is right.
> I got all the gd, zlib libraries from the associated sites, I copied the
> dll's from the php binary (4.1.1) into C:\winnt\system32, I uncommented
> the necessary lines from php.ini and then I tried to run from the command
> line php --with-gd=...the path (i hope is the correct one)
> There is no result for this compilation, and I do not know what to do...to
> interrupt or to let it leave?
> Did I miss something in this process?
> I'd appreciate any help from anybody...
> I apologize if this message is too stupid.
>
> Thanks.
>
> Mihai
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Have a look at this:
http://phpbuilder.com/annotate/message.php3?id=1009351
A+
Alain
-----Original Message-----
From: Mihail Bota [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 3:22 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Need some help with Graphs
Alain,
I was impressed by JPGraph and I wanted to use it for my applications
(statistics). JPGraph needs GD 2.0... this is the point where i am
stuck...
So, the oerror looks like this:
Fatal error: imagecolorresolvealpha(): requires GD 2.0 or later in
c:\inetpub\wwwroot\Graphs\jpgraph.php on line 2889
Mihai
On Fri, 8 Mar 2002, alain samoun wrote:
> Mihail:
> The command line use is:
> (From the MSWindows, supposing that php.exe is in C:\php )
> C:\php> php Yourscript.php
> You do not need any compilation, since the GD, ZLIB etc.. dlls have been
> compiled with your php version. Just make sure that the dlls you get are
> from the same source of your PHP and that they are uncommented in your
> php.ini files.
> A+
> Alain
>
> -----Original Message-----
> From: Mihail Bota [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 08, 2002 2:23 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Need some help with Graphs
>
>
> Hello,
>
> I am trying to install, configure and compile all what is needed in order
> to be able to create graphs from database queries.
> I am not very good in C, therefore I am not sure what I am doing is right.
> I got all the gd, zlib libraries from the associated sites, I copied the
> dll's from the php binary (4.1.1) into C:\winnt\system32, I uncommented
> the necessary lines from php.ini and then I tried to run from the command
> line php --with-gd=...the path (i hope is the correct one)
> There is no result for this compilation, and I do not know what to do...to
> interrupt or to let it leave?
> Did I miss something in this process?
> I'd appreciate any help from anybody...
> I apologize if this message is too stupid.
>
> Thanks.
>
> Mihai
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
"Afan Pasalic" <[EMAIL PROTECTED]> wrote in message
014501c1c6e9$adcb3560$311f49d1@VAIO">news:014501c1c6e9$adcb3560$311f49d1@VAIO...
We are trying to upgrade to PHP 4.1.1 but are encountering that some
variables that are not set as global are giving us records, same for
constants. Does anyone know an easy way to solve this?
In PHP.INI:
register_globals = On
Perhaps not the most secure, but it's easy. :)
- Steve Yates
- Where there is a will, there is a won't.
/ Taglines by Taglinator - www.srtware.com /
--- End Message ---
--- Begin Message ---
Howdy all.
I am trying to use the new XSLT translation stuff in 4.1.1 with Win2k and
IIS running ISAPI.
When I try to run even the simplest example, I get the following error:
>>>>>>>>>>>>>
unknown encoding ''
62
<<<<<<<<<<<<<
I have tried specifying the encoding in both the XML and XSL files, and even
tried both "UTF-8" and "ISO-8859-1".
Has anyone seen this? I am pretty much stuck and in need of at least a
suggestion.
Below are the following xml, xsl, and php source files I am using.
t1.xml >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<Company>
<Employee>
<Name>
Mike
</Name>
<Email>
[EMAIL PROTECTED]
</Email>
</Employee>
</Company>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
t1.xsl >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="UTF-8
omit-xml-declaration="yes""/>
<xsl:template match="/">
<html>
<head>
<title>Mike's php xml test</title>
</head>
<body>
<xsl:apply-templates select="//Employee"/>
</body>
</html>
</xsl:template>
<xsl:template match="Employee">
<xsl:apply-templates select="Email"/>
</xsl:template>
<xsl:template match="Email">
<xsl:value-of select="."/>
</xsl:template>
</xsl:stylesheet>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
t1.php >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<?php
$xsl_parser = xslt_create();
$xmlf="c:\\t1.xml";
$xslf="c:\\t1.xsl";
$outf="c:\\out.html";
if(is_file($xmlf)){
print("XML Exists<BR>\n");
}
if(is_file($xslf)){
print("XSL Exists<BR>\n");
}
$result = xslt_process($xsl_parser,$xmlf,$xslf,$outf);
if ($result)
{
echo "$result";
}
else
{
$err1 = xslt_error($xsl_parser);
$err2 = xslt_errno($xsl_parser);
echo "<BR><BR><B>Bummer.</B> <br><br><br>";
echo "$err1 <br>";
echo "$err2 <br>";
}
xslt_free($xsl_parser);
?>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I robbed some of my test code from the example Christian posted
a couple days ago. Thanks Christian.
// Mike Eynon
// www.MikeEynon.com
// 1366 Bulb Ave
// Santa Cruz, CA 95062
// [EMAIL PROTECTED]
// 831.588.2388 (cell)
--- End Message ---
--- Begin Message ---
Hi NG.
I just wanted to know how to use strings with $ sign.
If a word starts with a dollar sign php will think it's a variable, how can
I make
" $bla bla and bla $bla " to stay that way?
Will this work? " \$bla bla and bla \$bla "
--- End Message ---
--- Begin Message ---
Hi,
is there a way to use the gd-library under WinXP?? If there is a way,
please explain it to me !!!
Sincerely
Marcel
--
registered Fli4l-User #00000388
--- End Message ---