PHP Classes

Curl HTTP Client

Recommend this page to a friend!

      Curl HTTP Client  >  All threads  >  Curl HTTP Client  >  (Un) Subscribe thread alerts  
Subject:Curl HTTP Client
Summary:Change the name
Messages:5
Author:Doug Warren
Date:2006-08-30 22:55:08
Update:2007-03-02 12:53:16
 

  1. Curl HTTP Client   Reply   Report abuse  
Picture of Doug Warren Doug Warren - 2006-08-30 22:55:08
I can change the name but would like to change the file type also.
I need to change it from .html to .php
How would I do this?
Nice class by the way.

  2. Re: Curl HTTP Client   Reply   Report abuse  
Picture of Doug Warren Doug Warren - 2006-08-30 23:01:25 - In reply to message 1 from Doug Warren
This is the wrong class, I'm sorry about this!

  3. Re: Curl HTTP Client   Reply   Report abuse  
Picture of Dragan Dinic Dragan Dinic - 2006-09-07 22:39:33 - In reply to message 2 from Doug Warren
ok, no problem ;)

  4. Re: Curl HTTP Client   Reply   Report abuse  
Picture of David Halliday David Halliday - 2007-03-01 17:08:00 - In reply to message 3 from Dragan Dinic
Hello

One question please: Why is it that the retrieved elements of a page have html names?

Try this link :

halliday.infinita.co.uk/bdg2/index. ...://news.bbc.co.uk

try to save any of the images, for example, you will find that they are given 'htm' extensions.


External javascript files dont work either, I assume it is because of the same "naming" problem.

On the other hand, the good point about your class is that it is faster than many of the scripts I have tried. Well done!

Regards,

David

  5. Re: Curl HTTP Client   Reply   Report abuse  
Picture of David Halliday David Halliday - 2007-03-02 12:53:16 - In reply to message 4 from David Halliday
Hello,
In case the message wasn't clear, the link I gave actually involves the class "Curl HTTP Client". If the class is used to retrieve a page, the images and external javascript files are given "htm" extension. Hence, preventing proper usage.

Any idea how to correct the naming problem?