On Thursday 23 December 2004 16:36, Yemi Obembe wrote:
> How can I get the file name of the home page of a url I opened with fopen()
> this way:
>
> $handle = fopen("http://www.example.com/";, "r");
>
> ?
You can't.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software
Hi list,
How can I get the file name of the home page of a url I opened with fopen()
this way:
$handle = fopen("http://www.example.com/";, "r");
?
-
A passion till tomorrow,
Opeyemi Obembe | ng.clawz.com
___
On Tuesday 30 September 2003 18:35, Ferdian wrote:
> > How about putting in some error checking code as per example in manual?
> The error was on : $ns = fsockopen($com_server,43);
> fputs($ns,"$domname\r\n");
That is *where* the error occurred. But *what* is the error?
Again, refer to examples
> How about putting in some error checking code as per example in manual?
>
Hi Jason,
The error was on : $ns = fsockopen($com_server,43);
fputs($ns,"$domname\r\n");
Any solutions ?
Kind Regards,
Ferdian
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
On Monday 29 September 2003 15:30, Ferdian wrote:
Please post to the correct list, this has nothing to do with databases.
Please do not post multiple times. Wait patiently for a response!
> I use this script
[snip]
> $ns = fsockopen($com_server,43); fputs($ns,"$domname\r\n");
> $resul
Dear All,
I use this script
if ( ($type == "all" or $type == "com") and $com_include )
{
$com_array = array($ddomain.".com",$ddomain.".net");
$com_count = count($com_array);
$i=0;
for ($i=0;$i<$com_count;$i++)
{
$domname = $com_array[$i];
$ns = fsockopen($com_server,4
has any of you have any problem with fopen() that it can't open some
web page?
i am trying to use it to gather information from other web pages, but i
am having problem with one particular website, macmall.com.
might anyone know what the problem is?
also, if there is no solution to this, i am goi
Hey,
I need to check the existence of a webaddress on a foreign webserver. I
could use fsocketopen to check the domain only, _but_ the important
thing is to check one or multiple directories like
http://webservername.com/subdir/dir.
I found out that the common way is to use fopen() for similair
Also, if you check many URL's from the same script, make sure neither
PHP nor the browser times out. For PHP, set_time_limit() and for the
browser echo a space and flush() after each test.
Bogdan
Bogdan Stancescu wrote:
> Try $fp=@fopen( etc
>
> Bogdan
>
> Tony wrote:
>
>> I have a database a
Try $fp=@fopen( etc
Bogdan
Tony wrote:
>I have a database and I am writing a script to auto-update some information
>in the database.
>That requires me to read data from database, find the URL, read the URL,
>find the information I want, then update it in the database.
>My problem is, for examp
I have a database and I am writing a script to auto-update some information
in the database.
That requires me to read data from database, find the URL, read the URL,
find the information I want, then update it in the database.
My problem is, for example I read one record from database who's URL is
Hi everybody!!
Does anybody know how to use fopen and fstat!
I used it on local files and refered files on the own server, but it doesn't
show (e.g. the filesize) of my server with the downloadfiles, which is not
the same server the php files are on!
I've also added the source code, so please hel
gt; Sent: Thursday, August 09, 2001 10:12 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] fopen function
>
>
>
> I made a simple submissions form that writes to a backup file
> using the
> fopen function. I use the variable a+ or a, for the backup.
> it goes to the
> end of
I made a simple submissions form that writes to a backup file using the
fopen function. I use the variable a+ or a, for the backup. it goes to the
end of the file and adds the new info. I need it to add the new data at the
beginning of the file, but leave the file in tact. Does anyone have an
PHP manual says:
fopen
fopen -- Opens file or URL
Description
int fopen (string filename, string mode [, int use_include_path])
If filename begins with "http://"; (not case sensitive), an HTTP 1.0
connection is opened to the specified server, the page is requested using
the HTTP GET method, and a
15 matches
Mail list logo