Common constants file for PHP and JavaScript

Posted by Luis on Stack Overflow See other posts from Stack Overflow or by Luis
Published on 2010-05-06T13:02:33Z Indexed on 2010/05/06 13:08 UTC
Read the original article Hit count: 303

Filed under:
|
|

How do guys suggest to share a constants file between PHP and JavaScript, in order not to repeat code? XML file? I am assuming mixing up javascipt inside PHP would not be the right solution!? Thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about php