I can't seem to find any helpful documentation on how to create two dimensional arrays in perl and sort them. For instance, I have a script that provides a person's name and a description of them in strings in a for loop. I want to be able to sort an array by the first names, while still...
Does anyone know or have a reliable and working snippet of code that simply sets up a form for users to upload pictures to the server? I can't seem to get any of the scripts I've designed to work. Thanks a lot.
I've set up a script on my site that allows for users to upload their own pictures to the server. But for some reason, ever one of the pictures turns out just blank. The size/dimensions of the pictures are correct, but the actual picture isn't showing up. Anyone have any clue why I might get...
I tried what tviman said and I still get the same error message. Can you show me exactly how you set up the header in your scripts? Like copy and paste it so I can tell what I've done wrong? Thanks so much.
Can anyone tell me what "Premature ending of script headers" mean? I keep getting it in my error log with every script I am running. Here is what my script looks like:
#!/usr/bin/perl
use strict;
use CGI ':standard';
use CGI::Carp qw(fatalsToBrowser);
my $username =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.