lalnfl Posted October 2, 2010 Share Posted October 2, 2010 I was wondering if there was a way to allow users to input there own HTML and CSS in like a members only site using PHP? If so, how would it be done? Link to comment https://forums.phpfreaks.com/topic/214994-allowing-html-and-css-through-php/ Share on other sites More sharing options...
WatsonN Posted October 2, 2010 Share Posted October 2, 2010 Well you could have a file for each user like username.css and username.html and use fopen() Link to comment https://forums.phpfreaks.com/topic/214994-allowing-html-and-css-through-php/#findComment-1118362 Share on other sites More sharing options...
lalnfl Posted October 2, 2010 Author Share Posted October 2, 2010 username.css could be used to change there layout? Like different colors and such? Link to comment https://forums.phpfreaks.com/topic/214994-allowing-html-and-css-through-php/#findComment-1118367 Share on other sites More sharing options...
WatsonN Posted October 2, 2010 Share Posted October 2, 2010 Yes. Like put your default CSS in there if you want to give them a base and edit it from there. Link to comment https://forums.phpfreaks.com/topic/214994-allowing-html-and-css-through-php/#findComment-1118368 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.