Jump to content


Photo

is it possible to emulate a user and use server side code?


  • Please log in to reply
1 reply to this topic

#1 bitman

bitman
  • New Members
  • Pip
  • Newbie
  • 8 posts

Posted 18 May 2006 - 12:04 PM

hi all,

if i have a php web application that requires logon,
and i have a userid for that application.
is it possible to write a local php script, that will login
to the application and will do actions inside this application without
opening the pages in the web-browser? (that my script will emulate
a user activating the application from within the browser..)

or even better, is it possible to activate locally the functions
that are defined in the remote scripts?

thanks.
bitman

#2 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 18 May 2006 - 12:23 PM

You can certainly make calls to a web application without a browser, but I'm not aware of a way to do it with PHP that doesn't involve a browser unless you use the compiled version of PHP. I'd personally suggest using another system-based piece of software that has the ability to send headers to do the job.

Info: PHP Manual





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users