Current location: Hot Scripts Forums » Programming Languages » PHP » include,path,variable


include,path,variable

Reply
  #1 (permalink)  
Old 10-03-03, 10:53 PM
chairboy chairboy is offline
New Member
 
Join Date: Oct 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
include,path,variable

<?
$siteurl = http://localhost
?>
//I want to include the file http://localhost/site/head.inc
//then how to write the following sentence?
<?
include($siteurl.'/site/head.inc'); //how to write this sentence?
?>
//Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 12:13 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.