PHP and TEXT FILES

Reply

Join Date: Jul 2007
Posts: 66
Reputation: php_noob is an unknown quantity at this point 
Solved Threads: 2
php_noob's Avatar
php_noob php_noob is offline Offline
Junior Poster in Training

PHP and TEXT FILES

 
0
  #1
Jul 22nd, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 136
Reputation: dr4g is an unknown quantity at this point 
Solved Threads: 5
dr4g's Avatar
dr4g dr4g is offline Offline
Junior Poster

Re: PHP and TEXT FILES

 
0
  #2
Jul 24th, 2007
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.
GardCMS :: Open Source CMS :: Gardcms.org
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 66
Reputation: php_noob is an unknown quantity at this point 
Solved Threads: 2
php_noob's Avatar
php_noob php_noob is offline Offline
Junior Poster in Training

Re: PHP and TEXT FILES

 
0
  #3
Jul 25th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 2
Reputation: peanutpad is an unknown quantity at this point 
Solved Threads: 0
peanutpad peanutpad is offline Offline
Newbie Poster

Re: PHP and TEXT FILES

 
0
  #4
Jul 27th, 2007
$ourFileName = "testFile.txt";
$ourFileHandle = fopen($ourFileName, 'w') or die("can't open file");
fclose($ourFileHandle);
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC