Ning Developer Network

NingMods.com

Can I use fopen() to write to client files on other networks?

Hey guys, in making this PayPal mod, I was hoping to be able to create and write to files on my client's networks without needing them to do it, through automation in a setup.php file or something.

I was thinking an input form, whcih takes their ning url, network creator name and password (if needed) and then:

1. creates the instance in the /instances directory (which points to the controllers and templates on ningmods)

2. adds some access restriction code to the top of /index.php in the root.

3. creates a "constants.php" file with all relevant PayPal API settings in their root or a sub dir of that, whcih is updated through a form on the admin page.


Is this possible? Or are there Ning-isms that will prevent it?

Reply to This

Replies to This Discussion

Hello!

This is not something that you can do. For the protection of all of our networks, each network can only write to its own file system.

Cheers!
Mike

Reply to This

RSS

© 2008   Created by Ning Developer Admin

Report an Issue  |  Feedback  |  Privacy  |  Terms of Service