Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] -e check.. need help

Expand Messages
  • Luinrandir@luinrandir.com
    Well I went all the way back to the full unix dir name with and without the .. in front of the /www/website/etc and it didn t work.. I have written the web
    Message 1 of 4 , Jul 25, 2005
    • 0 Attachment
      I went all the way back to the full unix dir name with and without the .. in front of the /www/website/etc
      and it didn't work.. I have written the web host for more help
      is there a unix command to go with it?
      ----- Original Message -----
      From: merlyn@...
      To: Luinrandir@...
      Cc: perl-beginner@yahoogroups.com
      Sent: Monday, July 25, 2005 5:03 PM
      Subject: Re: [PBML] -e check.. need help

      >>>>> "Luinrandir@luinrandir" == Luinrandir@luinrandir com <Luinrandir@...> writes:

      Luinrandir@luinrandir> for some reason the -e does not work here.
      Luinrandir@luinrandir> the file IS there... and the .cgi is being ran from the cgi-bin area.
      Luinrandir@luinrandir> the .jpg is in the www.website.com/mysticadventures/$PlayerName$TownName.jpg

      Luinrandir@luinrandir> my $file="/mysticadventures/$PlayerName$TownName.jpg";
      Luinrandir@luinrandir> if (-e $file)

      Uh, -e is using the unix path, not a URL path. I highly doubt
      that alongside "/bin" and "/lib" and "/man" and "/dev" on your system,
      you also have "/mysticadventures", and if you do, God Help You.

      You need to replace that with the Unix path to the file, not the
      web URL path.

      Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
      <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
      Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
      See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

      Unsubscribing info is here: http://help.yahoo.com/help/us/groups/groups-32.html


      a.. Visit your group "perl-beginner" on the web.

      b.. To unsubscribe from this group, send an email to:

      c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.