Re: changing a file on the server using a web form
| From: | Jason Stechschulte | Date: | Fri, 04 May 2001 12:39:01 +0000 |
| Subject: | Re: changing a file on the server using a web form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-51406@lists.php.net to get a copy of this message | ||
On Thu, May 03, 2001 at 04:02:32PM -0400, Sherman wrote:
> I have installed mod_php on my Apache web server and there is
> something I was curious about. I would like there to be a web page with a
> form that a user can enter some info into.. and it change a file in say
> /etc/file.txt when they submit the form .. any tips or advice on how I would
> get started doing this? Thanks in advance.
First of all, I would learn HTML. Then create an HTML form.
Next I would learn how to program. Since you have installed mod_php, I
would probably learn how to program in php. Once this is accomplished,
you will realize just how easy your task really is.
If you are looking for a tutorial, check out some links from here:
http://www.php.net/links.php
--
Jason Stechschulte
jpstech@unoh.edu
--
If this were Ada, I suppose we'd just constant fold 1/0 into
die "Illegal division by zero"
-- Larry Wall in <199711100226.SAA12549@wall.org>