Re: [PHP] Opening and Editing Quark Binaries

2002-07-17 Thread Miguel Cruz
On Wed, 17 Jul 2002, Justin French wrote: > I've attached a file I received with Quark 3.32, which has sample text > complete with Quark Xpress tags. XPress Tags is a great format, and easy to work with for auto-generated content. However, all you can do with it is prepare text for a single run

Re: [PHP] Opening and Editing Quark Binaries

2002-07-17 Thread Justin French
on 17/07/02 5:28 PM, Justin French ([EMAIL PROTECTED]) wrote: > I've attached a file I received with Quark 3.32, which has sample text > complete with Quark Xpress tags. Sorry forgot to attach the file! Justin @DropCapParagraphStyle=<*L*h"Standard"*kn0*kt0*ra0*rb0*d(1,3)*p(0,0,0,0,0,0,g)*t(0

Re: [PHP] Opening and Editing Quark Binaries

2002-07-17 Thread Justin French
I've attached a file I received with Quark 3.32, which has sample text complete with Quark Xpress tags. Perhaps rather than using PHP to edit a whole .qxd file, perhaps you can use it to help format some text to be imported into a template file. It's not a complete solution, but a part of one --

Re: [PHP] Opening and Editing Quark Binaries

2002-07-16 Thread Miguel Cruz
On Sun, 14 Jul 2002, Simon Troup wrote: > ... quark reports things like unexpected EOF (even though when I open > the file in a text editor they have same number of lines and "look" > identical), I've also tried a few things with the Mac resource forks to > no avail. > > Has anyone tried somethin

[PHP] Opening and Editing Quark Binaries

2002-07-14 Thread Simon Troup
I've been trying to open and end some of the ascii portions of Quark Express binary files, (I'm using PHP4 on MacOSX, the quark files are OS9 files). Even if I make the simplest eregi_replace () having done ... $fd = fopen ($file, "rb+"); $contents = fread ($fd, filesize ($file)); fclose ($fd);