Affiliates

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
NamecheapNamecheap
Watch
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.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
try
include './show_links.php';
 
0
Close
Thanks noobie, you've helped me yet again, it wont let me give you more rep but ill send a few NP.
 
0
Close
/ = 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';
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back