![]() |
|
#1
|
|||
|
|||
generating files with phpis it possible to generate files with php as it is with java? i mean, can you have your output written in an text or an xml file?
it IS possible to dynamically generate an xml file, but how to save this output? thank you very much for your help! |
|
#3
|
|||
|
|||
|
This is some psuedo-code that would do what you want:
PHP Code:
|
|
#4
|
||||
|
||||
|
I have a program that basically rewrites code I use for my Content Management system, everytime I add a new module. I create a table in the database and it rewrites the code to access the new table that the module will use.
Anyway, the problems I ran into early on in the project was making sure that PHP had proper permission to write to the directory. I believe I also had to use the umask function to make sure that all files written would get certain permissions. I would call umask, before doing anything file writes (fwrite). |
Recent GIDBlog
Observations of Iraq by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| uisng php to display php | dopee | MySQL / PHP Forum | 6 | 14-May-2004 18:40 |
| Can't view pages from another machine on the Intranet | aevans | Apache Web Server Forum | 9 | 14-May-2004 02:26 |
| php & txt files | dopee | MySQL / PHP Forum | 5 | 06-May-2004 03:05 |
| PHP in HTML | jrobbio | Web Design Forum | 4 | 24-Jul-2003 06:05 |
| All the big PHP script collections that matter | jrobbio | MySQL / PHP Forum | 5 | 06-Jun-2003 16:14 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The