...

View Full Version : Is this possible?



mib
04-24-2011, 02:14 PM
Hi,

What i want to be able to do is create a php page from another php page.

The reason for this is i want one page to create to generate the code for the user however rather than the user having to copy and paste the code for the page themselves i would like the file to be automatically created and placed in the correct folder.

Any help would be appriciated, (even if i means i have to use another language to create the php file.)

Thanks
MIB

abduraooft
04-24-2011, 02:32 PM
The reason for this is i want one page to create to generate the code for the user What kind of "code" is this? Why do you need to make separate code for each user?

mib
04-24-2011, 02:38 PM
Well the code for the second page is going to generate a PDF file from the libary that i have on the webserver.

So each pdf file will have different content that i need to have on it.

Thanks

mib
04-24-2011, 03:19 PM
Thank alot but i manages to find a solution.

I used fopen to create the file and fwrite to write the code to the page. Incase anyone ever wants to do this aswell.

MIB



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum