NameSilo

WHere can I get a script that does this?

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch

snoopshaun

Established Member
Impact
0
Hi,
Say I have a file called, template.htm, in that file I have already setup the code for whatever I want, and in that file I have a tag called <text area>.

so when I load up the page creator, all I do it enter say the filename, and perhaps title, but that's not important,
when I paste that text in the form, and click OK, it will create a new html file with the html from template.htm, and the text from what I just entered, that goes where <text area> is, and then creates the file on my server

Thanks
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
i do not understand what u are saying?
 
0
Close
I got a few articles I want to post, but instead of creating a new file everytime, especially if im not at home,

I want to load up a URL, write or paste the text into a form, and when I click ok, it creates a new file with my text, but taking the html from the template I already premade with the tag <text info> which is where what I wrote will go.
So when it saves, it creates the new file on my webserver, ready to be seen.... don't know if that's clearer or not
 
0
Close
From what I understand, you are looking for a page generator script. try hotscripts.com
 
0
Close
Looked up and down that site, I haven't found something that I can use with a preset template
 
0
Close
last bump
 
0
Close
try google, if you can't find it on google or hotscripts you may need to hire a php programmer to custom code it.
 
0
Close
Use a template system, for example Smarty.
 
0
Close
or if you allready have cpanel/fantastico installed by your web host use that. IM sure fantastico has a fanstastic page generating script thingy.
 
0
Close
if you mean like use a form to create a page (html) on the server with what you entered that could be done with php

<?
$rand = rand(5,100000);

$myFile = "$rand.html";
$fh = fopen($myFile, 'w') or die("Cant Create File.");

$stringData = "what you want in the file goes here use a variable from a form\r";
fwrite($fh, $stringData);

fclose($fh);
?>

hope that makes sence, I used it a while ago to make a script that generates image files and creates them on the server.
 
0
Close
scribby said:
if you mean like use a form to create a page (html) on the server with what you entered that could be done with php

<?
$rand = rand(5,100000);

$myFile = "$rand.html";
$fh = fopen($myFile, 'w') or die("Cant Create File.");

$stringData = "what you want in the file goes here use a variable from a form\r";
fwrite($fh, $stringData);

fclose($fh);
?>

hope that makes sence, I used it a while ago to make a script that generates image files and creates them on the server.


yep, something like that, but I need it to use the html from template.htm, and enter what I wrote in the rand.html where it says <text area> or something
 
0
Close
0
Close
yep thanks for the link, kidna what Im looking for I believe, got some reading to do!

after some reading, I don't think that's waht I'm looking for, it's alright, going to hit up a coder and see if he can make what I'm looking for
 
0
Close
I got in contact with someone who wrote a script for me that'll do exactly what I need, thanks all :)
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back