Private Label and Cobranded VoIP Solutions
BrainCast internet & phone based message/memo recording & reminder organization system
Internet Phone Service and Broadband Phone Service by ViaTalk

Go Back   VoIP Forums, Internet Phone Service Forums, & Web Hosting Forums > CoderForums - Programming Discussion > General Programming Issues > Programming Languages & Technologies > PHP

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-20-2002, 08:14 AM
marcdeblanck marcdeblanck is offline
Registered User
 
Join Date: Feb 2002
Posts: 9
PHP, MYSQL and making buttons

Does someone know how to use a image stored in MySQL for PHP to add text and output it to the brouwser. It seems to work with images stored on the disk, but not when i try to load it from MySQL.
Reply With Quote
  #2  
Old 03-07-2002, 10:14 AM
Pharcyde Pharcyde is offline
Registered User
 
Join Date: Mar 2002
Posts: 3
First off don't store your images in tha actual database....there really is no need. Just store pointers to the image on that server's HD
__________________
Yoda teaches grammar, he does.
Reply With Quote
  #3  
Old 03-08-2002, 12:20 PM
slade slade is offline
Registered User
 
Join Date: Feb 2002
Posts: 7
Or install GD and create the images on the fly.

www.php.net and search for the image functions in the documentation.

-Vic
Reply With Quote
  #4  
Old 03-09-2002, 06:07 AM
marcdeblanck marcdeblanck is offline
Registered User
 
Join Date: Feb 2002
Posts: 9
oké i can store images (link on my webspace) but i would use this for storing my buttons to generate on the fly and well i would like to know how just for fun and testing mysql/php.

Thanks for the replay. does anyone know how to upload an images to the site trough a form page???
Reply With Quote
  #5  
Old 05-28-2002, 07:12 PM
sweede sweede is offline
Registered User
 
Join Date: May 2002
Posts: 12
uploading images to the webroot, without strict file type checking is very insecure (many hosts do not allow this becuase you have to make directories world writable).

If you want users to upload files securely, upload them into MySQL.

look on www.phpbuilder.com on how to upload and store binary data in MySQL.
Reply With Quote
  #6  
Old 07-02-2002, 03:21 PM
{F}allen {F}allen is offline
Registered User
 
Join Date: Jul 2002
Posts: 12
Send a message via ICQ to {F}allen Send a message via AIM to {F}allen
GD is the only way i know, but its really cumbersome.
Reply With Quote
  #7  
Old 07-02-2002, 07:35 PM
daynah daynah is offline
Registered User
 
Join Date: Jul 2002
Posts: 15
http://www.phpbuilder.com/columns/rasmus19990124.php3 Here's an article on how to create images on the fly using gd and php.
__________________
PHP-Princess.net || Daynah.net

Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump