PHP readfile function

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • nunchukz
    Private First Class

    • May 2008
    • 6

    PHP readfile function

    PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.


    the readfile function cant be used after file is uploaded to server.
    it was tested working on my localhost.
    after i upload the website to the internet, the readfile function failed.
    picture cant be shown.

    please help
  • Watdaflip
    Major General

    • Sep 2005
    • 2116

    #2
    Re: PHP readfile function

    What error did it give you? What code are you using?

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

    Comment

    • navaldesign
      General & Forum Moderator

      • Oct 2005
      • 12080

      #3
      Re: PHP readfile function

      use file_get_contents instead of readfile.
      If you can't, i believe that your only option is to ask VH to enable readfile() for you
      Navaldesign
      Logger Lite: Low Cost, Customizable, multifeatured Login script
      Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
      DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
      Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

      Comment

      Working...
      X