php-general Digest 8 Dec 2001 23:52:35 -0000 Issue 1041

Topics (messages 77111 through 77131):

Re: Costum Error Page
        77111 by: Valentin V. Petruchek
        77114 by: Daniel Urstöger
        77118 by: Papp Gyozo
        77125 by: Andrew Brampton
        77128 by: Rasmus Lerdorf

Re: fopen to check if file exists
        77112 by: Valentin V. Petruchek

Re: Getting started - what do I need?
        77113 by: administrator
        77115 by: Bharath Bhushan Lohray

R: [PHP] fopen to check if file exists
        77116 by: moe

Re: WDDX
        77117 by: Rouvas Stathis
        77119 by: Papp Gyozo

Shopping project with quantity discounts
        77120 by: Girish Nath

simple regexp question - validating new line chars
        77121 by: Krzysztof Jarecki
        77122 by: Jack Dempsey

Sorting Multidimensional Array..second dimension has 12 elements
        77123 by: J. Roberts

Re: copy image from database
        77124 by: Thomas
        77126 by: Andrew Brampton

Flash jpeg/gif/bmp
        77127 by: lists.mhess.qn.net

SQL Query Question
        77129 by: Andrew Brampton

update mysql record
        77130 by: gee

How do I check GD version?
        77131 by: Torkil Johnsen

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 ---
Use $QUERY_STRING instead


----- Original Message -----
From: "Daniel Urstöger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 08, 2001 1:51 PM
Subject: Re: [PHP] Costum Error Page


> Opps, sorry, I had a bug, now I have this problem:
> Browser is showing this URL:
> http://yourdomain.com/play/404.php
> and so the REQUEST_URI is:
> /play/404.php
>
> But I would need the requested file, before apache redirected to
> the 404.php
> Is this possible as well ?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>



--- End Message ---
--- Begin Message ---
thx for your help ..
But I cannot get this running ..
Not with getenv nor with the variable itself :(

Could you give me a short example ? Would really help me much ! :)
thx and cya ...


--- End Message ---
--- Begin Message ---

there is an example in the apache docs or httpd.conf samples 
how to pass to error script the original request uri, ins't there any?


----- Original Message ----- 
From: "Ashley M. Kirchner" <[EMAIL PROTECTED]>
To: "Daniel Urstöger" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, December 08, 2001 4:02 AM
Subject: Re: [PHP] Costum Error Page


| "Daniel Urstöger" wrote:
| 
| > How could I check, which file apache tried to access, and didn´t found ?
| > That would be a pretty nice function for my PHP skript ..
| 
|     Check your REQUEST_URI variable.
| 
| --
| H | "Life is the art of drawing without an eraser." - John Gardner
|   +--------------------------------------------------------------------
|   Ashley M. Kirchner <mailto:[EMAIL PROTECTED]>   .   303.442.6410 x130
|   Director of Internet Operations / SysAdmin    .     800.441.3873 x130
|   Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave, #6
|   http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.
| 
| 
| 
| -- 
| PHP General Mailing List (http://www.php.net/)
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
| To contact the list administrators, e-mail: [EMAIL PROTECTED]
| 
--- End Message ---
--- Begin Message ---
how about you make a phpInfo() page, and set that as 404 error, then you can
find the correct variable to use :)

Andrew
----- Original Message -----
From: "Daniel Urstöger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 08, 2001 12:43 PM
Subject: Re: [PHP] Costum Error Page


> thx for your help ..
> But I cannot get this running ..
> Not with getenv nor with the variable itself :(
>
> Could you give me a short example ? Would really help me much ! :)
> thx and cya ...
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>

--- End Message ---
--- Begin Message ---
Just put a phpinfo() call in your 404.php page and see for yourself.

On Sat, 8 Dec 2001, Daniel Urstöger wrote:

> Opps, sorry, I had a bug, now I have this problem:
> Browser is showing this URL:
> http://yourdomain.com/play/404.php
> and so the REQUEST_URI is:
> /play/404.php
> 
> But I would need the requested file, before apache redirected to
> the 404.php
> Is this possible as well ?
> 
> 
> 
> 

--- End Message ---
--- Begin Message ---
I've tested given url..
If there is no image php script return file = '139'.
Check if file content is different from 139.

or try to get image size of file:
$size = GetImageSize
("http://waptopic.supereva.it/loghiesuonerie.it/LogoGen.php?id=1100";);

and check what happens if there is no image....

Zliy PEs, http://www.zliypes.com.ua


----- Original Message -----
From: "moe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 08, 2001 1:48 PM
Subject: [PHP] fopen to check if file exists


> I am using this function:
>
> function isAfile($url){
>     $fp = @fopen("$url","r");
>     if ($fp)
>       { //print "The file exists!";
>       return 1; }
>     else
>       { //print "The file does not exist";
>     return 0; }
>  }
>
> to check if a remote file exists... now the problem is that the URL's i am
> trying to check are in this way:
> http://waptopic.supereva.it/loghiesuonerie.it/LogoGen.php?id=1100
> The problem is that LogoGen.php exists but depending on the ID the image
may
> exists or not.
> How can i actually check if the image exists?
> Thanks anyone!
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


--- End Message ---
--- Begin Message ---
Hi there,

I found this site very useful for lots of  "help-me-up-the-learning-curve" tutorials.

http://perl.about.com/cs/beginningphp/

C:o)


Indera wrote:

> Hello,
>
> I have never used php or mysql before and want to know what tools I should use so 
>that I can start
> learning php and mysql. I would like to build basic things like a login page and 
>forms that append
> the data to a database. I went to the bookstore and think the book PHP fast and easy 
>web development
> is something that I could handle. I've read through some of the posts on this news 
>group and
> realized that there are tools that I can use as front ends for these packages. I 
>went to mysql.com
> and php.net and it seems that i can download both of these packages to my computer 
>for free. Any
> help would be greatly appreciated.
>
> Thanks
> Indera

--- End Message ---
--- Begin Message ---
Fellows who suggested php triad were right!! It is a good option to
downloading PHP, MySQL and Apache!!

Php Comprhensive docs..
www.php.net/download-docs.php

Php tutorials by v s babu-- http://vsbabu.org/tutorials/php/
(you can download it --very good)


"Indera" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> I have never used php or mysql before and want to know what tools I should
use so that I can start
> learning php and mysql. I would like to build basic things like a login
page and forms that append
> the data to a database. I went to the bookstore and think the book PHP
fast and easy web development
> is something that I could handle. I've read through some of the posts on
this news group and
> realized that there are tools that I can use as front ends for these
packages. I went to mysql.com
> and php.net and it seems that i can download both of these packages to my
computer for free. Any
> help would be greatly appreciated.
>
> Thanks
> Indera
>
>


--- End Message ---
--- Begin Message ---
what do you mean that it returns file= '139'?
you are talking about the id? please can you explain me better?

Valentin V. Petruchek <[EMAIL PROTECTED]> wrote in message
002101c17fdf$2ed881a0$[EMAIL PROTECTED]
> I've tested given url..
> If there is no image php script return file = '139'.
> Check if file content is different from 139.
>
> or try to get image size of file:
> $size = GetImageSize
> ("http://waptopic.supereva.it/loghiesuonerie.it/LogoGen.php?id=1100";);
>
> and check what happens if there is no image....
>
> Zliy PEs, http://www.zliypes.com.ua
>
>
> ----- Original Message -----
> From: "moe" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, December 08, 2001 1:48 PM
> Subject: [PHP] fopen to check if file exists
>
>
> > I am using this function:
> >
> > function isAfile($url){
> >     $fp = @fopen("$url","r");
> >     if ($fp)
> >       { //print "The file exists!";
> >       return 1; }
> >     else
> >       { //print "The file does not exist";
> >     return 0; }
> >  }
> >
> > to check if a remote file exists... now the problem is that the URL's i
am
> > trying to check are in this way:
> > http://waptopic.supereva.it/loghiesuonerie.it/LogoGen.php?id=1100
> > The problem is that LogoGen.php exists but depending on the ID the image
> may
> > exists or not.
> > How can i actually check if the image exists?
> > Thanks anyone!
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
>
>


--- End Message ---
--- Begin Message ---
Browsers discard whatever tags they don't understand.
They don't grok WDDX tags, so only the string is displayed.
View source and it all should be there.

-Stathis.

con pulpa wrote:
> 
> Hi EVERYONE!
> 
> I'm running RH7.1 with PHP version 4.04pl1 and
> Apache1.3.19-5. A simple php script <?php phpinfo(); ?>
> tells me that the library is configured with the
> '--enable-wddx' and '--with-xml' options.
> 
> I'm using netscape4.76 and konqueror(kde 2.1.1) browser.
> 
> Now running a slightly more complicated script from one of
> the online tutorials
> 
> <?php
> $one_var = "I was serialized on 2001-12-08";
> print wddx_serialize_value($one_var);
> ?>
> 
> I find that it produces no output at all!
> There are no errors reported in the log files...
> 
> Then, if I put an echo statement before the print:
> <?php
> echo "==>WDDX Test";
> $one_var = "I was serialized on 2001-12-08";
> print wddx_serialize_value($one_var);
> ?>
> 
> I get the following output.
> ==>WDDX Test I was serialized on 2001-12-08
> 
> I'm not too concerned about this wierd behaviour;
> However, I was expecting this code to produce something
> dressed in XML:
> 
> <wddxPacket version='0.9'>
> <data>
> <string>I was serialized on 2001-12-08</string>
> </data>
> </wddxPacket>
> 
> Can anyone help me?
> 
> Thanks, Conpulpa
--- End Message ---
--- Begin Message ---
What do you get as result from a 'Show source...' in your browser?

AFAIK, NS4.76 does not display unrecognized HTML element, and it
treats your script's output as HTML source.

try:
<?php print (htmlspecialchars(wddx_serialize_value($one_var))); ?>

----- Original Message ----- 
From: "con pulpa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 08, 2001 11:57 AM
Subject: [PHP] WDDX


| Hi EVERYONE!
| 
| I'm running RH7.1 with PHP version 4.04pl1 and
| Apache1.3.19-5. A simple php script <?php phpinfo(); ?>
| tells me that the library is configured with the
| '--enable-wddx' and '--with-xml' options.
| 
| I'm using netscape4.76 and konqueror(kde 2.1.1) browser.
| 
| Now running a slightly more complicated script from one of
| the online tutorials
| 
| <?php
| $one_var = "I was serialized on 2001-12-08";
| print wddx_serialize_value($one_var);
| ?>
| 
| I find that it produces no output at all!
| There are no errors reported in the log files...
| 
| Then, if I put an echo statement before the print:
| <?php
| echo "==>WDDX Test";
| $one_var = "I was serialized on 2001-12-08";
| print wddx_serialize_value($one_var);
| ?>
| 
| I get the following output.
| ==>WDDX Test I was serialized on 2001-12-08
| 
| I'm not too concerned about this wierd behaviour;
| However, I was expecting this code to produce something
| dressed in XML:
| 
| <wddxPacket version='0.9'>
| <data>
| <string>I was serialized on 2001-12-08</string>
| </data>
| </wddxPacket>
| 
| Can anyone help me?
| 
| Thanks, Conpulpa
| 
| 
| 
| 
| 
| 
| _________________________________________________________________
| Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
| 
| 
| -- 
| PHP General Mailing List (http://www.php.net/)
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
| To contact the list administrators, e-mail: [EMAIL PROTECTED]
| 
--- End Message ---
--- Begin Message ---
Hi

I'm working on a shopping project which involves a complex pricing model
with discounts by product quantity threshold as well as customer specific
discounts.

Has anyone got experience of this or point me in the right direction with
regards to the database layout and theory behind this.

Thanks


Girish

--- End Message ---
--- Begin Message ---
Hi everyone:)

I need to validate a string that comes from a submitted form.
There's nothing unusual in it... but the problem part showes up, when I
need to validate a new line character...
I have tried many diffrent variations of the code and I have
ended up on something VERY simple:

<?php
$regexp='\n';
$text="\n";
echo $text;
if (true==eregi($regexp, $text))
{
 echo 'ok';
}
else
{
 echo 'error';
}
?>

Unfortunately this script results with "error" ;(
Does somebody know how to make this regexp to work?
Maybe it is a bug?
I am using php 4.0.6 on windows 2000.

I will appreciate any feedback about this ;)

Chris Jarecki


--- End Message ---
--- Begin Message ---
that's because you're testing to see if '\n' is "\n"...single quotes mean:
interpret the text between literally, so '\n' is a backslash followed by
n...doulbe quotes mean: interpolate the value, so \n becomes a newline...

-----Original Message-----
From: Krzysztof Jarecki [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 08, 2001 12:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP] simple regexp question - validating new line chars


Hi everyone:)

I need to validate a string that comes from a submitted form.
There's nothing unusual in it... but the problem part showes up, when I
need to validate a new line character...
I have tried many diffrent variations of the code and I have
ended up on something VERY simple:

<?php
$regexp='\n';
$text="\n";
echo $text;
if (true==eregi($regexp, $text))
{
 echo 'ok';
}
else
{
 echo 'error';
}
?>

Unfortunately this script results with "error" ;(
Does somebody know how to make this regexp to work?
Maybe it is a bug?
I am using php 4.0.6 on windows 2000.

I will appreciate any feedback about this ;)

Chris Jarecki



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
I have a 2 dimensional array...with the second dimension having 
12 elements.  What I want to do is sort (and re-sort) they array
by one of the 12 elements...keeping data consistent.

All of the examples I have read @php.net seem to deal with 
multidim-arrays that only have one element in them.

Here is a cut-n-paste of a print_r() of my array:
---------begin paste--------------------------------------
Array
(
    [barnhij] => Array
        (
            [name] => Jeremy Barnhill
            [toi] => 5855
            [pdk] => 1456
            [tpdk_trans] => 40169
            [tpallm_trans] => 17430
            [terrors] => 174
            [total_trans] => 57599
            [pct] => 97.03
            [modpct] => 98.3630
            [pdk_pct] => 69.74
            [pallm_pct] => 30.26
            [trans_per_req] => 9.84
        )

    [clarkm10] => Array
        (
            [name] => Michelle Clark
            [toi] => 1971
            [pdk] => 402
            [tpdk_trans] => 15427
            [tpallm_trans] => 9970
            [terrors] => 97
            [total_trans] => 25397
            [pct] => 95.08
            [modpct] => 97.3484
            [pdk_pct] => 60.74
            [pallm_pct] => 39.26
            [trans_per_req] => 12.89
        )

    [humphrj5] => Array
        (
            [name] => Jill Humphries
            [toi] => 6104
            [pdk] => 1002
            [tpdk_trans] => 42759
            [tpallm_trans] => 28907
            [terrors] => 125
            [total_trans] => 71666
            [pct] => 97.95
            [modpct] => 98.8889
            [pdk_pct] => 59.66
            [pallm_pct] => 40.34
            [trans_per_req] => 11.74
        )

    [roberj15] => Array
        (
            [name] => Jamison Roberts
            [toi] => 7132
            [pdk] => 1524
            [tpdk_trans] => 52542
            [tpallm_trans] => 42311
            [terrors] => 46
            [total_trans] => 94853
            [pct] => 99.36
            [modpct] => 99.6533
            [pdk_pct] => 55.39
            [pallm_pct] => 44.61
            [trans_per_req] => 13.30
        )

)

-----------------------end paste---------------------------------

Hope this is clear,
Thanks - Jamison.
--- End Message ---
--- Begin Message ---
"copy" copies file to file, not data to a file (creating files).

You should look at using fopen() and fwrite() instead. You may also want
to check the returned value from these functions to see if an error
occurred.


--- End Message ---
--- Begin Message ---
read the specs on copy() it copys a source file to a destination file...
You are not copying files!... You should use something like fwrite to write
the contents of $image to a file...

Andrew
----- Original Message -----
From: "Jan Grafström" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 08, 2001 8:28 AM
Subject: [PHP] copy image from database


> Hi!
> I have images in my DB and want to write them to disk. I tried to copy but
> nothing happend,
> the image only pops up in my browser with "echo". I want it saved in a
> directory on my server.
> -----
> $query = "select bin_data,filetype from $table where id=$id";
> $result = @MYSQL_QUERY($query);
> $image = @MYSQL_RESULT($result,0,"bin_data");
> echo $image;
> $destfile="image.jpg";
> copy($image,$destfile)
> -----
> Thanks for any help
> Regards,
> Jan
> --
> Jan Grafström
> Lillemans Hus AB
> Sweden
> 46 (0)611-60920
> 46 (0)70-6409073
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>

--- End Message ---
--- Begin Message ---
Does anyone know of a tool to export a frame of a Flash movie to a flat
image file on the client-side? I want users to be able to set the last
frame of my flash movie as their wallpaper.

The only way I know of doing this is to use PHP to re-build the Flash
frame by receiving coordinates from the Flash movie, and having GIFs of
all the movie's symbols on the server.

However, this solution would probably take me an afternoon to do, so if
you know of a tool, or a quick script please let me know.

Thanks,
Michael


--- End Message ---
--- Begin Message ---
Hi,
This isn't a php question, more of a SQL question, but I don't know any where better 
to send it, and I guess its trival enough for someone here to answer.

Anyway, I have a list of members each with a score field. How can I say that Member 3 
is ranked 10 out of 100 members for example.

Here is the layout of the members table:
ID, Name, Score

I can get the total count of members in the table, but I don't know how to determine 
what rank they are, unless I return all the rows in the table (sorted), and cycle 
through them until I find the member I want, counting how many people are above him... 
This method would work, but would be slow (and wastful), is there a better way to 
determine his position with a SQL Query?

Thanks in advance
Andrew

P.S
If it matters I'm using MySQL & PHP 4.0.6 on WinXP under Apache 1.3.22
--- End Message ---
--- Begin Message ---

Newbie is trying to edit a mysql record on my local machine using mysql
3.23.34 and PHP 4.04
and nothing gets updated after changes are made.
I would be most grateful for any help
Thank you
Gee.

<html>
<head>
</head>
<body>
<table border=0 cellpadding=4 cellspacing=0 width=730 align=center>
<? echo "<form method='post' action='$PHP_SELF'>"; ?>
<?
include("matai.inc");

mysql_connect(localhost,$user,$password);

$query1 = "select * from $table where id = '$id'";

$result1 = mysql_db_query('matai',$query1);

while($row = mysql_fetch_object($result1)) {

print "<tr><td align=right>Latin Name:</td><td align=left> <input type=text
name='latin_name' value='$row->latin_name'></td></tr>";
print "<tr><td align=right>Common Name:</td><td align=left> <input type=text
name='common_name' value='$row->common_name'></td></tr>";
print "<tr><td align=right>Description:</td><td align=left> <input type=text
name='description' value='$row->description'></td></tr>";
print "<tr><td align=right>Height:</td><td align=left> <input type=text
name='height' value='$row->height'></td></tr>";
print "<tr><td align=right>Growth Rate:</td><td align=left> <input type=text
name='growth_rate' value='$row->growth_rate'></td></tr>";
print "<tr><td align=right>Soil Requirement:</td><td align=left> <input
type=text name='soil_requirement'
value='$row->soil_requirement'></td></tr>";
print "<tr><td align=right>Price 100:</td><td align=left> <input type=text
name='price100' value='$row->price100'></td></tr>";
print "<tr><td align=right>Price 200:</td><td align=left> <input type=text
name='price200' value='$row->price200'></td></tr>";
print "<tr><td align=right>Price 1000:</td><td align=left> <input type=text
name='price1000' value='$row->price1000'></td></tr>";

$id = $row->id;
}
echo "</table><p>";
echo "<br><input type=hidden name='id' value='$id'>";
?>
<table border=0 cellpadding=4 cellspacing=0 width=730 align=center>
<input type=submit name="change" value="Update record">

</form>

<?

if ($change) {
    //Do some error-checking first
    if($latin_name == "" || $common_name == "" ) {
        die("<b>You left one or more fields blank.</b>");
    }

    $sql = "UPDATE matai SET cat='$cat', latin_name='$latin_name',
common_name='$common_name',
            description='$description', height='$height',
growth_rate='$growth_rate', soil_requirement='$soil_requirement',
price='$price', frost_tolerance='$frost_tolerance', price100='$price100',
price1000='$price1000', onelitretubes='$onelitretubes',
price200='$price200', fivelitrepots='$fivelitrepots', price10='$price10',
Flowering_Season='$Flowering_Season', price500='$price500'

   where id='$id'";
    mysql_db_query('matai',$sql);
    echo "<b>Your record has been updated</b></p>";

 }
mysql_close();
?>
<a href='modconifers.php'><b>View updated database</b></a>
</table>
</body>
</html>



--- End Message ---
--- Begin Message ---
Cheers all...

This mail got rather long, so here are my 3 questions in a short version:
1) What is GD? (fore use with imagecopyresampled function)
2) How can I run a function that will tell me what version of GD is
installed on my server, if any version at all?
3) Anyone know of some good hosts out there which has got all of this under
control? (basically people who has a clue about what they're doing)



The long version:
As many of us I am buying my hosting services and paying a monthly sum for
it. (sigh... yes) I am working on using a function to make thumbnails out of
uploaded images, and I see from the php manual that many of those have been
made already.

I can also read that ImageResample gives a much better result than
ImageResized. (ImageCopyResampled and ImageCopyResized maybe the names
were...)

I also see that I need something called GD to use the resampled function.
Well I tried searching the php site for some clue as to what GD is. I didn't
find much there (hard to search when the query is shorter than 3 letters).

So I was looking for a brief explenation as to what GD is.

Also: Could anyone point me in the direction of a function that would tell
me if my server has this GD thing installen and if it does: What version it
is running.

Just like PHP has its version info function...

Its so much easier than writing those damn hosting people and ask them. They
might not even know....

And on that subject: Anyone know of some really good hosts out there which
has got some clue as to how to set up a server properly and how to ... ehem
... fulfill every clients little needs :) ??

Lots of questions? heh. So I wrote a short version on the top.

- Torkil

--- End Message ---

Reply via email to