php-windows Digest 7 Apr 2002 13:27:24 -0000 Issue 1081

Topics (messages 12953 through 12957):

Re: imagecreatefrom functions
        12953 by: Ross Fleming
        12954 by: Ross Fleming

Re: whois servers
        12955 by: Arijit Chaudhuri

FastCGI ISAPI/NSAPI update
        12956 by: Shane Caraveo

PHP script - Not going...
        12957 by: Gordon Stewart

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 ---
RTM, according to the manual, you need the GD extention installed to create
and write to gif's, but you can get info for images without the extention.
also, it says that the gd extention needs to be v1.6 or below to support the
gif functions.

Ross

-----Original Message-----
From: bene [mailto:[EMAIL PROTECTED]]
Sent: 06 April 2002 15:54
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] imagecreatefrom functions


Fatal error: Call to undefined function: imagecreatefromgif()

this is the error which always comes when i try to create an image from
gif,jpeg or png ...

i am using php version 4.1.2 on the iis 5.1

i also tryed the php_gd.dll as an extentiion, but i thought that i don't
need this extention anymore in php version 4.1.2 ...

is there anybody who can help me to solve the problem?

thanks



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
Further to my answer, I did a few tests, without the php_gd.dll module, I
got:
"call to undefined function"

with the php_gd.dll included, I got:
"No GIF support in this PHP build"

Don't know where you'd get an older version of php_gd.dll, maybe an older
version of PHP would have it?  Either that or can you use PNG images?
Because the php_gd module either supports one or the other.  <=v1.6 supports
.gif, >v1.6 supports .png

A quick search of google found a version of php_gd.dll but I couldn't get it
to work properly.  Perhaps someone reading this would be so kind to forward
a working link?

Ross



-----Original Message-----
From: bene [mailto:[EMAIL PROTECTED]]
Sent: 06 April 2002 15:54
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] imagecreatefrom functions


Fatal error: Call to undefined function: imagecreatefromgif()

this is the error which always comes when i try to create an image from
gif,jpeg or png ...

i am using php version 4.1.2 on the iis 5.1

i also tryed the php_gd.dll as an extentiion, but i thought that i don't
need this extention anymore in php version 4.1.2 ...

is there anybody who can help me to solve the problem?

thanks



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
Thanks a lot. It looks good. Will also look forward to the other site you
mentioned.

Regards,
Arijit

"Piotr Pluciennik" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> try this: http://www.geektools.com/cgi-bin/proxy.cgi
>
> I also found a site with more options but today, at home computer I don't
> remember and haven't got it... I'll try to check it in my office on monday
and
> then will send to you.
>
> HTH
>
> Piotr
>
>
> Arijit Chaudhuri wrote:
>
> > Hi all,
> >
> > I am looking for whois servers, specially for new domains like .biz,
.name
> > and obscure ones like .la and .cc. Is there one server where I can get
all?
> > Can look up registration details in separate registers but one server
will
> > speed up the search.
> >
> > Regards,
> > Arijit
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>


--- End Message ---
--- Begin Message ---
I've posted a minor update that fixes a problem handling small post 
data.  The update in both source and binary are available at 
www.caraveo.com/fastcgi/

Regards,
Shane Caraveo

--- End Message ---
--- Begin Message ---
Ive been using Mysql/PHP for a short while - I sent this messaghe to a big
PHP group (not enough users though)  about a week ago - No reply...

Can anyone help..
PS - Slingshot.co.nz doesnt have PHP - its just a text file.. - Save to your
own  SQL server & test, Or just review the code - No viruses or anything..

Thanks.

G.
[EMAIL PROTECTED]

---------



http://homepages.slingshot.co.nz/~gordon52/4.txt

Ive been learning MySql for about 1 week now - & joined a MySql
group - but some questions I ask are more PHP related & not directly
involving MySQL..

anyway, for my big test script, Ive got the above URL

Just 'view source' to view the PHP scripting language...

when running, it searches your databases & brings up a list of active
databases.

When selected, it brings up a list of tables within the database..

(those two functions are ok..)

Now - in the script, - near the top, it says :-

if ($action =='tables'){ <<< (start of problem area..)

Now - when you select the table, it displays all the names of each
column, within the table. (that part works..)


it has :- $tot=$i; - $tot now holds the number of columns in that
table - For my example on my PC, it held the number '17' which is
correct.


it now has 2 'loops'...

a) for ($count = 1; $row = mysql_fetch_row ($query_result_handle);
++$count)

b) for ($counta = 1; $tot; ++$counta)

Loop a, loops through the 4 rows of the database.

Loop B, displays all (17) of the colmns for each row...


Now - Problems

1) When my script runs, it is VERY fast - Doing things normally.
- EXCEPT - when it comes to the 2 loops.. - it goes Very slow - I
realise its got to do 2 sets of loops - but its going at a much
slower rate than if i did the same loops, on another programming
language.

2) It only displays the 1st row of my data.. - For the example
database i tested, I knew it had 4 rows.

problem questions :-

a) Is my looping correct - Or can anyone find a loop-hole / problem
in my programming. (Im not telling you if the pun was intentional or
not.)


PS - Ive now realised something, & changed my line from :-

for ($counta = 1; $tot; ++$counta)

to

for ($counta = 1; $row = mysql_fetch_row ($query_result_handle);
++$counta)


- now my script is really fast - However it doesnt show much of the
1st line of data :-(

PS, the uploaded one (URL above) - doesnt show the change - as yet..

Can anyone advise what im doing wrong ?

G.










--- End Message ---

Reply via email to