Re: [PHP] Plz help me

2004-12-06 Thread Richard Lynch
suneel wrote:
> Hi Every one...
>
> Straight to the topic...
>
> I have a template file called welcome.tmp. I
> want to show the whole file in a Iframe with
> dimensions of 250 x 250.(i.e., less dimensions
> ).
>
>  Is it possible using PHP. Or how should I approach to
> achieve this one.

You may want to look at 'webthumb' from the same folks who brought you GD.

It's a command line tool to snarf a web page and make it an image -- You
need X and a browser on your server to use it though, as I recall.

It's on my list of things to check out some day...

-- 
Like Music?
http://l-i-e.com/artists.htm

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



RE: [PHP] Plz help me

2004-12-03 Thread Vail, Warren
Assuming you want to show the template file text contents and not have the
file translated in any way in the iframe, you might check out;

http://www.php.net/manual/en/function.htmlspecialchars.php

If on the other hand you just want to show the translated template,, then
you want to point your IFRAME to the correct URL for that (more of an html
issue).

Warren Vail


> -Original Message-
> From: suneel [mailto:[EMAIL PROTECTED] 
> Sent: Friday, December 03, 2004 1:00 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Plz help me
> 
> 
> Hi Every one...
> 
> Straight to the topic...
> 
> I have a template file called 
> welcome.tmp. I want to show the whole file in a Iframe with 
> dimensions of 250 x 250.(i.e., less dimensions ).
> 
>  Is it possible using PHP. Or how should I 
> approach to achieve this one.
> 
> Thanks in advance.
> 
> Sun.
> 
> 

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



Re: [PHP] Plz help me

2004-12-03 Thread Greg Donald
On Sat, 4 Dec 2004 02:30:04 +0530, suneel <[EMAIL PROTECTED]> wrote:
> I have a template file called welcome.tmp. I want 
> to show the whole file in a Iframe with dimensions of 250 x 250.(i.e., less 
> dimensions ).
> 
>  Is it possible using PHP. Or how should I approach to 
> achieve this one.

I'd use HTML.

http://w3c.org/MarkUp/


-- 
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/

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