Jump to content
Sign in to follow this  
gregory_smith

cwp with SC and php

Recommended Posts

I've just been playing around with SuperContainer for the first time... looks great...

I'm trying to get my head around the SuperContainer PHP class for use with CWP.

Am I correct in thinking that if I include() the PHP/supercontainer.php file in my PHP script, then I do not need to have installed the companion plug-in? The plug-in is a separate beast from any use of the PHP api, right?

There is an explanation in one part of the *plug-in documentation* about how to install the plug-in for use with CWP. But in the PHP documentation, there is no mention of the plug-in.

Thanks for any comments or insights regarding SC and PHP.

Greg Smith

Share this post


Link to post
Share on other sites

Right, the supercontainer.php is the equivalent of a PHP CWP plugin for SuperContainer. It lets your PHP code talk to the SuperContainer server in much the same way the FileMaker plugin allows FileMaker client / server apps to talk with the SuperContainer server.

This can be handy for verifying that the correct file type was uploaded via the applet when a link is clicked in your CWP application, or if you want to manage all the uploading code yourself without showing an applet.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.