almostbob 866 Retired: passive income ROCKS

@diafol — How come you put in those closing PHP tags? Just curious. It's PHP only. ;D

prior versions of php have insisted on closures, EOF does not close the php script.
currently the manual says
If a file is pure PHP code, it is preferable to omit the PHP closing tag at the end of the file. This prevents accidental whitespace or new lines being added after the PHP closing tag, which may cause unwanted effects because PHP will start output buffering when there is no intention from the programmer to send any output at that point in the script.

not always good advice, , just because it is on the php site 'twas still written by people

if you have whitespace after the closing '?>' strange things happen
solution: don't screw up.

stranger things happen
If you include('file without ?>');

<doctype>
<html>
<head>
bla bla bla
</head><body>
bla bla bla
<?php include('file without ?>'); ?>
bla bla bla
</body></html>

expands to

<doctype>
<html>
<head>
bla bla bla
</head><body>
bla bla bla
<?php $file = "xpath.html";
$doc = new DOMDocument();
$doc->loadHTMLFile($file);
$xpath = new DOMXpath($doc);
$elements = $xpath->query("*/div[@class='prod_text']/a");
$p = "Couldn't find the category name";
if (!is_null($elements)) {
    $p =  $elements->item(0)->childNodes->item(0)->nodeValue;
}
echo $p;
bla bla bla
</body></html>

and fails dismally
solution: close script files & dont screw up

pure php, makes little or no difference;
close the script without extra whitespace

almostbob 866 Retired: passive income ROCKS

Do hippos think rhinos are unicorns ?

almostbob 866 Retired: passive income ROCKS

GOLDEN URINAL

A guy comes home completely drunk one night. He lurches through the door and is met by his scowling wife, who is most definitely not happy.

"Where the hell have you been all night?" she demands.

"At this new bar," he says. "The Golden Saloon. Everything there is golden. It's got huge golden doors, a golden floor and even the urinal is gold!"

The wife still doesn't believe his story, and the next day checks the phone book, finding a place across town called the Golden Saloon. She calls up the place to check her husband's story.

"Is this the Golden Saloon?" she asks when the bartender answers the phone.

"Yes it is," bartender answers.

"Do you have huge golden doors?"

"Sure do." "Do you have golden floors?"

"Most certainly do."

"What about golden urinals?"

There's a long pause, then the woman hears the bartender yelling, "Hey, Duke. I reckon we got a lead on the guy who peed in your saxophone last night."

almostbob 866 Retired: passive income ROCKS

The above advice, except Kelly's is no use at all.

Break Google's rules, get killed
Google's rules, Google 101 how google crawls the web
instructions for your site, are directly personalised in your google webmaster tools account
GET a Google webmaster tools account, follow the instructions

read Read Me before you ask for review, code compliant sites rank higher in SER follow the instructions

tools, paid services, link exchanges, get results
REMOVED FROM GOOGLE is a result
not the result wanted,
just a result,
which is all the money-grubbing bottom-feeding scum-suckers promise from their service.

Ignore any other site, google make the rules, all others comply

Links in fora must be relevant.

Kelly's link for a web analyst, in a website design forum, is relevant, positive results.
Manish's link for online real estate, is not relevant.
SEBots are very AI, and downgrade irrelevant links rapidly, posting links just to gain links DOES NOT WORK

not all advice is equal in value
my sites are education housing mining related, not relevant, no links,

"just ʇuǝɹǝɟɟıp: retired at 38, doing something right"

almostbob 866 Retired: passive income ROCKS

The hardest part for those keywords, is competing with ikea, the big box stores with ridiculous ad budget

There are many flatpak and modular kitchen companies paying for adspace in newspapers, that give them the same space in the online versions, and those have dofollow links in the ads

  • newspaper ad, for the online link
  • post/ad in local house-reno fora
  • post/ad on local builder's fora
  • post/ad on local builder site
canadafred commented: nice follow-up +9
almostbob 866 Retired: passive income ROCKS

You've seen all the commercials. But here's what really happened when I asked for help with an erection lasting more than 4 hours.

I walked into a drug store and asked to talk to a male pharmacist. The woman I was speaking with said she was the only pharmacist and since she and her sister owned the store, there were no male employees.

She asked if she could help me. I said that I really would have preferred to speak with a male pharmacist. She assured me that she was completely professional and whatever it was that I needed to discuss, I could be confident that she would treat me with a high level of professionalism.

I reluctantly agreed and began by saying, "As a shy man, this is tough for me to discuss, but here goes. I get erections every day that last more than four hours. This condition causes me a lot of problems and severe embarrassment. I was wondering what you could give me for it?"

The pharmacist said, "Just a minute, I'll talk to my sister."
When she returned, she said, "We discussed it at length and this is the absolute best we can do:

  • 1/3 ownership in the store,
  • a company pickup truck,
  • a king size bed and
  • $3,000 a month in living expenses."
almostbob 866 Retired: passive income ROCKS

i've heard that word before
whats a polite?

almostbob 866 Retired: passive income ROCKS

thats not meant to attack the student softwaredeven

courses, teachers, the sylabus, left out a lot that annoys me no end, hence the rant

Keep trying, and asking, when you come across anything missed, and presenting code attempts
You'll find a lot of people who'll help out, to fill in the blanks left in the course
php.net has a good set of 'your language' downloadable help screens for the version of php you use, they will help a lot as most error messages are linked.

almostbob 866 Retired: passive income ROCKS

you downvoted me once
so i am going to find every post you made and downvote it

almostbob 866 Retired: passive income ROCKS

get rid of lines 1-3, they do nothing, and add parse time

otherwise the same answer as those above, the $_get parameters are not set, until collection.php submits to itself
checking the value of something that does not exist gives an error

Its bothersome that this is "final year project"
How does a course get through multiple years while allowing the basics to not be taught.
Piss-poor teaching standards, even if you do finish the course there won't be much value in the [joke]qualification[/joke]

diafol commented: ouch AB. Just say it as it is why don't you, heh heh +15
almostbob 866 Retired: passive income ROCKS
  1. It's important to have a woman, who helps at home, who cooks from time to time, cleans up and has a job.
  2. It's important to have a woman, who can make you laugh.
  3. It's important to have a woman, who you can trust and who doesn't lie to you.
  4. It's important to have a woman, who is good in bed and who likes to be with you.
  5. It's vitally important that these four women do not know each other.
almostbob 866 Retired: passive income ROCKS

you offer web services, and are ignorant of required information to properly design a website to minimum standards.
Go away and read google 101,
it is information that should be the basis of your business
the sites you build will otherwise be as poorly ranked as your own, and no return business, no new business.
Incidentally posting a link to your site on this thread, that says "I don't know what I am doing" DOES NOT help your business

almostbob 866 Retired: passive income ROCKS

The site traffic has decreased, and will continue to decrease, you have proven incompetent in the field you pretend to occupy, SEbots are very AI, even a robot can determine useless.
Go away, learn something about SEO,
optimise your site using the skills you learn,
and hope that you can reverse the result of your incompetence.
importantly, go away

almostbob 866 Retired: passive income ROCKS

2005 Kia Pregio camper conversion
Kia sportage 4wd
Suzuki sierra 4wd buggy modded:BIG float wheels no roof, gun positions, for; bore running, feral animal reduction
Nissan 4wd wagon
Isuzu 4wd ute
Jeep 4wd
Chev Colorado 4wd ute
Great wall ute
Series 2 Landrover
72 corolla modded:5L v8 six speed inline, fast, steers like sh_t
mazda RX3
Harley sportster
Honda vf 750
Honda cbx
yamaha 450 quad
5 250 quads
tricked up racing lawnmower
bell 47
bell uh1b

benefits of a roadhouse in the bush, plenty of fuel.,
looks like I'm a bit of a rev head, , , ,
hybrid?
never gonna have one,
the bush will kill it,
corrugations in the roads here make the batteries fall through the floor
the cars arent bad, the roads are

Oh yeah left out
mercedes 2926 heavy Tow truck <- used it to collect only prius Ive ever seen

mercedes 2955 heavy water tanker

speed limts in the Territory are
60 in town,
130 on local roads,
unlimited on highways,
lots of interstate vehicles crap out in the 600km between us and the border, make a fortune towing them into Tennant to get repaired.

almostbob 866 Retired: passive income ROCKS

stimulate your mind Xantipus,
how fast could you learn to communicate with another person, if they whipped you at every word until you answered.

you may not learn rules of grammar, but you would make yourself understood

bantu, hutu, tutsi, the only language in common is the one speed taught, it would be used by neccessity

almostbob 866 Retired: passive income ROCKS

these are not distortions, they are dialects, languages. they developed precisely the same way as all the major languages, just accelerated by the need for immediate communication under stress. A little reading would have shown the derivation of these, and all other languages, without the need for such an offensively phrased question

creole : americas
pidgin : americas
cargo : pacific islands
kanaka : pacific islands
patwa : carribean
aave : africa
ebonics : americas

french : latin; greek, english
english : latin, greek, french, german, dutch, hindi, bantu, polynesian,

every language is the result of the interatction with others

almostbob 866 Retired: passive income ROCKS

Code errors affect your search engine results,
if and when the errors are serious enough to cause display errors in any of the major browsers
.

Very deep in google's member-only forums the rendering algorithms are discussed heavily
SEBots follow the page; if the page is broken, the bots stop at the break.
A simple, fairly accurate, test of how serious errors are is to run the site through browsershots
Serious errors display as blank screens, partial screens, in the displayed screenshots
Fix the code, if blank screens display as a matter of urgency
otherwise fix the code errors in site updates as a maintenance issue.

full list of remediation links are posted as a ReadMe in the Website Reviews forum

Your Site in browsershots works, the code errors are not significant

almostbob 866 Retired: passive income ROCKS

Do your own bloody homework
You advertise in your signature skills you don't have,
pretend you have some, go away and read

diafol commented: heh heh +15
almostbob 866 Retired: passive income ROCKS

the database is not supposed to be human readable
why not simplify everything and store the timestamp generated in line 2
sql date objects store in 4 bytes
text dates in the chosen format store in 14 bytes thats a lot of unneccessary wasted space in, for example, 1 million records 10MB
the date object is simpler to select between date1 and date2
the date object is order of magnitude faster
the date object is unique: 2014-12-2 can be 2 December or 12 February depending on who reads it
the date object can be simply parsed on output to whatever date format the user expects, by usewr choice.

faster smaller error-resistant user-friendly
what a good idea

almostbob 866 Retired: passive income ROCKS

of course it expects others to do its homework
http://www.geoplugin.com/examples

almostbob 866 Retired: passive income ROCKS

I'm assuming google's 101 how google calls the web is the rules

Kelly Burby commented: There should be a post over this forum with the title "GOOGLE 101: Rules for directory submission" :P +3
almostbob 866 Retired: passive income ROCKS

the thread title would have made a great google search term
goo.gl
get off your lazy behind and do something

or

How can i make it?

by sitting down at your desk with notepad, and some thought

I need a source code.

write it

almostbob 866 Retired: passive income ROCKS

what part of

You could ask the site owner: the site includes copyright notice and contact details to the coder

makes no sense to you

don't ask people to steal for you, very bad form old chap

almostbob 866 Retired: passive income ROCKS

This site is more often populated by authors
we know that view source does not get you the serverside code you are trying to steal,
Rubberman is trying deliberately to mislead you out of distaste.
Its not urgent to me to help you steal,
no matter how many capitals you use
You could ask the site owner: the site includes copyright notice and contact details to the coder
you could search for the code function you require
you could do some work and write the code function you require
you could just -eff off

<?php die('thief'); ?>

almostbob 866 Retired: passive income ROCKS

Do not post on external sites expecting returns for a keyword, it does not work that way
By posting links in blog conversations, or as signature links in forum posts, you will receive slightly higer ranking, exponentially increasing with the relevance of the links
BUT If the links are not relevant to the topic of the conversation blog or forum is commenting on, those links are highly negative and counted as spam
ALL of the above posters' signature links are irrelevant to the subject of this thread, will be considered spam by the search bots spidering this well indexed site, and have exactly the opposite effect intended by the poster.
SEbots are very AI,
Positive results: post links to your site only in forums

  1. with threads relevant to the topic of your site, or
  2. geographically located in the area you service.

anything else is spam and downgraded

My sites are education housing and mining related, not relevant to this thread, Look down, NO links,

almostbob 866 Retired: passive income ROCKS

Those were some useless pointless commands

quote w3c:HTML/Elements/marquee

<marquee>

HTML Reference

The <marquee> element is a non-standard element.
HTML5 classifies it as a non-conforming feature.

Examples

No, really. don't use it.

quote mozilla.org

<marquee>
Non Standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in future

html4 classified as non-conforming, likewise

That which does not display, except IE, probably should not be used.

almostbob 866 Retired: passive income ROCKS

use as the first line of every script
<?php die('security error'); ?>
nothing will be ever attacked

THE ABOVE IS A JOKE ANSWER TO A RIDICULOUS QUESTION
Yet another "professional" completely ignorant of that which they claim as their profession.

let us know what you are developing, so we can avoid considering using it

diafol commented: good answer. still laughing... +15
almostbob 866 Retired: passive income ROCKS

Whatever you decide to do, learn.
Create unique proprietary code, licensed for use.
Passive income Rules

I get $28,000/year indexed, for a controller written in 1978, that I maintain hardly at all.
I love governments

almostbob 866 Retired: passive income ROCKS

I met your assistant, I dont consider myself a cradle robber,
you on the other hand ,

I'm older than my maturity level suggests
don't be bothered, your stalker? is headed from Dal to Monash, Melbourne, UNSW, UQueensland,
the chance of return to Calgary is small, conference links are established across Canada
I have more virtual attendance than live ones, even the live ones only seem live from the neck down.

I am very, extremely, grateful for the repair, of course I didn't carry a backup

almostbob 866 Retired: passive income ROCKS

+1 CathiedSquared: not just because I am a customer, I get to Calgary maybe once
taken by a Taxi driver to the store going between the airport and university,
my dropped laptop was fixed up in about a half hour, thanks

Keep it closely related, geographically to the area you service, or
keep it closely related, topically, the the subject you service
and the linkage is positive
generic directories are link farms, dead
Paid directories, 0 or less,
Trade directories specific to the business of the site, better
We are mostly linked from local government directories, "municipalty of the county of" in the areas we serve.
that have no money making interest in the linkage, only a local area service: they have a huge result.

Google 101, how google searches the web, gives current reasons, every time the algorithms change
Google Webmaster Tools, gives current site-specific personal instructions, every time the algorithms change

almostbob 866 Retired: passive income ROCKS

its usually css positioning of a background image
you can select in css how big a box, and whee it is placed, to display an image bcakground

almostbob 866 Retired: passive income ROCKS

Hey, I actually read the manual.d0a3386f5ecbbc93511837582c199967

wondered why I never had a bleep fill in a form wrong,
/test.php?timefrom=00%3A59
is the tail of the get parameter submitted as 12:59am
the 12 hour ampm selector parses in the user agent to ISO 8601 standard representation

W3C reference problem solved: data will be submitted in 24hour time

That gets an elephant stamp :

mattster commented: Nice one! Nice elephant aha ;P +4
almostbob 866 Retired: passive income ROCKS

not slang,
a dialect,
complete enough to be a distinct language.

Slaves werent taught, the local patois are phonetic representation of the owner's English, Many dropped terminating consonants, dropped dipthongs. Anglicised Creole, mixed with many words from West African languages

almostbob 866 Retired: passive income ROCKS

The first man to urinate on the moon was Buzz Aldrin, shortly after stepping onto the lunar surface.

Reverend Jim commented: I hope he remembered to zip up afterward. +0
almostbob 866 Retired: passive income ROCKS

<smartass> urgent, not to anyone but you it isnt </smartass>
<helpful> I get good function with minimal server load using sothink converter </helpful>
<smartass> of course there are other ways </smartass>
<helpful> some of them even work </helpful>
Some days I should stay in bed

cereal commented: lol +13
almostbob 866 Retired: passive income ROCKS

Alexa is innaccurate, at low traffic densities
From experience one of my sites, absolute trash, has high alexa rank.
This site is not active, used to develop and test experimental webware scripts, the code is bad many parts do not connect, the site has almost zero traffic, and it all comes from a single ip.
The more traffic that hits a site, the better alexa reads the traffic,
active sites rank closer to proportion of what the server logs tell me against real traffic

Re: widget improves alexa rank
Install my advertising and I will tell people your site is better too
no conflict of interest there

almostbob 866 Retired: passive income ROCKS

Same as everybody above
promised results, always less than truthful,
delisted from search engines is a result

google webmaster tools give current correct personalised answers on making your site compliant, google make SEO rules
w3c have code testers to ensure your site is code compliant, w3c make coding rules
bad code, really bad code, does not display in all OS/Browser combinations, and if the bots can't parse it, ranks badly in SER

+content, original correct semantic attributed

nothing else works

links to code testers google tools, handheld testers in the readme before you ask for review code compliant sites rank higher in SER thread

almostbob 866 Retired: passive income ROCKS

it isnt dialects, its versions 1 - 5, and each has a distinct set of rules, that must be followed closely enough to have the page display.
Ok so you can view it. You arent the intended audience, of the 8billion people it has to at least work for 7,999,999,999 other people's combination of browser and OS
there is a thread read me before you ask for review, code compliant sites rank better in ser that would help explain.
self terminating <div>s as referred by evolution,,
<div> elements must look like this <div> content </div>
some elements eg <img> can self close <img src='thepicture' /> &/but that depends on the html version you are writing

almostbob 866 Retired: passive income ROCKS

Happygeek, nope,
I find it funny as hell
that the backlinks they get from the signatures, indicate just how lacking in everything they are

almostbob 866 Retired: passive income ROCKS

Irrelevant links from high ranked sites have negative value
Keep the posts and the links on relevant websites, to the business.
In this thread, the link to your site is relevant, the text says I have problems with my site
The same link in different circumstance is irrelevant, spam, downgraded.
Search bot programs are very AI

almostbob 866 Retired: passive income ROCKS

something like

<select name="username" id="username">
 <option value="">--</option>
 <?php
  $database_link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
  $db = mysql_select_db(DB_NAME, $database_link);
  $loop = mysql_query("SELECT * FROM registration");
  while($row = mysql_fetch_array($loop)) { 
   echo "<option value='$row['username']>$row['username']</option>"; 
  } ?>
</select>
almostbob 866 Retired: passive income ROCKS

Parker, you arent using that script

<option is inside the for loop in your second post
<option is outside the while loop in your first post

Pritaeas: 12000 posts,moderator,featured,sponsor,1915 solved, 1544 reputation, 172 skill;
10 on the 0-10 sliding scale of guru

is telling

Parker 1: 20 posts, nul, nul, nul, 0, 0, 0, 0;
the personification of the other end of the 0-10 scale

the answer

Did you at least try it

almostbob 866 Retired: passive income ROCKS

A gun is legal, till you use it to shoot somebody, then there is a problem. Getting a gun is a deliberate act the penalties are higher

The software is legal, The software may be used compliantly
when it is used non compliantly there there is a problem for the webmaster

Black hat for sure, anything that attempts changes in results carries huge SE penalties.
If the SEbots don't find it today, they will find it tomorrow or the next day, and de-list the site.
Follow google webmaster rules, or lose.

almostbob 866 Retired: passive income ROCKS

Couldn't log in.
Couldn't request reset.
Immediate thought, I have p-ed off majorly those I should not.
Those who have met me in person will be able to affirm this, I am expletive 99% of the time.
I have been banned from other sites before, permanently (sadly often), and assumed I had been again.
At DaniWeb I have tried to keep the answers almost relevant and helpful.
I emailed my thanks for being permitted here, and assumed I was a dead man
Very suprised to receive a reply, any reply actually, that login was down and I had not done anything too stupid (recently?)
Happily surprised

DaniWeb is extremely tolerant 6384eb2ad0803beeefef27551d397a04
Gratefully

Bob

almostbob 866 Retired: passive income ROCKS

1981
chem, physics, pure math, applied maths, biology, cartography, English, English lit,
I went to school on mondays, mondays were prac classes
didnt go other days, boring
external exams made 100% of the marking,
I do well in exams, usually finish hours before the end

There was a truant officer, she gave up coming around after a few months of the folks
"well test him on anything studied when you say he wasnt there"

damn, hippies

diafol commented: heh heh +0
almostbob 866 Retired: passive income ROCKS

post the actual error message, not a link.
follow the instructions you have been given

Please... pretty please... "mod speaking" - paste your code and errors directly into this thread.

'mod' is the bloke who kicks your ass off the site when you annoy them enough

almostbob 866 Retired: passive income ROCKS

Another "proffessional" who cant create their resume in the language they claim to be profficient in.
Links to your resume, from this well SEIndexed thread where you state your incompetence, will not help your employment search.

Move your resume when it is corrected, to a host not linked from here

It needs to be

  • html5 css3 compliant,
  • css layout not tables,
  • responsive not fixed dimension,

for you to be taken seriously

almostbob 866 Retired: passive income ROCKS
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
  1. turns on rewrite
  2. if the link does not start with www
  3. replace link with www and 301 permanently moved

for SEbots it transfers most of the non-www link's mojo to the www version

Inform google directly in your webmaster tools panel

savedlema commented: Thank you very much. I was able to read about this and implement. Now it works and I hope for the best. Thanks. +2
almostbob 866 Retired: passive income ROCKS

I am not as polite as you two

Do your own bloody homework
die('lazy students');

diafol commented: my sentiments exactly +15
almostbob 866 Retired: passive income ROCKS

it can be as simple as propogation time, DNS servers take time to react to the construction of new sites, or the changing of site structure.
very likely the links may simply not have reached google yet

sitemap submission to the webmaster tools page will increase depth of googlebot access

savedlema commented: Thank you very much. I'll see if more time solves DNS issue. +2