Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Pages: [1]
Send this topic | Print
Topic: Help.!! Reading Files In The Dir, then write to the Log File.  (Read 2188 times)
« on: November 28, 2005, 02:57:18 AM »
ThyDarkness_Aura Offline
Newbie

View Profile
*
Posts: 5



I want to write a script, that read files in the directory and the lower directory (till there was no dir) and write to a log file in this format :
filedirectory|filename| \n

but i can't figure out how to make it . . .
Report to moderator   Logged

 
« Reply #1 on: January 14, 2006, 03:50:53 PM »
Do you practice what you preach?
cool1.t35.com Offline
Member

View Profile WWW
***
Posts: 161



why would you want to do that? and you can't because it would mean interferring with the server. the server might see as a hack attempt and block you.
Report to moderator   Logged

The Light can never overpower the darkness alone. Love is needed.

Islam is peace.

http://www.islamhope.net
« Reply #2 on: January 19, 2006, 04:54:09 AM »
ThyDarkness_Aura Offline
Newbie

View Profile
*
Posts: 5



Ah, i want to do this because it's part of my backup script.

it need to read the logfile, just like... (sorry my english isn't good)

example :
dirone|template.php|
dirone/level2|blabla.php|

then the script will fopen the template.php and blabla.php and write it to a file.

because it's very tiring if i want to write a lot of things like that, so i want to make it...
maybe you got it wrong about the things i say. . .
Report to moderator   Logged
« Reply #3 on: January 19, 2006, 02:47:12 PM »
Do you practice what you preach?
cool1.t35.com Offline
Member

View Profile WWW
***
Posts: 161



i have no idea what you are talking about really. But if you want to back up your files, then just use the download button on the homepage login. You have to select all your files and folders and it will download them on your computer.  grin
Report to moderator   Logged

The Light can never overpower the darkness alone. Love is needed.

Islam is peace.

http://www.islamhope.net
 
Pages: [1]
Send this topic | Print
Jump to:  

Powered by SMF | SMF © 2006-2008, Simple Machines LLC