You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

56 lines
1.1 KiB

  1. Adding Entities to the Entities Defintions Array.
  2. You create an Entity definition file with the format illustrated below, and then run the php
  3. script ents_seri.php
  4. Name your definitions file add.ent
  5. Then at the command line type:
  6. php ents_seri.php
  7. Alternatively, you can give your entity definition file any name you want and feed
  8. the file name to the script at the command line:
  9. php ents_seri.php your_entity_file
  10. This creates a new entities file called ent.ser, which must then be copied to
  11. the fckg/action subdirectory. You would be wise to first back up the original ent.ser
  12. before over-writing it.
  13. There are two definition files in the action/entities: ents.data and fcked-ents.data.
  14. These are required and must not be removed from the directory.
  15. The definition file has the following format:
  16. character
  17. entity numeric code
  18. entity character code
  19. character
  20. entity numeric code
  21. entity character code
  22. etc.
  23. There is one empty line between each definition. Here is an actual example.
  24. <
  25. &#60;
  26. &lt;
  27. >
  28. &#62;
  29. &gt;
  30. ¡
  31. &#161;
  32. &iexcl;
  33. ¢
  34. &#162;
  35. &cent;
  36. £
  37. &#163;
  38. &pound;