Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations danielledunham on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by papyG

  1. papyG

    Wrong line numbers in parse error display

    Here is the solution of the mystery (or part of) : I had to choose "Unix line breaks (0A)" in BBedit ! Another work around is (with 0D line break): - start each line with a blank or a tab - put a blank after a line containing only ?> So, as most of my lines started with a tab, there was only...
  2. papyG

    Wrong line numbers in parse error display

    I knew that before ! But when I write if echo "aaa"; the zend machine stops at this line, for after "if " it expects a "(", doesn't it ? Anyway, I'm sure Zend didn't behave this way before !
  3. papyG

    Strange accents in php output with MacOs X

    Great ! It works when making a Mac-Iso conversion… This simplifies my programming even if it is still not as easy as before… Nevertheless, may be some change in the configuration of Unix or Php could also resolve the problem, but which (I'm really not familiar with Unix…)
  4. papyG

    Strange accents in php output with MacOs X

    Thank you for your code; it works perfectly. Nevertheless, using this function is less convenient than juste typing the original characters. I think the special characters from BBedit are not translated in the right way when passed to Unix and Php. This also explains why htmlentities() does...
  5. papyG

    Strange accents in php output with MacOs X

    é (eacute) is displayed as Ž (a Z with a cup on it) by Safari. When I copy this character from the Safari screen back to BBedit, I get a question mark (?) If I copy the same character from the Safari source back to BBEdit, I get two characters :
  6. papyG

    Wrong line numbers in parse error display

    Thanks for your your hint. To be clear, if I write the following line : if echo "aaa"; on line 57, I get the message : Parse error: parse error, unexpected T_ECHO, expecting '(' in /Users/…/myfile.php on line 54 If I put the same instruction at say line 203, php sees the error at line...
  7. papyG

    Wrong line numbers in parse error display

    I'm using Php 4.3.6 (entropy release) under MacOs X 10.3.5. When I get a Parse error such as Parse error: parse error, unexpected T_ELSE in /Users/.../myfile.php on line 230 the error is actually some lines below (the increment is not constant) I edit my files with BBedit Lite 6.1.2...
  8. papyG

    Strange accents in php output with MacOs X

    Usually, when I typed echo "é"; // echo an eacute caracter in a php file, the output file would display the same character and thus be correctly interpreted by the major browsers (Explorer, Netscape, Safari). Now I'm using Php 4.3.6 (entropy release) (under MacOs X 10.3.5) and I get...

Part and Inventory Search

Back
Top