PDA

View Full Version : How do I...


wildfire
10-08-2004, 12:06 AM
Hi, I need to know how to make my default page when you type disorderofsanity.hostmatrix.org to be disorderofsanity.hostmatrix.org/phpNuke? I need this because Nuke couldn't be installed in the root, as I would have liked. If anyone know how to install Nuke in the root, then tell me please. I am looking for something more than a redirect, but if you don't know then tell me redirect lol. Thanks

Creator
10-08-2004, 12:38 AM
Originally posted by wildfire@Oct 8 2004, 12:06 AM
Hi, I need to know how to make my default page when you type disorderofsanity.hostmatrix.org to be disorderofsanity.hostmatrix.org/phpNuke? I need this because Nuke couldn't be installed in the root, as I would have liked. If anyone know how to install Nuke in the root, then tell me please. I am looking for something more than a redirect, but if you don't know then tell me redirect lol. Thanks
613


Yup, there is a redirector. :P
<?php
header("Location: http://www.disorderofsanity.hostmatrix.org/phpnuke/");
?>

copy paste this line to a text file and rename it as "index.php"
Put in root, you have a redirector! :D

oblivious
10-08-2004, 12:45 AM
Topic moved the the PHP forum... i mean it does belong in there and all :D

wildfire
10-08-2004, 01:44 AM
Thx for help, creator, but I just copied my phpNuke folder manually so that the files are in my root. That solved the problem quick enough. I love working w/ php

a12bc3
10-08-2004, 07:45 AM
Also META tags are useful in redirecting. That way you can have a message saying "The site is being redirected to /phpnuke. If you want to leave, click back on your broweser now" or something :)

Creator
10-08-2004, 04:45 PM
Originally posted by a12bc3@Oct 8 2004, 07:45 AM
Also META tags are useful in redirecting. That way you can have a message saying "The site is being redirected to /phpnuke. If you want to leave, click back on your broweser now" or something :)
656



You mean title tag ?
<title>blah blah</title>

wildfire
10-08-2004, 05:03 PM
Hmmm, well redirects are kinda sketchy and don't sem very professional to me. Also, saying were you were being redirected too would be useful only iff it is an out of site place. Itwould look kinda dumb to say, you are being redirected to http://disorderofsanity.hostmatrix.org/phpNuke when they tried to go to disorderofsanity.hostmatrix.org imo. I would rather just be redirected there w/out the stupid wait 5 seconds page or whatever else. But, much rather than being redirected, I would like to have the root of a url be where the web site is. Thanks for all the help guys, but, as I said earlier, I fixed it by copying my enire phpNuke folder contents to the root directory, and since php is written so good, it all works perfectly. :) It took about an hour to copy it to my desktop, then back to the website though because i didn't have enough free space to have two phpNuke stuff on at the same time, and I was afraid to try cut and paste lol :P

Creator
10-08-2004, 05:18 PM
Well the redirecting script I quoted above has no time lag. Its instantaneous, you will be redirected atonce.

a12bc3
10-09-2004, 07:04 AM
No, I meant these META tags:

<META HTTP-EQUIV="refresh" CONTENT="0;
url=http://www.url.com">

Where content=0 can be however many seconds you want. Then you redirect them to the specified url. It makes for a good slideshow website too :lol: