Can't upload a PHP script to WordPress
-
Hi all,
I see my question posed elsewhere, but surprisingly I haven’t seen any solid answers yet…I am trying to allow people to edit their bio in a wordpress page called “edit bio” and then when they click submit, it calls a php page that inserts the bio text into the user_bio field. Should be easy. However, no matter where I place the php script in my directory (roote or in theme root) or how many ways I try to call the script (relative and absolute paths), I keep getting a 404 error.
Is there something I am missing? Or else a way perhaps to incorporate the php in the same wordpress page so that this insert to the db happens? I’m using “php for posts and pages” plugin which might make such a page with the the form and php all on one page option tricky though…
- The topic ‘Can't upload a PHP script to WordPress’ is closed to new replies.