$_SERVER['PHP_SELF'] return to the home page (default page)
Posted: Wed Feb 22, 2006 4:24 pm
I am new to CMSmadesimple, I create a new page with content is simply {phpcode1},
In User Define Tag I define a new tag 'phpcode1' which is a a small php code.
which contains a form that call itself with $_SERVER['PHP_SELF'] the problem when the form is submit, I return to the Home page. I set a hiden 'page' variable but without success, What is the right way to do this?
In User Define Tag I define a new tag 'phpcode1' which is a a small php code.
which contains a form that call itself with $_SERVER['PHP_SELF'] the problem when the form is submit, I return to the Home page. I set a hiden 'page' variable but without success, What is the right way to do this?