Page 1 of 1
PHP to write a .css file?
Posted: Sun Nov 16, 2003 10:33 pm
by quietk

Im trying to make a site where you can edit the css and it will sav it into a .css file that is saved on my webserver and each one will have a different name for every person who uses the site.
sorry
Posted: Sun Nov 16, 2003 10:47 pm
by quietk
i forgot to add this all the css will be edited from a form EX.
Fonts
- Color
- Size
- Style
Links
- link
- hover
- active
[submit]
Then on the next page it will show up with this script:
<style type="text/css">
@import url(
http://mysite.com/dir/filename.css);
</style>
and the user can just copy and paste it into there site.
and i can only use the @import script because it is the only one that works on the journal site.
thanks again
Posted: Sun Nov 16, 2003 10:49 pm
by Paddy
What you want to do seems rather simple. If you can't get someone to do it perhaps you might like to try it yourself. Here would be a good start...
http://au2.php.net/manual/en/ref.filesystem.php