Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 31st October 2011, 19:06
alleks alleks is offline
Senior Member
 
Join Date: Nov 2010
Posts: 157
Thanks: 9
Thanked 9 Times in 9 Posts
Default PHP check the response of the api

Hi, I am trying to check that if the response of the api contains something like

PHP Code:
<error>
<
message>No Videos found!</message>
<
code>####</code>
</error
To do a show_error() in codeigniter. I've tried it with preg_match but no success for me. Any help would be greatly appreciated.
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with ispconfig 3 staff007 Installation/Configuration 4 10th October 2011 21:17
ISP Config not working in mandriva 2008 bigdavid889 Server Operation 8 28th February 2008 20:05
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 14:22
php script injections Grizzly General 21 18th July 2006 08:55


All times are GMT +2. The time now is 01:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.