Complete Download Pro PHP and jQuery 1st Edition Jason Lengstorf PDF All Chapters
Complete Download Pro PHP and jQuery 1st Edition Jason Lengstorf PDF All Chapters
com
https://ebookname.com/product/pro-php-and-jquery-1st-
edition-jason-lengstorf/
OR CLICK HERE
DOWLOAD NOW
https://ebookname.com/product/pro-php-and-jquery-1st-edition-jason-
lengstorf-2/
ebookname.com
https://ebookname.com/product/jquery-1-3-with-php-1st-edition-kae-
verens/
ebookname.com
https://ebookname.com/product/pro-php-gtk-1st-edition-scott-mattocks/
ebookname.com
https://ebookname.com/product/like-a-natural-woman-spectacular-female-
performance-in-classical-hollywood-1st-edition-kirsten-pullen/
ebookname.com
https://ebookname.com/product/health-assessment-for-nursing-
practice-5th-edition-susan-f-wilson/
ebookname.com
https://ebookname.com/product/hahn-and-economic-methodology-1st-
edition-thomas-boylan/
ebookname.com
https://ebookname.com/product/can-t-i-love-what-i-criticize-the-
masculine-and-morrison-1st-edition-susan-neal-mayberry/
ebookname.com
https://ebookname.com/product/caribbean-diaspora-in-the-usa-diversity-
of-caribbean-religions-in-new-york-city-bettina-e-schmidt/
ebookname.com
CYAN YELLOW
MAGENTA BLACK
PANTONE 123 C
Pro
PHP. This book will show you the ropes and get you developing with advanced
PHP development in combination with progressive enhancement techniques in
jQuery to build highly interactive user interfaces for your applications.
PHP and
Jason Lengstorf, Author of As you work through the sample application in this book, I'll teach you the
PHP for Absolute Beginners essentials of object-oriented PHP and get you started in jQuery from an absolute
beginner's level. You'll learn everything you need to know to start building out-
standing user interfaces, including:
jQuery
• extending the jQuery library with custom plugins
• form validation with regular expressions
Web development is quickly becoming the medium of choice for new applica-
tions, and your ability to create online apps with the look and feel of desktop
apps can make the difference between a good interface and a great interface.
Along the way you'll learn useful tricks to improve your web development, and
in no time you'll be creating fantastic, user-friendly, AJAX-powered applications.
Jason Lengstorf
Shelve in:
PHP
User level:
9 781430 228479
Intermediate–Advanced
this print for content only—size & color not accurate 7.5 x 9.25 spine = 0.75" 400 page count
Pro PHP and jQuery
■■■
JASON LENGSTORF
Pro PHP and jQuery
Copyright © 2010 by Jason Lengstorf
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN-13 (pbk): 978-1-4302-2847-9
ISBN-13 (electronic): 978-1-4302-2848-6
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol
with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only
in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of
the trademark.
The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are
not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject
to proprietary rights.
President and Publisher: Paul Manning
Lead Editor: Michelle Lowman
Technical Reviewer: Robert Banh
Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell,
Jonathan Gennick, Jonathan Hassell, Michelle Lowman, Matthew Moodie, Duncan Parkes,
Jeffrey Pepper, Frank Pohlmann, Douglas Pundick, Ben Renow-Clarke, Dominic Shakeshaft,
Matt Wade, Tom Welsh
Coordinating Editor: Anita Castro
Copy Editor: Patrick Meader and Heather Lang
Compositor: Kimberly Burton
Indexer: BIM Indexing & Proofreading Services
Artist: April Milne
Cover Designer: Anna Ishchenko
Distributed to the book trade worldwide by Springer Science+Business Media, LLC., 233 Spring Street,
6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail
orders-ny@springer-sbm.com, or visit www.springeronline.com.
For information on translations, please e-mail rights@apress.com, or visit www.apress.com.
Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use.
eBook versions and licenses are also available for most titles. For more information, reference our
Special Bulk Sales–eBook Licensing web page at www.apress.com/info/bulksales.
The information in this book is distributed on an “as is” basis, without warranty. Although every
precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall have
any liability to any person or entity with respect to any loss or damage caused or alleged to be caused
directly or indirectly by the information contained in this work.
The source code for this book is available to readers at www.apress.com. You will need to answer
questions pertaining to this book in order to successfully download the code.
ii
For Nate. It's 2-1 now.
Contents at a Glance
iv
Contents
v
■ CONTENTS
vi
■ CONTENTS
vii
■ CONTENTS
Summary .......................................................................................................................198
■Chapter 6: Password Protecting Sensitive Actions and Areas ...........................199
Building the Admin Table in the Database.....................................................................199
Building a File to Display a Login Form .........................................................................200
Creating the Admin Class ..............................................................................................202
Defining the Class................................................................................................................................. 202
Building a Method to Check the Login Credentials............................................................................... 203
Modifying the App to Handle the Login Form Submission.................................................................... 213
Allowing the User to Log Out .........................................................................................218
Adding a Log Out Button to the Calendar ............................................................................................. 218
Creating a Method to Process the Logout ............................................................................................ 220
Modifying the App to Handle the User Logout ...................................................................................... 221
Displaying Admin Tools Only to Administrators.............................................................223
Showing Admin Options to Administrators........................................................................................... 223
Limiting Access to Administrative Pages ............................................................................................. 228
Summary .......................................................................................................................231
■PART 3: Combining jQuery with PHP Applications ..............................................233
■Chapter 7: Enhancing the User Interface with jQuery ........................................235
Adding Progressive Enhancements with jQuery ............................................................235
Setting Progressive Enhancement Goals.............................................................................................. 236
Include jQuery in the Calendar App ...............................................................................236
Create a JavaScript Initialization File ................................................................................................... 237
Creating a New Stylesheet for Elements Created by jQuery................................................................. 238
Creating a Modal Window for Event Data ......................................................................240
Binding a Function to the Click Event of Title Links ............................................................................. 240
Preventing the Default Action and Adding an Active Class................................................................... 240
Extracting the Query String with Regular Expressions......................................................................... 241
viii
■ CONTENTS
ix
■ CONTENTS
x
■ CONTENTS
xi
About the Author
xii
■ CONTENTS
xiii
Exploring the Variety of Random
Documents with Different Content
irritation. Again, after a short rest, the signs of fatigue were found to
disappear in animal muscle and in metal alike, their sensitiveness
being fully restored. This last fact is known to many of us who
constantly use a razor and find it losing its keen edge and growing
duller and duller, despite vigorous stropping, and spontaneously
recovering its original keenness by being laid aside for a few days.
This book of Prof. Bose's, "Response in the Living and the Non-
Living," is full of still more wonderful revelations. He has found and
shown, to the satisfaction of European scientists through
experiments, that metals do not only go to sleep, but can be
poisoned and killed like human beings and animals. Like an unused
animal muscle showing signs of sluggishness and appearing to be in
a kind of torpor, then gradually seeming to waken up under
irritation, and finally returning to full activity, Professor Bose proves
that metals behave in exactly the same way and process of
gradation. He also proves that the effects of extreme cold and
extreme heat produce exactly similar conditions in both animals and
metals.
But men or animals can be drugged and made drunk. Can metals
likewise be drugged and made drunk? Yes, says Prof. Bose, and he
proves it absolutely. He proves that metals show the same increase
of irritability under the influence of stimulants and narcotics as the
human body. Moreover, even as different animals are affected
differently by the same dose of a stimulant, so also are different
metals. Under the influence of carbonate of sodium, irritability of
platinum is increased threefold, while the irritability of tin is less.
Now the question suggests itself that if metals are as much alive as
animals, then they must also be as liable to die as animals. Prof.
Bose has found this to be a fact, too. Metals not only die; but they
can be poisoned and revived, and poisoned and killed.
In order to find out these facts, Prof. Bose took a piece of metal
which showed full vigor of sensitiveness and so was considered
healthy, and treated it with a moderate dose of oxalic acid, which is
a powerful poison. The needle of the galvanometer instantly
indicated a spasmodic flutter; the sensitiveness of the metal more
and more feeble, till it seemed almost to die away. At this stage, a
powerful antidote being applied, slowly and gradually the
sensitiveness began to revive, and in time became as active as when
the metal was not poisoned. The treatment of another piece of
healthy metal with a strong dose of the same poison resulted in
violent spasms, with rapid enfeeblement of sensitiveness, which
soon vanished altogether. After a proper interval the antidote was
tried in vain; the piece of metal was killed forever. The results of
experiments with different metals and different poisons were the
same; but all poisons not being alike in their action upon animal
matter, the same is true of their action on metal, absolutely and
undoubtedly. In some cases, however, after all traces of poison had
been removed by the counteracting influence of stimulating acids,
the poisoned metal was eventually reanimated; which meant that
the metal was not really killed, but was merely in a state of
suspended animation. The most striking feature of the discovery in
this connection is, that the very poison which kills both animal and
metal is itself endowed with life, which shows itself by indications of
irritability and sensitiveness, and which can itself be killed.
Professor Bose has proved in his book that all these phenomena with
every single variation exist as much in the vegetable kingdom as in
the animal and mineral. Indeed, the three kingdoms of matter, the
animal, the vegetable and the mineral, are, says the Professor, but
one in essence and the physiological distinction between so-called
organic and inorganic matter, of which man and metal are but types,
is based upon a false and unscientific assumption. Prof. Bose
dedicates his book to his countrymen, the Hindoos, because, he
says, his discovery is a discovery made millions of years ago by the
Hindoo sages, who proclaimed the unity of the universe in essence
and construction, as well as in the laws that govern it.
SECTION XV. SCIENCE UPHOLDS
SHASTRAS.
Now let us consider the main points of this great epoch-making
scientific discovery by the light of the truths of Nature and the laws
of matter discovered countless ages ago by the illuminated sages of
India, and handed down through the corridors of time. Every
discovery of modern science has tended to establish the principles of
Hindoo religion and philosophy, by furnishing practical testimony to
what were so long considered as their mystic teachings. But this
discovery of Prof. Bose's is an unexpected stumble of a purely
objective method of investigation upon the truths and laws of the
subjective realm. The evidence which Prof. Bose's experiments afford
is of course indirect; but this indirect evidence is startlingly direct in
its pointed and unmistakable suggestions. It is therefore most
opportune at the present moment, when the human mind the world
over is striving, impelled by a natural hunger, to get at the facts back
of the physical shroud of the universe.
The Hindoo sages say that the universe is one whole, huge being, of
which the high heavens are the head, the sun and the moon the
eyes, space the body, and the earth the feet. Every inch, nay, every
point, of this universe-body is alive as a healthy human body. The
composing principles of this body are twenty-four, as I have already
explained. These twenty-four principles are therefore present in
every atom of it, in every speck of earth, the last principle in
creation. This speck or molecule of earth has, however, no opening
for any of its composing principles; whereas vegetable and animal
life-forms have many of these passages of their composing principles
more or less open. As a tortoise puts forth its body out of its shell
and again draws that body into it, so out of Love the twenty-three
principles are projected, and drawn, in the fullness of time, back into
its bosom again. This reaction or journey of the universe back to its
source is called universal destruction, or dissolution, or
disintegration. This universal dissolution takes place when the Three
Cardinal Attributes of creation, out of which all the composing
principles have sprung, fall into equilibrium; in other words, become
equal in power or tension. This loss of tensity or equipoise in the
power of the Cardinal Attributes, viz., Sattwa (Illumination), Rāja
(Activity or Motion), and Tama (Obscuration), results in the loss of
their individuality, and their transformation into Pure Illumination. By
pure illumination is meant unmixed illumination; that is to say,
absolute illumination, having no tendency or trace in it of being
disturbed into obscuration. In short, Sattwa, Rāja and Tama are each
of them mixed with the other two, its own quality being predominant
in it. Their inequality of power brings them forth into and sustains
their being. The moment this power becomes equal and they lose
their existence, the Absolute Illumination, co-existent with Absolute
Love and Absolute Being out of which they sprung, alone remains.
Let us analyze the tests and proofs of the galvanometer a little more
closely, and understand them according to the Hindoo doctrine of
the construction and organization of what is called organic or
inorganic matter. The Hindoo doctrine does not recognize the nerve
or the brain as any of the principles which compose what is called
the living body. The nerve is but a mere physical vehicle of the
sensation of the mind (which includes the Ego and the Intellect, the
part of universal consciousness in individual souls), and the brain is
the physical centre of these physical channels of the mind's
sensation and experiences. The mind feels the sensation of the
external stimulus through its channels, the five cognizing senses,
and the mind's sensations are carried through the nerves to the
brain. This is in regard to animal life, which has brains and nerves
formed fully or partially. The vegetables and minerals have neither
brains nor nerves. How, then, do they show the same irritation as
animals do to external stimulus, as shown by the galvanometer?
The answer is simple. Because they have the psychic vehicles, the
five cognizing senses, by which to convey the sensation of the
external stimulus to the mind, and therefore they need no physical
brain or nerve. Only, having no physical openings, they cannot
manifest the effect of those sensations outside themselves, as
animals do; and only an instrument, like the galvanometer, is able to
detect the sensations and indicate them by the deflection of its
needle. Mineral and vegetable matter having all the twenty-four
principles in them, have the mind and the senses, too. Only, they are
in a shut-up, undeveloped state, and perform their undeveloped,
crude functions like an unconscious mechanism.
It is through the senses that sensations are perceived; and had not
the senses been present within a piece of metal or a vegetable,
there would be no sensation in it, and therefore the galvanometer
would have been useless in its application and results, because,
there being no sensation, there would be no deflection of the
needle. Professor Bose's experiments conclusively prove not only the
unity, but the uniform composition and construction of the whole
universe; that all its composing principles are present everywhere;
that in some phases they are in a latent and in others in manifest
state. The tests of the galvanometer also prove that what is true of
the whole universe is true of a particle of earth; that the whole
universe is one whole living mass, like a single living being, and that
every molecule of its composition is a universe in embryo; because
every molecule is instinct with all the forces and properties of the
twenty-four principles, which are the materials as well as the
attributes of the cosmos.
SECTION XVI. PHYSICAL AND
ASTRAL BODIES.
It is the ignorance of the knowledge of the constitution of the
universal and human bodies that forms one of the chief obstacles of
a correct study of the laws operating behind external Nature, It is
the general belief of modern humanity that the human body is made
up of flesh and blood alone. This is true so far as the physical body
is concerned. But there is another body within us finer than the
physical which is the real body and of which the physical body is the
outer encasement. This real body is called the Astral Body. The
whole human body is like a clock of which the physical covering is its
case and the astral body its works. As the mechanical part of a clock
is the real clock and its case with its dial and hands forms its
covering by which it indicates its working, so the astral body is the
mechanical part of the human body and the physical is its case
through which it indicates its operations. Though far from perfect,
the analogy is very suggestive. For instance, the mechanical part of
the clock cannot serve its purpose without the aid of the case, dial
and hands. The astral body likewise cannot be of any use without
the co-operation of the physical body.
The material of the physical body is supplied by our parents and the
astral body we supply ourselves. The astral body is our permanent
body. It puts on new flesh-garments from time to time. When it slips
into a new flesh-garment it is called birth; when it slips out of it, it is
called death. But really the astral body lives on forever and ever and
never ceases to exist unless we find the means and take measures
to destroy it. The extinction the astral body is brought about by the
mind's absolute dissociation from the bondage and influence of
matter and material ideas, and absorption into the Divine Essence,
Mukti.
The earth and the visible sky form the physical body of the Universe
and the upper six spheres form its astral body which includes still
subtler bodies. This means that both the universal and the human
bodies are constructed on the same principle. Both are formed of
seven bodies, encased like a sheath within a sheath. These are
called the Food-made (physical) body, the Vital body, the Mental (or
Astral) body, the Psychic body, the Wisdom (or Causal) body, the
Blissful body and the Soul body.
SECTION XVII. KARMA.
The Universe is one whole manifestation of Cause and Effect. All
Nature is manifested and materialized forces of Action and Reaction.
The Doctrine of Karma is based upon the natural law by which action
produces reaction, the law of cause and effect. It holds that every
action is the cause of every reaction as well as the effect of the
action which is its producing cause. The doctrine of Reincarnation
specifies the different physical forms in which groups of accumulated
causes of reaction manifest themselves in Nature. The laws of Karma
are the regulated blendings of the subtle forces of the finer
principles of Nature which, operating from within, shape these outer
physical forms.
Karma begins with the creation of the Universe, and Creation begins
with the loss of equilibrium of the three Cardinal Attributes while
dwelling in a quiescent state in Absolute Love—Krishna. This
inequilibrium develops the germ of the Past Universe, which the
Attributes hold within them, and manifests itself as a New Universe
—a new Creation. The word Karma is derived from the Sanscrit root
Kri, to act. Karma means action. Action means the motion of the
operating forces of Nature. The Karma of the past Creations, stored
up as ideation within the even forces of the Attributes, works itself
out in the form and phases of a new Creation. Every succeeding
Creation therefore is the reactive result of all previous creations. This
reaction of the accumulated action-potencies of the past creations
produces the uniform dimensions and the principal features of the
cycles, so that the history of every cycle, from the smallest to the
largest, repeats itself in its chief points in naturally regulated
succession.
As in the great universe, so in its epitome, man. The microcosm is
ruled by the same laws as the macrocosm, the laws of cause and
effect, of action and reaction. Man is the conscious embodiment of
the blended forces of his past actions, actions of previous conscious
embodiments born of the forces of still more previous embodiments.
From the aura these characters are reflected again upon the Ether
which receives the impression and keeps the record of each external
and internal event in Nature. The Ether is the storehouse of the
records of all human and natural happenings and vibrations. And it is
from this storehouse of all mental records that true clairvoyance
draws its inspired messages and revelations, A fully developed Yogi
can learn the details of an event which occurred ten thousand years
ago or of any time, and can tell of any present or future occurrence
in any part of the world by concentrating upon the Ether, the all-
knowing Ether.
Actions (Karma) are of two kinds, white and black. White Karma
springs from the Sāttwic state of mind, and Black Karma from its
Tāmasic state. The color of Sattwa (Illumination) is white, the color
of Tama (Darkness) is black, hence Karma is white or black. Rāja is
the attribute of Activity, the working principle, the motive power of
action. Without the aid of Rāja no action is possible. When Rāja
works with dominant Sattwa the result is white Karma, when it
works with dominant Tama, the result is black Karma. The white and
black actions are commonly called good and bad. What is a good
action? It is an action whose ultimate reaction produces harmony
and happiness and illumines the mind. What is a bad action? It is an
action which, however enjoyable or otherwise while it lasts,
produces a reaction of inharmony, pain and misery, causing darkness
of the mind.
This is the law of working of human Karma, the inexorable law which
shapes our life and destiny, which fills existence with joy or sorrow.
Karma is unending unless we learn the mysterious law which works
it and grasp the still more mysterious Law behind that Karmic law
and by its practice destroy its roots and prevent its present and
future actions within us. I will speak of this Law and of its ways of
practice later on.
We often see a man, who has lived a good, pure and harmonious
life, suddenly, through circumstances or bad associations, changed
into a bad man. He becomes worse in habits and conduct and dies in
that degraded mental state. Similarly we find some one very bad up
to a certain period of life; he suddenly turns good and, before death,
develops into an angelic character. This law of Karma is behind this
change of character. Good Prārabdha influences one into good life
and actions while it is working. But if some black Karma-seed is the
most powerful of all Karma-seeds in the mind's storehouse, after the
good Prārabdha has been worked out, it asserts itself to be worked
out next and, lumped up with the minor seeds, forms his Prārabdha
which changes the whole complexion of his character and conduct.
The case of a bad man becoming good is subject to the same law; a
white Prārabdha, owing to its predominant power, succeeds a bad
one. The liability of alternate succession of bad and good Karma
producing the actions of human beings is expressed in the
metaphoric saying that the action of Karma in man is like a revolving
wheel.
As a seed of a tree takes time to bear fruit, grow old and die, so a
Karma-seed takes time to develop and die. As the periodical putting
forth of leaves, flowers and fruits are the events in the life of a tree,
so the experiences of a man's life represent the development of his
Prārabdha Karma-seed. The time a Karma-seed takes to work itself
out is measured by the duration of the sustaining power of its
potentialities. One Prārabdha Karma may embrace two or three or
more births if it is very powerful, or may end in the middle of one
birth, if it be not so powerful. An extraordinarily powerful Karma may
extend for a long, long time, covering many, many births, suicide for
instance. The thought which leads to suicide makes the deepest
impression on the mind, far deeper, in fact, than even the thought
which commits murder. Why? Because we love our own life more
than anybody else's or than anything else on earth. It, therefore,
requires an extraordinarily powerful thought to overpower that
innate, intense love of our life and incite us to destroy it. The
thought back of this self-murder, therefore, makes the deepest
impression on, our mind and thus becomes the most powerful
Karma-seed of all Karma-seeds. This being so, it asserts itself to
form the Prārabdha, every time it is worked out, to the exclusion of
all other Karma-seeds, for a long series of births, in every one of
which that soul commits suicide, sometimes, as it is often found,
without any apparent reason. It is divine mercy alone that saves a
suicide from committing suicide in every birth ever afterwards.
Hence suicide is the greatest sin, greater than even murder.
Let us see what life really is. Human life is conscious mentality
encased in flesh. To be briefer, human life may be summed up in one
word—consciousness. Life of lower animals is negative
consciousness, while human life is positive consciousness.
But in the first stage of sleep our senses still sustain their activity,
though in a lesser degree than in the waking state, owing to their
still cognizing reflections of the objects, and scenes impressed on
our mind while we are awake. This is called the dream state of
consciousness, Dreams are of three kinds. The ordinary dream is
made up of the blended reflections of impressions of scenes and
thoughts ill natural or fantastic shapes. The second kind of dream is
a clear unmixed reflection of the mind's impressions of some of our
experiences in a previous birth. The third kind of dream is a
reflection cast upon our pure consciousness of coming events from
their Karmic impressions on the Ether or on our own aura. The
ordinary dreams belong to the dream state. The other two classes of
dreams are experiences during the dreamless state of sleep,
generally in the morning just before awaking.
The dreams in the first stage of our sleep keep our senses still
employed and the mind active on that account, for the activity of the
mind is generated by the operations of the senses with their objects.
Hence neither the tired mind nor the tired senses derive the
complete rest they need, until gradually the veil of Tama grows
dense and shuts out even the mental reflections of objects from
their view. This stops the operations of the senses which then are
absorbed by the mind whose offsprings and agents they are, for the
senses cannot exist when they are deprived of their function of
cognition. The same thing occurs with the mind, for its activity,
caused and sustained by the activity of the senses, is the only
reason for its separate existence. With the loss of its function,
therefore, the mind loses this separate existence and is absorbed by
the Ego. The Ego is in the same way absorbed by Consciousness, for
the Ego is dependent on the Mind which sustains its existence of
self-consciousness. And then Absolute Consciousness, with the
passive germs of the Ego, Mind and Senses merged in it, is absorbed
in its turn by the Soul and dwells in its realm until the senses have
rested sufficiently.
The activity of Rāja brings about the awakening from this state by
causing the unfoldment of the infolded Ego, mind and senses which
resume their operations with external and internal objects as before.
The difference between death and sleep lies here. After sleep we
resume the functions of our senses, but death is caused by the
confusion of our mind, on account of the senses not being able to
resume their functions, owing to the disorder of the physical
counterparts of the sense-organs through disease. Disease belongs
to the physical body, and the senses with the mind and Ego belong
to the astral body which we are. The pains we feel are caused by
our identifying ourselves with our physical encasement. If we keep
the fact constantly alive in our mind that our physical body is the
earthly home of our soul, which is the centre of our astral self, we
will not only not feel physical pain but prevent or do away with such
pain even in the physical body. To know ourselves as nothing but our
physical body is the densest, narrowest and the most mischievous
ignorance. We often find proofs of this separateness of the physical
and mental bodies from acts which present themselves in our daily
life; we fail to cognize the experiences of our body or even of our
senses when our mind absent from them and absorbed in some
other direction. It is the mind that feels pain pleasure, not the body,
neither the senses.
The selection of the vigor and the womb for the astral soul is made
principally according to the subtle law of individual Karma and,
secondarily, according to the law of affinity. The mental
characteristics of the parents must be similar to those of the soul to
draw it to them. As for its physical body, it may favor in appearance
its mother or its father more or less according as their individuality
and image are stamped on the vigor and the blood through the state
of extreme mental concentration induced at the time. If the
incoming soul possesses far stronger individuality than those of the
father and the mother, it asserts this upon its body and the child
looks like neither the father nor the mother. He looks like himself—a
form and appearance born of the imagination of its own strong
individuality.
This direct rebirth from hovering in the astral body in the astral
plane for some time is not true in the case of every disembodied
soul. There are souls which, after death, may go at once to Heaven
('Swarga,' Celestial regions) or to Purgatory, the nether regions.
According to the Hindoo Scriptures, Heaven (Swarga) is not the
Abode of God, but the abode of the gods, the Swar-sphere where
the gods, the governors of the Elements and Attributes of Nature,
dwell. It is the Prārabdha Karma of the soul that determines its
translation after death to Heaven or Purgatory. The joys of Heaven
are reserved as a reward for good Karma. And yet these heavenly
joys are but finest forms of material happiness, enjoyed by merit of
good actions performed in earth-life for the sake of just such
recompense. These heaven-dwellers mentally enjoy all these
exquisite pleasures of the senses at their will, as well as the
company of celestial beings, as long as the term of their merit lasts.
At the expiration of the term they come down to earth to be reborn
again. These heavenly blessings are, therefore, but transitory.
Into the vigor or the blood of such a spiritual soul, no wicked astral
spirit can enter. Its pure aura repels such spirits and admits only
kindred spirits seeking rebirth, drawn to it by Karma and affinity.
Much suffering is the lot of the ordinary soul while growing in the
womb, on account of its cramped consciousness and the narrow
space in which it is confined. After the sixth month, it has a
wonderful experience. The veil shrouding its past existence is
suddenly lifted and the memories of all of its past births rush across
its mind. It even witnesses the scenes of thousands of its previous
existences and realizes the reason of the pain and sorrow suffered
during all these existences—the reason of its having been attached
to material objects and having disregarded the development of its
spiritual self, its having been unmindful of its duty, to its Maker and
its fellow man. This realization crushes its mind with contrition and it
weeps and prays to God to forgive it and promises to live a life of
devotion to Him in the future. This goes on for three months
together until it is born, when, at the touch of the earthly
atmosphere all those memories vanish and it is once more drowned
in oblivion. It is more from the pain of this shock that it cries out at
the time of birth.
SECTION XIX. HOW TO DESTROY
KARMA.
Now comes to be considered the question of questions—How to do
away with and avoid bad Karma. If Karma is the cause of all our
sufferings in life, how to remove that cause. We have before this had
births and till actions in those innumerable births have produced
countless Karma-seeds. All these seeds are stored up in the
repository of the mind. How is it possible, it may be asked, to
destroy them all, and prevent fresh accumulation of new Karma-
seeds in the present birth?
To those who ask this question seriously, that is, with a serious
intention of acting upon any suggestion that may seem feasible to
them, the answer is pregnant with all the essentials of a true
solution. To such the answer is simple and the mode of solution
simpler. To the really serious soul, hungering for freedom from the
bondage of Karma, even the practice of the principle of the advice
may strike as Still more simple. But the practice involves the full
realization of the source of Karma, the perfect understanding of its
laws, their operations and their relations to his own individual self.
This belief, that we ourselves are the doers of our actions, subjects
our Ego to their reactions. If by tracing the source of Karma to
Krishna, we dispel this illusion from our mind and keep it ever out of
it, so that it may not disturb our conviction of the fact that Krishna is
the only Doer, all our past and present Karma, the stored-up and the
working—Sanchit and Prārabdha—will leave us of themselves and go
to Krishna to be absorbed by Him, while, for the same reason, the
Karma-seeds springing from our present actions will be rendered
germless like roasted seeds which never grow. But this belief needs
constant practice of this thought in order to be sustained without
interruption and involves thinking of Krishna, Absolute Love and Life,
every minute—thoughts by which the thinker absorbs the essence of
the purest spirituality whose illumination ever guides him along the
paths of Truth and Wisdom and prompts him to actions whose
results bring harmony and happiness to himself, as well as to all with
whom he comes in contact.
Thus Karma and its effects, which for the ignorant, unthinking, and
reckless human soul are ever interminable, can by exercise of
wisdom and mental power and discipline be absolutely done away
with. Karma belongs to Krishna and it is to Krishna that it and its
fruits should be unreservedly dedicated good. The moment this
mystery of Karma is solved and the soul that solves it acts upon its
lesson, than Krishna takes it into His arms, and the soul and its
Maker, now face to face, laugh together at this riddle of life, and in
that laugh of ecstasy all sorrow and pain of the past are forgotten by
that saved soul.
SECTION XX. THE ATOM'S RETURN
JOURNEY.
It is absolute Krishna-consciousness—or God-consciousness, if you
will, if that God is Absolute Love—that carries the atom from its
man-stage of development to its Real Home, Krishna, the Abode of
Eternal Love and Bliss. Like all roads leading to Rome, all religious
paths lead to that Home. The primeval, the most natural and the
most scientific religion, called now the Hindoo religion, has
constructed five main roads for making the return journey easy, and
the travelers can choose any of these roads, according to their
inclinations and the state of spiritual progress. One is the Path of
Light and Psychic Force, called the path of the Sun, because the Sun
is the presiding deity of the path. The second is the Path of Success
whose presiding deity is Ganapati, Bestower of Success. The third is
the Path of Destruction of Tama whose presiding deity is Shiva, the
Destroyer, one of the Hindoo Trinity and the presiding deity of Tama,
Shiva who has subdued Tama and become its lord. The fourth is the
Path of Divine Energy whose presiding deity is Durgā, the
Motherhood of God and the Universe—"Prakriti," Divine Nature. The
fifth is the Path of Spiritual Devotion whose presiding deity is
Vishnoo (Aniruddha), the presiding deity of Sattwa, out of whose
navel the universe has sprung and who is the dispenser of Moksha
to the walkers of all the other paths. In this path is included another
path, a path far superior to all the five paths, the Path of Absolute
Causeless Love which leads direct to Krishna, whose presiding Deity
is Krishna, the Deity of all the deities. These different path-walkers
are called by the names of their respective deities of worship—
Saura, Ganapatya, Shaiva, Shakta (worshippers of 'Shakti,' Energy)
and Vaishnavs, among whom are included Krishna-worshippers.
The Sun is the medium of the physical manifestation of the Divine
Light, the Light of Absolute Intelligence, the Co-existent Attribute of
Absolute Love. It is called the Parent of the gross universe, the
Outer Eye of the Deity, the passage of the First Sense of the Divine
Mind which produced Forms. The devotee of the Sun worships it as
such, as the medium of the Absolute Deity, Krishna. Some of them
concentrate their eyes upon the Sun, immersed in water up to the
neck from sunrise to sunset, others pray to it morning, noon and
evening and contemplate its power. The sun is not blazing hot as
some modern people think. It is peopled by spiritual souls who, by
the merit of soul-development, go from earth after death to dwell
there for further development. These spiritual souls are spiritually
governed by one who is most developed among them. He is called
the Sun-God, the representative of the sun. Sun-worship leads finally
to Krishna-worship in some fully developed reincarnation.
Shiva is the Presiding Deity of the Weal of Creation, hence his name
—Shiva. He is the Conqueror and Destroyer of Darkness (Tama). He
helps his devotees to dispel the darkness of ignorance generated in
their mind by its Tama Attribute, and thus uncover its attribute of
Sattwa by the illumination of which their souls reach the state of
Moksha—Freedom from the Bondage of Matter—and finally merge in
the Divine Essence whence it originally sprang.
Durgā is Divine Energy, the Motherhood of Creation. She is the
Sāttwic force by which Shiva subdued Tama. Hence she is the
consort of Shiva, the Helpmeet of Spiritual Weal. Without Durgā, his
Shakti (Energy), Shiva is inert; with his Shakti, he is alive and rules
the universe. Shiva and his Shakti are inseparable, as man and his
mental energy, which alone he is, is inseparable. Man is moved by
his mental energy, so Shiva is moved by his spiritual energy. Durgā is
the highest spiritual phase of Kālee, Conqueress of Time and Door of
Eternity. She is the Spiritual Force of Nature (Prakriti), she is the
Mother of the Universe. Her devotees called Shaktas (Shakti-
worshippers) meditate on her as the Great Mother and pray to her
for her grace, as a child talks to its mother and looks up to her for
help, protection and sustenance. When the most spiritual of her
devotees develop the same natural love for and unshaken faith in
her as those of an innocent child to its mother, they are blessed with
her last grace. They are helped to Moksha or led into the path of
Krishna, this last the greatest of all her gifts. She, as Yoga-Māyā
(energy of the highest spiritual concentration), holds the key of the
Gate of Goloka, Krishna's Abode of Love-Bliss.
Vishnoo is the sum total of all the deities which are the
manifestations of his powers and attributes. He is the Parent of both
the Motherhood and Fatherhood of the Universe—the Spring of
Creation itself. He is the Presiding Deity of Sattwa out of which are
born Rāja and Tama. He is the Preserver, the Sustaining Power of
the Universe. He is the Way to Moksha, His Essence is the Abode of
all Salvation. He is the Outer Form of Krishna, the Form through
which Krishna manifests His Will and becomes the Many from the
One. His Abode, called Vaikuntha, the Centre of his All-Pervading
Essence, is over this universe, over Brahmā-Loka—Brahmā's Abode.
He is the last but one Goal of all spiritual aspirations. He is the Gate
of Krishna, the Last Goal.
The upward evolution of the atom from the man-stage has to pass
through many higher spiritual stages in higher and higher spheres.
Interested spiritual culture, by which I mean spiritual culture with a
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com