Link to home
Create AccountLog in
Avatar of RickyXC
RickyXCFlag for Hong Kong

asked on

PHP Program

Dear Expert,

My Boss want to create a web-page (PHP) like follow:
1. The Web-Page's out-look design very simple
- Need one Textbox to key-in the data.
- Common button like "Submit"
<<Common Button function>>
"Submit"
- Ex: when user key-in "1000", after click the submit button it will automatically create a text file.
The file name like as follow. "20071002.txt" <-- which depend on the computer date.
Then it will automatically send this file to a FTPS server.

Please help....
Avatar of ppfoong
ppfoong


You can do it by yourself. The following tutorial with examples has the answer.

http://www.w3schools.com/php/default.asp

Look into these section:
- PHP forms for the form input.
- PHP date for the date function.
- PHP file for the file opening and writing.


The textbox is called textarea in HTML. To create one, use the following syntax:

<textarea name="area1" rows="5" cols="40"></textarea>

You can adjust the number of rows and columns by changing the figures above.
Avatar of RickyXC

ASKER

Dear Expert,

Actually i am not a web-programmer....so i dont have any ideas on it...
Anyone can help me ... Sorry and Thanks 1st...
ASKER CERTIFIED SOLUTION
Avatar of siva_siva
siva_siva
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer