This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

zoombaro2970
zoombaro2970

Hi, I dont know if October can execute a php file directly from a page..

That is because I'm using martin paralax template and when I want to send the form to a php file october sends error: PAGE NOT FOUND

That is my simple code:

<form action="cotizar.php" method="post" class="col s12 center">

I have stored that php file inside every directory and the error keeps

Do you know how to run or call a php file from a october page or partial ?

zoombaro2970
zoombaro2970

Ok, I solved it.

.htaccess rules redirect all to CMS

So I do an exception to a new directory, just add this before REQUEST_FILENAME rule like this:

RewriteCond %{REQUEST_URI} !^/yourdirectory
RewriteCond %{REQUEST_FILENAME} -f

I think that this is not a best practice .. but October claims to be The platform that gets back to basics, so .. this is basic to me !!

Last updated

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.