Find Jobs
Hire Freelancers

Auto Site Creator Script Using Cpanel

$100-300 USD

Cancelled
Posted about 17 years ago

$100-300 USD

Paid on delivery
SEE ATTACHED DOCUMENT FOR CLEANER READ AND EXAMPLES We provide our clients forwarding accounts. What we are looking to do is create a system we can run on our servers as admins to create forwarding accounts for out clients easily. We want the script created in PHP using Cpanel and WHM on this reseller account [login to view URL] . Basically what we do and need created to work almost atomically is add a site to our server, then add an [login to view URL] file for that URL. The [login to view URL] looks like below, with carrots taken out because this board does not accept them. We need this to work with this reseller program - [login to view URL] What will occur is we load the page attached call [login to view URL], fill out the form and submit it and then it automatically creates the new sites on the server and then creates the below file in each site. ----------- [login to view URL] --------------------- html head title URL Name::../title /head frameset framespacing="0" border="0" frameborder="0" rows="0,*" frame name="zero" scrolling="auto" frame name="site" scrolling="no" noresize target="site" src="[login to view URL];phrase=YYY" noframes body pThis page uses frames, but your browser doesn't support them./p /body /noframes /frameset /html ------------------------------------ What We Need Created In Detail 1. We need to use the attached file, [login to view URL] to create the sites on the server, create the above frames page ([login to view URL]) and then create a CSV to export or comma delimited output. 2. The form [login to view URL] gets submitted and each site under the “Site URL” column is created automatically on the server, with its own folder. In each folder, the file [login to view URL] gets created. 3. URL within the [login to view URL] is created with the [login to view URL] form. The URL variables and where they come from is broken down below based upon the information taken from [login to view URL] file: Base URL Page/Override URL Location Phrase [login to view URL] [login to view URL] XXX YYY [login to view URL];phrase=YYY a. Field Explanation i. Base URL – this is the base URL that will load in the “site” section of the frame that is created for the domain. This domain will be used for all the sites created on this form. If the field is filled in, we need to make sure it has in the domain the “.” and an extension, like “Com” “Net” Etc. ii. Site URL - this is the URL of the website we will be adding to the server. This url will then host the [login to view URL] file, which is the code above. iii. Page – the drop down choices we need to be able to edit in the code manually if need be, for example adding or taking away addresses. This drop down will be selected and will tell the [login to view URL] URL what page to go to. In the below selection, it is “[login to view URL]”. If the next column, OVERRIDE URL, is filled out, then this drop down selection is ignored. Example: [login to view URL];phrase=YYY iv. Location – this field works like this… If this field is empty, then for the loca=XXX, it will say “[login to view URL]”. If the field is filled out, then the XXX gets replaced with whatever is entered in the field. v. Phrase– this field works like this… If this field is empty, then for the phrase=YYY, it will say “[login to view URL]”. So phrase=siteurl.com. If the field is filled out, then the YYY gets replaced with whatever is entered in the field. 4. Once the form is filled out, then you can hit: a. Submit – this submits the form, creates the sites listed on the page and then creates a text or CSV file that looks like this: [login to view URL], [login to view URL];phrase=[login to view URL] [login to view URL], [login to view URL];phrase=[login to view URL] [login to view URL], [login to view URL];phrase=[login to view URL] b. Export without Site Creation – this submits the forms, but does not create the sites and instead just creates a text or CSV file that looks like this: [login to view URL], [login to view URL];phrase=[login to view URL] [login to view URL], [login to view URL];phrase=[login to view URL] [login to view URL], [login to view URL];phrase=[login to view URL] NOTES: 1. For each field, we want to have cookies that save the last inputs. The fields will be wiped clear and the cookies when the link “Clear Page” is clicked on site_creator.htm. 2. If the domain exists and another form is submitted with same domain, then old domain gets written over with new domain information. 3. We have 50 listed on the page, so if the Site URL field is blank, then its ignored and nothing is created. 4. In the code for “loca=” and “phrase=”, The Site URL will not always be “.com”, it will be whatever extension the Site URL is using.
Project ID: 122653

About the project

2 proposals
Remote project
Active 17 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
pieprsville, United States
5.0
45
Payment method verified
Member since Jan 19, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.