|
From: Alexei A. <ale...@gm...> - 2009-08-07 01:14:04
|
Thank you for the answer, Marcus!
> Alexei Anisimov wrote:
>
>> Is there any way to alter the way Scriptable Browser resolves domain
>> names, like some local hosts file/table?
>>
>
> This is below the level the browser normally operates.
Yes, I understand.
> We just open
> a socket to the host and that's it. You can use an ip though (static
> I presume)...
>
> $this->get("http://1.2.3.4/stuff.html");
>
That might work, but - in this case I will not get the desired virtual
host documents, because HTTP request will not contain domain name, only
IP, and therefore web server would return it's default page.
> Alternately, can you use another tool to get the URL first?
>
I'm not sure - do you mean substitute getURL functions? But as I'm not
much into PHP I doubt that I can do it in reasonable amount of time :)
Thanks again for you time!
Best regards,
--
Alexei Anisimov
|