| View previous topic :: View next topic |
| Author |
Message |
GeoTrail Valued Contributor


Joined: 18 Feb 2003 Posts: 572 Location: Bergen, Norway
|
Posted: Mon Jun 16, 2003 12:49 am Post subject: Just me and those LISTS again... |
|
|
Yupp, me again
I'm experimenting with the BINFILE and LIST commands now.
What I'm trying to do now is to add items to a LIST using LIST ADD,1,Text string and then adding them and writing them to a text file using BINFILE.
I'm been trying to read in the help file but I can't seem to figure out how to do this.
I have managed to use only BINFILE to write to a file from a variable. I want to add some html in there too. I tried something like this:
| Code: | | <p align="center">Text here</p> |
But then the " sign messed up the output. Any ideas on this?
What I would like to do is to make a PHP code wizard to write code snippets written in the program to a PHP or HTML file. _________________
 |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Jun 16, 2003 12:52 am Post subject: |
|
|
You should use @chr(34) for the quotes if you want them to appear in output.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
GeoTrail Valued Contributor


Joined: 18 Feb 2003 Posts: 572 Location: Bergen, Norway
|
Posted: Mon Jun 16, 2003 12:56 am Post subject: |
|
|
OK, thanks.
But how do I write the contents of a LIST to a file using BINFILE?
I know how to write the contents of a variable  _________________
 |
|
| Back to top |
|
 |
GeoTrail Valued Contributor


Joined: 18 Feb 2003 Posts: 572 Location: Bergen, Norway
|
Posted: Mon Jun 16, 2003 1:02 am Post subject: |
|
|
He he he never mind. I missed a part in the help file | Quote: | LIST SAVEFILE,<list>,<filename>
Copyright © 1995 - 2002 S.A.D.E. s.a.r.l. / All rights are reserved. |
 _________________
 |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Mon Jun 16, 2003 1:39 pm Post subject: |
|
|
Geotrail,
you can't use
| Code: | | LIST SAVEFILE,<list>,<filename> |
with BINFILE...or am i mistaken??!?!?
Serge _________________
|
|
| Back to top |
|
 |
GeoTrail Valued Contributor


Joined: 18 Feb 2003 Posts: 572 Location: Bergen, Norway
|
Posted: Mon Jun 16, 2003 1:52 pm Post subject: |
|
|
Yeah I know. But I figured out that I could just save directly from the list using the list command and I don't need to use the BINFILE command at all  _________________
 |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Mon Jun 16, 2003 2:02 pm Post subject: |
|
|
ok...didn't know if you knew...am online if you wanna chat
Serge _________________
|
|
| Back to top |
|
 |
|