It is, but this isnt passing variables. My code is all you should have in index.php. It then $_GETs other pages, not other variables. All the variables are on that one page, so there is no need for $_POST. If you were making a login script that used multiple pages or something like it, then you need $_POST.