Quote:
Originally Posted by
DGPickett
Usually fopen() is for accessing flat file data. What worked interactively?
OBTW
fopen() is used for both flat files and URLs. Here are some examples:
PHP Code:
<?php
$file = fopen("test.txt","r");
$file = fopen("/home/test/test.txt","r");
$file = fopen("/home/test/test.gif","wb");
$file = fopen("http://www.example.com/","r");
$file = fopen("ftp://user:password@example.com/test.txt","w");
?>