I have
<?php
$photos = $HTTP_GET_VARS['photos'];
include('/home/public_html/rocket/images/$photos/')
?>
as my coding. when i am browsing to
I get
Warning: main(/home/public_html/rocket/images/$photos/index.php): failed to open stream: No such file or directory in /home/gibson/public_html/rocket/pictures.php on line 41
Warning: main(): Failed opening '/home/public_html/rocket/images/$photos/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/public_html/rocket/pictures.php on line 41
If the end user brings up pictures.php?photos=pratice it should bring up the pratice folder.
What am i doing wrong?