Login
Sign Up For Free
English
中文 (繁體)
中文 (香港)
中文 (简体)
日本語
Filipino
Bahasa Indonesia
Bahasa Melayu
Pусский
Português (Brasil)
Magyar
Français
Español
Deutsch
Čeština
العربية
Català
Dansk
Ελληνικά
فارسی
Suomi
Gaeilge
Hindi
עברית
Hrvatski
Italiano
Norsk bokmål
Nederlands
한국어
Polski
Română
Slovenský
Svenska
Türkçe
українська
беларуская
ไทย
Standard view
l_l
shares
17 years ago
I am clueless when it comes to PHP. Is there any way to parse this into readable data?
16384.info/Test.php
latest #12
Chris
17 years ago
Regular expressions. preg_match() is your friend.
Chris
17 years ago
Actually, it looks like it just may be a serialized array. I'll try running it through the PHP unserialize() function and see what I can get
riverjiang
17 years ago
Looks like Python to me.
立即下載
l_l
17 years ago
For example, lets say I wanted to show the number of times people had is as the modifier. How would I go about that?
Hans
17 years ago
It's a JSON response - try using a JSON parser for PHP.
Chris
17 years ago
preg_match("/\"qualifier\": \"(.*)\"", $input, $matches);
Chris
17 years ago
Or JSON works, too. Can't believe that I forgot about that. ^_^;
Hans
17 years ago
chrisvoll
it's preg_match_all(), but that's a quicker way than using a JSON parser, definitely
l_l
17 years ago
I'm using fopen to open the plurk page, how do I convert that to a string without it printing on the page?
l_l
17 years ago
Warning: preg_match() [function.preg-match]: No ending delimiter '/' found in /home/a6875155/public_html/Test.php on line 7
Hans
17 years ago
1_1
preg_match_all("/\"qualifier\": \"(.*)\"/", $input, $matches); If you need more help Skype me at hans_d_engel
Chris
17 years ago
whoops. I never said that I knew anything about regular expressions. >_> and it's l_l (el_el), not 1_1.
back to top
delete
reply
edit
cancel
cancel