Alow .php files to write to .html file.

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
gadgetboy
-


Joined: 23 Apr 2003
Posts: 7

PostPosted: Wed Sep 07, 2005 5:17 pm    Post subject: Alow .php files to write to .html file. Reply with quote

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 View user's profile Send private message
Rufert
-


Joined: 15 Aug 2005
Posts: 18

PostPosted: Wed Sep 07, 2005 9:16 pm    Post subject: Reply with quote

are you getting an error? or do you need a script that writes it
_________________
Back to top View user's profile Send private message
Tim1681
-


Joined: 17 Jan 2005
Posts: 160
Location: Bristol, CT, USA

PostPosted: Wed Sep 07, 2005 9:17 pm    Post subject: Reply with quote

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 View user's profile Send private message AIM Address
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Wed Sep 07, 2005 9:35 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Wed Sep 07, 2005 10:34 pm    Post subject: Reply with quote

www.php.net/fwrite
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Sep 08, 2005 4:13 pm    Post subject: Re: Alow .php files to write to .html file. Reply with quote

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 View user's profile Send private message Send e-mail
gadgetboy
-


Joined: 23 Apr 2003
Posts: 7

PostPosted: Fri Sep 09, 2005 8:33 am    Post subject: Reply with quote

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 View user's profile Send private message
gadgetboy
-


Joined: 23 Apr 2003
Posts: 7

PostPosted: Fri Sep 09, 2005 8:54 am    Post subject: Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Sep 09, 2005 1:21 pm    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group