[PHP] Re: make an image disappear when page loads
You say has loaded, do you mean dynamic without submitting? If so, the answer is dhtml, fx JavaScript. /egil Diana Castillo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] does anyone know how I can put an image on a page that disappears when the data that I wanted to get has loaded? -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Ext 216 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com http://www.destinia.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: make an image disappear when page loads
OK, so I guess you want to use plain php with submitting. Use if-statement to check the wanted data. If so, don't echo the html-text. /egil Diana Castillo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] what do you mean by fx Javascript ? what I want really is something like what happens on this page when you search for a flight, http://www.expedia.net/daily/home/default.asp an in between page comes on until the information about flights is loaded. how can I do that with php? Egil Berntsen [EMAIL PROTECTED] wrote in message news:20040705161311.8570.qmail@ pb1.pair.com... You say has loaded, do you mean dynamic without submitting? If so, the answer is dhtml, fx JavaScript. /egil Diana Castillo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] does anyone know how I can put an image on a page that disappears when the data that I wanted to get has loaded? -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Ext 216 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com http://www.destinia.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: I don't want to use include
I sometimes use JS to open a new window outside the screen and close it at the bottom. Qt [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dear Sirs, When I use include, my script is waiting included script results. But I just want to run another local script without wait result. Which command I should to use? Best Regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] open rtf in IE
I generate and save a rtf file with php in my MySQL db. Is it possible to open this file in IE? thanks /egil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] problems with images
I make som images on-the-fly with php. Scandinavian spesial characters comes out with a square instead. I use a font that I have placed on root. What can I do to fix this? egil berntsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] images and charset
I put some text from my mysql-db into images(jpeg and png) that I build on the fly. When I do this I have som problem with norwegian spesial charakter, they dont show properly in the images. If I put the same text directly to the browser window this will show correctly. What do I need to do to get this right? thanks egil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php/mysql/jpeg/rtf
Mayby this is the wrong place to ask, I'll try anyway. I have some jpeg pictures in my MySQL-db that I want to put into a rtf file. Is there anyone out there that have done something like this? egil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] imagejpeg
Thanks. This is exactly what I needed. Never save the file, just put it into the db. egil - Original Message - From: Jason Wong [EMAIL PROTECTED] Newsgroups: php.general To: [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 9:17 AM Subject: Re: [PHP] imagejpeg On Wednesday 12 November 2003 00:34, Egil Berntsen wrote: My site need to create some images on-the-fly(with user data) for every user but I have some problem with the creating of the jpeg-image. I put these images in my MySQL database for later use. This have to do somthing with write protection because this is not a problem when I'm working on localhost. The problem comes on .com. I'm trying this: $image = imagecreate(100,100); {some drawing} $fname=filename.jpg; ImageJPEG($image, $fname); {database} ImageDestroy($image); unlink($filename); And get this: Warning: imagejpeg(): Unable to open 'filename.jpg' for writing in ... If you're going to be storing it in the DB then there's no need to write to a file first. Use the output buffer controls (manual Output Control Functions) to capture the output of imagejpeg($image) and insert into the DB (after appropriate sanitation). -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* You have taken yourself too seriously. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] imagejpeg
My site need to create some images on-the-fly(with user data) for every user but I have some problem with the creating of the jpeg-image. I put these images in my MySQL database for later use. This have to do somthing with write protection because this is not a problem when I'm working on localhost. The problem comes on .com. I'm trying this: $image = imagecreate(100,100); {some drawing} $fname=filename.jpg; ImageJPEG($image, $fname); {database} ImageDestroy($image); unlink($filename); And get this: Warning: imagejpeg(): Unable to open 'filename.jpg' for writing in ... egil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php