php-windows Digest 27 Mar 2003 09:31:42 -0000 Issue 1655
Topics (messages 19157 through 19165):
Re: ISP Blues
19157 by: Christoph Grottolo
19158 by: Anthony Ritter
Re: resized image looks baaaaadddd
19159 by: Jason Bryner
find libsasl.dll
19160 by: Ronen Kfir
19162 by: J.Veenhuijsen
stuck with distinct ! ! ! !
19161 by: toby z
Re: Error, does anyone see anything wrong?
19163 by: Ryan
Re: Subject: ISP Blues
19164 by: Neil Smith
Pear Installer on Windows
19165 by: Pascal S.
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 ---
>Could somebody please advise how they should be installing the .dll file so
>I can utlize the gd_libraries with php?
>
You only have to contact your ISP if he uses the PHP ISAPI extension
(which is not very probable).
Try to put the following code at the top of your script, if possible,
use php_gd2.dll instead of php_gd.dll (which will be removed in 4.3.2+
versions):
if (!extension_loaded('gd')) {
if (!dl('php_gd.dll')) {
die ('Could not load gd extension');
}
}
--- End Message ---
--- Begin Message ---
I ran a phpinfo()
on their server which hosts my site and gd libraries is nowhere to be found.
The following is from the sysadmin at my ISP:
...............................
Give it a shot and let me know if it works. I put the file in the PHP
directory on the server. I couldn't get the file from that website that you
gave me but I found it somewhere else and there were not any instructions
with it like where to put it. Was it suppose to go into the PHP directory or
the WINNT directory?
...................................
Any instructions on how they shoud install this *correctly* will help.
Thank you.
Tony Ritter
--- End Message ---
--- Begin Message ---
What is the code you're using? Make sure to use imageCreateTrueColor when
using JPGs. I'm too sleepy right now to go into the reasoning for it, but
take a look at it.
"Afan Pasalic" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
> just installed php 4.3.0 and enabled gdlib. Script to upload file (image)
> and resize it works fine but quality of resized image is bad, bad...
> Quality is set up to 100.
> I checked the same code on other server - pics are good.
>
> What could be a problem? While Installation? Or there is a bug in gd? Or
> php 4.3.0 doesn't support gd 2.0 well? Any differences between GD for Win
> or for Linux?
>
> Any ideas?
>
> Afan
>
--- End Message ---
--- Begin Message ---
>From PHP manual:
"Note to Win32 Users: In order to enable this module on a Windows
environment, you must copy libsasl.dll from the DLL folder of the
PHP/Win32 binary package to the SYSTEM32 folder of your windows machine.
(Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32) "
Can't find the specified file in PHP/Win32, or anywhere else.
Where can I search?!
Ronen Kfir
System Administrator
Computing Division
Tel Aviv University
Tel: 972-3-6407416
Fax: 972-3-6405158
cellular: 972-55-405910
E-mail: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
See : http://www.phpbuilder.com/board/showthread.php?threadid=10227168
Here you can download libsasl.dll
Jochem
Ronen Kfir wrote:
From PHP manual:
"Note to Win32 Users: In order to enable this module on a Windows
environment, you must copy libsasl.dll from the DLL folder of the
PHP/Win32 binary package to the SYSTEM32 folder of your windows machine.
(Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32) "
Can't find the specified file in PHP/Win32, or anywhere else.
Where can I search?!
Ronen Kfir
System Administrator
Computing Division
Tel Aviv University
Tel: 972-3-6407416
Fax: 972-3-6405158
cellular: 972-55-405910
E-mail: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
hi guyz
im trying a query that fetches all fields(ranging from 5 to 15) from
11 tables i m looking round for distinct at
http://www.mysql.com/doc/en/SELECT.html
n so faar i aint getting anything :(
can n some1 plz hlp
thnx a lot .....
toby ....
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---
--- Begin Message ---
It sounds like it's happening before line 18. Did you close a statement
on that last
line executed. What's the code before line 18?
P.Bijl wrote:
U?
Parse error: parse error, unexpected T_WHILE, expecting ',' or ';' in
c:\apache\htdocs\news1\nieuws.php on line 18
17.
18. while ($list = mysql_fetch_object($query)) {
19. echo "<p><b>$list-> blablaetcetc......
Thanx,
P
--- End Message ---
--- Begin Message ---
Hi Anthony -
Did they also uncomment the line in php.ini which reads
extension=php_gd.dll
?
Else check phpinfo() and see if gd is really enabled, since they clearly
haven't completed all the process. Oddly though I thought this file should
be under WINNT (or system32), in fact on my machine its under the PHP
extensions directory. Weird !
Cheers,
Neil Smith.
At 21:13 26/03/2003 +0000, Anthony wrote:
Message-ID: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
From: "Anthony Ritter" <[EMAIL PROTECTED]>
Date: Wed, 26 Mar 2003 16:22:37 -0500
Subject: ISP Blues
The following script works fine when I test it at home using localhost on:
MS Win 98
Apache Server
PHP 4.1.1
php_gd.dll
I then publish the script to my web at my ISP's MS IIS server which is the
host and get an undefined function call of:
ImageCreate()
The ISP has said that they have installed php_gd.dll on their server but I
get that error.
--- End Message ---
--- Begin Message ---
Hi,
I managed to install go-pear on my win2000 desktop. To actually have the
installer work, I need to set the following 3 variables in the .bat file:
set PHP_BIN=
set BIN_DIR=
set PEAR_PATH=
%PHP_BIN% -C -d output_buffering=1 -d include_path=%PEAR_PATH% -f
%BIN_DIR%\pear -- %1 %2 %3 %4 %5 %6 %7 %8 %9
My installation looks like this:
C:\php
php.exe
pear\
PEAR.php
System.php
Mail.php
DB.php
PEAR\
XML\
etc...
My guess is:
set PHP_BIN= c:\php\phe.exe
set BIN_DIR= ??
set PEAR_PATH=c:\php\PEAR\
I am stuck at this point.
Thanks for your help,
Pascal
--- End Message ---