Jump to content

relocating file_put_contents


divinedesigns1

Recommended Posts

Hey I got the file put contents working but how can I move it automatically outside the admin page? I might have a little more question about this :) trying to make a new control panel something simple but yet user friendly

Link to comment
Share on other sites

what's your code? why can't you add code to move the file after the call to file_put_contents?

got it working, i just did

file_put_contents('../' . $filename, $article);

and it worked

Link to comment
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
×
×
  • Create New...