SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: create file

  1. #1
    SitePoint Evangelist runeveryday's Avatar
    Join Date
    Jul 2009
    Posts
    437
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    create file

    PHP Code:
    $file_name 'E:/123.txt';  

    $fp fopen($file_name,"wb"); 
    i want to know how to limit the created file's encode is Unicode.any tips would be appreciated
    Outdoor tools online store and wargame tools shop
    with best quality and service.
    comp molle tactical vest tactical clothing etc sell

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by runeveryday View Post
    i want to know how to limit the created file's encode is Unicode.any tips would be appreciated
    Only put Unicode into it...?
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •