Duplicating pages with php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
S A N T A
Forum Newbie
Posts: 10
Joined: Sat May 10, 2008 4:43 pm

Duplicating pages with php

Post by S A N T A »

Is there anyway to duplicate a .php page and change its name example:

A user registers on my site and then wants to go check out another users profile and then look at his. In the process of registering the code has already created a file for his profile.

Is there anyway to do that?
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: Duplicating pages with php

Post by yacahuma »

arent you saving the profile on a database. Why use a file for that?
Post Reply