latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Run *.php from /plugins/s2member-files/

Home Forums Community Forum Run *.php from /plugins/s2member-files/

This topic contains 2 replies, has 2 voices. Last updated by  Kevin 3 years ago.

Topic Author Topic
Posted: Wednesday Dec 18th, 2013 at 11:36 am #62028
Kevin
Username: Crunch

Help,
I need to know if this can be done and some direction please. I have spend several days on this. I cannot get *.php file to run in this environment.

As paid logged in member I can show a *.html file OK from the /wp-content/plugins/s2member-files directory. I have a php and htmll in same directory for testing. Html shows, php won’t.

Tried running php inside html doc… I added php/html handler to .htaccess file and no luck within S2Member. Worked outside s2Member.

I do have ezPHP running. Is php possible?

php file is from here… http://quickgallery.jv2.net/ An example album I use http://quickgallery.jv2.net/demo/
Its a one file program.

Thanks Kevin

  • This topic was modified 3 years ago by  Kevin.
  • This topic was modified 3 years ago by  Kevin. Reason: Update question when confirmed I could show html doc
  • This topic was modified 3 years ago by  Kevin.

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Tuesday Dec 24th, 2013 at 10:34 am #62123
David Welch
Username: dwbiz05

How are you linking to it / integrating it?

Dave

Posted: Tuesday Dec 24th, 2013 at 10:54 am #62124
Kevin
Username: Crunch

Dave thanks for reply.
I have since learnt that “Files stored in this directory are served statically; no PHP evaluation is possible under any configuration (this is a security issue).”

Unless someone has another option, I am looking at protecting and serving this album outside of s2Member. But still use s2M to protect latest image within wordpress.

Viewing 2 replies - 1 through 2 (of 2 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.