Search results

  1. learning_brain

    Problem inserting serialized array

    Hmm - good try but PDO is disabled with my host. I might have to do implode/explode :(
  2. learning_brain

    Problem inserting serialized array

    I can't get my head round this.... I have an array which I want to store to the DB (I won't even go into the reasons for this!) but am having problems. The serialized array string contains double quotes, so I have to be careful. $query_insert_summary = sprintf('INSERT INTO IMGCOMPS...
  3. learning_brain

    Comparing object class results?

    I don't know if I'm barking up the wrong tree here but I am new to OOP so need a bit of guidance... I'm writing an image analysis page, which attempts to identify the image type. Initially, I set "Zones".... i.e. ...main central section where a portrait would be. ...top half where the sky...
  4. learning_brain

    New css Layout

    Flash Images?? There is no Flash here! It's all pure css... And the big preview image should get in the way of anything other than blocking out the form on the right - which comes back when you move your cursor back to the right.. After implementing the new style across the site, the test...
  5. learning_brain

    HTML markup validation problem...

    Perfect - many thanks I had a section in there generating the links which I've corrected... $queryString_fulltext_images = "&" . htmlentities(implode("&", $newParams)); } } $queryString_fulltext_images = sprintf("&totalResults=%d%s", $totalResults...
  6. learning_brain

    HTML markup validation problem...

    Hi all When trying to validate my site, I am getting errors and warnings relating to the dynamically generated links - specifically with multiple URL parameters. http://validator.w3.org/check?uri=www.qualityimagesearch.com&charset=%28detect+automatically%29&doctype=Inline&group=0 I have...
  7. learning_brain

    New css Layout

    Some of you may remember a site I was developing http://www.qualityimagesearch.com/test2.php This is a test page and does not match other linked pages. There were several comments about speed of loading, the dark design and re-sizing. I have done a complete overhaul of the design, trying to...
  8. learning_brain

    css problem

    Many thanks for this, but Google was my first port-of-call and couldn't get a clear answer... lots of perhaps and maybe's. Browsershots truncates URI's in the middle so all results have come up unfound... how stupid is that? I hate IE.
  9. learning_brain

    css problem

    Hi test page: http://www.qualityimagesearch.com/view_image.php?img_id=9610 In later browsers, this vertical 2 col layout works fine, but in earlier browse (IE), the top frame returns under the left column at full width. css html{ height: 100%; } body{ margin: 0px; font-family...
  10. learning_brain

    Centering image within an iframe

    Hmm - not sure if the PM got through Claire as it may have been blocked... but thanks for the advice and your website is extremely..... inviting! :)
  11. learning_brain

    Centering image within an iframe

    Thanks Claire, but this doesn't use the iframe. Yes, a table layout would work wonders but hotlinks from other sites are easily destroyed in tables or normal html. iframes are harder. I have however now cracked it...! And Claire, there is no way that is your true profile *or is it ;)*...
  12. learning_brain

    Centering image within an iframe

    Thanks misson I feared this was the case, but I like the idea of using the image width to create the iframe! My only problem here would be that most of the images are wider than I want the iframe to be, so I'll have to play with some limits or something to restrict the larger ones. My first...
  13. learning_brain

    Centering image within an iframe

    That's one I haven't tried.... *Opens DW* ____EDIT________ Absolutely no difference. I've tried in header style and inline style.
  14. learning_brain

    Centering image within an iframe

    For reference, try this link http://www.qualityimagesearch.com/view_image.php?img_id=41581 The image in the center has been placed in an iframe, for reasons I won't go into in detail here other than sites preventing hotlinking have difficulty if it's in a frame. My problem is simple -...
  15. learning_brain

    Force Image Caching

    Aha!! an answer... thank you. I like the javascript idea, although I have made some other amendments to supplement it. Now, every image, pending or otherwise gets a thumbnail generated automatically. The review page now loads multiple thumbnails, with a javascript hover script to load up the...
  16. learning_brain

    Force Image Caching

    I have an image preview page that dynamically shows the first 10 images from a database using a loop. The viewer can then pass/fail an image using form method. I have done 10, because I only use large images and I wanted to speed the process up. I assumed that if one image was loaded, it...
  17. learning_brain

    Cron job refresh?

    Well, it's been running now for over 24 hours and doing what it's supposed to so I guess it's doing what it should! Rich
  18. learning_brain

    How to display a "wait" page while php busy ?

    There is a simpler php solution that I use to see if the page is processing as it should. flush() and ob_flush(). Each time this function is called, it forces the previous content to output to display. If you enter these after each echo or <img>, they will appear on screen as soon as they...
  19. learning_brain

    Cron job refresh?

    Welcome back Misson! Below is an e-mail report of one cron job X-Powered-By: PHP/5.2.6 Content-type: text/html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">...
  20. learning_brain

    Cron job refresh?

    I've set up a cron job on a php file, which is reporting as being run correctly... However, I have a refresh <META HTTP-EQUIV=Refresh CONTENT="1"> normally when browsing manually. Does this refresh continue after it's first been run as a cron job, or does it stop after one page load, or does...
Top