Reply to Re: Generating Page Preview

Your name:

Reply:


Posted by Sandman on 09/14/05 14:57

In article <1lqkjnv1eewoe$.1v5n38zs2onqh.dlg@40tude.net>,
Justin <cRyExM0O7V@EhToHtIpSop.com> wrote:

> I'm currently working on a management type of interface for a website.
> It's a PHP site with a MySQL backend. What I'd like to do is have a
> text box for editing text on the site, as well as a few other things,
> and then be able to generate a preview of the site. The preview is
> where I'm lost. I'm not even sure if it's possible, but what I'd like
> is either an image generated from the URL or a way to quickly and easily
> render the page but on a much smaller scale. Is this possible? If so,
> how would I go about it?

This isn't possible using PHP. Basically what you want is a thumbnail of how
the page will look *when rendered* by a web browser.

PHP doesn't know *anything* about how the resulting page will look and can't
generate such preview.

But are you managing content or the entire site (i.e. design, menu et all) with
this script? I am the author of a CMS system myself and whenever a user in my
system edits a text and submits, it will be shown in the correct context on the
site and will thuis be fully previewable - only in true, live, full-scale.

What kind of extra step are you trying to avoid? Why not have the user switch
between a view and edit mode of their site?



--
Sandman[.net]

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация