Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: I need a little help with something

  1. #1
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I need a little help with something

    Hello,

    I've just bought a website and domain name.

    Website: http://getmypr.com
    I've found a script which is perfect, but I need to know a way of integrating it into my site. The script is uploaded here: http://getmypr.com/linkcheck.php
    How can I integrate it so when everything is checked it will integrate into my sites main page (getmypr.com/index.php)

    If you look at my main page it has submit button, I was hoping to integrate it with that. I'm not very good at coding, so...

    Any help would be appreciated.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Please define 'integrate'.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by djr33 View Post
    Please define 'integrate'.
    Hello,

    What I mean is I want to get: http://getmypr.com to work using the script that is on: http://getmypr.com/linkcheck.php - Both pages have forms on them, only one works, which is the second link, I want to get that form onto the other page without damaging the current form which is in the first link!

    I don't know what to call it, but wouldn't intergrate be the perfect word, seeing as you're taking a php script from another page and 'adding' it to my main page.

    Thanks,

    -echo

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    CHANGE: <form method="get" action="" onsubmit="">
    TO: <form method="get" action="linkcheck.php" onsubmit="">
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you it worked

    But is there anyway of getting the Google, Alexa, msn and all that information on the same page?

    Sorry if I'm requesting to much,

    -echo

  6. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Your page loads INCREDIBLY slowly. Like 3 minutes.

    I don't get the question... they all apear there, but several of the sources give errors, rather than reporting a number.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  7. #7
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by djr33 View Post
    Your page loads INCREDIBLY slowly. Like 3 minutes.

    I don't get the question... they all appear there, but several of the sources give errors, rather than reporting a number.
    I think the slowness is to do with my host. I'm getting a VPS today, so hopefully I shall move everything over and see how it goes!

    What I'm saying is that I want the results to display on http://getmypr.com/index.php

    If it can, if can't then okay...!

    Also, I downloaded this: http://www.dynamicdrive.com/dynamici...witchmenu2.htm
    Uploaded here: http://getmypr.com/menu.htm

    How may I get those two 'menus' on the left hand side of my Main page?

    I promise this is my last request about this

    Thanks again for all the help!

  8. #8
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Just place the code on your page where you want it... follow the directions on the page for the menus.

    As for having the form go to the same page, add this to the stop of your page:
    <?php
    if ($_POST['site'] != "") {
    include('lincheck.php');
    exit();
    else
    ?>
    That assumes the fieldname for the website was 'site'.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  9. #9
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I think I'll give that second one a miss! I keep getting these errors:

    Parse error: syntax error, unexpected T_ELSE in /home2/getmypr/public_html/test.php on line 19

    http://www.getmypr.com/test.php

    But I still do not know how to do those menus; even when reading the directions.

    Edit:

    I've established what coding needed to be incorparated into the site. You can look here: http://getmypr.com/index1.php
    If you look there it's all messed up. I was wondering if there was a way to get it like this:

    http://img329.imageshack.us/img329/333/getmypreh1.png

    Thanks for your expert help! And sorry for my ignorance.
    Last edited by echo_unlimited; 12-26-2006 at 04:12 PM.

  10. #10
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    That comes from me being tired. I missed a close bracket. Also, adding brackets around the else, just to be safe.
    <?php
    if ($_POST['site'] != "") {
    include('lincheck.php');
    exit();
    }
    else {
    ?>

    And post this at the very bottom of your page.
    <?php } ?>
    That will make it so that all the rest of the page is part of the else.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •