Hello, I'm currently developing a theme witch has a rather powerful backend, I created a php image upload box that runs perfectly if accessed by the direct url, example:
However I want to integrate the form in image-upload.php to my theme backend, naturally my first attempt was to use a simple include:
<?php include ('image-upload.php'); ?>
And the form did get embedded in my theme backend but it just doesn't work, it does not upload an image to my server, however by accessing the image-upload.php directly by url it does work (as mentioned above).
Does anyone have an idea why this happens?