FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » enter search term via code?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
enter search term via code? [message #176883] Tue, 31 January 2012 18:39 Go to next message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma: 0
Senior Member
A web site has a search block. You know the drill. Enter a word and click
submit or search or what ever.
Can this be mimicked in some way through php?
Even if the site is written in ASP?
Re: enter search term via code? [message #176885 is a reply to message #176883] Tue, 31 January 2012 20:49 Go to previous messageGo to next message
crankypuss is currently offline  crankypuss
Messages: 147
Registered: March 2011
Karma: 0
Senior Member
On 01/31/2012 11:39 AM, richard wrote:
> A web site has a search block. You know the drill. Enter a word and click
> submit or search or what ever.
> Can this be mimicked in some way through php?
> Even if the site is written in ASP?

Yes. I don't remember all the details offhand. It involves using a
socket and sending what a browser would send.
Re: enter search term via code? [message #176886 is a reply to message #176883] Tue, 31 January 2012 21:00 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 1/31/2012 1:39 PM, richard wrote:
> A web site has a search block. You know the drill. Enter a word and click
> submit or search or what ever.
> Can this be mimicked in some way through php?
> Even if the site is written in ASP?

Yes. See the cURL extension.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: enter search term via code? [message #176887 is a reply to message #176885] Wed, 01 February 2012 01:06 Go to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
crankypuss wrote:
> On 01/31/2012 11:39 AM, richard wrote:
>> A web site has a search block. You know the drill. Enter a word and click
>> submit or search or what ever.
>> Can this be mimicked in some way through php?
>> Even if the site is written in ASP?
>
> Yes. I don't remember all the details offhand. It involves using a
> socket and sending what a browser would send.

curl is the keyword to search for.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: php DB rotation
Next Topic: redirect stdout and stderr to PHP variables?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 02:51:10 GMT 2024

Total time taken to generate the page: 0.02705 seconds