almostbob 866 Retired: passive income ROCKS

"the op has received the second" method used by google to authenticate the domain
the op is required to create a file googlea344c468eb3ffa12.html in the root folder of the domain
not a meta tag;, the meta tag quoted in prior posts will not authenticate the site
the file can be empty, it just needs to be there, the easiest content for the file googlea344c468eb3ffa12.html its something lige "google verification file"

almostbob 866 Retired: passive income ROCKS

it may be something as simple as

if($shopconfig['currency']=="€"||$shopconfig['currency']=="other currency with a preference for after") {
return  number_format($amount) . $shopConfig['currency']; } 
else { 
return $shopConfig['currency'] . number_format($amount);}
almostbob 866 Retired: passive income ROCKS

"my shopping cart" == WHAT shopping cart ?

almostbob 866 Retired: passive income ROCKS

goto google webmaster tools page, register, and follow the instructions, to begin to accomplish what all the prior posts suggest
no doubt you can see a hi degree of agreement, everyone says the same thing

google seem to have a pretty good idea what makes a page rank well on search engines :P

almostbob 866 Retired: passive income ROCKS

It may be a question to ask them,
if there is a memory limit, I'm pretty sure they dont plan on 121MB+ codespace for every user on a shared host, they may ask you to sequentially load and save the images to use less ram

almostbob 866 Retired: passive income ROCKS

is it your server, localhost,
or does the provider host/set the ram size regardless of your .ini settings
uploaded files = 5MB , undergoing manipulation = upto 5MB, output files if all are in memory at the same time could cause problems if the host set a lower memry limit
one of my hosts sets 1 1MB limit (but its SOOOOO cheap and very reliable), so use that one for all code and host images video etc on a different host where speed does not matter, the page is loaded and everything else can just dribble in

almostbob 866 Retired: passive income ROCKS

thanks stbuchok, dumped in my hintslist

edit,
that bob, <== dumb as a stump ^this^ should have been in the kudo tag

almostbob 866 Retired: passive income ROCKS

your urgency (10) + a-hole factor (-100) = coffee break and a healthy kmacyoyo

let me google that for you

GigsD4X commented: LOL +2
almostbob 866 Retired: passive income ROCKS

its not on your site

your way, does not work
the right way, works

no further discussion required

ya messed up
fix it

[flush]

Xcelled194 commented: Not helpful at all. -1
almostbob 866 Retired: passive income ROCKS

the op
php 4.3.9
the manual php 5.3.9

A URL can be used as a filename with this function if the fopen wrappers have been enabled.

did you read a different documentation than I did
there is no fopen() in your code, therefore URLs cannot be used
a file is still http://www.example/com/FILENAME.FILE_EXTENSION


ya messed up
fix it

almostbob 866 Retired: passive income ROCKS

its not an image, its a css style

almostbob 866 Retired: passive income ROCKS

you are reading a file
the documentation requests a file
the function file_get_contents() should suggest a file
the op states

I need to retrieve a HTML file from an external site (http://example.com/page.html) and parse it.

http://www.example.com is not a file, and not even the uri from the original post
a file is http://www.example.com/FILENAME.FILE_EXTENSION

almostbob 866 Retired: passive income ROCKS

you pointed to a file that does not exist, check the filename

almostbob 866 Retired: passive income ROCKS

http://php.net/manual/en/function.file-get-contents.php echo file_get_contents(urlencode('url')); thats the generic, if there are no special characters in the url echo file_get_contents('url');

almostbob 866 Retired: passive income ROCKS

error, mixture of get and post

$_get is blank when the form is posted, so the querey expands to

$query = "UPDATE rates SET `datefrom` = '".$_POST['datefrom']."', `dateto` = '".$_POST['dateto']."', `ratename` = '".$_POST['ratename']."', `single` = '".$_POST['single']."', `double` = '".$_POST['double']."', `child` = '".$_POST['child']."', `infant` = '".$_POST['infant']."', `base` = '".$_POST['base']."' 
where 'nonexistent name' = 'nul'

where nonexistent = nul updates every record

as svilla wrote, correct that line,
and correct the script so that post variables are used when the form is posted
if you both post and get this file, use $_REQUEST[] for the variabless that have to be readable under both submission types

almostbob 866 Retired: passive income ROCKS

if you want to ensure margins you can

* { margin:0;} // all elements
// or
h* {margin:0;margin-left:auto;margin-right:auto;} //all h elements

in the top of the css file, preset all the element margins to 0
then everything will butt up unless and untill you give the element some spacing deliberately

almostbob 866 Retired: passive income ROCKS

yep,

iamthwee commented: Props +15
almostbob 866 Retired: passive income ROCKS

use premade scripts for ideas
sometimes the mistakes give the best information on how not to do it
continue to describe your site as you are, "I dont want to copy"... then if it does take off there can be less bite back from other sites legal dept.
the next question should be, where to get script resources
good luck to ya

almostbob 866 Retired: passive income ROCKS
h1 { text-align:left;font-family:Arial,"Times New Roman";font-size:0.8em;font-style:normal;font-weight:bold;
margin-top:0;margin-left:auto;margin-right:auto;margin-bottom:0; } // the new bit
h1:first-letter {font-size:200%;font-style:bold;float:left;}//playtime

centrs the h1 on the page left/right(if smaller than full width) no margins top bottom so the next div butts close, and creates a drop cap because I like drop caps
removing margins from one element may leave a margin, if the next element has a margin, <div><p> etc

almostbob 866 Retired: passive income ROCKS

margin:0; and or padding:0; nothing in your css overrides default spacing,

the manual, the online docs, at w3.org are very good, dont have the full link rattling round the empty space on my neck

almostbob 866 Retired: passive income ROCKS

add it to all the other things that ie does well? (short list)
as well as ie does anything == no
not fully dependable as written, google font api approaches reliable
I think, personal opinion only no reasons for it, that it will be the next big thing in a few computer centuries (6 month) as soon as mainstream developers discover the google api works almost properly in ie

almostbob 866 Retired: passive income ROCKS

the image with a bunch of included icons is a sprite and it works just as you describe
its a page minimisation strategy, only 1 image is downloaded, instead of a larger number of images each with the delay negotiating the transfer, for small images 100 bytes of image and 220 bytes of http is not efficient

the google search would be "how to enable css sprites animation",
the slowdown is a series of small movements, better described in the search links than i can do

almostbob 866 Retired: passive income ROCKS

<?php if($heartrate > 100) {die('this rant is gaining too much life of its own');} ?> :)


thoughts,
does not work right in more than half of user browsers, using windows and IE <=8, browser fault not code fault, so it isnt good to rely on it
requires a larger page download, depends on a third party server, so isnt good to rely on it
other thoughts
will be very interesting when more users use IE >=9 (ff chrome opera apple products, support most, if not identically, but few users actually use them) already have the fonts downloaded in the browser cache, and have the appararent immediate font support
google is better than hosting the same font yourself, the file will mostly be in the cache once a few designers start using it, even though the third party {everything} police (dot the t cross the eye anal retentive *expletive deleted*) already made laws trying to regulate everything to when I sit and
this rant is gaining too much life of its own

I think given time, computer centuries => 6months, the latest versions already have worked around IE differences, there will be few sites that dont have some font speciality
but wouldnt it be great if all the browsers declared the font the same way, (like ff does, not like safari & IE, blank spaces )

almostbob 866 Retired: passive income ROCKS

perhaps step through the list of contractions to make them all the full name, then remove duplicates,something like

UPDATE TABLE set CITY=replace(CITY, 'Ft.', 'Fort') 
UPDATE TABLE set CITY=replace(CITY, 'Ft', 'Fort') 
UPDATE TABLE set CITY=replace(CITY, 'Bnd.', 'Bend') 
UPDATE TABLE set CITY=replace(CITY, 'Brg.', 'Burg')

not a tested code, it may be neccessary to pad the replace statments with spaces replace(city," Ft. ", " Fort ") in case there is a valid town name with that string inside the words

almostbob 866 Retired: passive income ROCKS

if you look at the speed report for any site, I use one at http://websiteoptimization.com/services/analyze/ , you can see why sprites are pouplar

in the table that shows overheads

icon might be 100bytes,
but there is ~220bytes in the http to download it, more overhead than content

sprite with 2 states, breaks even,
sprite with three states, more content, less overhead

almostbob 866 Retired: passive income ROCKS

1, what problems, precisely,, ^^ already ask that, sorry
2, a picture is useless, post code, between [code=language] [/code]eg code=css code=html code=php tags

almostbob 866 Retired: passive income ROCKS

auto link builders link farms link exchanges
are effective in getting the site black-listed

build the links manually, get accepted
too easy

almostbob 866 Retired: passive income ROCKS

print the contents of the _post array, just to ensure they are what you expect, sometimes the error is not where you expect

almostbob 866 Retired: passive income ROCKS
$chkdt = "Wed Jun 15 2011 00:00:00 GMT 0530 (India Standard Time)";
$finaldt = date("m/d/Y", strtotime($chkdt));

and still repair your data

almostbob 866 Retired: passive income ROCKS

q1 my magic crystal ball allows me to see what you have done, and point there, in your code.....
English translation:: Post your select statement, at least, between [code]

[/code] tags, and perhaps a description of the column names,

q2, well actually you were told wrong http://www.postgresql.org/docs/9.0/static/sql-select.html WHERE somecolumn SIMILAR TO avalue ORDER BY something different
and just for fun coz I like the search animation let me google that for you

almostbob 866 Retired: passive income ROCKS

functioning

<input type='button' name='logout' value='logout' onclick= "window.location='http://localhost/Catalogue/php/logout.php';">

does anyone else notice anything unusual about php href,
running on the wamp localhost

<?php include 'C:\wamp\www\Catalogue\php\menu.php'; ?>

hint:

<?php include('File:///C:/wamp/www/Catalogue/php/menu.php'); ?>
<?php include('http://localhost/Catalogue/php/menu.php'); ?>

both work :)

almostbob 866 Retired: passive income ROCKS

there are four methods of google verification

  • a code to embed in the head of the index page
  • a filename to create in the root folder
  • a dns record
  • analytics tracking code

the op has received the second
create a file in the root folder with that name, it does not need to have any content

almostbob 866 Retired: passive income ROCKS

http://en.wikipedia.org/wiki/Geotagging
http://searchengineland.com/should-you-geotag-pages-for-local-seo-22531
http://code.google.com/intl/en/apis/maps/documentation/geocoding/#RegionCodes

Geocoding results can be biased for every domain in which the main Google Maps application is officially launched. Note that biasing only prefers results for a specific domain; if more relevant results exist outside of this domain, they may be included

http://webdesign.about.com/od/geotagging/a/what_geotagging.htm

Who Can (or Should?) Use Geotagging?
Before you dismiss geotagging as a fad or something that only "other people" should do, you should consider what types of sites you build and how geotagging can be used to enhance them.

Geotagging Web pages is ideal for retail sites and tourism sites. Any website that has a physical storefront or location can benefit from geotags. And if you get your sites tagged early, they are likely to rank higher in geotagged search engines than your competitors who scoffed and didn't tag their sites.

Web pages with geotags are already in use in a limited format on some search engines. Customers can come to the search engine, enter their location and find Web pages of sites that are near their current location. If your business is tagged, it's an easy way for customers to find your site. And now that more phones are coming equipped with GPS, they can get to your storefront even if all you provide are latitude and longitude.

But even more exciting are new sites that are coming online such as FireEagle. These are sites that track customer locations using cellphones and either GPS data …

almostbob 866 Retired: passive income ROCKS

you could fix your database design by a tableupdate now, and
store only a timestamp,
use 4bytes per record instead of 35,
require simpler code to select records,
simpler code to update the table,
simpler code to display
allow any user to have the date and time formatted to their preference, or their country code standard

correct the problem, intead of patch it, and make the whole thing much easier elseif() is fractionally faster than else if()

pbcomput commented: your answer is not related to the question. -1
almostbob 866 Retired: passive income ROCKS

+ could check the innertext or innerhtml of the twitter signin for twitter.com's valid login text to close the divs on receipt of login confirmation
+ should include a button in the twitter div labelled close that fires the CancelSiginin() script, or label the background div, unless there is a visible control some users may refresh the page instead of looking for a close device, and lose whatever they have previously input
& checkout the twitter helpscreens, they probably have this issue pretty well covered

almostbob 866 Retired: passive income ROCKS

the html is incomplete, there is no doctype,
without a valid dtd declared as the first line the browser is free to interpret the html as anything it wishes
the default for Firefox and IE is different, appears different
code the html and css properly and the difference,still there, will be much smaller

validate your code these standard test beds may assist you http://analyze.websiteoptimization.com/ Speed http://validator.w3.org/check html check http://jigsaw.w3.org/css-validator/validator CSS check http://demo.opera-mini.net/demo.html handheld http://www.browsershots.org other browsers
many problems (if present) will show
serious code errors in the w3c validator sites will produce blankscreens in browsershots

Valid code does not ensure the site will work ...
Invalid code ensures the site will not work ...
.. in all browser OS combinations
not all layouts work in handheld devices
strictly code based,

post code between [code=language] [/code] tags in this case

and [code=html] the idea is to turn on code highlighting, just the highlight can often expose errors enough to fix questions,
also covered in the instructions you agreed to when you signed up .

fix your code, 
px are for <img> tags, 
pt are for print, 
current best practice: screen layout is done in em & % scalars that adjust to window size screen resolution and device, without creating a ridiculous looking central column on a widescreen monitor, or pushing the content offscreen in a small display, …
almostbob 866 Retired: passive income ROCKS
almostbob 866 Retired: passive income ROCKS

the calculator at poi friend is
in metres less than 1km,
in km > 1 km,
but that seems to be an output convenience to make it easier to read
/1000 or*1000 in the code if they are willing to give it would not be hard

almostbob 866 Retired: passive income ROCKS

Just in case you don't like twiss's response, let me google that for you,

almostbob 866 Retired: passive income ROCKS

radius is the input_max_distance

why is there a radius in the table, that seems unneccesary
you still have to run the whole table using the already defined calculator to calculate the distance from each poi to the current point, and select those less than the radius from the current point
I do not understand what you have done, so do not understand the question

TRY http://poifriend.com/ and ask them through the contact link, they are closing up and may not have any issues with proprietary code, they may even give to you the source of how they plot points in their poi set closest to the user's location

almostbob 866 Retired: passive income ROCKS

you have a functional calculator for distance, you have a max value for distance

SELECT a.*,get_poi_distance(100.295, 6.234,`long`,`lat`) distance FROM `poi` a WHERE get_poi_distance <= $input_max_distance

this code sample not guaranteed, you have to look up the syntax for the sql version in use, its an idea

almostbob 866 Retired: passive income ROCKS

try this as well, http://www.mygeoposition.com/ creates headers under the meta tags tab

almostbob 866 Retired: passive income ROCKS

$example does not exist,
since php5 it would be $_POST

almostbob 866 Retired: passive income ROCKS

more detail needed
exactly what are you trying to accomplish, is there a single element, or do you want to know which of a number of elements is clicked
what code have you already
fixing code is a lot easier than writing code, so post what you have between [code=html] codes [/code] tags

almostbob 866 Retired: passive income ROCKS

buy premium membership, unlimited filesize,
mark thread solved
give me kudos

diafol commented: How's that AB? Feel better now? :) +13
almostbob 866 Retired: passive income ROCKS

use a session, its already been established to confirm the login of the librarian,, it has hasnt it? (well it should be)
get is visible in the url,
http_referer can be spoofed by the user,
both are not secure, for an item that is going to be billed to somebody(and disputed) if lost

almostbob 866 Retired: passive income ROCKS

add it to your google webmaster details for the site

mhanry commented: 3 +1
almostbob 866 Retired: passive income ROCKS

Dont feel badcompare thiswith this
you could disable keyboard entry of enhancements and make the user highlight and click a button like those above the edit screens on DaniWeb

almostbob 866 Retired: passive income ROCKS

pb's answer above, as the OP code print("<tr><td><a href='details.php?id=urlencode($id)'>$title</a></td></tr>"); because human readable text contains characters that mess up GET

almostbob 866 Retired: passive income ROCKS

your line 21 could be something like <td><a href='$title'>$title</a></td> assuming there is a field somewhere in the result array that includes a url if the title is not the url <td><a href='$result['url']'>$title</a></td>