Ricky158
03-28-2008, 08:08 PM
This file is called proxy.php and I want to call it like this: proxy.php?crn=10711
Here is the file:
<?php
$crn = ($_POST["crn"]);
$file = fopen("https://buonline.binghamton.edu/banner/bwckschd.p_disp_detail_sched?term_in=200890&crn_in="+$crn,"r");
fpassthru($file);
?>
I'm getting
Warning: fopen(0) [function.fopen]: failed to open stream: No such file or directory
Warning: fpassthru(): supplied argument is not a valid stream resource
How can I fix this?
Here is the file:
<?php
$crn = ($_POST["crn"]);
$file = fopen("https://buonline.binghamton.edu/banner/bwckschd.p_disp_detail_sched?term_in=200890&crn_in="+$crn,"r");
fpassthru($file);
?>
I'm getting
Warning: fopen(0) [function.fopen]: failed to open stream: No such file or directory
Warning: fpassthru(): supplied argument is not a valid stream resource
How can I fix this?