We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Running a custom PHP page | Forum

Sean
Sean May 8 '13
Hi there,


I hope someone can help, and I hope this makes sense. I've created a new page within OXWALL and pasted form code on there, to capture data, and then use a custom PHP script I've made to e-mail that user data to me.


To do this, I created a new directory called 'custom_code' and instructed the form to post the data to 'withdraw_credits.php' when the form is submitted.


My problem is, when the form is clicked I'm taken to a 404 Page Not Found error.


I've double checked that the form has the correct directory listing, no spelling mistakes etc. Any Ideas? The folder and .php script have 755 permissions so should run.


Thanks!

Alia Team
Alia May 10 '13
Topic was moved from Bug reports and troubleshooting.
Sean
Sean May 10 '13
Anyone?
Daisy Team
Daisy May 15 '13
Sean, it's impossible to run .php file directly - it will not work in our software because of our routing system. Please see the crash course for more information here: http://docs.oxwall.org/dev:crash-course#page-routing