Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

anyone know where to find this and how to fix it?

{"credits":1405,"protected":"1410370373","bookmarked":1,"fan":0,"emailshared":1,"installsgenerated":0,"updates":[],"flags":{"advancedmissionmodifier":100,"advancedmissionsenabled":1,"allowrelocation":1,"attacking":1,"baseValidationEnabled":0,"battlesaveinterval":60,"cdn_bandwidth_log_threshold":32,"central_logging_enabled":1,"clientTimeout":1200,"cullproblemunits":10,"current_event_base_timeout":4200,"customizableunits":1,"enable_deep_thought":0,"enable_deep_thought_events_01":0,"enable_deep_thought_events_02":0,"enable_deep_thought_events_03":0,"enable_deep_thought_events_04":0,"enable_new_attacklog":1,"enable_state_change_logging":0,"endbattlestopprojectiles":0,"event_attacking_A":80,"event_attacking_B":80,"event_attacking_C":80,"event_attacking_D":80,"event_attacking_E":80,"event_defending_A":100,"event_defending_B":100,"event_defending_C":100,"event_defending_D":100,"event_defending_E":100,"eventduration":604800,"eventendbuffer":172800,"eventstart":1408665600,"eventtype":29,"eventversion":0,"extra_platoon_logging":0,"fanfriendbookmarkquests":1,"fastbuildtimesaddusers":0,"fastbuildtimesenabled":1,"framework_logging_enabled":1,"fwr_ab_group3":43200,"fwr_day_length":86400,"gamedebug":1,"getflagsinterval":60,"gs_load_and_save_percent":0,"gsconnect":1,"gspinginterval":60000,"hacking_psa":0,"log_basesave_failure":1,"min_gateway_message_size_to_compress":1024,"minimum_client_soft_version":0,"nub_split_id":29705190,"pageinterval":15,"promodeadline":"1409778000","promoindex":"1","qos_get_balances_interval":60,"reject_damaged_units":0,"repair_time":0,"repair_time_e":0,"repair_time_m":25,"repair_time_s":0,"resource_gift_sku":0,"resource_gift_time_e":0,"resource_gift_time_s":0,"savedelay":5,"shorterbuildtimesaddusers":0,"shorterbuildtimesenabled":1,"show_thorium_underlay":1,"show_total_thorium":1,"sroverlay":1,"suppress_audio":0,"thoriumdepositmodifier":100,"thoriumgoldratioA":25,"thoriumgoldratioB":10,"thoriumgoldratioC":5,"updating":0,"user_deployable_culling":1,"validate_stats":1,"wavesPerLoad":0},"giftsentcount":0,"error":0,"currenttime":1409767516,"h":"451bf3ccb68e841e781b103c295dab8c","hn":9298337}

Hi Erick, it would be very helpful to other members here in answering your question if you could please clarify what the issue is that you are experiencing, based on what you have posted it is very difficult to tell. If you could please edit your post when you have an opportunity and add some more detail it may help you get your situation resolved. Thank you!

hello mikes, this is like python dictionary. i added this using fiddler to get credit or gold in some games, but it did not work at all mate.

1 Answer

php doesnt have dictionary like python does! you can use associative arrays if needed.. but their structure is very different.. if this is a json you can convert this to a php object/array using json_decode function..

beyond that you haven't given us anything to work on..