Re: cuRL script won't submit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 2, 2008 at 10:23 AM, Test User <usertest90@xxxxxxxxx> wrote:
> many thanks.. I have been working on this for weeks!
>  now I have to figure out how to extract that dynamic URL from the form before I post..

    This may help to start:

<?php
$data = file_get_contents('http://www.website.com/html_form.html');
preg_match('/form action="(.*)"/Uis',$data,$matches);
print_r($matches);
?>

-- 
</Daniel P. Brown>
Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo.,
and shared hosting starting @ $2.50/mo.
Just ask!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux