GetDotted Domains

Viewing Thread:
"Online CV help..."

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Thu 11/03/04 at 12:24
Regular
Posts: 10,437
Right, I've written myself the basic layout to my upcoming online CV, along with a near-finished portfolio page.

The only thing is, I have a couple of questions that you fine people may be able to help with. First of all, is having a small number of pages a good idea? So far I have a Contact Page, Portfolio Page, Script Diary (to publish some of my written programs/online scripts) and Home planned, but I'm not sure if that's really enough.

Also, on the home page I was going to a little 'about' intro, any tips on what I should include/avoid?

And finally, I need a host/web server to try out my Perl CGI scripts on, but I'm a little stumped. In the book I'm working through, it mentions that Apache is a free web server that can be used, and otherwise I'd have to pay to use these scripts on a fully-fledged domain (which I was planning on doing in the future, but not just yet). Now I know nothing about Apache, what it does and how to get it, so can anyone give me a little information on this? Whether or not it's worth it?

I know very little about web hosting and the like, so any help would be hugely appreciated.

Cheers.
Fri 12/03/04 at 15:24
Regular
Posts: 10,437
Ah, so they're all just stored in a hash? Cheers for that.
Fri 12/03/04 at 11:31
Regular
"Devil in disguise"
Posts: 3,151
Try this for parsing your input variables:
(not sure if this will post correctly though)

if ($ENV{'REQUEST_METHOD'} eq 'POST') {
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
} else {
$buffer=$ENV{'QUERY_STRING'};
}

@pairs=split(/&/, $buffer);
foreach $item (@pairs) {
($tmp,$value) = split(/=/,$item);
$value=~ tr/+/ /;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$value=~ s/^\s+//;
$value=~ s/\s+$//;
$value=~ s/@/\@/;
$form{$tmp}=$value;
}

This splits up the vars, unpacks the char codes etc.
Then you can access your form variables with $form{'name'} and so on.
Fri 12/03/04 at 11:23
Regular
Posts: 10,437
I've kind of got it working now, it prints "%24name=my+name", but the text manipulation doesn't take place, I think that's due the text being in the wrong format though.
Fri 12/03/04 at 10:43
Regular
Posts: 10,437
Ah, I didn't know that, I'll give it a go.
Fri 12/03/04 at 10:31
Regular
"Devil in disguise"
Posts: 3,151
Rickoss wrote:
> The perl itself is fine, I've checked through and no failures occure,
> so it must be the HTML. For action I've got the script path and the
> method is post, surely this should send the name value of the input
> field (which I made $name) to the Perl script?

Well, lets start at the beginning, the variables get sent to the perl script, but its up to you to process them and extract them into variables within the script that you can use (eg $name). Severals ways of doing this, either via the CGI module or by reading STDIN yourself. Are you doing this?
Fri 12/03/04 at 10:21
Regular
Posts: 10,437
Got it working now, so I'm all ready to go.

Just one more little question about a script a tried out. Well I tried to run a piece of Perl code, which requires some input from an HTML form, but it doesn't seem to work.

The perl itself is fine, I've checked through and no failures occure, so it must be the HTML. For action I've got the script path and the method is post, surely this should send the name value of the input field (which I made $name) to the Perl script?

Or am I doing something completely wrong? Cheers (again) :-D
Thu 11/03/04 at 19:32
Regular
Posts: 5,323
There is a file called setup_xampp.bat
Its very good,
Cheers Phi11ip!!
Thu 11/03/04 at 19:16
Regular
Posts: 10,437
Just downloaded/extracted the Apache link you gave me, but how do I install it? I tried to open the install file but it just kept failing.

Any ideas?
Thu 11/03/04 at 18:45
Regular
Posts: 10,437
Oh, and cheers Phillip, I'll try that website you linked.
Thu 11/03/04 at 18:40
Regular
Posts: 10,437
JamesD wrote:
> Other than that i cannot be of much help, but could you tell me what
> Perl is like as a Web-Language as i am thinking about learning it?

Not sure what it's like as a web language, but it seems very extensive from what I've learned so far. I'm going to invest in a couple of books in order to get everythign out of, then go onto the lieks of MySQL and C/C++.

I'm not really bothered about using Perl online at the moment, I just need something to test out scripts on, then I'll use them online when I eventually get a domain.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Thanks!
Thank you for dealing with this so promptly it's nice having a service provider that offers a good service, rare to find nowadays.
Second to none...
So far the services you provide are second to none. Keep up the good work.
Andy

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.