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

No comments posted yet

Your Answer:

Login to answer
116 Like 24 Dislike
Previous forums Next forums
Other forums

Trouble with a select list
Hello All!
I was wondering if any of you guys could help me with a small problem I'm having!

include function being weird?
I have a very simple system to grab an IP outputted by a PHP file.. (for a project I have) but it ou

phpmailer class & pop.gmail.com?
Code: <?php
$mail->IsSMTP();
$mail->Host = "pop.gmail.com";

post to self
Trying to get my form to submit to itself. However I am also trying to use an image for my submit bu

please help me in this update statment
hi every one

if I have table and this data in it

id name
10

Adding Outlook 2007 items via file upload
I am looking for a way to be able to attach an Outlook item (an email message) in an ASP.NET 3.5 app

Simple AND question
Hello,

I've got following code:

Code: if(strpos($row[13],"http://")

How to login with SAPCPIC userid
I have changed the Password for SAPCPIC in Development Server for 000,001 and 100 client.
But w

highlighting search terms
well, I started this in the regular PHP section, but it no longer fits there. Suffice it to say, I'm

PHP onsubmit in the form not going to the fuction.
I have a form through ‘onsubmit’ calling a function validation(). But not going to the

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