Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^7: Add timestamp to helpdesk form

by poj (Prior)
on Jul 04, 2014 at 20:26 UTC ( #1092331=note: print w/replies, xml ) Need Help??

in reply to Re^6: Add timestamp to helpdesk form
in thread Add timestamp to helpdesk form

The database location $gbdata needs to be a filepath/filename not a URL
my $gbdata="";

Also the folder has to be writeable by the web server and normally cgi-bin folders are not for security reasons. If you are just learning/testing then try using the /tmp folder, same as the semaphone.

my $gbdata = "/tmp/forms.txt";

Replies are listed 'Best First'.
Re^8: Add timestamp to helpdesk form
by csorrentini (Acolyte) on Jul 04, 2014 at 20:44 UTC
    Yea thank you so much I literally figured it out right before coming back here. I just changed the name to forms.txt and it found it. THANK YOU THANK YOU THANK YOU!!

      Your next problem will be here

      $type=<GB>; # Assumes that each entry is $prob=<GB>; # exactly 3-lines long... my $time=<GB>;
      because using <textarea name="problem" rows="10 cols="40">
      means the problem text may be more than 1 line.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1092331]
[choroba]: BTW, both the bands I play in performed on Friday (at the same event). Quite an exhausting experience.
[Corion]: choroba: Ooof! I can imagine that ;)
[Corion]: I think at a Perl workshop some years ago I gave two talks on the same day and after that decided to only submit one talk per event ;)
[LanX]: you play the triangle, right?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2017-03-27 11:39 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (319 votes). Check out past polls.