Re: [PHP] readfile + proxy

2001-06-24 Thread Anon Y Mous
Instead of using readfile(), try using the file() function. // Get php.net and store it in an array. $theFile = file("http://www.php.net";); // Convert the array to one long string. $theFile = implode("",$theFile); // And output the file. echo $theFile; If you're trying to do this with an image,

Re: [PHP] math question

2001-06-23 Thread Anon Y Mous
pi is a function. Try this: $theta = 15*pi()/360; It should return 0.13089969389957 -Evan Nemerson > $theta = 15*pi/360; > gives a value of 0 for $theta... it should be something like 0.131... > Julia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE