i am using the PHP function require_once to require a file:
<?php require_once 'reviewtickets_history.php?seq='.$_GET["seq"].'&type=history' ;?>
but i am getting the error:
Warning: require_once(reviewtickets_history.php?seq=34844&type=history) [function.require-once]: failed to open stream: No such file or directory in /home/user/public_html/admin/helpdesk/reviewtickets.php on line 316
but if i remove my .php file from the URL and enter in the .php page in the brackets above (reviewtickets_history.php?seq=34844&type=history) it displays fine
If "URL include wrappers" are enabled in PHP, you can specify the file to be included using a URL (via HTTP or other supported wrapper - see Supported Protocols and Wrappers for a list of protocols) instead of a local pathname. If the target server interprets the target file as PHP code, variables may be passed to the included file using a URL request string as used with HTTP GET.This is not strictly speaking the same thing as including the file and having it inherit the parent file's variable scope; the script is actually being run on the remote server and the result is then being included into the local script.:)