
Convert php subscription form using fopen/fread/fwrite to WP_Filesystem.
- or -
Post a project like this4172
$40
- Posted:
- Proposals: 1
- Remote
- #385239
- Completed
Description
Experience Level: Intermediate
Estimated project duration: 1 day or less
General information for the website: WordPress theme
Kind of development: Customization of existing website
Description of requirements/features: In the theme you will see the subscribe.php page which uses fopen/fread/fwrite to store the e-mail address and name of the user to a .txt file (subscribers.txt).
I have encountered some errors using the WordPress theme check plugin which shows the output in the screenshot attached.
Can you give me a quote to update this file to use the WP_Filesystem instead of fopen/fread/fwrite?
Codex info for WP_Filesystem: http://codex.wordpress.org/Filesystem_API
It still needs to write the name and email to a file the same way it currently does
fwrite($f, "$name" . "," . "$email" . ";");
Extra notes:
Kind of development: Customization of existing website
Description of requirements/features: In the theme you will see the subscribe.php page which uses fopen/fread/fwrite to store the e-mail address and name of the user to a .txt file (subscribers.txt).
I have encountered some errors using the WordPress theme check plugin which shows the output in the screenshot attached.
Can you give me a quote to update this file to use the WP_Filesystem instead of fopen/fread/fwrite?
Codex info for WP_Filesystem: http://codex.wordpress.org/Filesystem_API
It still needs to write the name and email to a file the same way it currently does
fwrite($f, "$name" . "," . "$email" . ";");
Extra notes:

Peter V.
100% (5)Projects Completed
5
Freelancers worked with
1
Projects awarded
83%
Last project
7 Aug 2014
Cyprus
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies