good-morning everyone, ok i'm working on a new site and i see that it's taking me FOREVER to create 500-plus URL's via cpanel... my site file names are going to be male-african-names1.html, male-african-names2.html, male-african-names3.html, and so on... is there anyway, i can create 500-plus files that has the same URL? each showing a different number? ( aka... some sofware or website editor that will make my job much easier? ) losing u? sincerely, c.t.adams-///
if you have to name a large amount of files, this might help you: http://www.softpedia.com/get/File-managers/FileName-Pro.shtml
Not sure I understand... do you want to create 500 pages each with their own name? And what in cpanel are you using to do this? If i was to give you something to create the files would you be able to upload them through ftp? Jay
good-afternoon everyone, Joobz ~ that's what i believe i need as i'm still only at 130 name files, as it's taking so long... jaymcc ~ i know how to do that, but i'm looking to name over 500 files the same names, with the difference being a number... still thanks for helping me... example again: male-african-names1.html, male-african-names2.html, male-african-names3.html, male-african-names4.html, male-african-names5.html, etc... was looking for a shortcut... Note: i have html-kit and dreamweaver 8... anyone else can help out? sincerely, c.t.adams |||
You could use mod rewrite to rename the files from male-african-names.php3?i=1 and i=2 etc to male-african-names1.html male-african-names2.html Then you create male-african-names.php3 and pull the content of the page from a database.
good-afternoon mad4, well i'm not looking to rename any files... i'm actually creating NEW files and want to use the same name with a number being the difference... got it now? sinerely, c.t.adams |||
I understand - mod rewrite invisibly renames the files so your address bar sees page-1.html when the actual page is page.php3?i=1 Trust me this method can do what you need and will allow you to create hundreds of pages from only 1 page.
good-afternoon jaymcc, well at this time many african-americans are now choosing AFRICAN first names when it comes to their newborns... ( aka... children ) you will be able to visit the site and pick a given name... ( aka... thy meaning of each name shall be listed ) Example: AKELLO: Alur of Uganda name meaning "I have brought" or "bring forth." AKIA: African name meaning "first born." have a nice day... sincerely, c.t.adams |||
You really are doing this the hard way. You would be better off with a simple database and one page using PHP or ASP or anything for that matter. I'm sure you have a good reason for not doing so though. First, make the following template file. This is just plain HTML that you can create in notepad. <html> <head> <title>Yada</title> </head> <body> <p><b>Name</b>: Description</p> </body> </html> Code (markup): Next, save this file with the name 'template.html' and put in a folder. Now, create a file called names.vbs (using notepad again) in the same folder and add the following code to the file: dim FSO, i, template set FSO = CreateObject("Scripting.FileSystemObject") dim FileName FileName = "male-african-names" for i = 1 to 50 set template = fso.getfile("template.html") template.copy Filename & "-" & i & ".html", true next set template = nothing set FSO = nothing Code (markup): Save and close and then double click on the names.vbs file. You should now have 500 files based on the template. You can of course change your template to be whatever you want. You still need to add the names and descriptions, and then upload the files to your server. I still think you would be better off with a simple database though. Jay
good-evening jaymcc, thanks alot as that trick does work, but i'm having trouble now... the first time it created 50 files... tried again, and it's not working... i need 294 pages for the male section: male-african-names.html i need 248 pages for the female section: female-african-names.html could u do that for me? sincerely, c.t.adams |||
Ok, change the vbs file to the following: dim FSO, i, template set FSO = CreateObject("Scripting.FileSystemObject") dim FileName FileName = "male-african-names" for i = 1 to 294 set template = fso.getfile("template.html") template.copy Filename & "-" & i & ".html", true next FileName = "female-african-names" for i = 1 to 248 set template = fso.getfile("template.html") template.copy Filename & "-" & i & ".html", true next set template = nothing set FSO = nothing Code (markup):
i got it working again, as it didn't work when i set it to 294, so i went ahead and use 300... thanks once again... sincerely, c.t.adams-///