Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. Why i am unable to read ?

Why i am unable to read ?

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
phphtmlcomquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    udch
    wrote on last edited by
    #1

    <?php $url = "http://www.nseindia.com/content/equities/TopGainers.htm"; $html = strtolower(implode('', file($url))); echo $html; ?> Why i am unable to read this file ?

    M 2 Replies Last reply
    0
    • U udch

      <?php $url = "http://www.nseindia.com/content/equities/TopGainers.htm"; $html = strtolower(implode('', file($url))); echo $html; ?> Why i am unable to read this file ?

      M Offline
      M Offline
      Marc Firth
      wrote on last edited by
      #2

      Permissions. DO you own the site? If so set you need to check your settings in php.ini on nseindia

      Portfolio | Web Design, Web Hosting & IT Support

      1 Reply Last reply
      0
      • U udch

        <?php $url = "http://www.nseindia.com/content/equities/TopGainers.htm"; $html = strtolower(implode('', file($url))); echo $html; ?> Why i am unable to read this file ?

        M Offline
        M Offline
        Marc Firth
        wrote on last edited by
        #3

        udch wrote:

        file($url)

        you need to look up and set permissions for that

        Portfolio | Web Design, Web Hosting & IT Support

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups