EPDM API: PHP Example

I recently had someone ask me to provide an example using PHP with the SolidWorks EPDM API. I am posting the example I provided in hopes it may help someone else down the road. Note the module name in the ‘new COM’ line. <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <style…