Well when I repalace their address with mine I get this error
Forbidden Your client does not have permission to get URL /maps?f=q&source=s_q&hl=en&geocode=&q=129++Hills+West+Way+Richland+WA+99352&sll=37.0625,-95.677068&sspn=48.77566,114.257812&ie=UTF8&ll=46.266113,-119.333754&spn=0.020949,0.05579&t=h&z=14&iwloc=addr&output=embedXg from this server. (Client IP address: 64.185.115.16)
Here is my code of replacing it:
$address1 = implode("+", explode(' ',$address));
$city1 = implode("+", explode(' ',$city));
$state1 = implode("+", explode(' ',$state));
$zip1 = implode("+", explode(' ',$zip));
echo '
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"
src="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q='.$address1.'+'.$city1.'+'.$state1.'+'.$zip1.'
&sll=37.0625,-95.677068&sspn=48.77566,114.257812&ie=UTF8&ll=46.266113,-119.333754&spn=0.020949,0.05579
&t=h&z=14&iwloc=addr&output=embed&Xg"></iframe>
<br />';
Original Code:
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=4001+Kennedy+Road+West+Richland,+WA+99353&sll=37.0625,-95.677068&sspn=48.77566,114.257812&ie=UTF8&ll=46.266113,-119.333754&spn=0.020949,0.05579&t=h&z=14&iwloc=addr&output=embed&Xg"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&source=embed&hl=en&geocode=&q=4001+Kennedy+Road+West+Richland,+WA+99353&sll=37.0625,-95.677068&sspn=48.77566,114.257812&ie=UTF8&ll=46.266113,-119.333754&spn=0.020949,0.05579&t=h&z=14&iwloc=addr" style="color:#0000FF;text-align:left">View Larger Map</a></small>
Anybody know how I can make this right?

New Topic/Question
Reply



MultiQuote


|