wordpress - Why do I get a 404 when I include wp-blog-header.php in a page that is the target of a POST action? -


i have form in wordpress blog uses php file action post when form submitted. php file outside normal wp context, want able read custom fields wp database, have included wp-blog-header.php in file explained here. however, include file, post fails 404. if remove include works fine. wp have sort of security mechanism prevents wp-blog-header.php being loaded on post? there way around this?

the main goal pull value advanced custom fields field on particular page in wp site. if there way without including wp-blog-header.php i'm open suggestions.

thanks

if form posting field parameter of name, 404 result.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -