@ 2015-10-13T15:39:48Z <?php
$email = isset($_REQUEST['email'])? $_REQUEST['email']: "";
$name=isset($_REQUEST['name'] )? $_REQUEST['name']: "" ;
$phone = isset($_REQUEST['phone'] )? $_REQUEST['phone']: "";
$company = isset($_REQUEST['company'] )? $_REQUEST['company']: "";
$comment = isset($_REQUEST['commenttext'] )? $_REQUEST['commenttext']: "";
$title = isset($_REQUEST['title '] )? $_REQUEST['title ']: "";
// $budget = isset($_REQUEST['budget'] )? $_REQUEST['budget']: "";
// $country = isset($_REQUEST['country'] )? $_REQUEST['country']: "";
// $fax = isset($_REQUEST['fax'] )? $_REQUEST['fax']: "";
// $title = isset($_REQUEST['subject'] )? $_REQUEST['subject']: "";
//$link= $_SERVER['HTTP_REFERER'];
//$IPaddress = $_SERVER['REMOTE_ADDR'];
$file= isset($_FILES['upload']['name']) ? $_FILES['upload']['name']:"";
//$fieldOrder=explode(',',$_REQUEST['fieldOrder']);
if(count($fieldOrder)<=1)
{
// $extrafields = $_REQUEST['fieldOrder'];
}
else
{
for($i=0;$i<count($fieldOrder);$i++)
{
if($fieldOrder[$i]!="")
{
$extrafields = $extrafields . " | " .$_REQUEST[$fieldOrder[$i]];
}
}
}
if($file!="")
{
move_uploaded_file($_FILES['upload']['tmp_name'],"../lakeb2b/re-marketing/upload/".str_replace(" ","-",$_FILES['upload']['name']));
$extrafields=$extrafields." | " ."http://localhost/lakeb2b/re-marketing/upload/".str_replace(" ","-","$file");
}
?>
<html>
<body onLoad="javascript:document.frmTracking.submit();">
<form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="post" name="frmTracking" id="frmTracking" >
<input name="email" type="hidden" value="<?php echo $email; ?>"/>
<input name="first_name" type="hidden" value="<?php echo $name; ?>"/>
<input name="phone" type="hidden" value="<?php echo $phone; ?>"/>
<input name="company" type="hidden" value="<?php echo $company; ?>"/>
<input name="URL" type="hidden" value="<?php echo $link; ?>"/>
<input name="street" type="hidden" value="<?php echo $Address; ?>"/>
<input name="country" type="hidden" value="<?php echo $country; ?>"/>
<input name="retURL" type="hidden" value="http://localhost/lakeb2b/re-marketing/thank-you.php"/>
<input name="title" type="hidden" value="<?php echo $title; ?>"/>
<input name="lead_source" type="hidden" value="Nurtured Leads"/>
<input type=hidden name="oid" value="00D90000000cdxt"/>
<input name="description" type="hidden" value="<?php echo $extrafields; ?>"/>
<input name="00N90000003Gb75EAC" type="hidden" value="<?php echo $Comments; ?>"/>
<input name="faxOptOut" type="hidden" value="<?php echo $fax; ?>"/>
<input name="00N90000003Gb3O" type="hidden" value="<?php echo $budget; ?>"/>
<input name="00N90000006pnvV" type="hidden" value="<?php echo $IPaddress; ?>"/>
</form>
</body>
</html>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for git.master , git.master_jit , rfc.property-hooks Warning: Undefined variable $fieldOrder in /in/dvX42 on line 19
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /in/dvX42:19
Stack trace:
#0 {main}
thrown in /in/dvX42 on line 19
Process exited with code 255 . This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.
Active branches Archived branches Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page
preferences:dark mode live preview
54.69 ms | 401 KiB | 8 Q