Development PHP: included files add "" !?

Discussion in 'Software' started by jezmck, 21 Sep 2006.

  1. jezmck

    jezmck Minimodder

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
    Hi guys,
    got a weird one here.
    It appears that whenever I include a particular php file it shows
    
    despite those characters not appearing anyway in any of my code.

    There are two files which do this - both contain only functions, none of which are called until after the characters have been added to the source.
    I've edited and resaved both, several times (as well as other files) but it hasn't helped.

    ANY ideas?!
     
  2. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
    What editor did you use to make the file?

    The reason I ask is that those are ASCII symbols from the codes 139, 175 and 168.

    SO the some editing along the way has caused it to appear.

    The easiest way round is to copy and paste the code into a notepad plain text document.
     
  3. jezmck

    jezmck Minimodder

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
    dreamweaver, but I use it all the time.

    edit: and i've used notepad to edit those files since too.
     
  4. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
    Sorry, had a quick ninja edit
     
  5. jezmck

    jezmck Minimodder

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
    so you did!

    unfortunately, no change. :(

    (possibly ninja) edit - that did work :D thanks :)
    still very odd.
     
  6. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
    Do you have a binary/hex editor editor to hand?
     
  7. jezmck

    jezmck Minimodder

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
    ah, it was ninja.
     
  8. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
    I think it may have just been a corrupted piece of data on a memory block. Resaving the file kept that data as it wasn't flagged as being corrupt. Since it wasn't a character showing up in notepad or similar selecting it all and copying it made sure that it was not on the clipboard so would not enter the new file.

    Make sense?
     
  9. jezmck

    jezmck Minimodder

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
    yup, ta. :thumb:
     

Share This Page