Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

How can my tcp client call a sub directory when calling a socket connection?

by dwatson06 (Friar)
on Jun 20, 2002 at 21:26 UTC ( [id://176163]=perlquestion: print w/replies, xml ) Need Help??

dwatson06 has asked for the wisdom of the Perl Monks concerning the following question:

I need to connect to a cgi script in a subdirectory.
http://theSite.com/subdirectory/new_login.cgi
At what point of the socket connection do you pass the directory location ('subdirectory/newlogin.cgi')?
  • Comment on How can my tcp client call a sub directory when calling a socket connection?

Replies are listed 'Best First'.
Re: How can my tcp client call a sub directory when calling a socket connection?
by sschneid (Deacon) on Jun 20, 2002 at 21:42 UTC
    Directory information is called from within the HTTP request, ie:
    print $remote "GET http://thesite.com/subdirectory/newlogin.cgi\n";
    You may want to check out RFC 2068 for more information. scott.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://176163]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-19 18:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found