Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp convert to php...any ideas?..

Status
Not open for further replies.

coldfused

Technical User
Jan 27, 2001
2,442
US
ok guys this is what i want..last night i found a script that allows you to send variables through flash using asp to write to a text file on the server..mc1 is text file that is returned from the server using load variables..mc 2 is hidden untill password in mc1 is submitted and is correct..thus setting mc1 visible=false..mc2visible=true..mc two has a input txt box and a button that passes the variable Text through the asp and writes to the Text.txt file on the server..when you hit the button to submit your txt, mc2 visible=false, mc1 visible=true, but now shows up with your changes that Textwrite.asp made and returns the variable Text.txt in flash..you guys understand?..sorry if i'm confusing but hey, it's me, confused...anyways i got all this working and all is well, except one thing..the server that i have the site running on is a linux server not windows..screwed................after all that..i know i know, i should have checked...

here's the asp:
<%@ Language=VBScript %>

<%
MyText = Request.Form(&quot;Text&quot;)
Set FileSystem = Server.CreateObject(&quot;Scripting.FileSystemObject&quot;)
set fil = FileSystem.CreateTextFile(&quot;C:\Inetpub\ 8, 0)'
fil.WriteLine( &quot;Text=&quot; & MyText )
fil.close
%>


i need a php script that writes to a text file through flash and returns the variable Text.txt in flash with changes made..why you ask..a news page that i won't the owner of the site to be able to update on his own through flash...he will be making daily changes..


is this possible with php?..or any other ideas?.
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
will try..thanks
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
i still can not get it to work..do you have flash?..is it possible that you can make me up a quick demo with the correct codes to achieve what i want to do?.
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
are you getting some php excution error?
i can help you only with that, because flash is not what i'm used to
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top