I've noticed the opposite, HTML pages being higher ranked than PHP (or other scripts) ones. I think this has to do with the If-Modified-Since header. HTML pages will automagically send this header, where PHP will always say this is a brand new page.
--BB
Here's a dump of the HTTP_COOKIE variable to add clarity:[HTTP_COOKIE] => ayn=MDEyMjA0MjAzNDc4QjE5SlRhdUxUOEE2Z2F4VWt5VnBRbmRDVG83NkgxOUM3MWR5SExiQ1Rvag; PHPSESSID=oakp2ruq120pt3ja1n83qqo267; ayn=MDMwNDM1NTEzNDc5clMzRkhQb2FIRFVSOVBqN2xla09kdUl3SHEwUkdZM3dHUzFNMDI5VE9J...
The problem arrises when IE keeps duplicate cookies with the same key. The version of PHP is not important, I get the same problem regardless of whether I use Javascript, meta tags or http headers, i am however running PHP5.
PHP reads the HTTP_COOKIE variable and overwrites the values with the...
I have written a bodge that seems to be doing the trick, I submit it here for your review; comments and suggestions welcome:
$c = explode("; ", $_SERVER['HTTP_COOKIE']);
$cv = array();
foreach ($c as $p) {
list($k,$v) = explode("=", $p);
if (isset($cv[$k])) continue;
$cv[$k] = $v;
}...
Wasn't sure if this belonged here, in the javascript section or somewhere completely different, but you lot seem like a nice bunch, so here goes.
I'm basically having the same problem as this chap: http://www.webhostingtalk.com/archive/thread/133249-1.html
This problem is frustrating and...
I have a Sitecom modem, all seems to work fine, dials numbers, can hear the noise from the internal speaker and the headset, but I cannot send voice through the microphone.
The mic is connected to the mic slot on the modem, next to the speaker one.
Please help as I have run out of ideas...
I want the text and images to flow as one, so the text will mvoe the image down as it needs to (so it is in the correct position at all times).
I've had a google and a play and I don't see it being possible, becuase a field is either text or a container (for images).
Cheers anyway
--BB
Is it possible to insert an image into a calculation field? I'm having problems positioning the image as the text is fairly dynamic.
Thanks in advance
--BB
I found a better way, only ever send a maximum of 100 things in the where clause!
I got it running in less than 0.5 seconds (an acceptable level for now).
snippet:
$rs = $this->_db->GetAll("SELECT town_id FROM lk_user_town WHERE user_id = '".$uid."' AND active = 1")...
I'm having fun doing a large scale UPDATE on a database table. I found I can do an INSERT DELAYED to do bulk inserts without blocking the apache thread, but there doesn't seem to be an equivelent for updating. Can anyone help?
Thanks
--BB
Avoid loading lots of data into variables or you'll use a lot of memory on the server, if your getting a lot of hits you'll notice the performance, but I agree with imstillatwork's comment about doing most of the logic at the top of the file.
Reuse as much as possible! When I build sites, I...
Im looking into sending messages via instant messangers, the common ones: MSN, ICQ, Yahoo, AOL.
Does anyone know of a site that can show me how to do this? Google returns tripe when I try and search.
Thanks in advance
--BB
I'm trying to send emails with Filemaker Pro 6 through outlook express 6, however, they are being bounced because they do not have a date in the header.
The problem first became apparent when I unchecked the "Perform with no dialog" option in filemaker.
Any help?
--BB
Interesting idea, I have a site with over 60k of pages and I'm desperate to get google round them as fast as possible.
While museing I had a thought, google adwords deliver content specific adverts, this would imply google would have to spider the site before the adverts could be delivered. Is...
SELECT q.q_id, q.user_id, IF (e.firstname IS NULL , q.name, e.firstname) AS name, t.town, e.type, e.trading_name, e.posts
FROM qa_uk q
LEFT JOIN ayn_experts e ON e.unique_id = q.user_id AND e.active = 1
LEFT JOIN ayn_towns t ON t.id = q.town_id
WHERE q.active =1 AND t.town IS NOT NULL...
A star for you my man :) I've gotta ask, why? I have been playing with the indexes for a while, so i know its your query that is using them. What makes it realise it can use the index?
--BB
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.