Loans - Student Loans and Credit - Credit Card Debt Consolidation - Magazine Subscriptions - Car Accident Lawyer Los Angeles

PDA

View Full Version : ads showing but no validation


cfactory
Feb 17th 2006, 4:01 pm
Hi

I got the ads to work but the site's not validating? any reason behind this?

thanks
Brian

digitalpoint
Feb 17th 2006, 4:31 pm
Without a URL, no one can look at anything. :)

cfactory
Feb 17th 2006, 4:41 pm
true true!! I'm an idiot

My site is http://www.cartridgefactory.com

thanks man

digitalpoint
Feb 17th 2006, 4:52 pm
Hmmm... your server setup with a front-end proxy or anything? Looks like normal information about the end user (like IP address, user agent, etc.) aren't getting to the server for whatever reason.

cfactory
Feb 17th 2006, 5:15 pm
nope. not using any front end proxies. I can get it working but it looks like
us82jsdd|1000|1800|4|1|MSIE-Firefox-Safari-Netscape-OperaMortgages81389

I just split it so it just shows the links and it stops validating

but that should narrow it down. So your server is supposed to get the end users ip info and stuff?

digitalpoint
Feb 17th 2006, 5:29 pm
No... but your server would need to see it.

Can you change the echo $ad_network line to this please?echo $ad_network . '<!-- ' . $_SERVER['REMOTE_ADDR'] . ' -->';Then we can see what IP address your server is seeing.

cfactory
Feb 17th 2006, 5:48 pm
the ip is showing the machine's ip.. but not the website's ip

digitalpoint
Feb 17th 2006, 5:49 pm
Yeah... looks like it *is* going through a proxy or load balancer or something. You are going to need to talk to the server admin to ask if there is a way to see info about the "true" end user.

cfactory
Feb 17th 2006, 5:52 pm
This machine is hosting 3 sites. It seems to be giving the machine ip and not the website ip. Should it return the ip of the website that the ads are on?

digitalpoint
Feb 17th 2006, 5:54 pm
No, that code should be returning YOUR IP address.

cfactory
Feb 17th 2006, 5:55 pm
i see

thanks! i'll try to get it going from here

cfactory
Feb 17th 2006, 5:59 pm
oops i was using getlocalhost.. let me try with getremotehost

cfactory
Feb 17th 2006, 6:06 pm
it see's my web browser ip fine now. still not validating

digitalpoint
Feb 17th 2006, 6:09 pm
Still doesn't look like user agent is being seen by the ad_network PHP script...

cfactory
Feb 17th 2006, 6:14 pm
k i'll try to figure it out. thanks for all your help!