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

Trouble checking SESSION cookie
I am trying to use $_SESSION cookies to verify admin privileges .
I don't understand why this is

PHP and XML image gallery variable issue
I'm trying to display the large image on the same page as the thumbnails, to do that I'm passing a v

How to write on database when a link is clicked?
Hi, I have a list of products in a gridview. When the link is clicked currently it takes to an ext

Confused with Loop
guys, i got confused with Looping...this is the case

I have 3 stocks, let say "Stock A&q

FAGL_FC_TRANSLATION FAS52 New GL ECC 6.0
Hello,

The new program for Translating GL Balances (FAS 52) gives the option to use diffe

Functions Not Loading Into Div
I had some help doing some of this but what I'm trying to do is get my functions to retrieve its val

Connecion issue
Hi,

For some reason, I keep getting this error when trying to connect:

Warning: mysql_

INSERT for date range
Hi all

I have the following table

Code: [Select] `date` date
`day` int(2)
`

Results from Db outputted twice
Hey guys.. for come reason my data is outputted twise shown in the image below and i cant figure out

returning data from an ssh2_exec()
here's what i got.


$conn = ssh2_connect($this->_host);
ssh2_auth_password($c

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