[PHP] PHP Sessions

2003-10-25 Thread Phil King
Hi All, I have a login page that which verifies he username & password against a MySql database and then passes the username to another page as a session. I created this on my PC, which is running PHP version 4.3.2, and it works with no problem. My host has the following set on the server which

Re: [PHP] Displaying Blobs by a newbie

2003-09-14 Thread Phil King
Hi Curt, Thanks for the tip. I created the two scripts . The image tag on the main page calls the image from the other script with an incremented id parameter. Thanks for your help. Phil. "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrot

Re: [PHP] Displaying Blobs by a newbie

2003-09-13 Thread Phil King
jpeg format. > > I'd try; > > fetching the db column in to a string variable; > > then; > > $im = imagecreatefromstring($imagestring); > header ("Content-type: image/jpeg"); > imagejpeg($im); > imagedestroy($im); > > good luck, > > Warren Va

[PHP] Displaying Blobs by a newbie

2003-09-12 Thread Phil King
Hi All, I have some images in a mysql database. I wish to display all these images on a PHP Page. I have created a query to retrieve all the images from the database but all that is displayed is characters. I have the Content-Type as image/jpeg in the header of the page to display the images. Ca

Re: [PHP] Newbie Question

2003-08-22 Thread Phil King
Hi Everyone, Thanks a lot for all your advice, I really appreciate it. PHP / mysql is new to me so excuse my ignorance of the subject.. I will go get phpMyAdmin and give it a whirl. Thanks again. Phil. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] Newbie Question

2003-08-21 Thread Phil King
ocate it in a secure portion of your site. > It's an excellent gui interface into mySQL. This tool will allow you to > upload the script file and insert the data. I'm sorry, but I don't know the > URL where to get it. Check sourceforge. > > Robbert van Andel > > &

[PHP] Newbie Question

2003-08-21 Thread Phil King
Hi, I 'm in the process of modify one of my sites to use PHP/mysql instead of ASP/Ms Access. The Access database has 200 records in it. I have PWS, mysql and PHP running on my local PC. I have used Navicat from mysqlstudio.com to import the access database into mysql and then exported the data