Jump to content


Photo

Php to create page


  • Please log in to reply
12 replies to this topic

#1 smartguyin

smartguyin
  • Members
  • PipPipPip
  • Advanced Member
  • 61 posts

Posted 05 June 2006 - 09:49 AM

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..............
One of my php project >> http://www.mumbaipropertysite.com

#2 wisewood

wisewood
  • Members
  • PipPipPip
  • Advanced Member
  • 226 posts
  • LocationRotherham, England

Posted 05 June 2006 - 12:10 PM

Do you mean that you want whatever.php to actually create a html file, called, for example "test.html" ?
wisewood: proven fact, I am both wise, and wooden.

#3 smartguyin

smartguyin
  • Members
  • PipPipPip
  • Advanced Member
  • 61 posts

Posted 06 June 2006 - 08:40 AM

[!--quoteo(post=380175:date=Jun 5 2006, 05:40 PM:name=wisewood)--][div class=\'quotetop\']QUOTE(wisewood @ Jun 5 2006, 05:40 PM) View Post[/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..
One of my php project >> http://www.mumbaipropertysite.com

#4 wisewood

wisewood
  • Members
  • PipPipPip
  • Advanced Member
  • 226 posts
  • LocationRotherham, England

Posted 06 June 2006 - 02:50 PM

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.
wisewood: proven fact, I am both wise, and wooden.

#5 spasm37

spasm37
  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 06 June 2006 - 02:54 PM

[!--quoteo(post=380614:date=Jun 6 2006, 10:50 AM:name=wisewood)--][div class=\'quotetop\']QUOTE(wisewood @ Jun 6 2006, 10:50 AM) View Post[/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? word096@yahoo.com

#6 smartguyin

smartguyin
  • Members
  • PipPipPip
  • Advanced Member
  • 61 posts

Posted 06 June 2006 - 04:31 PM

Ohh thanks Wisewood Please email be back on email id - smartguyin@gmail.com
One of my php project >> http://www.mumbaipropertysite.com

#7 wisewood

wisewood
  • Members
  • PipPipPip
  • Advanced Member
  • 226 posts
  • LocationRotherham, England

Posted 07 June 2006 - 08:09 AM

email sent to you both.
wisewood: proven fact, I am both wise, and wooden.

#8 markspec87

markspec87
  • Members
  • PipPipPip
  • Advanced Member
  • 63 posts

Posted 07 June 2006 - 04:35 PM

i would be grateful if you could send me the code aswell :)

#9 wisewood

wisewood
  • Members
  • PipPipPip
  • Advanced Member
  • 226 posts
  • LocationRotherham, England

Posted 08 June 2006 - 12:07 PM

email address?
wisewood: proven fact, I am both wise, and wooden.

#10 markspec87

markspec87
  • Members
  • PipPipPip
  • Advanced Member
  • 63 posts

Posted 08 June 2006 - 01:29 PM

markspec87@gmail.com

i PMed you :)

#11 wisewood

wisewood
  • Members
  • PipPipPip
  • Advanced Member
  • 226 posts
  • LocationRotherham, England

Posted 08 June 2006 - 01:37 PM

email sent. No pm notification ever appeared.
wisewood: proven fact, I am both wise, and wooden.

#12 smartguyin

smartguyin
  • Members
  • PipPipPip
  • Advanced Member
  • 61 posts

Posted 09 June 2006 - 05:54 AM

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.
One of my php project >> http://www.mumbaipropertysite.com

#13 wisewood

wisewood
  • Members
  • PipPipPip
  • Advanced Member
  • 226 posts
  • LocationRotherham, England

Posted 09 June 2006 - 11:27 AM

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.
wisewood: proven fact, I am both wise, and wooden.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users