PHP to write a .css file?

Looking for volunteers to join your project? Need help with a script but can't afford to pay? Want to offer your services as a volunteer to build up your portfolio? This is the place for you...

Moderator: General Moderators

Post Reply
quietk
Forum Newbie
Posts: 7
Joined: Sun Nov 16, 2003 10:33 pm
Location: California

PHP to write a .css file?

Post by quietk »

:arrow: 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.
Last edited by quietk on Thu Jul 31, 2008 8:28 pm, edited 2 times in total.
quietk
Forum Newbie
Posts: 7
Joined: Sun Nov 16, 2003 10:33 pm
Location: California

sorry

Post by quietk »

i forgot to add this all the css will be edited from a form EX.

Fonts
  1. Color
  2. Size
  3. Style
Links
  1. link
  2. hover
  3. 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
Paddy
Forum Contributor
Posts: 244
Joined: Wed Jun 11, 2003 8:16 pm
Location: Hobart, Tas, Aussie
Contact:

Post 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
Post Reply