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.

Did you know?Explore Trending and Topic pages for more stories like this.
thanks. in advance
No comments posted yet

Your Answer:

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

please, need help coding this voting for your favorite car polling system.
hi, my code needs a lot of work, but i want to be able to let users vote on their favorite car, upda

Default TimeZone
The server I'm working with is hosted in America so all times inserted into the database are coming

PHP & Java
Hello,

can PHP code be used inside java code?

Code: [Select]<SCRIPT LANGUAGE=&q

Parse error: syntax error, unexpected $end in
hello,
i receive the error :Parse error: syntax error, unexpected $end in C:xamppxampphtdocsh

checkbox update
I am having a brain fart right now and i cant remember how to do this. if anyone could help that wou

Why is this function returning a false value when it shouldn't be??
This is in an include file. I want it to check a value in an html form and see if it's just white s

Running External Scripts
I am very new to PHP and am not even sure what I'm asking is possible. I have just installed mediaW

Stopping page post back
I have few literal contriols in my page and a repeater too. But inspite of using update panel, postb

Security Exception on pages using AJAX
I am getting the exception: attempted to perform an operation not allowed by the security policy on

array empty
Hiya peeps,

Ok here is the codes.

order.php

Code:

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