PHP Online Page Generator Script or Tool Wanted

3 replies
hey Warriors.

I want to have a PHP page generator online that my members can go to,
paste their aweber or get response form code into,
then click a button, and build a page with my HTML template,
with THEIR opt in form in it.
then have it autopost on my server with a unique page address.
Then they can use this auto generated squeeze page to send
people to, and they get the leads, but it helps them sell my site better.
because I'll be providing the page sales copy and video.

anyone know how I can do this ?

I'm good with HTML and intermediate with PHP.

thanks

Jeff Noyes
#generator #online #page #php #script #tool #wanted
  • Profile picture of the author jamespitt
    It's not a massive amount of work. I'm sure there are a lot of people here who could do it for you. What system are you using to host your system?
    Signature

    Get your totally free outsourcing guide here..

    Send me a PM if you want to hire top-calibre outsourced staff.

    {{ DiscussionBoard.errors[1924909].message }}
  • Profile picture of the author Nick M
    Yakooza, if the PHP script that builds the pages is hosted on Jeff's site then no-one will need to actually upload code, since the script should automatically generate the sales pages and will just spit out a URL that already sits on Jeff's server where the page can be accessed.

    Jeff,

    James is right that it is not a lot of work (it should take less than 1hr if all you need is a single page). I would recommend posting a job on Rentacoder.com. You should be able to get something like this done for around $10-$15 if you spec it clearly enough. Also, make sure that you ask your coder to ensure that the generated HTML and CSS validates properly.

    If you want to do it yourself:
    • Build your HTML template file and create a <DIV> to hold the form code.
    • Place a marker like %%FORM CODE%% in the DIV in the template file
    • Create a HTML form or a PHP form that submits to itself to get the form code and a unique identifier for the template page.

    The finished code will look something like:

    Code:
    $htmlTemplate = "Your Template Code"; /* Alternatively you could call this from a text file */
    $fullPath = "/home/xxxxxxx/public_html/path_to_where_you_want_to_output_the_html_page/";
    $HTML_File = $fullPath . $_POST["filename"]; /* Replace "filename" with the name of your POST filename variable and don't forget to append a .html extension either here or on the submitting form */
    $fh = fopen($HTML_File, 'w') or die("can't open file");
    $formData = $_POST["formCode"]; /* Replace "formCode" with the name of your POST form code variable */
    str_replace("%%FORM CODE%%", $formData, $htmlTemplate);
    fwrite($fh, $htmlTemplate);
    fclose($fh);
    I haven't tested it so there may be a few bugs, but it should be enough to get you started.

    Remember that you may also need to escape quotes and single quotes when passing the form code from your form to the generator script.
    {{ DiscussionBoard.errors[1927021].message }}

Trending Topics