View previous topic :: View next topic |
Author |
Message |
gadgetboy -
Joined: 23 Apr 2003 Posts: 7
|
Posted: Wed Sep 07, 2005 5:17 pm Post subject: Alow .php files to write to .html file. |
|
|
How can i make a .php file alowed to write to files saved localy on the web server.
I have a .PHP script that will modify some .html files on demand but I dont know how to make this psoible.
Can i set this by file or by directory?
/Best regards
Karl |
|
Back to top |
|
 |
Rufert -
Joined: 15 Aug 2005 Posts: 18
|
Posted: Wed Sep 07, 2005 9:16 pm Post subject: |
|
|
are you getting an error? or do you need a script that writes it _________________
 |
|
Back to top |
|
 |
Tim1681 -
Joined: 17 Jan 2005 Posts: 160 Location: Bristol, CT, USA
|
Posted: Wed Sep 07, 2005 9:17 pm Post subject: |
|
|
How about u post the script in the forums or atleast a link to the script online. _________________ mysql> SELECT * FROM users WHERE clue > 0;
0 rows returned.
 |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Wed Sep 07, 2005 9:35 pm Post subject: |
|
|
gadgetboy,
I take it the script I sent you was not any use to you? _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Sep 08, 2005 4:13 pm Post subject: Re: Alow .php files to write to .html file. |
|
|
gadgetboy,
In the PHP script you'll have to open/create the HTML file and write to it. Nothing special: only classical file manipulation. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
gadgetboy -
Joined: 23 Apr 2003 Posts: 7
|
Posted: Fri Sep 09, 2005 8:33 am Post subject: |
|
|
I only need to know how to make a file the rights to write and modify other files on demand.
I will have the file saved in a pasword restricted area of my site and when i visit the adress the php script will run and make some modifikations in multiple html files..
Since this is a script that will modify local saved html files I dont whant to
give you the adress to the script. |
|
Back to top |
|
 |
gadgetboy -
Joined: 23 Apr 2003 Posts: 7
|
Posted: Fri Sep 09, 2005 8:54 am Post subject: |
|
|
I think this might be a PHP config related problem (CHMOD) and not a Abyss config problem.
But still I have the problem becaus I have not found out how to solve this. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Sep 09, 2005 1:21 pm Post subject: |
|
|
gadgetboy,
Can you please post here the PHP code you're using and tell us what is the operating system you use? _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|