Re: Fopen
| From: | Klepto | Date: | Fri, 26 Jan 2001 09:13:44 +0000 |
| Subject: | Re: Fopen | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36773@lists.php.net to get a copy of this message | ||
Yeah, in the following fragment...
$fp = fopen("http://www.parentprofiles.com/clicker.php?profile_id="
.
$this-profile_id
. "&code=1","r");
You set up $fp to be a pointer to the object, in this case, a file. Now you
need to pull data out of it. Um, unfortunately, I don't remember how to do
this. If this were a pointer to a MySQL connection, it would look like
this...
mysql_fetch_row($fp)
So, when you echoed the $fp, you are echoing the pointer position in the
file.
Hope that helps...
Jaks