Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of P Guardiario  >  PGBrowser  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PGBrowser
Access remote site pages submitting forms
Author: By
Last change:
Date: 2012-12-17 22:59
Size: 199 bytes
 

Contents

Class file image Download
<?php
require 'pgbrowser.php';

$b = new PGBrowser();
$page $b->get('http://www.google.com/');
$form $page->form();
$form->set('q''foo');
$page $form->submit();
echo 
$page->title;
?>