Reply to Re: Write to text file

Your name:

Reply:


Posted by Richard Quick on 05/27/05 09:34

<jcwmtl@hotmail.com> wrote in message
news:1117165799.646274.319090@g14g2000cwa.googlegroups.com...
> Hello
> I'm a complete php noob and a non-programmer.
> I would appreciate any help.
> I have a form which takes user input. On submit, the form will run a
> php script that will create a new text file using the user input.
>
> I want this text file to popup or open in a new page. The problem is
> that when the page opens it still shows the old text file, i need to
> hit refresh for it to show the last user input.


To make the page open up a new page you need to put the following code in
the head of your HTML document (e.g. underneath the title).

<meta http-equiv="REFRESH"
content="0;url=http://www.yoursite.com/newpage.html">

To open a pop-up you'll need to use javascript.

--
Richard Quick
http://www.chocolatemagazine.co.uk

[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

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