www.webdeveloper.com
Results 1 to 6 of 6

Thread: Newbie Question

  1. #1
    Join Date
    Dec 2002
    Posts
    3

    Question Newbie Question

    Hey I am a complete perl newbie and I have a stupid question. I need the absolute address to a file called guestbook.html its in the /www directory. I tried using /www/guestbook.html as the absolute filename and about a hundred other things. Whenever I run the script for the guestbook, it either A.) Makes a new guestbook.html file in the cgi-bin, or B.) Doesn't do anything. Please help

  2. #2
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    Makes a new guestbook.html file in the cgi-bin

    Where is this in relation to the guestbook.html file you're trying to reference?

    Are you certain they're asking the for server path or the URI?
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  3. #3
    Join Date
    Dec 2002
    Posts
    3
    Originally posted by jeffmott
    Makes a new guestbook.html file in the cgi-bin

    Where is this in relation to the guestbook.html file you're trying to reference?

    Are you certain they're asking the for server path or the URI?
    The guestbook.html is the output file. And its the server path. I already know the URL, it takes me there fine. There is just nothing on it. T.T

  4. #4
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    Perhaps you should post that part of the script and the path where the script is currently at. Is guestbook.html is the same directory as the script?
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  5. #5
    Join Date
    Nov 2002
    Location
    Dartmoor [Holiday]
    Posts
    2,382
    Ask your web host for the server path to your www directory, then add whatever directory you need on top, for example: /some/long/path/www/guestbook.html.

    The path may include your account name, or something else, depending on your host.

    Adam

  6. #6
    Join Date
    Dec 2002
    Posts
    3
    Originally posted by jeffmott
    Perhaps you should post that part of the script and the path where the script is currently at. Is guestbook.html is the same directory as the script?
    No. The guestbook file is in /www/ script is in cgi-bin. I tried making it view html files from the cgi-bin but is isn't working..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles