dan_t Posted July 1, 2010 Share Posted July 1, 2010 <style> .prophp_LoginForm{ border: #0153EB 1px dotted; padding: 5px; width: 262px; margin: auto; font-size: 14px; color: #0153EB; font-weight: bold; text-align: left; background-color: #EEEEFF; font-family: Arial, Helvetica, sans-serif; } .prophp_ErrorLine{ width: 250px; border: #ff0000 1px solid; background-color: #FFEEEE; color: #FF0000; padding: 5px; } .prophp_LoginLine{ clear: both; padding: 2px; } .prophp_LoginLabel{ float: left; width: 85px; padding-top: 4px; } .prophp_LoginField{ float: left; width: 169px; } .prophp_LoginInput{ width: 169px; } .prophp_LoginButton{ background-color: #0153EB; color: #FFFFFF; border: none; cursor: pointer; } .prophp_Clear{ clear: both; height: 1px; } </style> <form class="prophp_LoginForm" method="post" action="index.php"> <?php if ($this->error_message){ ?> <div class="prophp_ErrorLine"><?=$this->error_message?></div> <?php } ?> <div class="prophp_LoginLine"> <div class="prophp_LoginLabel">Username :</div> <div class="prophp_LoginField"><input class="prophp_LoginInput" type="text" name="<?=$this->username_post_var?>" value="" /></div> </div> <div class="prophp_LoginLine"> <div class="prophp_LoginLabel">Password :</div> <div class="prophp_LoginField"><input class="prophp_LoginInput" type="password" name="<?=$this->password_post_var?>" value="" /></div> </div> <div class="prophp_LoginLine"> <div class="prophp_LoginLabel"> </div> <div class="prophp_LoginField"><input class="prophp_LoginButton" type="submit" name="doLogin" value="Login" /></div> </div> <div class="prophp_Clear"> </div> </form> Quote Link to comment https://forums.phpfreaks.com/topic/206410-having-trouble-understanding-the-this-variable/ Share on other sites More sharing options...
Adam Posted July 1, 2010 Share Posted July 1, 2010 Which variable? Quote Link to comment https://forums.phpfreaks.com/topic/206410-having-trouble-understanding-the-this-variable/#findComment-1079780 Share on other sites More sharing options...
dan_t Posted July 1, 2010 Author Share Posted July 1, 2010 Sorry about that, here is the error: Fatal error: Using $this when not in object context For some reason the this is having trouble. Quote Link to comment https://forums.phpfreaks.com/topic/206410-having-trouble-understanding-the-this-variable/#findComment-1079781 Share on other sites More sharing options...
OceanIdiot Posted July 1, 2010 Share Posted July 1, 2010 $this is used in PHP Object Oriëntated programming. Maby you understand it if by looking at this example: <?php class car { public function setColor($color) { $this->color = $color; } public function getColor() { return($this->color) } } $car = new car(); $car->setColor("blue"); echo($car->getColor()); ?> You can only use $this in a class (object context). Quote Link to comment https://forums.phpfreaks.com/topic/206410-having-trouble-understanding-the-this-variable/#findComment-1079784 Share on other sites More sharing options...
dan_t Posted July 1, 2010 Author Share Posted July 1, 2010 Is there a way to do away with the $this variable with out effecting the perfomance? Quote Link to comment https://forums.phpfreaks.com/topic/206410-having-trouble-understanding-the-this-variable/#findComment-1079859 Share on other sites More sharing options...
Stooney Posted July 1, 2010 Share Posted July 1, 2010 <?php if ($this->error_message){ ?> This is your problem. You only use '$this' when inside of a class. Quote Link to comment https://forums.phpfreaks.com/topic/206410-having-trouble-understanding-the-this-variable/#findComment-1079866 Share on other sites More sharing options...
dan_t Posted July 1, 2010 Author Share Posted July 1, 2010 So can I simply replace $this with the actual href file name? Quote Link to comment https://forums.phpfreaks.com/topic/206410-having-trouble-understanding-the-this-variable/#findComment-1079872 Share on other sites More sharing options...
KevinM1 Posted July 1, 2010 Share Posted July 1, 2010 Why don't you tell us what you're trying to do? It's hard to give a fix for your problem without seeing more than one line of PHP. Quote Link to comment https://forums.phpfreaks.com/topic/206410-having-trouble-understanding-the-this-variable/#findComment-1079875 Share on other sites More sharing options...
Stooney Posted July 1, 2010 Share Posted July 1, 2010 You need to find the variable name for the object. Somewhere you should see something like this: $variableName=new ClassName(); You would then change $this->error_message to $variableName->error_message (assuming you found the right variable). I can't help any further without seeing the part of the code where the class is initiated. Quote Link to comment https://forums.phpfreaks.com/topic/206410-having-trouble-understanding-the-this-variable/#findComment-1079876 Share on other sites More sharing options...
dan_t Posted July 1, 2010 Author Share Posted July 1, 2010 OK, Here is the entire thing, but I don't see anything useful. Most of this is not even my code because he decided to go with a different look (mostly colors), and bought some template for a Homestead.com which had very confusing code all through it. They named their pages in all caps and their links with lower case... etc. A lot of the site that they sold him was cut and paste - [free scripts], and a lot done in javascript where I basically no little more than a document.write statement for output. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <!-- <hs:metatags> --> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="description" content="Free online dating and matchmaking for singles"> <meta name="keywords" content="dating service,on-line dating service,mate,partner,women,man,love,free on-line dating,sex,long-term relationship,friends with benefits,hook-up, lonely"> <meta name="generator" content="Intuit SiteBuilder by Homestead"> <meta http-equiv="imagetoolbar" content="no"> <meta http-equiv="imagetoolbar" content="false"> <!-- </hs:metatags> --> <!-- <hs:title> --> <title></title> <!-- </hs:title> --> <script type="text/javascript"> <!-- function reDo() { top.location.reload(); } if (navigator.appName == 'Netscape' && parseInt(navigator.appVersion) < 5) { top.onresize = reDo; } dom=document.getElementById //--> </script> <script type="text/javascript"> <!-- var strRelativePagePath = "INDEX.html".toLowerCase(); var strRelativePathToRoot = ""; var myimages=new Array(); function preloadImages(imageList) { if (document.images) { for (i=0;i<imageList.length;i++) { myimages[i]=new Image(); myimages[i].src=imageList[i]; } } } function genericAlert() { alert("Sorry. To use this feature, you need Internet Explorer."); return true; } function addToFavorites(url, title) { window.onerror = genericAlert; if (navigator.appName == "Microsoft Internet Explorer") { if (parseInt(navigator.appVersion) >= 4) { window.external.AddFavorite(url, title); } else { friendlyAlert(); } } else if (navigator.appName == "Netscape") { friendlyAlert(); } else { genericAlert(); } } function friendlyAlert() { var win = window.open("/~media/Elements/AddToFavorites/AddToFavorites.html", "HSFriendlyAlert", "width=265,height=100"); } //--> </script> <link type="text/css" href="http://www.homestead.com/~media/elements/Text/font_styles_ns4.css" rel="stylesheet"> <style type="text/css"> @import url(http://www.homestead.com/~media/elements/Text/font_styles.css); div.lpxcenterpageouter { text-align: center; position: absolute; top: 0px; left: 0px; width: 100% } div.lpxcenterpageinner { position: relative; margin: 0 auto; text-align: left; width: 926px; } </style> <script type="text/javascript"> <!-- var unique_id = new Array(); var form_name = new Array(); var required = new Array(); var req_message = new Array(); //--> </script> <STYLE type="text/css"> <!-- .navBackgroundNavigationyss { background-image:url('/~media/elements/LayoutClipart/../LayoutClipart/NavTabs/Basic_Tab_White_Unselected.gif'); background-position: center; background-repeat:no-repeat } .navBackgroundSelectedNavigationyss { background-image:url('/~media/elements/LayoutClipart/../LayoutClipart/NavTabs/Basic_Tab_White_Selected.gif'); background-position: center; background-repeat:no-repeat } --> </STYLE> <link rel="stylesheet" type="text/css" href="log.css" /> <!-- Photo Gallery Element based on Lightbox v2.03.3 © 2006-2007 Lokesh Dhakar. For more information on Lightbox, visit: http://huddletogether.com/projects/lightbox2/ Lightbox scripts licensed under the Creative Commons Attribution 2.5 License: http://creativecommons.org/licenses/by/2.5/ --> <script type="text/javascript" src="http://www.homestead.com/~media/elements/PhotoGallery/js/prototype.js" language="JavaScript"> </script> <script type="text/javascript" src="http://www.homestead.com/~media/elements/PhotoGallery/js/scriptaculous.js?load=effects" language="JavaScript"> </script> <script type="text/javascript" src="http://www.homestead.com/~media/elements/PhotoGallery/js/lightbox.js" language="JavaScript"> </script> <link href="http://www.homestead.com/~media/elements/PhotoGallery/css/lightbox.css" type="text/css" media="screen" rel="stylesheet"> <STYLE type="text/css"> <!-- .navBackgroundNavigationbottom { background-image:url('/~media/elements/LayoutClipart/../LayoutClipart/NavTabs/Basic_Tab_White_Unselected.gif'); background-position: center; background-repeat:no-repeat } .navBackgroundSelectedNavigationbottom { background-image:url('/~media/elements/LayoutClipart/../LayoutClipart/NavTabs/Basic_Tab_White_Selected.gif'); background-position: center; background-repeat:no-repeat } --> </STYLE> <script type="text/javascript" src="/~site/Elements/HCUser_Forms_Submit/FormValidation.js"> </script> </head> <body onunload="" alink="#406AB0" onload="preloadImages(new Array('files/surrealcoastalsunsetcrop.jpg')); " id="element1" link="#406AB0" bgcolor="#FFFFFF" scroll="auto" vlink="#406AB0"> <noscript> <img alt="" src="http://www.homestead.com/~media/elements/shared/javascript_disabled.gif" height="40" border="0" width="373"> </noscript> <div class="lpxcenterpageouter"><div class="lpxcenterpageinner"><!-- <hs:element224> --><div style="position: absolute; top: 480px; left: 10px; width: 275px; height: 183px; z-index: 0;" id="element224"><img alt="" src="files/heartandkey.jpg" height="183" width="275"></div><!-- </hs:element224> --><!-- <hs:element225> --><div style="position: absolute; top: 11px; left: 9px; width: 888px; height: 180px; z-index: 1;" id="element225"><table cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#7FF0AD" height="180" width="888"><img alt="" src="http://www.homestead.com/~site/Scripts_Shapes/shapes.dll?CMD=GetRectangleGif&r=127&g=240&b=173" height="180" width="888"></td></tr></table></div><!-- </hs:element225> --><!-- <hs:element226> --><div style="position: absolute; top: 16px; left: 14px; width: 912px; height: 197px; z-index: 2;" id="element226"><img alt="" src="files/Your_Special_Someone_2.jpg" height="197" width="912"></div><!-- </hs:element226> --><!-- <hs:element227> --><div style="position: absolute; top: 185px; left: 16px; width: 143px; height: 32px; z-index: 3;" id="element227"><div align="left"><font face="'Times New Roman', Times, serif" class="size22 TimesRoman22" color="#FFFFFF"><br></font></div></div><!-- </hs:element227> --><!-- <hs:element228> --><div style="position: absolute; top: 215px; left: 51px; width: 826px; height: 19px; z-index: 4;" id="element228"><div align="left"><SCRIPT SRC="/Navigationyss.js" TYPE="text/javascript"></SCRIPT><noscript><font style="font-weight:bold;" face="Helvetica, Arial, sans-serif" class="size12 Helvetica12"><a target="_self" href="/INDEX.html">HOME</a> | <a target="_self" href="/CREATEPROFILE.html">CREATE PROFILE</a> | <a target="_self" href="/Upload-a-Photo.html">PHOTO UPLOAD</a> | <a target="_self" href="/CHATROOM.html">MEET SOME MEMBERS!</a> | <a target="_self" href="/REQUEST.html">REQUEST BACKGROUND CHECK</a></font></noscript></div></div><!-- </hs:element228> --><!-- <hs:element229> --><div style="position: absolute; top: 237px; left: 16px; width: 900px; height: 100px; z-index: 5;" id="element229"><a href="files/LOVESJEFFHARR.jpg" name="12" title="DSQUARED 41/FEMALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="DSQUARED 41/FEMALE" src="publishImages/INDEX~~element229~~12.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="DSQUARED 41/FEMALE" width="100"></a><a href="files/DADSONFSHING.jpg" name="13" title="SINGLEDADLOOKING 47/MALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="SINGLEDADLOOKING 47/MALE " src="publishImages/INDEX~~element229~~13.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="SINGLEDADLOOKING 47/MALE " width="100"></a><a href="files/COURTNEY_84.jpg" name="15" title="COURTNEY_84 23/FEMALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="COURTNEY_84 23/FEMALE" src="publishImages/INDEX~~element229~~15.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="COURTNEY_84 23/FEMALE" width="100"></a><a href="files/LOOKINGFORUINTN.jpg" name="16" title="LOOKING4FUNINTN 39/MALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="LOOKING4FUNINTN 39/MALE" src="publishImages/INDEX~~element229~~16.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="LOOKING4FUNINTN 39/MALE" width="100"></a><a href="files/LUVS2TRAVL.jpg" name="17" title="LUVS2TRAVL 44/FEMALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="LUVS2TRAVL 44/FEMALE" src="publishImages/INDEX~~element229~~17.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="LUVS2TRAVL 44/FEMALE" width="100"></a><a href="files/PARTYCOVEPETE.jpg" name="18" title="PARTYCOVEPETE 41/MALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="PARTYCOVEPETE 41/MALE" src="publishImages/INDEX~~element229~~18.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="PARTYCOVEPETE 41/MALE" width="100"></a><a href="files/chika_3.jpg" name="19" title="CHICA_3 26/FEMALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="CHICA_3 26/FEMALE" src="publishImages/INDEX~~element229~~19.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="CHICA_3 26/FEMALE" width="100"></a><a href="files/manonkeyboard.jpg" name="20" title="SOUNDGUY4U 26/MALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="SOUNDGUY4U 26/MALE" src="publishImages/INDEX~~element229~~20.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="SOUNDGUY4U 26/MALE" width="100"></a><a href="files/DEEDEE.jpg" name="21" title="DRAMAFREEINTN 35/FEMALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="DRAMAFREEINTN 35/FEMALE" src="publishImages/INDEX~~element229~~21.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="DRAMAFREEINTN 35/FEMALE" width="100"></a></div><!-- </hs:element229> --><!-- <hs:element230> --><div style="position: absolute; top: 388px; left: 280px; width: 638px; height: 96px; z-index: 6;" id="element230"><div align="justify"><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#000000">With busy careers and even busier lives, online dating has become increasingly popular over the years as a tool for meeting that special someone. The down side to this is that internet dating can be a relatively frightening concept. The unknown aspect of who you are truly meeting for that cup of coffee or dinner date poses a very big concern for most people. </font><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#406AB0"><b><i>Your Special Someone</i></b></font><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#406AB0"> </font><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#000000">has these concerns in mind and has developed a program for you that will take the guess work out of meeting a complete stranger when the courtship is initiated behind a computer screen.<br></font></div></div><!-- </hs:element230> --><!-- <hs:element231> --><div style="position: absolute; top: 495px; left: 280px; width: 636px; height: 112px; z-index: 7;" id="element231"><div align="justify"><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#000000">Upon request of a preferred member, a background check can be performed on your behalf. The background check will be conducted by a Licensed Professional Investigative Firm and includes a check of the </font><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#9E0704"><b>NCIC</b></font><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#000000"> (National Criminal Information Center) the same one used by the FBI. The background check will also include a search for actual Marital Status and Divorce. A notification will be then sent to the member in question that another user has requested the search be done. At that time, the member may allow or deny the request. If a request has been denied, it is up to you to decide if you wish to proceed with any further correspondence.<br></font></div></div><!-- </hs:element231> --><!-- <hs:element232> --><div style="position: absolute; top: 619px; left: 280px; width: 636px; height: 48px; z-index: 8;" id="element232"><div align="justify"><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#000000">If the member approves your request, you will receive one of two notifications. Either that the profile in question has been flagged pending further investigation, or that no data was found. The search is set up to flag a profile for specific charges. Felony convictions in the last 10 years, sexual offenses,<br></font></div></div><!-- </hs:element232> --><!-- <hs:element233> --><div style="position: absolute; top: 361px; left: 20px; width: 248px; height: 117px; z-index: 9;" id="element233"> </div><!-- </hs:element233> --><!-- <hs:element234> --><div style="position: absolute; top: 670px; left: 492px; width: 425px; height: 80px; z-index: 10;" id="element234"><div align="justify"><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#000000">harassment, domestic violence and drug convictions. It is up to you to decide how you wish to proceed. You may of course at anytime, block that user from any further contact or continue as you feel comfortable. The choice is always yours. We do however urge you to make informed decisions and trust your better judgment.<br></font></div></div><!-- </hs:element234> --><!-- <hs:element235> --><div style="position: absolute; top: 670px; left: 17px; width: 471px; height: 121px; z-index: 11;" id="element235"><a onclick="return false;" onMouseOut="if(document.images){document.x77x111x117x115x101x111x118x101x114x32x69x102x102x101x99x116x45x49.src='files/COASTPURPLEFLOWERS.jpg';}" onMouseOver="if(document.images){document.x77x111x117x115x101x111x118x101x114x32x69x102x102x101x99x116x45x49.src='files/surrealcoastalsunsetcrop.jpg';}"><img alt="" name="x77x111x117x115x101x111x118x101x114x32x69x102x102x101x99x116x45x49" src="files/COASTPURPLEFLOWERS.jpg" height="121" border="0" width="471"></a></div><!-- </hs:element235> --><!-- <hs:element237> --><div style="position: absolute; top: 830px; left: 360px; width: 259px; height: 157px; z-index: 12;" id="element237"><img alt="" src="rings.jpg" height="157" width="259"></div><!-- </hs:element237> --><!-- <hs:element238> --><div style="position: absolute; top: 977px; left: 340px; width: 300px; height: 16px; z-index: 13;" id="element238"><div align="center"><font face="Helvetica, Arial, sans-serif" class="size10 Helvetica10" color="#000000">contact us at </font><font face="Helvetica, Arial, sans-serif" class="size10 Helvetica10" color="#000000"><a target="_self" href="mailto:admin@yourspecialsomeone.com">admin@yourspecialsomeone.com</a><br></font></div></div><!-- </hs:element238> --><!-- <hs:element239> --><div style="position: absolute; top: 963px; left: 240px; width: 468px; height: 16px; z-index: 14;" id="element239"><div align="left"><SCRIPT SRC="/Navigationbottom.js" TYPE="text/javascript"></SCRIPT><noscript><font style="font-weight:bold;" face="Helvetica, Arial, sans-serif" class="size11 Helvetica11"><a target="_self" href="/INDEX.html">HOME</a> | <a target="_self" href="/CREATEPROFILE.html">CREATE PROFILE</a> | <a target="_self" href="/Upload-a-Photo.html">UPLOAD PHOTO</a> | <a target="_self" href="/CHATROOM.html">MEET SOME MEMBERS!</a></font></noscript></div></div><!-- </hs:element239> --><!-- <hs:element240> --><div style="position: absolute; top: 777px; left: 550px; width: 300px; height: 17px; z-index: 15;" id="element240"><div><font face="'Times New Roman', Times, serif" class="size11 TimesRoman11" color="#000000"><b><i>Your safety and peace of mind are important to us.</i></b><br></font></div></div><!-- </hs:element240> --><!-- <hs:element241> --><div style="position: absolute; top: 764px; left: 883px; width: 36px; height: 32px; z-index: 16;" id="element241"><img alt="" src="http://www.homestead.com/~media/elements/AccentGraphics/../LayoutClipart/Buttons/Pink_Heart.gif" height="32" border="0" width="36"></div><!-- </hs:element241> --><!-- <hs:element242> --><div style="position: absolute; top: 512px; left: 18px; width: 108px; height: 15px; z-index: 17;" id="element242"><a onclick="addToFavorites(document.location, document.title); return false;" href="/~media/elements/AddToFavorites/AddToFavorites.html" target="HSFriendlyAlert"><img alt="Add this page to your favorites." src="http://www.homestead.com/~media/elements/AddToFavorites/beveled.gif" height="15" width="108" border="0"></a></div><!-- </hs:element242> --><!-- <hs:element243> --><div style="position: absolute; top: 579px; left: 19px; width: 201px; height: 37px; z-index: 18;" id="element243"><div><font face="Helvetica, Arial, sans-serif" class="size12 Helvetica12" color="#000000">Join now and get premium membership </font><font face="Helvetica, Arial, sans-serif" class="size12 Helvetica12" color="#000000"><b>at no charge!</b><br></font></div></div><!-- </hs:element243> --><!-- <hs:element244> --><div style="position: absolute; top: 554px; left: 20px; width: 133px; height: 20px; z-index: 19;" id="element244"><div><font face="Helvetica, Arial, sans-serif" class="size12 Helvetica12" color="#000000"><b>Not a member?</b><br></font></div></div><!-- </hs:element244> --><!-- <hs:element246> --><div style="position: absolute; top: 617px; left: 18px; width: 133px; height: 20px; z-index: 20;" id="element246"><div><font face="Helvetica, Arial, sans-serif" class="size12 Helvetica12" color="#000000"><b><a target="_self" href="CREATEPROFILE.html">Join Now</a></b><br></font></div></div><!-- </hs:element246> --><!-- <hs:element247> --><div style="position: absolute; top: 650px; left: 17px; width: 243px; height: 16px; z-index: 21;" id="element247"><div><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#000000"><b><a target="_self" href="REQUEST.html">REQUEST A BACKGROUND CHECK</a></b><br></font></div></div><!-- </hs:element247> --><!-- <hs:element248> --><div style="position: absolute; top: 488px; left: 20px; width: 169px; height: 20px; z-index: 22;" id="element248"><div><font face="Helvetica, Arial, sans-serif" class="size9 Helvetica9" color="#000000"><i><a target="_self" href="mailto:admin@myspecialsomeone.com">Forgot Username/Password?</a></i><br></font></div></div><!-- </hs:element248> --><!-- <hs:element249> --><div style="position: absolute; top: 360px; left: 283px; width: 625px; height: 23px; z-index: 23;" id="element249"><div align="center"><font face="'Times New Roman', Times, serif" class="size16 TimesRoman16" color="#000000"><b>FIRST 100 PEOPLE TO JOIN GET FREE PREMIUM MEMBERSHIP!</b><br></font></div></div><!-- </hs:element249> --><!-- <hs:footer> --><!-- </hs:footer> --></div></div> <!-- <hs:realtracker> --> <script type="text/javascript"> var user='1756946738',pp='INDEX', to=-360,cl=1,id='',r='http://web4.realtracker.com/'; </script> <script src="/~site/Scripts_ExternalRedirect/ExternalRedirect.dll?CMD=CMDGetJavaScript&H_SITEID=RTK3&H_AltURL=%2F%7Esite%2FRealTracker%2Fibc90006.js&HSGOTOURL=http%3A%2F%2Fweb4.realtracker.com%2Fnetpoll%2Fjs%2Fibc90006.js" type="text/javascript"> </script> <noscript> <img alt="" src="/~site/Scripts_ExternalRedirect/ExternalRedirect.dll?CMD=CMDGetGif&H_SITEID=RTK4&H_AltURL=%2F%7Esite%2Ftp.gif&H_HSGOTOURL=http%3A%2F%2Fweb4.realtracker.com%2Fnetpoll%2Fimulti.asp%3Fuser%3D1756946738%26pn%3D90006%26pp%3DINDEX%26js%3D0%26b%3D0%26to%3D-360" height="1" border="0" width="1"> </noscript> <!-- </hs:realtracker> --> </body> </html> That's the whole thing in a nutshell The system we are tring to use now is from a user session pro or something like that. The code I made I couldn't figure out how to migrate with the javascript. Quote Link to comment https://forums.phpfreaks.com/topic/206410-having-trouble-understanding-the-this-variable/#findComment-1079901 Share on other sites More sharing options...
KevinM1 Posted July 1, 2010 Share Posted July 1, 2010 So... where's the PHP in that last large chunk of code? Or, to look at it a different way: Who wrote the '$this' that's causing the error? Quote Link to comment https://forums.phpfreaks.com/topic/206410-having-trouble-understanding-the-this-variable/#findComment-1079924 Share on other sites More sharing options...
Stooney Posted July 1, 2010 Share Posted July 1, 2010 You're issue has nothing to do with html, css, or javascript. We need to see the PHP code. Quote Link to comment https://forums.phpfreaks.com/topic/206410-having-trouble-understanding-the-this-variable/#findComment-1079948 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.