almostbob 866 Retired: passive income ROCKS

If you need to ask this, you do not have the skillset to do this. <<whatabitch<<
I'm having a good day, don't be stressed, asking the q is how you get theskillset

take time, to work out what features and support your desired site requires, and add those to your question
"file repository" would be a better search term than "file sharing" filehippo et al are repositories

jyraphe works for me

rproffitt commented: Remembers folk asking for Facebook WP theme. +7
almostbob 866 Retired: passive income ROCKS

What course is this homework for ?
better $unique = asort(array_unique($numbers));

thoughts for the thread starter

almostbob 866 Retired: passive income ROCKS

the "dot" in a php text variable is concatenation, it means the variable is appended directly to the preceding text
The above codes "images/". $image_name
if your photo name is ABC.jpeg, the URL to the image will be "images/ABC.jpeg"
normally used with 'single quotes' :: "double quoted" text is parsed for variables ,, so may equally look like this "images/$image_name"

you see the .dot in declarations

$a = 'ralph';
$a .= ' wiggum'; // eq to $a = 'ralph'.' wiggum';
echo $a; // ralph wiggum

and many other (non-trivial) instances where it is important to see the development of variables $c=$a.$b;
hth

almostbob 866 Retired: passive income ROCKS

the first time you load the page, $_GET[] is empty, not populated until the form is submitted,, code not checked count {braces}

if(isset($_GET['submit'])){if($_GET["uname"]){echo "your name  is".$_GET['uname'];}}
  else {echo"please enter your name";}
almostbob 866 Retired: passive income ROCKS

look at padding sizes in the css

jonsan32 commented: I've been going through with the Inspector one by one changing those. Still, no dice. I think it's either line-height or the ul style being indented +2
almostbob 866 Retired: passive income ROCKS

php has multiple formats for echoing out plain html in single lines, up to book-amounts of text

heredoc or nowdoc format can do pretty much what you want

if(condition) echo <<<endofmultiquotedhtml
this is some huge block of static html
endofmultiquotedhtml;
elseif(condition) echo <<<somethingelse
<input type="doublequoted">'singlequoted'
and carriage returns
and $php_variables
any amount of html code
and any amount of more lines
all kindds of stuff
more stuff
"stuff"
'stuff'
\x41 (capital A)
somethingelse;

php strings heredoc
nowdoc continues under heredoc in the linked page

almostbob 866 Retired: passive income ROCKS

I agree with you, jkon, a perceived benefit, not a real benefit,
I have logs back to 99, transferred server logs from one pc to another as the pc got replaced,
working backwards its not hard to trace bot algorithm changes by page hits (1)
there was more rapid indexing of static pages, until Sep 2002,
since 2005 indexing speed, and depth, have equalled regardless of pagetype
extra processing needed to display static html pages from php asp jsp is not needed
make generated uri display in friendly form, definitely worth it

note(1) 20/20 hindsight, would be great to have 20/20 foresight

almostbob 866 Retired: passive income ROCKS

The point is im in one Team project, and one of our member he suggested to files be renamed with .html, so in mind i come confuse, why he suggested files with this extension.

the delay added to every html file by the directive 'addhandler server-parsed' to get php files to function when renamed,
far exceeds the non-existent SEO benefit,
ditto jkon above: there was a perceived benefit to serving html, multiple generations/iterations of SEbot ago, back in the 00s

almostbob 866 Retired: passive income ROCKS

and jazz up the token, relative to request time, ip, browser etc, so the token becomes one-shot. many security tokens are ineffective

almostbob 866 Retired: passive income ROCKS

For example, if I want to make someone pay lots of effort to get my logo. I make <img src="pixel.png" id="thelogo" /> and then in CSS, I would assign base64 based image with background-image:;

everything displayed on the page, is downloaded to the user
nothing in any code prevents that
everything visible is accessible
you don't want it copied, don't put it on the page
the "lots of effort" described above, is about 3 seconds

almostbob 866 Retired: passive income ROCKS

Content is king, nothing else matters

any uri that is readable will be indexed
logical structured uri make it easier for people, and faster to index

the language(s) the site is written in, English
the OS underlying the language, English
English rules the computer world, the blokes who began it spoke English, and its easier to keep

content languages will be indexed, in that language as long as header/directive referencing the language is correct, or if the language is unique enough that the bot can determine it from structure
If there is no language directive, other languages may be determined by SEBots to be misspelled English

almostbob 866 Retired: passive income ROCKS

two minute mobile friendly
Its a quick and dirty fix, that WORKS, till you go for full redesign

almostbob 866 Retired: passive income ROCKS

I still prefer "Do your own effing homework"
to all the above

almostbob 866 Retired: passive income ROCKS

Its not necessary to change 99% functional code,
If you do use the above, paste the sanitising lines in

or Just change the filename and application-type

14$filename = "Piante_" . date('Ymd') . ".csv";
17header("Content-Type: text/csv");

almostbob 866 Retired: passive income ROCKS

The above code outputs comma separated values (tab separated values)
the .csv file is saved as .xls
(.xls contain way more headers etc than just the data)
excell reads .csv so the function works, but there is an informational warning about the file type
If you save the file as .csv the warning will cease, and still open in excell

almostbob 866 Retired: passive income ROCKS
$insertedData = mysql_query("INSERT INTO customertable(CustomerID, FirstName, SurName, Address, PhoneNum, Email, PurchaseProduct) VALUES('$_POST[Customer_ID]', '$_POST[First_Post]', '$_POST[Sur_Name]', '$_POST[Cus_Address]', '$_POST[Phone_Num]', '$_POST[Cus_Email]' '$_POST[Product_Purchase]')",$serverConnection);

"deprecated" : will stop working in the near future

almostbob 866 Retired: passive income ROCKS

wear glasses to read, the lightest ones again,
buy em 4-5 pairs at a time, lose em in the bush, falling out of a plane, run over by a quad, buried in a trench or lawn mowed
havent got used to putting em in POCKETs
am long sighted, or my arms are too short

changed the focus on my laptop to my prescription, it looks like 3d movies to everyone else, my ladylove hates it when she picks up mine instead of hers

almostbob 866 Retired: passive income ROCKS

% percent|modulus ?or? / division by

almostbob 866 Retired: passive income ROCKS

are you sure it isnt $product_data["image"] seems strange to have one column not from the same array ($row[]) as the others

OR. are db images already encoded base64 in the db ?
not common, most images are stored in blob, but there are many very quirky programmers, security by obscurity etc.
try
Print "<div class='image_panel'><a href = 'products.php?prodid=" . $product_data["ID"] . "'><img src='data:image/jpeg;base64," . $row['image'] . "' alt='' /></a></div>";

cereal commented: nice catch! +13
almostbob 866 Retired: passive income ROCKS

FÜ etc
in utf8, there are 1408 (thus far) ways to write eff ewe see kay and get past filters
If you are going to try to catch all possible forms of all comon profanities
:: a gigabyte sized array, processing will take so long your site will shut down

as said before, does not really work, even with a good filter, policy and policing is required
This comes up often, in classes
students seem to enjoy finding homographs for swear words

almostbob 866 Retired: passive income ROCKS

$_POST is available
a superglobal, it is not affected by the register_globals directive
perhaps the error is elsewhere in your code

almostbob 866 Retired: passive income ROCKS

You need to find a different, better, online resource
one that is more complete in its references
it can be straightforward, without leaving out important stuff, like

Check for XAMPP or WAMPServer. Both packages install a full stack.

If it does not link to the most effective resources, it is NOT an effective resource to learn from

almostbob 866 Retired: passive income ROCKS

Really lucky here, football ; nothing,
get the ads, they're a blast
nobody watches boring, the networks don't play it

almostbob 866 Retired: passive income ROCKS

leave the form as it is
validate in the form handler, serverside
let the scumbags think they have bypassed the checks and balances and they will give up, thinking their crap has gone through

ajax:

  • anything containing javascript, can be recoded by the user;
  • is not for form submission or validation,
  • is for one-way page updates server->user in response to user triggers
almostbob 866 Retired: passive income ROCKS
header('Location: home.php');
echo "Email and Password Accepted";

header redirect before text output, will never provide confirmation
put confirmation in home.php

can't see any code trying to output array values.
what: values are,
where: not showing

I don't think anyone minds a 'bump', people who may answer are in all 24 timezones

almostbob 866 Retired: passive income ROCKS

Quotes
Luscious

I think, therefore of coffee

almostbob 866 Retired: passive income ROCKS

@agilemind
There is nothing to counter,
a misrepresentation of my post was made by you, to further your argument
Your ramble, just your inability, to make concise argument.
I have not bothered to read it, it does not relate to my only discussion with you, about falsifying my post

every 0-10 scale needs a zero

plonk

RobertHDD commented: Your quite queer taday take a rest from machines mate +0
almostbob 866 Retired: passive income ROCKS

@Jack
The same effect can be obtained, more simply, by going to the nearest farm, picking up a small piece of cowpat, and dabbing behind each ear. The aroma of bullshit will then follow you without you having to do anything else.

Stand not upon the order of your going, but go at once.

almostbob 866 Retired: passive income ROCKS

@Agilemind, selective editing of a quote, is not particularly agile, not much mind, when the original is in plain view.

I was playing the fool, as stated, using statistics to demonstrate anything.
It has never reached 66 degrees anywhere the other side of Australia

unfortunately you seem to be one who isn't playing the fool
PEBKAC,
put brain in gear before mouth in motion

'The stupid, it burns'

RobertHDD commented: idiot and dumbfounded +0
almostbob 866 Retired: passive income ROCKS

I didn't mean to post this.

That took absolute genius

Sometimes I wonder, with so few brain cells, can they multitask, do they have to stop breathing when they type, and oxygen starvation is the cause

almostbob 866 Retired: passive income ROCKS

Semantic, grammatic, linguistic anomalies
ignorance, arrogance,
It may be that age, but for the smarts
Bullshit

almostbob 866 Retired: passive income ROCKS

If an Metiorite hit earth and knocked it off its orbit will we be in trouble?

Its been the scenario for a number of SF novellas, if we survive to write books about it, all good

Newton: 1642 - 1726 , there was so much known about celestial mechanics, they had satellite cameras, gravity lenses, so much information to base theories on.
Isaac, tried to explain stuff, theory is not fact

RobertHDD 5 days ago: What about the green house effect is that causing the earth to get hotter every year just 2 week back it was 66 degrees on the other side of Australia

I call BullShit,
living in Tennant Creek, Northern Territory, Australia,
The temperature 2 weeks plus 5 days back, was 38 degrees C, the same as it always is.
The highest temperature ever recorded is 50.7, 800km south at Oodnadatta.
In 1960 before global warming

unless the other side of Australia, refers to somewhere between venus and Earth, a long long way the other side of Australia.

Oodnadatta 50.7 1960
Death Valley, 56.7 1913
Libya, 53 1922 which are surprise all before global warming

After Global warming we have NO highest temperatures, if it continues to warm, will we freeze

just playing the fool, statistics can be made to prove anything
It does worry me, about fools, how many arent playing and can be blindly led to believe anything that appears on the gogglebox

almostbob 866 Retired: passive income ROCKS

[rant]
Yet another link to my site as a wonderful web developer, along with a question that says :"I have no idea what I am doing"

@Traevel:Its never going to see the irony
It doesnt say "good website" it just says "website"
[/rant]

[helpful ? trying again anyway]
Geez ben, Googlebot will associate [link removed] with www.weblup

these questions and the links will from this site will appear before your own links, and downgrade you.
People will see you know nothing (Now)
won't be able to understand the time between now and then,
and assume you know nothing (then),
before they hit your live page, , when you go live

Of course you're at DaniWeb, you know there are errors, you don't need customers to know

either
post the code for direct remediation,
or
put the site on a freehost and link to that for questions, until it works and you have full idea what you are doing,
bad links then go somewhere other than your live host : blogspot maybe

This sticky read me-before-you-ask-for-review-code-compliant-sites-rank-higher-in-ser may help with some questions before you ask em

move to html5 instead of xhtml before you go live,
so much easier,
so much more user friendly,
so much more coder friendly,
so much more capable,
so much less codework

and nobody wants a developer who's own site isn't current

almostbob 866 Retired: passive income ROCKS

html5 :: no type on css or script

line 9 querying border:thick solid #4D94FF;border:(255, 255, 255, .5); duplicate definitions
and ;font-size; no size

for .footer{background-color:black;}
try .footer{background:black;color:white;position:fixed;bottom:0;z-index:1;}
to;
stick the div in place,
make other elements slide under as they scroll
give contrast between background and text

you can condense css
background-image:url(pic1_pixabay.jpg);background-size:100%;background-repeat: no-repeat;}
is the same as background:url(pic1_pixabay.jpg) 100% no-repeat;}

when you get it all right for this page,
put the script and css to external files, used for all pages
makes every page smaller and faster

Hello and good luck,

almostbob 866 Retired: passive income ROCKS

Geez bloke, I'm Australian, I'm a bloke, your a bloke, he's a bloke
What did you think a bloke is?
If you dunno what a bloke is.
You could have asked a bloke
you could ask google what is a bloke
She's a sheila

hard times, sorry for that,

<M/> commented: That's cool bloke :) +10
almostbob 866 Retired: passive income ROCKS

I don't believe you are helping either. But it's OK I already figured it out. It actually wasn't that hard to answer if effort was put in but that's ok. So I'm done and I am no longer watching this article

Glad its figured out,
Glad it didnt actually work
Glad I don't give a shit
lots of luck with all future f̶a̶i̶l̶u̶r̶e̶s̶ endeavours

almostbob 866 Retired: passive income ROCKS

fellow coders?
We may be coders, doubt very much if . . .

I'm trying, really mods, to be more polite,
its difficult to respond politely when the op is this:
demanding,
petulant,
and exemplary of the zero end of every 0-10 scale;

so I will write just google it

pritaeas commented: We've all had those difficulties ;) +14
diafol commented: Yep, feel like it too. You're not alone +15
<M/> commented: hehe :P +10
almostbob 866 Retired: passive income ROCKS

Then, why didn't you put in a little effort?
Nobody else should until after you do

I didnt bother helping you, you came across as a petulant R-sole

You can't fix stupid

almostbob 866 Retired: passive income ROCKS

Tantrums don't help
you didn't try the suggestion, or provide the requested details,
failure of the most pathetic kind

edit::
down marked, more tantrums, there's 3700 other posts you can find and downmark if you want
You had two gurus attempt to assist you
You refused to help them help you
If it is, as in your mind, how come you have to ask for help?
You exemplify the; shallow end of the gene pool, zero end of the 0-10 scale, reason why some animals eat their young, me generation, failure of the school system, lack of intellect,

If those are too obscure, pathetic

almostbob 866 Retired: passive income ROCKS

@bensirpent7
look bloke, them little blue highlights under the names
You get them when Guru no longer says enough

the titles "Most Valuable Poster" "Problem Solver" say a lot

mouse over the images, Skill endorsements, reputations points, solved queries, out the wazoo
You have the dream team trying to help,
two of the top10 of 1.2million
the odds of drawing that is 1:16 billion
try the suggestions

Me: I don't help much :)

almostbob 866 Retired: passive income ROCKS

@imti321,
if the op still won't RTFM even after you gave it the software, abandon its dumb a#s
some people won't help themselves

almostbob 866 Retired: passive income ROCKS

as previous posters have indicated you must install, or fake, a mail server. Local host packages do not include a smtp server or a pop server
Have had good results with imti321's recommendation
It works
Its simple
Its free

when all else fails
RTFM for you wamp xamp lamp stack,
it will tell you what is and isnt installed

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

likely: you have reached the end of the database, and do not catch the limit as an error
ie there are 4393 items and it cannot find 4394 to add one to

almostbob 866 Retired: passive income ROCKS

work through the code and correct all the definitions, as gabrielcastillo indicated
or check the existence of all appropriate variables at the start of the script, and output plain html if not set

sanitise the uri before using it, $_get variables are visible to the user, and can be selectively modified by malicious persons to create sql injection attacks
post is safer

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

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

nothing on the site?