links using header()


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

Hi All

I'm not sure where to ask for help on this but I hope someone can offer some. I'm at the point now where I'm trying to make my website live and the problem I've come across is updating my links, particularly the ones where I use header().
This is my first time putting a website online so this is all new to me.

This is my line of code..

Code: [Select]header('Location: http://localhost/website/places.php');

I need to change this but I'm not sure what to change it to. My home path is..
/home/vol11/5gigs.net/fiveg_4348489

Do I need to use that??

I appreciate any help.

thanks

349 Like 8 Dislike
Previous php-forum Next php-forum
Other php-forum

login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php

Change snippet to use CURDATE
I am using time() in the snippet below, I would like to use CURDATE() and have the database setup fo

Multiple Dropdown Selections
I have a form that let's a user insert a page with the ability to select categories. I want them to

Sufficient protection from bad input?
I am writing a simple script to let people upload 'pages' of their own content, be it simply a few b

problems with search form numerical "between" sending by php
I am trying to display the results of a search, on a sql database, on a web page. I set up html &quo

Retrieving Data from Two Different Databases
Hello All,

Ran into another problem and would appreciate some help! I have two datab

"From field" in PHP email form
I used a wizard to create a PHP email form. I was able to customize it with the exception of the Fr

Renaming a file that a user uploads to site?
My site allows for registered users to upload images to the site under their own gallery. Currently

PHP Script runs on CLI but not through web browser
I am running into an issue that I just can't seem to find the answer to. I have a Windows Server 200

scandir clients directory
hi,
how can i scandir the clients directory? i need a script that when i click a button it will u

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