forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Just me and those LISTS again...

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
GeoTrail
Valued Contributor
Valued Contributor


Joined: 18 Feb 2003
Posts: 572
Location: Bergen, Norway

PostPosted: Mon Jun 16, 2003 12:49 am    Post subject: Just me and those LISTS again... Reply with quote

Yupp, me again Wink

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
View user's profile Send private message Visit poster's website MSN Messenger
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Jun 16, 2003 12:52 am    Post subject: Reply with quote

You should use @chr(34) for the quotes if you want them to appear in output. Smile
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
GeoTrail
Valued Contributor
Valued Contributor


Joined: 18 Feb 2003
Posts: 572
Location: Bergen, Norway

PostPosted: Mon Jun 16, 2003 12:56 am    Post subject: Reply with quote

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 Embarassed

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
GeoTrail
Valued Contributor
Valued Contributor


Joined: 18 Feb 2003
Posts: 572
Location: Bergen, Norway

PostPosted: Mon Jun 16, 2003 1:02 am    Post subject: Reply with quote

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.


Laughing

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Mon Jun 16, 2003 1:39 pm    Post subject: Reply with quote

Geotrail,

you can't use

Code:
LIST SAVEFILE,<list>,<filename>


with BINFILE...or am i mistaken??!?!?

Serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
GeoTrail
Valued Contributor
Valued Contributor


Joined: 18 Feb 2003
Posts: 572
Location: Bergen, Norway

PostPosted: Mon Jun 16, 2003 1:52 pm    Post subject: Reply with quote

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 Wink
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Mon Jun 16, 2003 2:02 pm    Post subject: Reply with quote

ok...didn't know if you knew...am online if you wanna chat

Serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group