[PHP-DB] CLOSE button or link

2005-12-21 Thread Ron Piggott (PHP)
I am building a Christian ministry web site.

One of the things we are establishing is an online offering basket to
receive donations.  One of our disbursements is a benevolent fund to
help others.

I have a 'how we operate our benevolent fund' web page online at
http://www.actsministrieschristianevangelism.org/financial/how_we_operate_our_benevolent_fund.html

I also have this file set to load from our online offering basket web
page at
http://www.actsministrieschristianevangelism.org/financial/online_offering_basket.html
 as a pop up window by clicking a submit button.

What I really want to have happen is for the CLOSE WINDOW button to
appear when this is loaded as a pop up window from our
online_offering_basket.html file and if the web page is loaded directly
then the link to our Online Offering Basket appear for the user to get
back into our web site.  

Do you know how to do this?

Ron

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



RE: [PHP-DB] Displaying bitmap images from an MS SQL db in a php page

2005-12-21 Thread Bastien Koert
The problem is that the header for images needs to be set correctly for the 
binary data to be show correctly.  Example below is for mysql, so you should 
only need to change the image header and the db calls to reflect mssql...


Here are the two working pages (tested my machine (xp, apache2, php4.3.9 
mysql 4.01.x)


In the areas for the db query you will see the notation

$result = connect(sql);

connect is a custom function to handle all db interatction that is separate 
from the pages and included in the conn.php file. There is another example 
with that function in my previously posted code samples.


   ";

 echo "\n";


   };
   ?>



   


Bastien



From: [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] Displaying bitmap images from an MS SQL db in a php page
Date: Wed, 21 Dec 2005 10:17:11 -0500

I am using an MS SQL db to store records which include an column of type
"image".   I can get the image into the table correctly, and I can get it
out and make a .bmp file out of it, but I would like to pull the bitmap
out of the column and display it directly on a page as an image. I have
been going through the 'Image' section of the documentation on the php
site, but I am not sure what approach to take. Anyone accomplished this,
or something similar?

Thanks,

-Fenn


---
IMPORTANT NOTIFICATION
---
The contents of this e-mail and its attachments are confidential and may be 
privileged.  If you are not the intended recipient of this e-mail, please 
notify IDX immediately (by return e-mail to either the sender or 
[EMAIL PROTECTED]), destroy all copies of this message along with any 
attachments and do not disclose, copy and/or distribute the contents.  The 
views expressed in this message are those of the author and not necessarily 
those of IDX.  In the absence of a prior written agreement with you 
authorizing commitments of IDX via e-mail, the above message shall not bind 
IDX, unless from a duly authorized officer of the company in a context 
indicating an intention to bind the company.


This e-mail and its attachments are protected by copyright and other laws. 
(c) IDX Systems Corporation 2005.  All rights reserved.  IDX is a 
registered trademark of IDX Investment Corporation.




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



[PHP-DB] Displaying bitmap images from an MS SQL db in a php page

2005-12-21 Thread Fenn_Rider
I am using an MS SQL db to store records which include an column of type 
"image".   I can get the image into the table correctly, and I can get it 
out and make a .bmp file out of it, but I would like to pull the bitmap 
out of the column and display it directly on a page as an image. I have 
been going through the 'Image' section of the documentation on the php 
site, but I am not sure what approach to take. Anyone accomplished this, 
or something similar?

Thanks,

-Fenn


---
IMPORTANT NOTIFICATION
---
The contents of this e-mail and its attachments are confidential and may be 
privileged.  If you are not the intended recipient of this e-mail, please 
notify IDX immediately (by return e-mail to either the sender or [EMAIL 
PROTECTED]), destroy all copies of this message along with any attachments and 
do not disclose, copy and/or distribute the contents.  The views expressed in 
this message are those of the author and not necessarily those of IDX.  In the 
absence of a prior written agreement with you authorizing commitments of IDX 
via e-mail, the above message shall not bind IDX, unless from a duly authorized 
officer of the company in a context indicating an intention to bind the 
company. 

This e-mail and its attachments are protected by copyright and other laws. (c) 
IDX Systems Corporation 2005.  All rights reserved.  IDX is a registered 
trademark of IDX Investment Corporation.