Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
Dawg
RavenNuke(tm) Development Team


Joined: Nov 07, 2003
Posts: 910

PostPosted: Fri Jan 22, 2010 10:22 pm Reply with quote

How do you create a URL out of a var?

example...
Hardcoded... Only registered users can see links on this board! Get registered or login!

Created with $vars...
$var1/$var2/$var3/index.php

How do you do that?

Feel free to point me to an example somewhere. I could not come up with the search term to find one.

Thank You for your time!!

Dawg
 
View user's profile Send private message
Dawg
PostPosted: Fri Jan 22, 2010 10:27 pm Reply with quote

LOL....

Just haveing to explain the question to you guys with out looking like a dumbass helps me every single time.

I Got it....
include_once $base_url."".$base_dir."nav.html";
 
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Sat Jan 23, 2010 12:55 am Reply with quote

This is really what you want unless there is supposed to be something between the ."".

Code:
include_once $base_url . $base_dir . 'nav.html';

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
Dawg
PostPosted: Sat Jan 23, 2010 11:24 am Reply with quote

Thank you!!

Dawg
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©