PHP url branch??


Posted on 16th Feb 2014 07:03 pm by admin

Functionally, using PHP, I'm doing a test of login input submitted by a user via an html form in a file located at http://..../loginregister.php. If that test is successfull, I want to branch to http://..../index.php without further user interaction.
QUESTION #1: Can PHP located in a file accessed via, say, url A branch or jump to code in a new file, say accessed via url B? If so, please give me a code example.
QUESTION #2: Can HTML be used to accomplish the same thing? I'm pretty sure the answer to this is no thus the first question.

thanks. in advance

116 Like 24 Dislike
Previous php-forum Next php-forum
Other php-forum

Month String to Numeric?
Hi guys,

Given a month as a string, is there a simple way to find the numeric representation

Form validation with functions
Hi there

I am trying to make a very simple form validation function. I currently have the fol

Page not Loading After Test
Hey All

It seemed that an inlcude statement wasn't working for some reason, so I tried a more

How to make a mail Form secure?
I want to create an email Form on my web site. How can I make the Form secure so the submitted info

Whats wrong with my query?
I am trying to get this query to show the appropriate ticked vehicle roof height, unless no boxs are

line breaks in between fetched file names
Hi,

I have this code:
Code: <?php
if($dir = opendir('files')){
while (($f

email form (cannot find the problem)
Hello there. I've been having trouble with an email form. Can't find the problem really. I've tested

Php mysql - select?
Hi i have this code:
Code: $iteminfo = mysql_query("SELECT desc FROM wc_items WHERE itemid =

OPINIONS WANTED
This is my login page code, and I want your opinion on it please!

Code: // Login ~ CHECKS

Problem with PHP/mySQL login code
Hello,

There is an error in my login script and I can't figure out what it is...
I believe

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash