Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: BB101
  • Order by date
  1. BB101

    PHP versus HTML

    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
  2. BB101

    Cookies

    Thank you very much, I think I'll add a little script to force people to go from the non www. url to the www. url. Again, thank you. --BB
  3. BB101

    Cookies

    Here's a dump of the HTTP_COOKIE variable to add clarity:[HTTP_COOKIE] => ayn=MDEyMjA0MjAzNDc4QjE5SlRhdUxUOEE2Z2F4VWt5VnBRbmRDVG83NkgxOUM3MWR5SExiQ1Rvag; PHPSESSID=oakp2ruq120pt3ja1n83qqo267; ayn=MDMwNDM1NTEzNDc5clMzRkhQb2FIRFVSOVBqN2xla09kdUl3SHEwUkdZM3dHUzFNMDI5VE9J...
  4. BB101

    Cookies

    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...
  5. BB101

    Cookies

    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; }...
  6. BB101

    Cookies

    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...
  7. BB101

    Microphone not working

    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...
  8. BB101

    Images within calculation fields

    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
  9. BB101

    Images within calculation fields

    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
  10. BB101

    INSERT DELAYED, wheres the equivelent for UPDATE?

    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")...
  11. BB101

    INSERT DELAYED, wheres the equivelent for UPDATE?

    I know this, I want my UPDATE to return immediately as soon as it is queued, is this possible? --BB
  12. BB101

    INSERT DELAYED, wheres the equivelent for UPDATE?

    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
  13. BB101

    Separating HTML and PHP

    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...
  14. BB101

    sending instant messages

    Thank you, exactly what I needed --BB
  15. BB101

    sending instant messages

    Can you give me anything more than that? --BB
  16. BB101

    sending instant messages

    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
  17. BB101

    Problems sending emails

    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
  18. BB101

    Google index and adwords

    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...
  19. BB101

    grouping and ordering

    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...
  20. BB101

    cartesian co-ordinates from a table

    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

Part and Inventory Search

Back
Top