PHP NAVIGATION HELP!!

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
jeffbeh
-


Joined: 26 Mar 2003
Posts: 3

PostPosted: Sat Jul 19, 2003 1:04 am    Post subject: PHP NAVIGATION HELP!! Reply with quote

Hi, How do you make a php code where you can be fancy? like htp://blah.com/main.php?id=boo

etc. I found one, but it doesnt seem to work on abyss? Anyone help! THANK YOU!!

<?php
switch($id) {
default:
include('main.htm');
break; case "about":
include('about.htm');
}
?>
Back to top View user's profile Send private message
os17fan
-


Joined: 21 Mar 2003
Posts: 531
Location: USA

PostPosted: Sat Jul 19, 2003 6:51 am    Post subject: Reply with quote

Make sure you have the redirect main.html and about.html in side your htdocs or were ever your script is , if you put mail.html instead of /main.html , it assumes that that html file is in the same folder as your php script , make sure the address poit correctly , try using

http://Your-IP/main.html ,

so the script works , I haven't tested it but I might later. :idea:

------------------------------------------------------------------------------------
_________________
This web server is the best !
Back to top View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
jeffbeh
-


Joined: 26 Mar 2003
Posts: 3

PostPosted: Sat Jul 19, 2003 7:00 am    Post subject: Reply with quote

tried, nope. still didnt work :(
Back to top View user's profile Send private message
jeffbeh
-


Joined: 26 Mar 2003
Posts: 3

PostPosted: Sat Jul 19, 2003 7:48 am    Post subject: Reply with quote

got it fixed. i know whats wrong.
Back to top View user's profile Send private message
os17fan
-


Joined: 21 Mar 2003
Posts: 531
Location: USA

PostPosted: Sat Jul 19, 2003 1:27 pm    Post subject: Reply with quote

So tell us , what was the problem , discussing problems to people may help them in the future :D
_________________
This web server is the best !
Back to top View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Jul 19, 2003 2:58 pm    Post subject: Re: PHP NAVIGATION HELP!! Reply with quote

We guess that you received "Undefined variable" error messages. Please search for "Undefined variable" on these forums and you'll find how to fix your script.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
SonnyB
-


Joined: 19 Jun 2003
Posts: 42
Location: New York USA

PostPosted: Tue Jul 22, 2003 7:18 am    Post subject: LOL YEAH Reply with quote

Easy Way Out is turning them OFF LOL
_________________
Regards,
Anarchy03
http://anarchy03.us
AnarchyOnline Ent
aappel03@yahoo.com
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group