smartguyin Posted June 5, 2006 Share Posted June 5, 2006 I want php to create html page and put html code in it !Actually i have built a form the php we use info given in these form and create the html page according to he info submitted in the form.I want to know how can i create a page with php and put the html code in it.Please reply !!!! Thanks in advance.... if you know please please reply here.............. Link to comment https://forums.phpfreaks.com/topic/11224-php-to-create-page/ Share on other sites More sharing options...
wisewood Posted June 5, 2006 Share Posted June 5, 2006 Do you mean that you want whatever.php to actually create a html file, called, for example "test.html" ? Link to comment https://forums.phpfreaks.com/topic/11224-php-to-create-page/#findComment-41994 Share on other sites More sharing options...
smartguyin Posted June 6, 2006 Author Share Posted June 6, 2006 [!--quoteo(post=380175:date=Jun 5 2006, 05:40 PM:name=wisewood)--][div class=\'quotetop\']QUOTE(wisewood @ Jun 5 2006, 05:40 PM) [snapback]380175[/snapback][/div][div class=\'quotemain\'][!--quotec--]Do you mean that you want whatever.php to actually create a html file, called, for example "test.html" ?[/quote]Yes i want php to create html page.. Link to comment https://forums.phpfreaks.com/topic/11224-php-to-create-page/#findComment-42335 Share on other sites More sharing options...
wisewood Posted June 6, 2006 Share Posted June 6, 2006 I'm having trouble replying today for some reason... could you send me a message with your email address and i'll send you the script i've got for you. Link to comment https://forums.phpfreaks.com/topic/11224-php-to-create-page/#findComment-42424 Share on other sites More sharing options...
spasm37 Posted June 6, 2006 Share Posted June 6, 2006 [!--quoteo(post=380614:date=Jun 6 2006, 10:50 AM:name=wisewood)--][div class=\'quotetop\']QUOTE(wisewood @ Jun 6 2006, 10:50 AM) [snapback]380614[/snapback][/div][div class=\'quotemain\'][!--quotec--]I'm having trouble replying today for some reason... could you send me a message with your email address and i'll send you the script i've got for you.[/quote]Hey, I'm actually looking for the same thing, would you be able to send the script to me too? [email protected] Link to comment https://forums.phpfreaks.com/topic/11224-php-to-create-page/#findComment-42432 Share on other sites More sharing options...
smartguyin Posted June 6, 2006 Author Share Posted June 6, 2006 Ohh thanks Wisewood Please email be back on email id - [b][email protected][/b] Link to comment https://forums.phpfreaks.com/topic/11224-php-to-create-page/#findComment-42463 Share on other sites More sharing options...
wisewood Posted June 7, 2006 Share Posted June 7, 2006 email sent to you both. Link to comment https://forums.phpfreaks.com/topic/11224-php-to-create-page/#findComment-42718 Share on other sites More sharing options...
markspec87 Posted June 7, 2006 Share Posted June 7, 2006 i would be grateful if you could send me the code aswell :) Link to comment https://forums.phpfreaks.com/topic/11224-php-to-create-page/#findComment-42863 Share on other sites More sharing options...
wisewood Posted June 8, 2006 Share Posted June 8, 2006 email address? Link to comment https://forums.phpfreaks.com/topic/11224-php-to-create-page/#findComment-43122 Share on other sites More sharing options...
markspec87 Posted June 8, 2006 Share Posted June 8, 2006 [email protected]i PMed you :) Link to comment https://forums.phpfreaks.com/topic/11224-php-to-create-page/#findComment-43144 Share on other sites More sharing options...
wisewood Posted June 8, 2006 Share Posted June 8, 2006 email sent. No pm notification ever appeared. Link to comment https://forums.phpfreaks.com/topic/11224-php-to-create-page/#findComment-43152 Share on other sites More sharing options...
smartguyin Posted June 9, 2006 Author Share Posted June 9, 2006 Wisewood ->> How can i create a file in new folder. I mean the script should create a folder and create a html file in that folder. If you can help me in this you have made my day !!!!Thanks in Advance. Link to comment https://forums.phpfreaks.com/topic/11224-php-to-create-page/#findComment-43541 Share on other sites More sharing options...
wisewood Posted June 9, 2006 Share Posted June 9, 2006 use the mkdir("/directory_name") function before you create the html file, and then you can set the filename of the file you make with the /directory_name/ on the begining. Link to comment https://forums.phpfreaks.com/topic/11224-php-to-create-page/#findComment-43584 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.