Jump to content


  • Posts

  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

tommytx's Achievements


Member (2/5)




Community Answers

  1. gw1500se not pulling the pages the pages i visit pulls them...many pages you land on call on php, javascript etc to decide where to take you next but the Session will not log those pages since i did not visit them the page i am on visited them. So to troubleshoot better you would need to see not only a list of pages you visited and logged into Sessions you would need to be aware of any other pages used to get you to your target..as anyone could have causes you to fail to reach the target. dodgeit sorta.. notall incljuded but have to know of any classes in the include that was used but more importantly files that were called by the page i am on.. like when you fill out a form many times it calls a php page that i never see never log to enter data into the data base... so if i don't know that happened I do not know that page could be part of the problem.. The only way I know of to get a list of all those pages would be to open the source and look for files being called internally that will not long on a Session list.
  2. My problem is that no one actually visited those pages the program pulled from them to get information so that it knows what next page to send you to.. Are you saying that if if do the session correctly it will also show pages that no one visited.. since when those pages were used by the page that was visited noone actually visited that php or javascript or java page ... so if I am troubleshooting i have no idea those sub pages were used unless i study each page that was visited to see if those pages called any other pages....does that make sense.... Again lets say I do not end up at my target page... so I have no indication that its not a visited page but an unvisited page that may be the troublemaker... . maybe i am making this too hard.. Its possible that i might use Sessions and find out that i visited 10 pages but to get to the 10 page it may have required 20 total page accesses and the other 10 would not be listed so that i now where the problem is... I may be able to pull them out of the logs that identify every page activity with IP since even the sub internal pages will be logged by ip in the master log.. And i can block out all other traffic via htaccess so that no one else gets in so i will be tracking just one IP making it simpler... Maybe I will just write this one off as too complicated unless i can get all the questionable pages into an IDE so that every move can be tracked logged and stopped at any point i choose.
  3. Not asking you to troubleshoot for me but to pop in any thoughts you might have on how YOU would troubleshoot this problem.. Thanks This is a wp site.. and generated the following error.. Notice: Undefined index: USER_AGENT in /home/luxuryrealtygrp/public_html/wp-content/plugins/LRG/Masked/Filters.php on line 31 This is what line 31 that is being called out: Line 31: function lrg_masked_field($false, $field_name){ if(is_user_logged_in() || stripos($_SERVER['USER_AGENT'], 'google') !== false || stripos($_SERVER['USER_AGENT'], 'yahoo') !== false || stripos($_SERVER['USER_AGENT'], 'bing') !== false){ return false; } Just looking for ideas that might help to chase this down.. My guess is that USER_AGENT since in all caps may be an environment variable.. Is there a way to display all environment variablles and if they are set or not. Any ideas or thoughts would be appreciated.. Thanks!
  4. Thanks for that information i will try to use it... however I looked at sessions, and they do tell me each page i visited but it did not seem to report those under the cover intermediate pages that were required to get to my destination.. For example many cases we have a form filled in which calls a php page or even a javascript page to interpret that and send me to my final destination.. but unless I was doing something wrong, Sessions did not show the intermediate pages.. so no way to tell if they worked or not.. unless I got to the final destination.. It shows page 1 and page 2 and page 3 etc but if an undercover page was needed it did not show that. Thanks the ideas i will keep working with it.. I guess I need something like running the page in a php IDE but haven't had much luck running an IDE on a monstor program..... Thanks Again.
  5. Thanks for that requinix, however I do not want to track anyone but myself as discussed above as a troubleshooting tool... But so far i have read a dozen articles and 2 youtubes and so far no one has answered my question and that is as I said above. "Can i track every page they need/use on the way to my Target page.. I know it will track any intermediate page that they land on.. howeve that would be useless in php as we know from point a to point b is only one page jump.. but they may have loaded several pages to get there....and my guess is it won't record any page that is called but not displayed... for example many html page's call a php page to tell it where to go next... but I suspect that Sessions won't log those intermediate page.. I do not mind spending hours learning all the ins and outs of Sessions but hate to do that if it will not work for what I need... and i suspect that some of the old hands at Session's can quickly say Yes or No it won't do that. The only other things that i can think of would study the source code of any page that Sessions logs and see what all files they will be demanding in the header or any other place in the code. Thanks..
  6. OOPS! just finished lesson one.. and already realized this may not work for me... My experience (what little it is) is that it will track all the pages the user visits... but that is not what I want its all the pages the puter visits while the user is logged in .Am I wrong but i thought when a user clicks and goes to a new page.. it will log each page he sees but the puter may have visited a dozen pages for his one.. What I mean is when user clicks on an html page it may query javascript, php, or anything to get the info he has requested.. but session will not show all those files. that he did not see.. Correct.. If so its worthless for what i need as to trouble shoot finding the pages the user say is not very valuable since to troubleshoot i have to know every page the puter say during this session... I am sure those questions will be answered as i go thru the tutorials.. but if you know the answer please tell me so I dont go thru a bunch of tutorials and find it will not work... Thanks
  7. Thank you soooo much gw1500se for the idea... I am right now as we speak in the middle of a youtube video on setting up SESSIONS.. Hopefully soon I will understand exactly what you are referring to... and will in the future be able to make frequent use of the session use. I have played with sessions before but not great at it.. but now I an intensely studying examples so it should solve my problem.
  8. I am sorry i am not much of a Session guy.. do i need to go spend hours on how to do sessions.. as there is maybe a 100k php files that it might wander thru so the problem is I don't know what all pages it might go thru to get there.. else I would not be trying to work backwards to get the sequence of pages that will be hit. I need to use this process frequently so is there some content I could study that would help me setup some kind of tracking system if i wanted to find out the sequence of pages that it went thru to end at my target page. This sounds like something that I would love to know more about.. and had not thought about sessions.. since I am not that knowledgable about Sessions. Thanks for your help.. But I do have everyone blocked from the site... to make sure a lot of other folks are not loading those pages that i am trying to track.
  9. For example with an IDE to run a program is there a way to put some code in the path and let it tell me where it came from like a referral? For example lets say I am at pgm1.php and at the top of that program i put something like. $ref = $_SERVER['HTTP_REFERER']; echo("$ref<br>"; Result: https://www.mydomain.com/wp-admin/admin.php?page=lambo As you can clearly see the page that we have entered the code in is referred by the URL here. It tells me that it was last at a word press page /wp-admin/admin-php and I can go to that page and it will be the last page it was at.. So bottom line then if i add this code to the admin page and click the same button i had before.. it will tell me the file that called out the admin page. Baslcaly I am looking for ideas on how to track the page i am now all the way back to the page with the button on it and all intermediate pages that it passes thru to get to the final destination. It seems that to succesfully troubleshoot a fault is to follow the path of the entire job and see if any breaks... Any thoughts or suggestions on how to best do this would greatly be appreciated.
  10. Thanks that worked perfect.. save it and retrieved it in the exact same state it was in originally... you guys are great.. Maddening you told me where fish and that helped but SEN threw me a couple of fish to get started and speeded up my process significantly as i would have had no idea where to start as i have never used json before.. so he wins.. but i really do appreciate the quick response from both of you.. This is one forum that yu always know you wont need to wait days for help.... Thanks agai.
  11. Thanks will go study json and see if i can figrue it out was going thru all kinks of gyrations but nothing worked.. will come back after i assemble a few hundred json samples..
  12. I am trying to capture some data on the fly that is marked to be inserted in the db.. but its a huge dump and is very slow getting it into the db.but i can download the entire package and save it in text in less than 3 minutes.. so the idea is to capture it on the fly and then once off line move the data to the db.. should save hours of time and not tie up the MLS server so long.. So here is what i need.. Want to capture it on the fly which i can do.. but the question is how do i save it to txtfile so that it can easily be reloaded as an arrray in the future. I can break it apart any way i like and add ticks or quotes or anything and save the pieces.. but surely there is a very efficient way to do if for multi array... as i think its important how its stored if say i winat to pull the arrays quickly from file usging something like $str = file('mytextfile.txt'); Hope all this makes sense.. what follows is an example of sample code that i am experimenting with to see how to work this.. any thoughts or suggestions would be appreciated. $contacts = [['name'=>'S Russell','email'=>'s.russell@vahud.com','title'=>'President'], ['name'=>'D Randall','email'=>'d.Randall@vahud.com','title'=>''], ['name'=>'T Joneses','email'=>'t.joneses@vahud.com','title'=>'Professor'], ['name'=>'A Soloing','email'=>'a.soloing@vahud.com']]; Array ( [0] => Array ( [name] => S Russell [email] => s.russell@vahud.com [title] => President ) [1] => Array ( [name] => D Randall [email] => d.Randall@vahud.com [title] => ) [2] => Array ( [name] => T Jones [email] => t.jones@vahud.com [title] => Professor ) [3] => Array ( [name] => A Solo [email] => a.solo@vahud.com ) ) So how should the code be broken apart and placed in saving.. to easily be reloaded quickly exactly like the array it was since it will be fed back to the same program that it was taken from in midstream.
  13. Hey folks again i have to say you need to cut this post out and add it to your "How to do array notebook as it will be very valuable to you in future resolutions. But I just noticed a possible confusion... some of you may be saying what the heck.. How did he get those values out of that example.. Sorry... i just simplified my version for the forum so here is the actual array i am running.. just so it does not look like i am crazy.. I should have made this match my original example but you can see the reason for my strange values compared to my original question. [0] => Array ( [AdditionalPetRentYN] => [AnnualPropertyTaxes] => 2088 [BathsFull] => [BathsHalf] => [BathsTotal] => [CurrentPrice] => 135000.00 [DOM] => 3412 [MLSNumber] => 857252 [Matrix_Unique_ID] => 8971579 [PhotoCount] => 1 [PostalCode] => 89005 [StreetDirPrefix] => [StreetName] => DENVER [StreetNumber] => 1409 [StreetSuffix] => Street [YearBuilt] => )
  14. Thank you Maddening.. Now this is a prime example of what happens when you teach a man to fish instead of giving him fish.. I took what he provided and finished my own solutions since i did not want to complicate it too much or even ask for help doing my entire project... but the final result was to get all the variables and even have the keys available if needed...so here is what i added totally due to this very exquisite tutorial.. i finished the project... Maddening could not finish it since he had no idea what my final goal was but he did exactly what I asked for... This forum is the best.. not like "stackoverflow" who nitpick everything and if you forget to dot an i or cross a t they ban you.. I will never use them again..For each T that you do not cross you are banned for 3 days...Thankyou phpfreaks and especially Maddening you are the best... So bottom line i took what he gave me and learned from it and did not have to come back with but what if this or what if that.... i figured it out from his expert shove down the road.. foreach ($arrResult["DATA"] as $data) { // $data substitutes for the [0] element foreach ($data AS $key => $value) { echo "Value = $value<br>"; } echo " &&&&& Separator &&&&&<br>"; } Below is the output of my code mod which pulls out every entry for storage... Value = Value = 2088 Value = Value = Value = Value = 135000.00 Value = 3412 Value = 857252 Value = 8971579 Value = 1 Value = 89005 Value = Value = DENVER Value = 1409 Value = Street Value = &&&&& Separator &&&&& Value = Value = 2088 Value = Value = Value = Value = 135000.00 Value = 3412 Value = 857251 Value = 8971581 Value = 1 Value = 89005 Value = Value = DENVER Value = 1407 Value = Street Value = &&&&& Separator &&&&&
  15. This is php programming.. I have tried just about every variation i can think of.. The goal is to be able to pull each value.. Then of course once i know what i need to pull the values i can put it in a loop to get them all. Any assistance offered will be greatly appreciated. print "<pre>"; print_r($myarray); // multiple triple array.. print "<pre>"; Array ( [DATA] => Array ( [0] => Array ( [CurrentPrice] => 135000.00 [MLSNumber] => 857252 [Matrix_Unique_ID] => 8971579 [StreetName] => DENVER ) [1] => Array ( [CurrentPrice] => 135000.00 [MLSNumber] => 857251 [Matrix_Unique_ID] => 8971581 [StreetName] => DENVER ) [2] => Array ( [CurrentPrice] => 135000.00 [MLSNumber] => 857253 [Matrix_Unique_ID] => 8971583 [StreetName] => DENVER ) ) echo [0]['MLSNumber']; echo [0][0]['MLSNumber']; echo $myarray['MLSNumber']; echo $myarray[0]['MLSNumber']; echo [0][0]['MLSNumber']; The above list is some of the attempts i have used to grab the values but negative results.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.