943,925 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1354
  • PHP RSS
Jul 22nd, 2007
0

PHP and TEXT FILES

Expand Post »
Hi I'm new here and new in the industry, I'm focused in designing right now... but still interested in developing dynamic websites.

I just want to ask if there is an available script that writes a text file in a FTP server then show in a scrolling text in FLASH.

I don't know IF I MAKE SENSE at all... ehe : )

like in uploading images they put the image in an FTP SERVER right, then
display it in front like a scrolling sponsors.

THANKS

GOOD DAY
Last edited by cscgal; Jul 23rd, 2007 at 2:06 am. Reason: Excessive bbcode color removed
Similar Threads
Reputation Points: 10
Solved Threads: 2
Junior Poster in Training
php_noob is offline Offline
81 posts
since Jul 2007
Jul 24th, 2007
0

Re: PHP and TEXT FILES

I'm not aware of any scripts to do this.

You're looking to create your text file.
Create a socket to your FTP server.
Send the appropriate FTP commands to Login + change DIR + upload file.

Then you will want to use actionscript to
grab the file contents from FTP server, and display them.

Thats one solution to your problem.

Cheers.
Reputation Points: 35
Solved Threads: 5
Junior Poster
dr4g is offline Offline
136 posts
since Apr 2007
Jul 25th, 2007
0

Re: PHP and TEXT FILES

ei, thanks,

actually I have scripting for how to get the contents of the text file
my only main prob is how can I make a text file.

I try the uploading of a text file made outside the system that I am making but I want to make it more dynamic.

for convenience sake!
thanks anyways
Reputation Points: 10
Solved Threads: 2
Junior Poster in Training
php_noob is offline Offline
81 posts
since Jul 2007
Jul 27th, 2007
0

Re: PHP and TEXT FILES

$ourFileName = "testFile.txt";
$ourFileHandle = fopen($ourFileName, 'w') or die("can't open file");
fclose($ourFileHandle);
Reputation Points: 10
Solved Threads: 0
Newbie Poster
peanutpad is offline Offline
2 posts
since Jun 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Help
Next Thread in PHP Forum Timeline: PHP, Dreamweaver and MySQL





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC