By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,044 Members | 1,291 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,044 IT Pros & Developers. It's quick & easy.

Permission to access error using WAMP

P: 1
http://localhost/file:///C:/wamp/www...helloworld.php

i used this url and

Forbidden

You don't have permission to access /file:///C:/wamp/www/php_sandbox/helloworld.php on this server.

pops up :( help

the code used there is

Expand|Select|Wrap|Line Numbers
  1. <html>
  2.  
  3.  
  4.  
  5.     <head>
  6.  
  7.         <title>Hello World</title>
  8.  
  9.     </head>
  10.  
  11.     <body>
  12.  
  13.     <?php echo "Hello WOrld!"; ?><br />
  14.  
  15.     <?php print "Hello WOrld!"; ?><br />
  16.  
  17.     <?php echo "Hello " . "World"; ?>
  18.  
  19.     </body>
  20.  
  21. </html>
please help
Oct 23 '11 #1
Share this Question
Share on Google+
1 Reply


100+
P: 1,059
make sure that file exists.
Oct 24 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.