Closed Thread
Results 1 to 3 of 3

Thread: fopen question

  1. #1
    cpd2591 is offline Newbie
    Join Date
    Aug 2007
    Location
    Wilkes-Barre, PA area
    Posts
    5
    Rep Power
    0

    Smile fopen question

    I am only just a year old using HTML, PHP, Javascript, XML, and SQL. We have multiple locations using several different terminals in a CITRIX environment to access a web HTML screen to create labels for our products. These label scripts do work and I know for sure that there isn't any type of priviledge problems per our tech services guy but there is a proble which no one seems to understand. Every location is set up identically to access the CITRIX server and then to the web server hosting the labeling scripts. About 80% of the users get the drop down box showing the list of labels which are contained in a directory but then the remaining 20% can not see the same list. The script isn't erroring out. Is there a way to display any error codes on the fopen? If we can get the error code then that would help the tech services section to figutre out what is going on. If you have see this happen before, you may have the solution.

    Thanks in advance for your help.

    Charlie

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Jordan Guest
    Are they all connecting to the same Citrix server or are there multiple Ctirix servers? The reason I ask is because several could be setup different (80%) than the others which are not working (20%).

    Turn on display_errors in your php.ini file. This will display all of your errors.

    You can also add this to your fopen statement to display an error but not specific:

    Code:
     if(($f fopen($file,'r')) === FALSE){
            die(
    'Failed to open file for reading!');
        } 
    </span></span>

  4. #3
    TkTech's Avatar
    TkTech is offline The Crazy One
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    1,412
    Blog Entries
    1
    Rep Power
    31
    you could also add <?php error_reporting(E_ALL); ?> to the top of the page in question.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Does fopen 'stream'
    By bbqroast in forum C and C++
    Replies: 1
    Last Post: 07-28-2011, 04:36 PM
  2. Replies: 13
    Last Post: 05-04-2011, 07:14 PM
  3. fopen with binary mood
    By peter576 in forum C and C++
    Replies: 7
    Last Post: 04-10-2010, 04:39 PM
  4. What mode should i use at fopen()? r, r+, w+b???
    By tirengarfio in forum C and C++
    Replies: 3
    Last Post: 08-13-2008, 09:06 PM
  5. PHP fopen() problems
    By FlyByWire128 in forum PHP Development
    Replies: 11
    Last Post: 07-24-2007, 04:14 PM

Tags for this Thread

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