Help adding my PHPRoxy search bar to PHPLD site

Discussion in 'PHP' started by gonecrazy, Jan 27, 2010.

  1. #1
    Hello everyone. I have a site I installed PHPLD in the main directory and I added the PHProxy script in a sub folder. I was wondering if there was a way I could add the url form from the main page of the PHProxy script subfolder to the main directory of the sites home page and have it display the results page on the index page of the subfolder the script is in. Hopefully that makes sense. lol

    Any help would be appreciated. thanks in advance.
     
    gonecrazy, Jan 27, 2010 IP
  2. TimothyJohn

    TimothyJohn Member

    Messages:
    786
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    35
    #2
    Umm i'm not exactly sure how to put a PHProxy inside a PHPLD plus i don't know if i've properlly understood what your trying do do but my first thought that comes to mind is possible placing an <iframe> with the phproxy page in it on the main page. An example of them would be:
    <iframe src ="phproxy_index.php" width="100%" height="300"></iframe>

    Hope that is any help :) If so ++rep please :D
     
    TimothyJohn, Jan 27, 2010 IP
  3. gonecrazy

    gonecrazy Guest

    Messages:
    605
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    on the phproxy site I want to put the form you put the URL into on the main page of the directory. but the iframe page that comes next with their site and the url form at the top in the subfolder where the script is. /proxy/index.php

    So could I copy the code for the URL form and create a new file
    /proxy/form.php
    and iframe that file on the main directory home page
    <iframe src ="/proxy/form.php" width="100%" height="300"></iframe>
     
    gonecrazy, Jan 27, 2010 IP