[PHP-DB] Substring ?

2003-03-20 Thread Dallas Freeman
I know how to use it with MySQL but how do you use the function
substring with a variable?
 
Thanks
 
Dallas Freeman


RE: [PHP-DB] Substring ?

2003-03-20 Thread Dallas Freeman
Dear Mark, 

Thanks for your note but no one really explains the function at all,
they just write the function and that's it.

Thanks for giving me the correct function name to use, from what I
found, substring was the name of the function.

Thanking You,

Dallas Freeman







-Original Message-
From: Snijders, Mark [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 20 March 2003 6:16 PM
To: 'Dallas Freeman'; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Substring ?

www.php.net

function: substr

and you'll see

please first search, then ask!



-Original Message-
From: Dallas Freeman [mailto:[EMAIL PROTECTED]
Sent: donderdag 20 maart 2003 9:13
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Substring ?


I know how to use it with MySQL but how do you use the function
substring with a variable?
 
Thanks
 
Dallas Freeman



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



[PHP-DB] PHP-DB Rocks

2003-03-20 Thread Dallas Freeman
Just a quick message to say that this email forum is the best I've seen.
 
Everyone responds quickly, the forum contains experts who really know
there stuff, and nobody will snob you off.
 
Thanks to those who have replied to my messages and to others.
 
It has been a really good learning experience to read other problems and
I will look forward to finishing Year 10, 11, and 12 to go to university
to do a web development related bachelor.


[PHP-DB] Don't Understand

2003-03-12 Thread Dallas Freeman
Help!
 
I don't understand how to use the gdImageCopyResized
 
gdImageCopyResized(gdImagePtr dst, gdImagePtr src, int dstX, int dstY,
int srcX, int srcY, int destW, int destH, int srcW, int srcH)
 
Thanking You
 
 
Dallas Freeman
 
* is there a simpler way to change the size of an image?


RE: [PHP-DB] Don't Understand

2003-03-12 Thread Dallas Freeman

Dear Mark, 

Thanks, very useful!  Can you direct me where for help on getting an
image to resize before it is even uploaded (inother words, it will
resize itself on the end-user's machine and then upload to the
database).

Thanking You,

Dallas Freeman












-Original Message-
From: Snijders, Mark [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 12 March 2003 9:09 PM
To: 'Dallas Freeman'; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Don't Understand

no there is no other way, and it is pritty easy if you get it..

i've made a special function for it, but got the code @ home

but read this:

http://www.php.net/manual/nl/function.imagecopyresized.php

and especially the user comments.. they are always very usefull

goodluck



-Original Message-
From: Dallas Freeman [mailto:[EMAIL PROTECTED]
Sent: woensdag 12 maart 2003 12:05
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Don't Understand


Help!
 
I don't understand how to use the gdImageCopyResized
 
gdImageCopyResized(gdImagePtr dst, gdImagePtr src, int dstX, int dstY,
int srcX, int srcY, int destW, int destH, int srcW, int srcH)
 
Thanking You
 
 
Dallas Freeman
 
* is there a simpler way to change the size of an image?




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



RE: [PHP-DB] Don't Understand

2003-03-12 Thread Dallas Freeman

By the looks of it, I will have to create something in Delphi or
some-type of web application.

Thanks,

Dallas Freeman









-Original Message-
From: mike karthauser [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 12 March 2003 9:50 PM
To: Dallas Freeman
Subject: Re: [PHP-DB] Don't Understand

on 12/3/03 11:45 am, Dallas Freeman at [EMAIL PROTECTED] wrote:

 Thanks, very useful!  Can you direct me where for help on getting an
 image to resize before it is even uploaded (inother words, it will
 resize itself on the end-user's machine and then upload to the
 database).

I very much doubt that a server side script can do this. You need
something
clientside. We use macromedia fireworks.

-- 
Mike Karthauser 
Managing Director - Brightstorm Ltd

Email[EMAIL PROTECTED]
Web  http://www.brightstorm.co.uk
Tel  0117 9426653 (office)
   07939 252144 (mobile)

SnailmailUnit 8, 14 King Square,
   Bristol BS2 8JJ




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



[PHP-DB] Cropped Text

2003-03-12 Thread Dallas Freeman
I dunno what it is called so that is why I am asking, so that I can
search the web about it.
What do you call the method of cropping text back, so that there are a
limited number of characters shown, the rest is cut off.

Thanking You,
Dallas Freeman
 




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



RE: [PHP-DB] Picture Upload

2003-03-11 Thread Dallas Freeman

 

I have asked my host to update the php software, as for now, I need to
know what the lines for changing the size of a picture is.  I couldn't
see any command lines for it, unless it is something different, I don't
know, so could you please show me.

I also need to know, if there is a possibility that php can change the
size of an image before it uploads it to the server (so it changes size
on the end-user's computer  not on the server - that way there would be
a shorter upload time).

Thanking You,




Dallas Freeman








-Original Message-
From: Luke Woollard [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 11 March 2003 4:17 PM
To: Dallas Freeman
Cc: PHP-db
Subject: RE: [PHP-DB] Picture Upload

use the GD Library functions - look up on php.net

The GD library is available from http://www.boutell.com/
It is included by default with PHP 4.3.x

NOTE: This is a question for [EMAIL PROTECTED]


-Original Message-
From: Dallas Freeman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 11 March 2003 5:07 PM
To: 
Subject: [PHP-DB] Picture Upload


Is there a possibility that you can resize an image before uploading to
the server?
 
If so, how?
 
Thanks,
 
 
Dallas Freeman



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



[PHP-DB] Picture Upload

2003-03-10 Thread Dallas Freeman
Is there a possibility that you can resize an image before uploading to
the server?
 
If so, how?
 
Thanks,
 
 
Dallas Freeman


[PHP-DB] images - BINARY - HTML

2003-03-06 Thread Dallas Freeman
Hey,
 
Just something easy, using a MySQL database, I don't know how to convert
Binary to a image file to be placed into html.
 
Could someone please help.
 
Thanks
 
 
Dallas Freeman
 
 


[PHP-DB] images - BINARY - HTML

2003-03-06 Thread Dallas Freeman
 
Please ignore my previous email, I figured out how.
 
Thanks anyways.
 
 
 
 
 
-Original Message-
From: Dallas Freeman [mailto:[EMAIL PROTECTED] 
Sent: Friday, 7 March 2003 1:51 AM
To: '[EMAIL PROTECTED]'
Subject: images - BINARY - HTML
 
Hey,
 
Just something easy, using a MySQL database, I don't know how to convert
Binary to a image file to be placed into html.
 
Could someone please help.
 
Thanks
 
 
Dallas Freeman