Save CSV in text file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ykhamitkar
    New Member
    • May 2007
    • 64

    Save CSV in text file

    Hi there,

    I have a link (CCBill Datalink) which returns me some data in CSV format.

    Is there any way I can save the contents in a text file automatically when I open the link.


    Please advice

    Thanks,
    Yogesh
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hi Yogesh.

    What do you mean by 'open the link'?
    Is this a link to an external web or to another part of your own web?

    You can get the contents of a URL using the file_get_conten ts() function and save that any way you like.

    Comment

    Working...