.dat file is ...?
- Started
- Last post
- 9 Responses
- Dancer
before I start: I am not that experienced with PHP and server side management.
I have been asked to set up a page that has a newsletter sign up form.
This will literally be a single input field and a submit button.
The one I am using: http://francisbooth.com/design/w…
I have gone to change the code so it works for me but am stumped when I need to change:
'emailSignup.dat'; // file to write toShould this be a database name? Table name?
Any help would be great, or a link to a simple sign up form.
Thanks
- Fariska0
Not sure, but .dat files are pretty generic ones: they can be videos
or just data (of almost all kind) storage files.
- Dancer0
So a text file or something?
- neave0
It's data. Very important data you shouldn't be messin' with.
- Mojo0
.dat could be anything.It's not 'owned' by any particularly company.
- fugged0
Without seeing the php, i couldn't tell ya - but I'll bet it's just a delimited text file. Create an empty text file named emailSignup.dat text file, put in the correct directory and then set permissions to make it writable. To do that, just telnet in and issue a chmod command: chmod 777 emailSignup.dat. Then give it a test and see what gets written to the file.
- Dancer0
ok
trying now
- Dancer0
the only thing I was getting wrong was setting the chmod to 777 - completely forgot that you had to fo that.
Well IT WORKS!!!
Thanks fugged
- fugged0
no worries Dancer - glad it's workin'.