Hello all Am Really need Help to Activate My PHP Script On my Server Please.....

5 replies
Hello,

Recently Am upgrade my website

Http://www.brandsite.org But i need to integrated my php srcipt..

This is the script...


<?
$subject = $_REQUEST['firstname']." ".$_REQUEST[lastname];
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Arrest Records results for <?=$subject?> </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="image/style.css" rel="stylesheet" type="text/css">

<script>

function SampleReports()
{
temp="image/sample_report.html";

window.open(temp,'Popup_Window','toolbar=no,locati on=no,directories=no,status=no,menubar=no,scrollba rs=yes,resizable=no,copyhistory=$
}
</script>

</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<table width="743" border="1" style="border-collapse: collapse; border: 1px solid #666666" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" align="center">
<map id="imgmap200857124522" name="imgmap200857124522">
<area shape="rectangle" alt="" title="" coords="519,6,571,25" href="http://anka1.proniche4.hop.clickbank.net/?xpath=register3o&header=Arrest Records" target="" />
<area shape="rectangle" alt="" title="" coords="583,5,618,26" href="http://www.cisworldwide.com" target="" />
<area shape="rectangle" alt="" title="" coords="628,4,659,24" href="http://www.cisworldwide.com/search/index.php?xpath=faq" target="" />
<area shape="rectangle" alt="" title="" coords="670,4,705,26" href="http://www.cisworldwide.com/search/index.php?xpath=terms" target="" />
<area shape="rectangle" alt="" title="" coords="717,8,746,25" href="http://www.cisworldwide.com/help/" target="" />
</map> <img src="headers/Arrest-Records.jpg" alt="1" usemap="#imgmap200857124522" style="border:none"/>
</td>
</tr>
<tr>
<td>

<?


foreach ( $_REQUEST as $key => $val )
{
$val = preg_replace("/\'/", "", $val);
$val = preg_replace("/\http/", "", $val);

$_REQUEST[$key] = $val;

}


$include = "http://{$_REQUEST[hop]}.proniche4.hop.clickbank.net?xpath=validate&conve rsion_id={$_REQUEST[gc_conversionid]}&price_type={$_REQUEST[price_type]}&gc_price={$_REQUEST[gc_price]}&gc_source={$_REQUEST[gc_source]}&tid={$_REQUEST[tid]}&xvalidate=&records_state=&xprice=&xrecordstype={ $_REQUEST[xrecordstype]}&city={$_REQUEST[city]}&firstname={$_REQUEST[firstname]}&lastname={$_REQUEST[lastname]}&state={$_REQUEST[state]}&country=&house_number=&street_name=&street_suffi x=&areacode={$_REQUEST[areacode]}&phonenumber1={$_REQUEST[phonenumber1]}&phonenumber2={$_REQUEST[phonenumber2]}&email=&phone={$_REQUEST[phone]}&ssn={$_REQUEST[ssn1]}{$_REQUEST[ssn2]}{$_REQUEST[ssn3]}&ip=&client_reference=backgroundsearches.org&sign up_url=www.backgroundsearches.org/index.php?xpath=register&jid=GAF67FA7654HJHJFJSHDJ HDDGAF67F54HJHJFJSHDJHDDGAF67F&email=&zipcode=&mid dle_initial=&header=&header={$_REQUEST[header]}";


#include($include);



?>
<iframe
target="_self" scrolling="no" border="0" align="center" width="100%"
height="400" frameborder="0" marginwidth="0"
marginheight="5" src="<?=$include?>" >
</iframe>


</td>
</tr>
<tr>
<td align="center" valign="top">
This website is not affiliated with the
United States Government or any Federal or State government agency.
</td>
</tr>
<tr>
<td valign="top" width="100%" align="center">
<table width="99%" border="0" align="center" cellpadding="8" cellspacing="0"><tr><td>
<div align="justify">ACCEPTABLE USE POLICY AND
TERMS<br>
<br>
By using this site, you certify that you will use any information
obtained for lawfully acceptable purposes. Please be advised
that it is against the law to use the information obtained
from this site to stalk or harass others. Search requests
on public officials, juveniles, and/or celebrities are strictly
prohibited. Users who request information under false pretenses
or use data obtained from this site in contravention of the
law may be subject to civil criminal penalties. All searches
are subject to terms of use and applicable law. Information
contained herein is derived from records that may have errors
and/or not always be accurate or complete.<br>
<br>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>


I dont know how to edit htaccess.......plese step by step explaination.

please the feedback.......
#activate #integrated php script #php #script #server
  • Profile picture of the author dar
    Originally Posted by h1dayah View Post

    Hello,

    I dont know how to edit htaccess.......plese step by step explaination.

    please the feedback.......
    Hi h1dayah

    Did any instructions come with the script for code to put into the htaccess file?
    {{ DiscussionBoard.errors[97199].message }}
    • Profile picture of the author h1dayah
      Originally Posted by dar View Post

      Hi h1dayah

      Did any instructions come with the script for code to put into the htaccess file?

      No my friend
      ..............i just only download from zip all the file........extract it and then upload it into my server..image go to image..header go to header.....and the php code i put on public html like usually.....just that.but it didnt work.....if you might try to proceed the people search engine it says:





      When am try on my hard drive ........ i click the button it come some output go to :
      "file:///C:/Program Files/people search/advanced_sh.ph"
      And i think it work cause it seem to search the result.

      but when am upload to server........ i click the button it come some output go to :
      "The server encountered an unexpected condition which prevented it from fulfilling the request.
      The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log. "



      please the feedback
      am really appriciated
      Signature

      USA People Search | Instant Online US People Search Retrieval By.Brandsite.org
      http://www.brandsite.org
      Exploding Niche With Your OWN Automated People Search Engine
      http://usa-peoplesearch.blogspot.com/

      {{ DiscussionBoard.errors[97707].message }}
      • Profile picture of the author ripsnorta2
        Let's see if I've got this right.

        You have a PHP script that you acquired from somewhere.

        You extract the script from a zip file to <somefilename>.php
        You then upload <somefilename>.php to public_html.
        You also upload the appropriate files to the image directory.

        Is this right so far?

        I also gather that this script is supposed to open a webpage with a form on it that gathers some information and creates a report. Is this correct?

        In your main html file (index.html or index.php) are you linking to <somefilename>.php>

        The script also looks like it requires some parameters. In the first lines there are a couple of requests for firstname and lastname parameters.

        So you should be linking in the format

        Code:
        www.mysite.com/<somefilename>.php?firstname='fname'&lastname='lname'
        See if that helps.
        {{ DiscussionBoard.errors[98103].message }}
        • Profile picture of the author h1dayah
          Originally Posted by ripsnorta2 View Post

          Let's see if I've got this right.

          You have a PHP script that you acquired from somewhere.

          You extract the script from a zip file to <somefilename>.php
          You then upload <somefilename>.php to public_html.
          You also upload the appropriate files to the image directory.

          Is this right so far?

          I also gather that this script is supposed to open a webpage with a form on it that gathers some information and creates a report. Is this correct?

          In your main html file (index.html or index.php) are you linking to <somefilename>.php>

          The script also looks like it requires some parameters. In the first lines there are a couple of requests for firstname and lastname parameters.

          So you should be linking in the format

          Code:
          www.mysite.com/<somefilename>.php?firstname='fname'&lastname='lname'
          See if that helps.
          Hello i,ve been trying to follow your suggestion with this script


          And am edit through my index html this one
          <form name="frm" method="POST" action="www.brandsite.org/<advanced_sh>.php?firstname='fadvanced'&lastname=' lsh'" style="margin:0px 0; padding: 0">
          <table width="95%" border="0" cellspacing="2" cellpadding="2">

          it is right......when i try on my hard drive it search for url

          Firefox can't find the file at /C:/Program Files/people search/www.brandsite.org/<advanced_sh>.php?firstname='fadvanced'&lastname=' lsh'.

          but when am upload still didnt work.....
          thank you again for the patience.
          Signature

          USA People Search | Instant Online US People Search Retrieval By.Brandsite.org
          http://www.brandsite.org
          Exploding Niche With Your OWN Automated People Search Engine
          http://usa-peoplesearch.blogspot.com/

          {{ DiscussionBoard.errors[98856].message }}
          • Profile picture of the author ripsnorta2
            I think I see the problem,

            Code:
            Firefox can't find the file at /C:/Program Files/people search/www.brandsite.org/<advanced_sh>.php?firstname='fadvanced'&lastname=' lsh'.
            you should be using advanced_sh.php without the brackets <>. You may not need the quotes around the text either. So it becomes,

            Code:
            www.brandsite.org/advanced_sh.php?firstname=fadvanced&lastname=lsh.

            The use of brackets around a file is an old programmers way of saying that the that bit of text should be replaced by the actual name. I also tend to quote text out of habit. My fault. Sorry about that.
            {{ DiscussionBoard.errors[100158].message }}

Trending Topics