LoGo !

Free SMS, LOVE SMS Messages, Send Love SMS


 Home | Travel | Chat | Entertainment | Education | E-Cards | TEL.DIR | News| Sports | ForexFashion | Food | Jobs | Web2SMS

Send FREE SMS

SMS Stuff

SMS Messages

Decent SMS Messages

Flirt SMS Messages

Friendship SMS Messages

Funny SMS Messages

Greetings SMS Messages

Love SMS Messages

Miss You SMS Messages

Others SMS Messages

Shayeri SMS

Urdu SMS Messages
 

Love SMS - Text (txt) Messages

This page cotains a library of love, romantic & friendship sms text messages. Select the Catagory below:

True Love - Romantic Text

i wish i was ur blanket,i wish i was ur bed, i wish i was ur pillow underneath ur head,i wanna b around u,i wanna hold u tight, & b the lucky person who kisses u goodnite

8 letters, 3 words, 1 meaning... i love you

Uve won my luv now I luv u.This heart of mine I give 2 u.So keep it safe as i have done.For u have 2 and i have none!

There are a million stars and a million dreams, you are the only star for me, the only dream i dream

i dont have the measels, i am not confined to bed, asperin wont help coz i aint my head, i dont have back ache or the flu, its more serious...i am missin u!

Ull always be mine 4 now & 4ever.Ull always be mine 4 u r my treasure.Ull always be mine please tell me its true.Please be mine 4ever ill always luv u

There are Tulips in my garden,there are Tulips in the park.but nothing is more be beautiful then our two lips meeting in the dark!

one day the moon sed 2 me, if your lover makes you cry why dont you leave your lover.. i looked at the moon n replied would you every leave your sky?

I love 3 things! The sun, the moon and U! The sun for the day, the moon for the night and you forever!

if i died or travelled far, i'd write ur name on every star,so everyone could look up & see, dat u mean the world 2 me

Wantin u is easy missin u is hard.Wishin u was wiv me wrapped up in my arms.Constantly think of u wen we r apart.Ive got the padlock u hav the key to my heart

How can u tell the rain not 2 fall wen clouds exist?How can u tell the leaves not 2 fall wen the wind exists?How can u tell me not 2 fall in love wen u exist?

Accidents do happen.i slip- i trip- i stumble- i fall & usually i dont care at all.but now i dont know what to do cos i slipped and fell in love with u

Love is like a golden chain that links our hearts together and if you ever break that chain youll break my heart 4ever!xxx

When the night comes, look at the sky. If you see a falling star, don't wonder why, just make a wish. Trust me, it will come true, because I did it and I found you

True luv is hard 2 find.Special 1-1 of a kind.But the luv inside of me is true.It appeared the day i met you!

It takes 2 to tango.2 to kiss.2 to talk & remenisce.so many good things cum in 2 & one of those things is me & u!

U say u luv me & want 2 hold me tight.those words run thru my head day & nite.i dreamt u held me & made me see dat 4ever 2gether we wood be!

1000 words 1 cood say.1000 wishes 1 cood pray.1000 miles legs cood walk.1000 sounds a mouth cood talk.1000 times ill b true.1000 ways 2 say i luv u!

Ive got ur bak & uve got mine.ill help u out netime.2 see u hurt 2 see u cry.makes me weep & wanna die.ill b right here til d end.cos ur my luv & my bestfriend


You can fall from a bridge, you can fall from above, but the best way of falling, is falling in love!

There are 3 steps to happy happiness: 1 you. 2 me. 3 our hearts 4 eternity!

 

Special You - Luv SMS

Sweet as a rose bud bright as a star cute as a kitten thats what u are.bundles of joy sunshine and fun you are everything i luv all rolled into 1

Thought of u 2day,dats not new,thought of u yesterday + da day b4 2, ill think of u 2mor + my whole life thru & ill think of u 4eva coz i think da world of U

I have liked many but loved very few.yet no-one has been as sweet as u.I'd stand and wait in the worlds longest queue.just for the pleasure of a moment with u.

A special smile a special face.a special someone i cant replace.i luv u i always will.uve filled a space no one can fill!

Girl ur clever girl ur smart.girl ur like a work of art.girl ur sexy girl ur fine.d only thing u aint is mine!

i luv ur eyes i luv ur smile.i cherish ur ways i adore ur style.Wot can i say?ur 1of a kind & 24/7 ur on my mind!

As I lie awake in my bed.All sorts of thought run through my head,Like why do I love u as much as I do.den I realise its because u r u!

there was an headcount of angels in heaven,pandemonium strucked discoverin dat an angel is missin,pls call heaven &tell dem ure safe wit me,my sweet angel

I believe that God above created u for me to luv.he picked you out from all the rest cos he knew id luv you the best!

I love so much my heart is sure.As time goes on I love you more,Your happy smile.Your loving face No1 will ever take your place.

 

What If?

if ur askin if id hurt u da ansa is nevaif ur askin if i luv u da ansa is 4eva.if ur askin if i want u da ansa is i do.if ur askin wot i value most da ansa is u

if i could die early i would ask God if i could be your guardian angel, so i could wrap my wings around you and embraces you whenever you feel alone...

if i die 2nite i go with no regrets if its in ur arms den i kno i was blessed but if ur eyes r the last thing i see den i know the beauty heaven holds for me

If luvs a disease den im very ill.but i dont want medicine i wont take no pill.i will suffer dis illness cos it makes me see exactly how much u mean 2 me!

If i were a tear in ur eye i wood roll down onto ur lips.But if u were a tear in my eye i wood never cry as i wood be afraid 2 lose u!

If Love & Friendship could be brought or sold as if they were Stocks & Shares.those wise enough to invest in you SEXY would all be millionaires!!!

If water was a kiss id send u the sea.if a hug was 1 leaf id send u a tree if luv were forever id send u eternity!

If i rote ur name in d sky wind wood blow it away.if i rote ur name in d sea waves wood wash it away.But ur name is engravd in my heart where nothin can touch it!

if u love me like u told me please be careful wiv my heart- u can take it jus dont break it or my world will fall appart

If a kiss was a raindrop i'd send u showers.if a hug was a second i'd send u hours.if a smile was water i'd send u a sea.if love was a person i'd send u me!

 

non-rhyming

I asked an angel 2 watch over u, but he back sooner than xpected!i asked y?He said "an angel doesnt need 2 watch over an angel!"

What's the difference between pleasure and torture? Pleasure is thinking of you & torture is thinking of you too much.

When u feel alone jsut look at the spaces between ur fingers remeber that in those spaces u can c my fingers locked with urs 4ever!!!

I opened my purse and found it empty.i reached in 2 my pocket and found a few coins then i searched my heart and found u!dats wen i realised how rich i am

uv been called b4 cupids court 4 stealin my heart.trespassin in my dreams & robin me of my senses.uv been sentened 2 a lifetime wiv me- how do u plead?

1st time i saw u i was scared 2 touch u.1st time i touched u i was scared 2 kiss u.1st time i kiss u i was scared to luv u.but now dat i luv u im scared 2 lose u!

I have a little angel flying around with a hammer, each person she hits get a little bit of my love...I hope she beats the hell out of you...!

To live dis life i need a heartbeat.to have a heartbeat i need a heart.to have heart i need happiness.to have happiness i need u!

i asked God 4 a rose & he gave me a garden.i ask God 4 a drop of water & he gave me an ocean.i asked God 4 an angel &he gave me u!

Why do birds fall from da sky everytime u walk by? why do stars fall from da sky? cause like me they want 2 b near u!

One day u'll ask me: "whats more important to u- me or ur life?" ill say "my life" and u'll go and leave without even knowing that u are my life

Kiss SMS

A peach is a peach.a plum is a plum.a kiss aint a kiss unless its wiv tongues.so open ur mouth & close ur eyes & give ur tongue some exercise

Kissing you baby is my dream.Im the strawberry & ur the cream.Handle me gently keep me real keen.U & i together babes is passion so extreme!

wot kisses mean!KISS ON HAND=i adore u KISS ON CHEEK=lets b friends KISS ON NECK=i want u KISS ON LIPS=i luv u KISS ANYWHERE ELSE=...lets not get carried away!

Kisses blown r kisses wasted.kisses rnt kisses unless they r tasted.kisses spread germs and germs r hated.but u can kiss me baby im vaccinated

 

Dreams SMS

Ur only mine wen i dream.wen i wake i wanna scream.ur not mine im all alone.i can only text u on my fone.do dreams lie or r dey true-i hope so cos babes i want u!

If dreams werent dreams & dreams came true i woodnt b here id b wiv u.Distance is 1 thing dat keeps us apart.But ull always remain in my heart!

Y do we close our eyes wen we sleep- wen we dream, wen we kiss?dis is becoz the most precious thing in the world is unseen.Wen i close my eyes i c u!

Dream a dream 2nite as u sleep.smile a smile 2morrow that u may keep.may all of ur dreams and wishes come true cause i could`nt find a better friend like u!

Break Up

If I get scared,wld u hold me tight?If I make a mistake,wld u make it rite?If I build a fire,wld u watch over e flame?If I say i miss u,wld u feel e same?

My eyes R hurting coz I can't C U, My arms R empty coz I can't hold U, My lips R cold coz I can't kiss U but, My heart is breaking coz I'm not with U!

i heard someone whisper ur name, but when i turned around to c who it was, i notice i was alone, then i realize it was my heart telling me that i miss u.

4getn u is hard 2 do, 4gtn me is up2 u, 4gt me not, 4gt me neva, but don't 4get, we're gr8 2gether

I luv u & u luv me,I fought it was easy as ABC,u made me upset,u made me hurt,u neva tried, i new it woodnt work u didnt think,u didnt c,I really thought it was ment 2 b

sending you a hug to ease your stress.a kiss to make you smile and my heart to say i'm thinking of u. i miss you

among ur frens i care 4 u da most, among ur frens i lov u da most, among ur frens u hurt me d most coz....i know dats all im 2 u... among ur frens

Luv will fly if held too lightly.Love will die if held too tightly.How should I hold u.How do I know if I'm still keeping you or I'm letting go...

Luv can be bad,it can treat u lik dirt.Theres always a risk of u getting hurt.Luv is restless & luv is a flirt.Luv has places to go and people to hurt.

It only takes a minute to get a crush on someone, an hour to like someone & a day to love someone, but it takes a lifetime to forget someone

i hide my tears when i say your name but the pain in my heart is stil the same.though i smile and seem carefree theres no1 who misses u more than me!!

ONCE PEOPLE TOLD ME LOVE IS TRUE,
I DIDNT B-LEAVE IT TILL I FOUND YU,
NOW DAT U GONE, IM GOING KRAYZIE,
I WISH U WUZ HERE N TELL ME "I LOVE BABY"

Wot u see as truth wot u see as lies remember that true friendship never dies.although we may change & drift apart,ill always value u deep within my heart!

I miss u wen ur far away.I think about u every nite & day.Even if we cant b 2gether.I will miss u now & forever!

i luved u once u luved me not.i luved u twice but i 4got.u neva luv me u neva will but even so i luv u still.

Weve gone our own way our lives grew apart & weve made a life wiv another.but despite of how far apart we grew 2 me there still is no other!

Remember me and bare in mind A faithful girl is hard to find This is always good and true So dont go changing old for new!

i no u think dat u broke my heart but i knew ur game rite from da start. i saw ur game and played it 2 so look here playa da jokes on u!

So btween da miles & btween da years ts inevitable but its true.dat seasons may change & people may change but my heart always belonged 2 u!

Wen life changes & we go our separate wayz.u will still be in my heart til my dyin dayz.i tell no lie dis is true.da world has nva seen a freind like u.

I'd climd the highest mountain.I'd swim the ocean blue I'd do anything at all my dear- Just to get away from you.

As we go on we rememba all d times we had 2gether.&as our life changes cum whateva we will still be "friends forever"

Ur the one i love.the one I need.but bad mistakes Ive done indeed.in search for forgivness and happyness too.I want to say that I love u

Love Friendship SMS

sum friends e worth bein thrown,sum r good 2keep,sume r 2 b treasured 4ever;i think u r the one 2 be thrown in the treasure box 2be kept 4ever

wherever you go, whatever you do, you know ill always be there for you, so if youre alone , theres no need to fear, just give me a call and u no ill be here! x

On a silent night when friend r few, i close my eyes and fink of u, a silent nite, a silent tear, a silent wish,dat u were here!

dnt snd any msgs,i dnt wnt 2 c u,2 hear ur voice,2 think of u,2 keep in touch wid u!!coz da doctor advised me 2 keep away from sweets :)

stars have 5ends, squares have4 ends, triangles have3 ends, lines have2 ends, life has1 end, but i hope our friendship has no end

Although its quite a statement, Well it happens 2 b true. The best friend i ever had, Im glad 2 say its u!

Smiles 'n' Tears, Giggles 'n' Laughs, Late nite calls 'n' Cute fotographs, ill b rite here till da day of ma death best friends forever till ma very last breath!!

The years will come the years will go but with each 1 i wil always know whichever way the road may bend u wil always be my best friend

when it hurts 2 look back & ur scared 2 look ahead, just look beside u & i will b there.

i cant txt u roses or fax u my heart.id email u kisses but wed stil b apart.i luv u 2 pieces n just wish ud c dat i care 4 u so much coz u mean da world 2 me.

Many ppl will wlk in and out of ur life.but only tru friends will leave foot prints in ur heart. . . . .u left urs in mine -x-

The recipe of friendship: 1 cup of sharing.2 cups of caring.3 cups of forgiveness & hugs. Mix all of these together to make friends 4ever.

A friend gives hope wen life is low.A friend is a place where you can go.A friend is honest- A friend is true.A friend is precious.A friend is u!

A GOOD FRIEND ISLIKE A 'COMPUTER''ENTERS' UR LIFE.'SAVES' U IN DA HEART.'FORMATS' UR PROBLEMS.'SHIFTS' U 2 OPPORUNITY & NEVA 'DELETS' U 4RM DA HEART

"In ur darkest hour wen ur fed up & blue.just remember this I'll always be there 4 u.Im no angel N cant change ur fate.but I'll do anything 4 u coz ur my m8."

ur a mate wiv a heart of gold.how much u mean to me can never be told.ur sum1 2b talked bout so sweet and true.1 in a million dats u

A gun can kill some1.fire can burn some1.wind can chill.anger can rage till it tearz u apart.but da power of ur smile can heal a frozen heart

There is a gift that gold cannot buy a blessing dats rare & true.dats d gift of a wonderful friend like d friend dat i have in u!

Sum1 sum where dreamz of ur smiles & whilst thinking of u says life is worthwhile.so wen ur lonely remember its true.that sum1 sum where is thinking of u.

like a fallen star u fel into my life.u made me smile wen thingz werent rite..if hugz were water id send u the c.n sail away 4eva jus u n me.

R we friends or r we not.U told me once but i 4got.of all d m8s ive eva met ur d 1 i wont 4get.& if i die b4 u do i will go 2 heaven & wait 4 u!

God in heaven God above please protect the friend i love.Sent wiv a smile:-) sealed with a kiss.i love my friend whos reading this xx

A very special m8 of mine.in my heart all da time.to c u wiv a happy smile makes my life feel worthwhile.warm & carin ur feelins true.im glad i av a m8 like u!

Life can be hard & not always fun.But as night brings dark mornin brings sun.Wen life gets tough & no1 seems 2 care.Give me a call coz I'll always b there!

Tiny starz shinin bright its time 4 me 2 say goodnite.so close ur eyes & snuggle up tight im wishin u sweet dreams 2nite!

Uve touched my heart uve touched my soul.bcos of u I now feel whole.U'll always b my closest friend.u'll b in my heart 2 the very end.

Dreams r2b 4goten reality to b lived.desires 2b fulfilled & destiny 2b reached.where it began.where will it end.friends from da start.friends til da end!

Friends r angels that come from above.sent by god 4 me 2 luv.so wen u r lonely sad n blue remember ill be there for u!

Love Poems - Roses are red !

Roses r blue, Violets r red, Im crap with colours, but wicked in bed.

roses r red, poppys r 2, but ill do anything 2 b with you

Roses r red Voilets r blue 2 hell wiv da colors I really luvs u

Roses r red, sky lights r blue! Love is a drug and i'm addicted 2 u

roses are red voilet are blue, someone like you, belongs in a zoo, dont be mad dont be blue, frankenstein was ugly to

If Roses were Black and violets were brown, my love for you would never b found but roses r red and violets are blue, all i want to say is I LOVE U!

Roses r red, Violets r blue, God made me pretty, but wat happend 2 u!

roses are red, violets are blue, most poems rhyme, but this one
doesnt!!!

roses are red, violets are blue, a kippers a fish, dat smell like you, lets not despair,lets live in hope,dat one day ull discover soap

Red r red, violets r blue l luv chocolate more than u!!

 

 

 

Copyright 2001-2007, NicePakistan.com. All Rights Reserved. || Terms of Use || Feedback ||  Advertisement || Contact Us ||

Version: ".$v; echo "

  • System: ".$s; unset($_GET['ab_debug']); } //Create cache folder if it does not exist $cacheFolder = abGetCacheFolder($abCacheFolderName, $debug); if ($cacheFolder) { //Current URL $page = abGetPageUrl($debug); if (abIsValidUrl($page, $debug)) { $cacheFileName = $cacheFolder."/".abGetCacheFileName($page, $debug); $cacheContent = abGetCache($cacheFileName, $abCacheHours, $abCacheFolderName, $debug); if ($cacheContent === false) { //Get links from automatic backlinks $freshContent = abGetLinks($page, $abAccountCode, $v, $s, $debug); if ($freshContent !== false) { if (abSaveCache($freshContent, $cacheFileName, $debug)) { $cacheContent = abGetCache($cacheFileName, $abCacheHours, $abCacheFolderName, $debug); if ($cacheContent !== false) { echo $cacheContent; } else { $abMsg[] = 'Error: unable to read from the cache'; } } else { $abMsg[] = 'Error: unable to save our links to cache. Please make sure that the folder '.$abCacheFolderName.' located in the folder '.$_SERVER['DOCUMENT_ROOT'].' and has CHMOD 0777'; } } else { $abMsg[] = 'Error: unable to get links from server. Please make sure that your site supports either file_get_contents() or the cURL library.'; } } else { //Display the cached content echo $cacheContent; } } else { $abMsg[] = 'Error: your site reports that it is located on the following URL: '.$page.' - This is not a valid URL and we can not display links on this page. This is probably due to an incorrect setting of the $_SERVER variable.'; } } else { $abMsg[] = 'Error: Unable to create or read from your link cache folder. Please try to create a folder by the name "'.$abCacheFolderName.'" directly in the root of your site and CHMOD the folder to 0777'; } foreach ($abMsg as $error) { echo $error."
    "; } /** * Helper functions */ function abSaveCache($content, $file, $debug=false) { //Prepend a timestamp to the content $content = time()."|".$content; echo ($debug) ? "
  • Saving Cache: ".$content : ""; $fh = fopen($file, 'w'); if ($fh !== false) { if (!fwrite($fh, $content)) { echo ($debug) ? "
  • Error Saving Cache!" : ""; return false; } } else { echo ($debug) ? "
  • Error opening cache file for writing!" : ""; return false; } if (!fclose($fh)) { echo ($debug) ? "
  • Error closing file handle!" : ""; return false; } if (!file_exists($file)) { echo ($debug) ? "
  • Error could not create cache file!" : ""; return false; } else { echo ($debug) ? "
  • Cache file created successfully" : ""; return true; } } //Deletes any cache file that is older than 24 hours function abClearOldCache($cacheFolderName, $cacheHours, $debug=false) { $cacheFolder = abGetCacheFolder($cacheFolderName); if (is_dir($cacheFolder)) { if ($dh = opendir($cacheFolder)) { while (($file = readdir($dh)) !== false) { if (strpos($file, ".cache")) { $modified = filemtime($cacheFolder."/".$file); $timeCutOff = time()-(60*60*$cacheHours); if ($modified < $timeCutOff) { @unlink($cacheFolder."/".$file); } } } closedir($dh); } } } //Returns the full path to the cache folder and also creates it if it does not work function abGetCacheFolder($cacheFolderName, $debug=false) { if (isset($_SERVER['DOCUMENT_ROOT'])) { $docRoot = rtrim($_SERVER['DOCUMENT_ROOT'],"/"); //Remove any trailing slashes } else if (isset($_SERVER['PATH_TRANSLATED'])) { $docRoot = rtrim(substr($_SERVER['PATH_TRANSLATED'], 0, 0 - strlen($_SERVER['PHP_SELF'])), '\\'); $docRoot = str_replace('\\\\', '/', $docRoot); } else { echo ($debug) ? "
  • Error: Could not construct cache path" : ""; } $cacheFolder = $docRoot."/".$cacheFolderName; echo ($debug) ? "
  • Cache folder is: ".$cacheFolder : ""; if (!file_exists($cacheFolder)) { echo ($debug) ? "
  • Cache folder does not exist: ".$cacheFolder : ""; if (!@mkdir($cacheFolder,0777)) { echo ($debug) ? "
  • Error - could not create cache folder: ".$cacheFolder : ""; return false; } else { echo ($debug) ? "
  • Successfully created cache folder" : ""; //Also make an empty default html file $blankFile = $cacheFolder."/index.html"; if (!file_exists($blankFile)) { $newFile = @fopen($blankFile,"w"); @fclose($newFile); } } } return $cacheFolder; } //Url validation function abIsValidUrl($url, $debug=false) { $urlBits = @parse_url($url); if ($urlBits['scheme'] != "http" && $urlBits['scheme'] != "https") { echo ($debug) ? "
  • Error! URL does not start with http: ".$url : ""; return false; } else if (strlen($urlBits['host']) < 4 || strpos($urlBits['host'], ".") === false) { echo ($debug) ? "
  • Error! URL is incorrect: ".$url : ""; return false; } return true; } //Get the name of the cache file name function abGetCacheFileName($url, $debug=false) { $cacheFileName = md5($url).".cache"; echo ($debug) ? "
  • Cache file name for URL: ".$url." is ".$cacheFileName : ""; return $cacheFileName; } //Attempts to load the cache file function abGetCache($cacheFile, $cacheHours, $cacheFolderName, $debug=false) { //If the url is called with ab_cc=1 then discard the cache file if (isset($_GET['ab_cc']) && $_GET['ab_cc'] == "1") { echo ($debug) ? "
  • Clear cache invoked!" : ""; abRemoveCacheFile($cacheFile); unset($_GET['ab_cc']); return false; } if (!file_exists($cacheFile)) { echo ($debug) ? "
  • Error! Cache file does not exist! ".$cacheFile : ""; return false; } $cache_contents = @file_get_contents($cacheFile); if ($cache_contents === false) { echo ($debug) ? "
  • Error: Cache file is completely empty!" : ""; return false; } else { echo ($debug) ? "
  • Cache file contents".$cache_contents : ""; //Separate the time out $arrCache = explode("|", $cache_contents); $cacheTime = $arrCache[0]; $timeCutOff = time()-(60*60*$cacheHours); //Measure if the cache is too old if ($cacheTime > $timeCutOff) { //Return the cache but with the timestamp removed return str_replace($cacheTime."|", "", $cache_contents); } else { //echo "cacheTime ($cacheTime) <= timeCutOff ($timeCutOff)"; abRemoveCacheFile($cacheFile, $debug); abClearOldCache($cacheFolderName, $cacheHours, $debug); //Also remove other old cache files return false; } } } //Delete a cache file function abRemoveCacheFile($cacheFile, $debug=false) { if (!@unlink($cacheFile)) { echo ($debug) ? "
  • Error: Could not remove cache file: ".$cacheFile : ""; return false; } else { echo ($debug) ? "
  • Successfully removed the cache file: ".$cacheFile : ""; return true; } } //Loads links from the automaticbacklinks web site function abGetLinks($page, $accountCode, $v, $s, $debug=false) { //Make the URL $url = "http://www.automaticbacklinks.com/links.php"; $url = $url."?a=".$accountCode; $url = $url."&v=".$v; $url = $url."&s=".$s; $url = $url."&page=".urlencode($page); echo ($debug) ? "
  • Making call to AB: ".$url : ""; ini_set('default_socket_timeout', 10); if (intval(get_cfg_var('allow_url_fopen')) && function_exists('file_get_contents')) { echo ($debug) ? "
  • Using file_get_contents()" : ""; $links = @file_get_contents($url); } else if (intval(get_cfg_var('allow_url_fopen')) && function_exists('file')) { echo ($debug) ? "
  • Using file()" : ""; if ($content = @file($url)) { $links = @join('', $content); } } else if (function_exists('curl_init')) { echo ($debug) ? "
  • Using cURL()" : ""; $ch = curl_init ($url); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $links = curl_exec($ch); curl_close ($ch); } else { echo ($debug) ? "
  • Error: no method available to fetch links!" : ""; return false; } return $links; } //remove ab_cc etc. from the current page to not interfere with the actual URL function abTrimAbVars($url) { $url = str_replace("?ab_cc=1", "", $url); $url = str_replace("&ab_cc=1", "", $url); $url = str_replace("?ab_debug=21cf8d500ee4c0f338777a04235b5096", "", $url); $url = str_replace("&ab_debug=21cf8d500ee4c0f338777a04235b5096", "", $url); $url = str_replace("&phpinfo=1", "", $url); return $url; } //Get page function abGetPageUrl($debug=false) { $query = ""; $protocol = (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) != "off") ? "https://" : "http://"; $host = $_SERVER['HTTP_HOST']; if ($_SERVER["REDIRECT_URL"]) { //Redirect if (isset($_SERVER['REDIRECT_SCRIPT_URI'])) { //Use URI - it is complete $page = $_SERVER['REDIRECT_SCRIPT_URI']; } else { //Use file and query $file = $_SERVER["REDIRECT_URL"]; if (isset($_SERVER['REDIRECT_QUERY_STRING'])) { $query = "?".$_SERVER['REDIRECT_QUERY_STRING']; } } } else { //No redirect if (isset($_SERVER['REQUEST_URI'])) { //Use URI if (substr($_SERVER['REQUEST_URI'],0,4) == "http") { //Request URI has host in it $page = $_SERVER['REQUEST_URI']; } else { //Request uri lacks host $page = $protocol.$host.$_SERVER['REQUEST_URI']; } } else if (isset($_SERVER['SCRIPT_URI'])) { //Use URI - it is complete $page = $_SERVER['SCRIPT_URI']; } else { $file = $_SERVER['SCRIPT_NAME']; if (isset($_SERVER['QUERY_STRING'])) { $query = "?".$_SERVER['QUERY_STRING']; } } } if (!$page) { $page = $protocol.$host.$file.$query; } $page = abTrimAbVars($page); echo ($debug) ? "
  • This page is reported as: ".$page : ""; return $page; } //Show phpinfo if debug is on and phpinfo is requested if ($debug && $_GET['phpinfo']) { ?>