Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

ASP advice needed please

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  UK c-card processing woes and strife.  
Author Message
user267

External


Since: Oct 16, 2003
Posts: 71



(Msg. 1) Posted: Wed Oct 22, 2003 7:04 pm
Post subject: ASP advice needed please
Archived from groups: alt>www>webmaster (more info?)

Is it possible using FileSystem Object to create a small asp file on my
server?....I'm assuming it's a simple process but I can't get my head round
it.....

The new created file simply requires the following code to be in place

<%
Session("ordercode") = "SAMCE2875S"
response.redirect("moreinfo4.asp")
%>

Where "SAMCE2875S" is a value derived from my database.....Also I need to be
able to save the files using this same value as the filename......

I'm sure this is dead simple.....Perhaps I havent drunk enough coffee today
or something....

 >> Stay informed about: ASP advice needed please 
Back to top
Login to vote
alan

External


Since: Jul 01, 2003
Posts: 56



(Msg. 2) Posted: Wed Oct 22, 2003 7:04 pm
Post subject: Re: ASP advice needed please [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Carved in mystic runes upon the very living rock, the last words of Sam
(primetlc® webmaster) of alt.www.webmaster make plain:

 > Is it possible using FileSystem Object to create a small asp file on
 > my server?....I'm assuming it's a simple process

Yes, it is.

 > but I can't get my head round it.....

OK....

FileName = SAMCE2875S & ".asp"
set objFSO = CreateObject("Scripting.FileSystemObject")
set objFile = objFSO.CreatTextFile(FileName, True)
objFile.Write(ASPCode)

--
Alan Little
Phorm PHP Form Processor
<a style='text-decoration: underline;' href="http://www.phorm.com/" target="_blank">http://www.phorm.com/</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: ASP advice needed please 
Back to top
Login to vote
user267

External


Since: Oct 16, 2003
Posts: 71



(Msg. 3) Posted: Thu Oct 23, 2003 4:16 pm
Post subject: Re: ASP advice needed please [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Alan Little" <alan.TakeThisOut@n-o-s-p-a-m-phorm.com> wrote in message
news:Xns941C77758E362alanphormcom@216.196.97.132...
 > Carved in mystic runes upon the very living rock, the last words of Sam
 > (primetlc® webmaster) of alt.www.webmaster make plain:
 >
  > > Is it possible using FileSystem Object to create a small asp file on
  > > my server?....I'm assuming it's a simple process
 >
 > Yes, it is.
 >
  > > but I can't get my head round it.....
 >
 > OK....
 >
 > FileName = SAMCE2875S & ".asp"
 > set objFSO = CreateObject("Scripting.FileSystemObject")
 > set objFile = objFSO.CreatTextFile(FileName, True)
 > objFile.Write(ASPCode)

My god, That's so simple an straight forward....I sat late last night trying
to come up with a way to do this, but with no succes.....All my ideas were
unnecesarilly complicated and difficult....LOL<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP advice needed please 
Back to top
Login to vote
alan

External


Since: Jul 01, 2003
Posts: 56



(Msg. 4) Posted: Fri Oct 24, 2003 10:31 am
Post subject: Re: ASP advice needed please [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Carved in mystic runes upon the very living rock, the last words of Sam
(primetlc® webmaster) of alt.www.webmaster make plain:

 >
 > "Alan Little" <alan.TakeThisOut@n-o-s-p-a-m-phorm.com> wrote in message
 > news:Xns941C77758E362alanphormcom@216.196.97.132...
  >> Carved in mystic runes upon the very living rock, the last words of
  >> Sam (primetlc® webmaster) of alt.www.webmaster make plain:
  >>
   >> > Is it possible using FileSystem Object to create a small asp file
   >> > on my server?....I'm assuming it's a simple process
  >>
  >> Yes, it is.
  >>
   >> > but I can't get my head round it.....
  >>
  >> OK....
  >>
  >> FileName = SAMCE2875S & ".asp"
  >> set objFSO = CreateObject("Scripting.FileSystemObject")
  >> set objFile = objFSO.CreatTextFile(FileName, True)
  >> objFile.Write(ASPCode)
 >
 > My god, That's so simple an straight forward....I sat late last night
 > trying to come up with a way to do this, but with no succes.....All my
 > ideas were unnecesarilly complicated and difficult....LOL

Hmm.

::Hoping I didn't just do someone's homework::

--
Alan Little
Phorm PHP Form Processor
<a style='text-decoration: underline;' href="http://www.phorm.com/" target="_blank">http://www.phorm.com/</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP advice needed please 
Back to top
Login to vote
user267

External


Since: Oct 16, 2003
Posts: 71



(Msg. 5) Posted: Fri Oct 24, 2003 11:51 am
Post subject: Re: ASP advice needed please [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Alan Little" <alan.RemoveThis@n-o-s-p-a-m-phorm.com> wrote in message
news:Xns941C77758E362alanphormcom@216.196.97.132...
 > Carved in mystic runes upon the very living rock, the last words of Sam
 > (primetlc® webmaster) of alt.www.webmaster make plain:
 >
  > > Is it possible using FileSystem Object to create a small asp file on
  > > my server?....I'm assuming it's a simple process
 >
 > Yes, it is.
 >
  > > but I can't get my head round it.....
 >
 > OK....
 >
 > FileName = SAMCE2875S & ".asp"
 > set objFSO = CreateObject("Scripting.FileSystemObject")
 > set objFile = objFSO.CreatTextFile(FileName, True)
 > objFile.Write(ASPCode)

Worked a treat Alan....I just needed to assign a path to the file name and
it did exactly what I wanted it to do<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP advice needed please 
Back to top
Login to vote
user267

External


Since: Oct 16, 2003
Posts: 71



(Msg. 6) Posted: Fri Oct 24, 2003 4:53 pm
Post subject: Re: ASP advice needed please [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Alan Little" <alan RemoveThis @n-o-s-p-a-m-phorm.com> wrote in message
news:Xns941E56A35C7E2alanphormcom@216.196.97.132...
 > Carved in mystic runes upon the very living rock, the last words of Sam
 > (primetlc® webmaster) of alt.www.webmaster make plain:
 >
  > >
  > > "Alan Little" <alan RemoveThis @n-o-s-p-a-m-phorm.com> wrote in message
  > > news:Xns941C77758E362alanphormcom@216.196.97.132...
   > >> Carved in mystic runes upon the very living rock, the last words of
   > >> Sam (primetlc® webmaster) of alt.www.webmaster make plain:
   > >>
   > >> > Is it possible using FileSystem Object to create a small asp file
   > >> > on my server?....I'm assuming it's a simple process
   > >>
   > >> Yes, it is.
   > >>
   > >> > but I can't get my head round it.....
   > >>
   > >> OK....
   > >>
   > >> FileName = SAMCE2875S & ".asp"
   > >> set objFSO = CreateObject("Scripting.FileSystemObject")
   > >> set objFile = objFSO.CreatTextFile(FileName, True)
   > >> objFile.Write(ASPCode)
  > >
  > > My god, That's so simple an straight forward....I sat late last night
  > > trying to come up with a way to do this, but with no succes.....All my
  > > ideas were unnecesarilly complicated and difficult....LOL
 >
 > Hmm.
 >
 > ::Hoping I didn't just do someone's homework::

Nope.....It's a small part of a much larger project, and I seemed to have
developed a complete mental block.....Your help was very much
appreciated.....Many thanks.....<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP advice needed please 
Back to top
Login to vote
user104

External


Since: Jun 28, 2003
Posts: 1662



(Msg. 7) Posted: Sat Oct 25, 2003 2:20 am
Post subject: Re: ASP advice needed please [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Alan Little" <alan RemoveThis @n-o-s-p-a-m-phorm.com> wrote in message
news:Xns941E56A35C7E2alanphormcom@216.196.97.132...

 > ::Hoping I didn't just do someone's homework::

Aye, "never had that in my day!"
--
Charles Sweeney
<a style='text-decoration: underline;' href="http://www.CharlesSweeney.com" target="_blank">www.CharlesSweeney.com</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP advice needed please 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
E-commerce advice needed please - I'm setting up a card payment processing page on a shopping site..... So far the best deal I can find is using the VSP Server option at Prot-X www.protx.com to clear payments into my internet merchant account. Prot-X come recomended by half a dozen majo...

Advice? - Hello, We are in a bit of a sticky situation here. Let me explain: We had a client sign up for hosting with us ( www.xoticpc.com ), he ordered a year of hosting at 160$, and used a service called www.bidpay.com to send a money order. The problem is,....

advice please - Hi again group, I have a .net domain name and have just found that I don't rank very well on Google.co.uk UK search. When I bought the .net name I also bought the .co.uk too. Is it worth hosting the .co.uk address as well as the .net? would I be..

New to A.W.W. & need advice - Hello, over the last couple of years my hobby site has grown quite rapidly. I'm really pleased that's it's so popular but I'm not too keen on the bandwidth bills I'm getting. So reluctantly I've decided to bite the bullet and start defacing it with banne...

Advice with the scripts! - Hi guys I have a BIG site. With lots of documents, and lots of visits (big for when I´m from anyway). Since I´m "just" a designer, my site has been only html, css, tables and SOME free perl scripts (and ssi). Now, the time has come, for me to ...
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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



[ Contact us | Terms of Service/Privacy Policy ]