Forum Moderators: coopster

Message Too Old, No Replies

Automatically load a set of templates

What will be the best way? (Using PHP & MySQL)

         

henry0

10:09 pm on Dec 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am trying to set an auto loading system for a new set of templates;
That will load upon user authentication

Actual “Screen play”
A client pays for the membership including a set of templates to create their own web pages within the portal
Templates are manually uploaded
He/she receives a link --- auth process... ok
Then the client via a CMS populates the templates

Needed “scenario”
I do not want any longer manually uploading the set of templates
Again a client pay ...
Register his/her profile
And get a link to his/her set of templates to be populated via my CMS
Problem: up to now I manually loaded (still load) the set of templates
I cannot figure how to add automatism to the process
Everything else is fine just looking to find a solution for auto loading those templates

Any scenario?

Thanks
Regards
Henry

coopster

5:28 pm on Dec 29, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Why not leave a copy of the templates in a protected directory on the server and, once the client pays, copy the selected templates to *their* directory?

henry0

5:40 pm on Dec 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Coopster
I did that
I have all problems ironed and it works fine from to auth to duplication of folder
my last problem lies in another post (my most recent) about
open and write to a precise area of a file
I realized that I never did it
and found explanations not really "speaking to me"
Henry