almostbob 866 Retired: passive income ROCKS

aminthindsoft

The website in your link is far out of date, below best practice, and does not work properly,
do not rely on information from sources like that.

A web site purporting to offer SEO, design, optimising, ANY web services, has to be at best practice all the time

fixed, device-unfriendly, and table based welcome to the 80s

Google bing yahoo modify their algorithms frequently, with each iteration the importance of any static item is reduced.
Bots read Semantically, keyword stuffing is entirely negative, the unique, original, verifiable, text has to read as correctly spoken language

almostbob 866 Retired: passive income ROCKS

make your sitemap dynamic
install the optional plugin for whatever script runs the backend, to automate sitemap refresh
when the bots return, new content will be visible, greatly increases indexing

almostbob 866 Retired: passive income ROCKS

english, for the helpscreens
the translations of helpscreens can make one procedural error, and f-up your whole week

<M/> commented: Straight to the point +0
almostbob 866 Retired: passive income ROCKS

How about something on the submit button
onclick='window.onbeforeunload = null;'
or on

form.submit.

almostbob 866 Retired: passive income ROCKS

SEO aiming for a machine that cannot react emotionally
SMO aiming for people that only react emotionally
Impossible to be absolutely in both at the same time,
as everything else,
a balance between where the hits and conversions are going to come from for your specific marketing needs

almostbob 866 Retired: passive income ROCKS

no
search engine bots read and parse website text semanticly
If it makes no sense as plain language:
* to have the keyword in the title
* to leave the keyword out of the title
* to have a title that does not relate to the content
* to have content that does not relate to keywords
the bots will downgrade.
It all has to tie together, as conversational language

almostbob 866 Retired: passive income ROCKS

the server does not run windows
files on server are specified from the root /folder/folder/folder/file
files on the local pc OS are specified from the root \folder\folder\folder\file

havent you ever noticed that uri and local files are different?
I did not state that this is the error, when running wamp, the wamp server changes the \ to / for the localhost, on my pc, but not for file:///c:\otherfolder\otherfolder\file

almostbob 866 Retired: passive income ROCKS

Gets caught in your mask . .. ...
nobody wants a leaky nbc suit
now retired, still think, gets caught in your mask
clean-shaven buzzcut

but I'm on the perimeter of the world, looking in

had four-week beards after every walkabout, smelled bad too

almostbob 866 Retired: passive income ROCKS

using Chrome, IE10, firefox, safari, the version in the op didnt centre on b2n 3p1 Canada, the marker appears screen right

almostbob 866 Retired: passive income ROCKS

Query at line 4, for local host, mine uses \

$site_config['absolute_uri']=str_replace('///','//',str_replace('thumb.php?'.$_SERVER['QUERY_STRING'],'',$_SERVER['REQUEST_URI']));
$site_config['path_thumbnail']=$site_config['absolute_uri'].'/cache/images/';   //where to cache thumbnails on the server, relative to the DOCUMENT_ROOT
almostbob 866 Retired: passive income ROCKS

Gday
there isd a wealth of ideas already
watcha interested in?

almostbob 866 Retired: passive income ROCKS

Yes, emphatically yes
many game lobbies run the game in C, the game backend in perl, the frontend website in php, from the same database,
perl and C give rapid non-sequential, simultaneous db access, to thousands of players
php gives a website, where the user can trade for, or buy, game stuff.
If you think, playstation dot com, yep
or
Xbox live, you'd only be wrong because that site uses asp

almostbob 866 Retired: passive income ROCKS

Sud, the op is long gone, its three years old

the code, was garbage then, is garbage now

Clientside is not where login is managed,
thats a server function

every blog or cms includes user management, from wordpress up down and sideways, to custom written applications

JorgeM commented: garbage is exactly what i was thinking. This example shouldnt even be used for testing purposes. People...do not create login forms with a javascript authentication scheme. No! +12
almostbob 866 Retired: passive income ROCKS

Veera found it, mark it solved Jack

almostbob 866 Retired: passive income ROCKS

php code is executed onload, unless explicitly coded as a function for later call
function name([variable list]) { code }
cereal's sample,
and yours,(not meant as disparagement)
will execute,
and return a result,
not always the expected result
but a result

the submit button submits the form as, name:value pairs, to the formhandler described in action='filename'
the formhandler then uses its code to validate, sanitise, & decide whether to
submit to the database, or
return for correction, or
discard the submission,
however coded by the developer.
Nothing is predetermined by language constructs

submission of incomplete or incorrect forms to the database, is always a bug in the handler script
some value not checked, within range, already in use, etc
to Stop the user submitting the form when an error is reported, is easy, disable submission until all fields are correctly filled, you are using ajax so its easy
Start with the submit button disabled
<input id='subm' type='submit' disabled='disabled'>

to stop unreported errors being submitted (there is always the chance, however small, of two users posting to the db at the same time) validate again in the form handler, and return

almostbob 866 Retired: passive income ROCKS

googlemaps api gives multiple instructions on this

RTFM

almostbob 866 Retired: passive income ROCKS

cereal's answer above demonstrates a short code version

check if username exists,
submit if not exist,
return to referring page if username exists
the error message 'username already exists' will be available to the script when the page returns to the form

some tweaking to match your site code, it is a functional example

almostbob 866 Retired: passive income ROCKS

you can use ajax to prevent submission : disable the submit button when ajax returns an error, enable submission when ajax confirms error corrected

.

but clientside validation, isnt, it just helps a little

almostbob 866 Retired: passive income ROCKS

Please expand the question,
as it is it could be anything

how to create a database driven site,
how to copy n paste code in my editor

a wide diverse range of possibility
the more info you give, the better and more specific the answers can be

utrivedi's above answer is correct, and I think pretty likely,
but there have been many occassions where the OP has been dropped in the deep end trying to maintain someone else's code, and , just thought I'd ask

almostbob 866 Retired: passive income ROCKS

well slap me down
let me google that for you

almostbob 866 Retired: passive income ROCKS

One ring to rule them all
One ring to find them
In google where the searches are

:)

almostbob 866 Retired: passive income ROCKS

all the errors in one go

no !doctype
uppercase element names
no </head>
body elements in the head
inline styles
deprecated attributes bgcolor color
<td> elements not within a <tr>
missing </td>
block elements within a table not within <td>
Missing </table>

I hope this was an introductory humorous post

almostbob 866 Retired: passive income ROCKS

I'm using miranda-im

almostbob 866 Retired: passive income ROCKS

dont forget a 'get reader' link for those (was going to write too dumb but that would be uncharitable) who do not have browsers capable of reading pdf natively

almostbob 866 Retired: passive income ROCKS

I dont have that book, I'll buy it tomorrow, and read it yesterday

almostbob 866 Retired: passive income ROCKS

I stand by the comment, a huge judgement error:
posting links to your site in a thread asking basic assistance in fields you pretend to be competent enough to offer as service:
the post will be high in search results, further demonstrating ignorance of search engines
keywords: become less relevant with each iteration of the search algorithm, bots read semanticly, if you read "how google crawls the web" it may help

Do the beginner steps; get a google webmaster tools account
read google 101
submit your site
let google tell you precisely what to repair in your site to improve your site rank.
instructions, guesses, from anyone other than google are a bit anticlimactic

don't tell your paying customers (god help em) that this free service should be the first step for them, instead offer 'individualised genuine google reports'.

almostbob 866 Retired: passive income ROCKS

As hericles said,
plus with a database site you can make your sitemap dynamic to pull all content from the database each time the bots visit, enabling easier indeing

inde (eks) ing, keyboard failing

almostbob 866 Retired: passive income ROCKS

why doesnt anybody read any of the helpscreens, in anything

almostbob 866 Retired: passive income ROCKS

get a google webmaster tools account,
let google tell you,
precisely what to do.

beyond ridiculous to ask anyone other than google what google want

almostbob 866 Retired: passive income ROCKS

google webmaster tools
google will tell you

Spamming this forum with multiple copies of your link will not get the desired result added to your company SER.

LEADING WEB DESIGN INDIA .?. AFTER 3 MONTHS .?.?.
You offer search engine optimisation, and can't get into google.
You post that, here.
Daniweb has a quite high rank, anything here will do wonders for lowering your customer retention,
this thread will be high in google searches for OM WEB,

You posted that you are lying to all your customers..

dumb as a stump

almostbob 866 Retired: passive income ROCKS

4 of 8 50% is a good result

I have 5000+ of 200 000+ well linked and menued pages in the google index, the others are similar enough in purpose to need no further indexing.

It is normal
no site is 100% indexed, suffient to direct searches appropriately, in the opinion of the software driving the bots

The bots will return as your site is further referenced by other sites,
unless those links are farmed links, in which case your ser will rapidly decline

resubmitting does not help, the threshold at which your submissions become link-farming, or link-spam, is very low

how google search works

almostbob 866 Retired: passive income ROCKS

As so correctly written, No
for your further reading: Google101 how google crawls the web, in google's webmaster help screens, may prevent any other similar embarrassing questions

almostbob 866 Retired: passive income ROCKS

After leaving school, 30+ years ago, Dataflex

Trial and error

Coffee

and most important of all

timtams

almostbob 866 Retired: passive income ROCKS

at 15-16, there was no web, to build sites on
I had a functioning darpanet address, but it was text only, and only useful for cable-like messages

I have a few now

My kids, "yeah our generation has all this stuff, Smartphones,the internet, impressive stuff".

Me, "What are you going to make to impress your kids, my generation made all the stuff"

they hate it, makes my day

almostbob 866 Retired: passive income ROCKS

If the child site is not yours, it has a framebreaker,
something like

   <script defer='defer' type='text/javascript'>
    <!--//
    if (window != top) { 
     if (top.location.href.indexOf("translate") < 0) {
      top.location.replace(self.location.href);
     } 
    }
    //-->
    </script>

Doesnt break valid reason for a frame, google translate

almostbob 866 Retired: passive income ROCKS

another hint, the errors are before }exit;, and should be after exit;}

almostbob 866 Retired: passive income ROCKS

ps,
'somebody' <> me,
able to determine what the guru may need,
css is not my forte
something along the lines of width=100%/(count li) ??

almostbob 866 Retired: passive income ROCKS

<Grin> to the OP
it has been
hinted,
about proper indenting and structure to make it easier,
about closure positions,
about exit being outside the code block

now if you can't see that because of the poor code formatting,
there are exits outside the code block where they should be, and you have to move the block closure so the exit is inside the closure, then, . . .
doh headslap moment
dunno what else to write

almostbob 866 Retired: passive income ROCKS

The best solution is already written, once you see it too, then this or anything like it will generate the headslap moment for you that is does for others,
to help you complete the self-help described, get a code-completing editor
Many basic editors, notepad replacements, programmer's editors, and whatever else the editor may be called, have code completion built in.

When you leave out some neccessary element, a closure, a semi-colon, a quote, or place elements in position that creates a headslap,
the code changes color at that point determined by the editor to require a code change,
to demonstrate there is something amiss

I use notepad++portable and notepad2-portable, you may choose any that appeal, but any will help solve this problem

headslap: noun: extreme facepalm

almostbob 866 Retired: passive income ROCKS

<humor>
well If I pull the code you used out of my .behind., it would hurt
could you post your code and save my butt from the sharp edges,
</humor>
<serious>
please post the code for the css menu,
</serious>
and likely somebody will be able to point out the changes

almostbob 866 Retired: passive income ROCKS

it is javascript,
it will not work all the time, (IE<9 of course, or high security settings), when it does work (justabout everything else) it is effective.
it may add to apparent page load time,

onload and onunload scripts, are often considered malware, as the popup porn industry, and may get, if used injudiciously, any external code, penalised delisting from ser,

NOT displaying the most important part of the page immediately, kills user retention, the user wants the content NOW thats what they came for, display everything else whenever you like

almostbob 866 Retired: passive income ROCKS

delete is not always a good idea, for audit trails,
let delete be 'change someflag to exclude this record from user searches, let admin still see it'
may be a moot point, the delete code already error proofed

my delete function inserts sql NOW in a deleted column, as a record of when the user wanted this record deleted, admin reports select where deleted not nul for confirmation, user id for every transaction is recorded

almostbob 866 Retired: passive income ROCKS

Many cms, wordpress etc, have a dynamic sitemap module built in, or as a pplugin that can create a sitemap and renew it on schedule as new pages are added

there are googleLink standalone scripts

less active sites can use a sitemap generator I like the one at auditmypc.com because I can configure out image links, and reduce 20000 pages to a manageable 5000

Then get a google webmaster tools account, and follow the on-page instructions on your google webmaster tools page to submit the sitemap directly to google
bing yahoo et al are insignificant, google still has 80%+ of all searches,

There's a good sticky,, good coz I wrote it, :) , at the top of the website reviews forum, on getting code ready so the bots can index the site well, more readable code, more gets read each time the bots pass by.

almostbob 866 Retired: passive income ROCKS

when sending files to the server,
the folder has to have permissions set to allow php to write to the folder
the image folder has thosee permissions set, php writes images,
Cereal asked if the songs folder is writeable
if images and songs are sent to the same folder the question is moot,

not getting the point :: may be some research to do
the host control panel helpscreens may have instructions on permissions
your ftp program likewise

almostbob 866 Retired: passive income ROCKS

Can you rephrase the question, it makes no sense,

do you want a script to create a sitemap
do you want to know what a sitemap is
do you just post to support your signature spam

happygeek commented: Number three nails it... +14
almostbob 866 Retired: passive income ROCKS

even using google webfonts, keep it simple
use the google href, not from your own site
the added download time for a font kills user retention
fonts referenced from google may already be in the cache

almostbob 866 Retired: passive income ROCKS

If 'programming' was the first program that sold,
August 1978, , and it paid $300/week.

unlearned rule,

when you get perpetual, get indexed

$300/week was a lot of money in 1978
not so much now
pretty good in total $
and I was 14 when it sold

almostbob 866 Retired: passive income ROCKS

forgot the link, get 5ΒΌ floppy disks shippped in from floppydisk.com

almostbob 866 Retired: passive income ROCKS

2 kinds of sitemap
xml sitemap, bot readable, a good idea
html sitemap, site navigation is a failure. if you need a human readable sitemap redesign the menu

almostbob 866 Retired: passive income ROCKS

Of course I still have the disks, and the pc, its in the basement, still works. The flash drive is so I can boot modern hardware to DOS