[advanced search]
Results from the most recent live auction are here.
14 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming > CODE
User Name
Password

Old 04-04-2006, 01:55 PM   · #1
Xyzer
Steven
 
Xyzer's Avatar
 
Name: Steven Gibbons
Location: United Kindom
Trader Rating: (45)
Join Date: Aug 2005
Posts: 1,506
NP$: 40.00 (Donate)
Xyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to all
Tsunami Relief AIDS/HIV
Affiliates

I found a script which generated code for me, it gave me this code:
Code:
<?php $ndlinks['category'] = '1'; $ndlinks['order_by'] = 'random'; $ndlinks['limit'] = '1'; include '/show_links.php'; ?>


But i then get this error:
Code:
Warning: main(): open_basedir restriction in effect. File(/show_links.php) is not within the allowed path(s): (/home/gibbons:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/gibbons/public_html/index.php on line 405 Warning: main(/show_links.php): failed to open stream: Operation not permitted in /home/gibbons/public_html/index.php on line 405 Warning: main(): open_basedir restriction in effect. File(/show_links.php) is not within the allowed path(s): (/home/gibbons:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/gibbons/public_html/index.php on line 405 Warning: main(/show_links.php): failed to open stream: Operation not permitted in /home/gibbons/public_html/index.php on line 405 Warning: main(): Failed opening '/show_links.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gibbons/public_html/index.php on line 405


Line 405 is:
Code:
include '/show_links.php';

Which when i open shows what i want it to.


Please register or log-in into NamePros to hide ads
Xyzer is offline   Reply With Quote
Old 04-04-2006, 02:04 PM   · #2
Noobie
DNOA Member
 
Noobie's Avatar
 
Name: Shoei
Location: Montreal, Quebec, Canada
Trader Rating: (0)
Join Date: Feb 2006
Posts: 324
NP$: 65.00 (Donate)
Noobie is on a distinguished road
try
include './show_links.php';
__________________
Goldkey.com is a scam
What's your BMI? | Timestamp Generator
Noobie is offline   Reply With Quote
Old 04-04-2006, 10:30 PM   · #3
Xyzer
Steven
 
Xyzer's Avatar
 
Name: Steven Gibbons
Location: United Kindom
Trader Rating: (45)
Join Date: Aug 2005
Posts: 1,506
NP$: 40.00 (Donate)
Xyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to all
Tsunami Relief AIDS/HIV
Thanks noobie, you've helped me yet again, it wont let me give you more rep but ill send a few NP.
Xyzer is offline   Reply With Quote
Old 04-05-2006, 05:51 PM   · #4
cvxdes
DNOA Member
 
cvxdes's Avatar
 


Location: Milford MA
Trader Rating: (104)
Join Date: Oct 2005
Posts: 682
NP$: 94.45 (Donate)
cvxdes has much to be proud ofcvxdes has much to be proud ofcvxdes has much to be proud ofcvxdes has much to be proud ofcvxdes has much to be proud ofcvxdes has much to be proud ofcvxdes has much to be proud ofcvxdes has much to be proud ofcvxdes has much to be proud ofcvxdes has much to be proud of
/ = root. The file isn't in root, and you most likley don't have permission for root.
./ is current directory, so ./ would work. Also, no slash would work too... If it's in the same dir:
include 'show_links.php';
cvxdes is online now   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


Site Sponsors
http://www.internetinvestments.com/ Build your NameBrand Hunting Moon
Advertise your business at NamePros
All times are GMT -7. The time now is 05:33 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0