Reply to Re: new blank page

Your name:

Reply:


Posted by no on 12/08/06 12:49

On Thu, 7 Dec 2006 20:49:32 -0000, "Socrates"
<londonlinks-at-@post.com> wrote:

>
>Hi - can some php bod work out a way of showing a fresh blank page to a viewer on every visit to a web site?

Absolutely - no problem - one blank page coming right up:

<html>
<head>
<title>Blank page</title>
</head>
<body></body>
</html>

>The blank page will have just a few elements:

Hmm, starting to look like it isn't very "blank" then...

>1) 3 x image upload buttons
>If the user wants to upload 3 x images of their pet dog they can do so. The first image will be resized at 400 x 400. The 2nd and 3rd images will be resized to 200 w x 200 h (or similar)

So, they upload the images and what happens to them? The uploads are
saved and catalogued in a database? If so, which kind?

>2) 1 x text area box/HTML tab
>Area to copy and paste text or html.

So, you'll need some JavaScript to select each box if they are in
layers... not really the right group for that.

>3) 1 edit button
>When the page is saved the user is given the option to enter a password to edit the page in the future. If the user selects "no" to the question "Do you want to edit this page in the future", then the page is saved with no password and cannot be redited. If "yes" then the user is given the option to enter a password.

So, again looks like you need a database to store this stuff. I'd
suggest MySQL.

>4) 1 x save button.
>When the page is saved the php script generates a unique number (rather like www.tinyurl.com ) for future retrieval of the page.

So, the unique URL identifies the returning user? Then looks into the
database, retrieves the uploaded photos, displays them etc etc.

>Ok what's the big idea? See http://www.signin.to/php

At this point I'm not sure whether you are wanting "help" with some
PHP you are currently writing or if you are asking a PHP developer to
write it for you...?

All the information you need to learn how to do it yourself is out
there on Google. One very useful site you should be aware of is
http://www.w3schools.com/

If you still have problems with PHP just be a bit more specific and I
am sure someone will be pleased to help.

Chris R.

[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

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