PHP Classes

write to text file on other domain

Recommend this page to a friend!

      PHP Forms Class with HTML Generator and JavaScript Validation  >  PHP Forms Class with HTML Generator and JavaScript Validation package blog  >  How to Show Google Ma...  >  All threads  >  write to text file on other domain  >  (Un) Subscribe thread alerts  
Subject:write to text file on other domain
Summary:I can't write to a text file on my other domain
Messages:2
Author:John Bunt
Date:2007-03-20 18:02:55
Update:2007-03-21 20:01:30
 

  1. write to text file on other domain   Reply   Report abuse  
Picture of John Bunt John Bunt - 2007-03-20 18:02:55
I have searched everywhere and I can't find any information about this.
I have a form that someone fills out on SITE A and then an email goes out with a reference number attached. My problem is I have another site B that has a form that does the same thing...but it needs to access the same simple text file with the ref.# on site A. It is no problem to read it but after that it needs to add 1 to the number and write the new ref# to site A. So really I just need to know how to write to a text file from one domain to the other.
This post might be a little off topic but I am just asking since I was responding to the person who just replied to me...and IM VERY DESPERATE!

Thank you VERY much.

  2. Re: write to text file on other domain   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2007-03-21 20:01:30 - In reply to message 1 from John Bunt
I think you need to keep track of your numbers in a database that both sites can access.

Anyway, if this is not related with the forms class, please post it in another forum.