Php sinippet: howto ignore HTTP errors in file_get_contents()

Posted on Fri 04 November 2011 in PHP • Tagged with code, http, phpLeave a comment

A useful snipped of php code:

echo file_get_contents('http://www.example.com/foo.html',\
  FALSE, stream_context_create(array\
  ('http'=>;array('ignore_errors' =>; TRUE))))
Continue reading

Check_web_form.py

Posted on Wed 24 September 2008 in Systems • Tagged with http, nagios, pythonLeave a comment

Check script di nagios per eseguire il submit di un form e cercare dei valori nella response del server.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31 ...
Continue reading