
06-11-03, 06:36 PM
|
 |
Code Master
|
|
Join Date: Jun 2003
Location: North East England/UK
Posts: 874
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Newbie Help
Hi Fellow programmers of the perl realm. I have heard many references to perl communities being the most popular and most friendly communities on the programming net. I have tried everwhere to find you lot and in here theres a hell of alot more people in php group than in here I think it was 200 and somthing to the perl forum which I think was 3 at the time!
anyway any of you (3) lot know how to make a form in perl. I dont mean make a perl request a form via HTML I mean a form done entirley buy perl for perl. My ISP has taken away the post method for html so I need a way around this. Get method doesnt hold enough content for what I need it for. Ive tried other places including netfrims and so far my perl doesnt work at all on there (I think I need to buy a hosting package)
anyway I have an ISP that I pay an extra £4 on top of what I pay for broadband and I get perl and many more languages/scripts supported but I think for security reasons they wont allow post and I just get an error saying post method NOT allowed.
Im starting to think that im not goin to get very far with perl at all. How far have any of you people got with it before running into the same sort of problems Im having?
__________________
"once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of 'hot xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour," 'Tis not possible!", i muttered, "give me back my free hardcore!" quoth the server, 404."
|

06-11-03, 07:22 PM
|
 |
Newbie Coder
|
|
Join Date: Jun 2003
Location: Canada
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I have not personally had this happen, so I really can't give you any advice (wish I could)... It seems strange that your host would allow you to execute a script but not allow the post method (which isn't the only security hole a script can have). If you're not sure about their post policies, you should ask anyway.. it could be possible that their server is misconfigured, or you have somehow added your script where it is not supposed to be, or set the permissions wrong. It's always better to double double check everything. Do you have any .htaccess privileges? if so.. also check your main .htaccess file for any instances to cgi.
If all else doesn't add up, and a solution is not found.. perhaps a new host would be best. There are many cheap ones available these days
Best of Luck.
|

06-12-03, 04:28 PM
|
 |
Code Master
|
|
Join Date: Jun 2003
Location: North East England/UK
Posts: 874
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks Guru Programmer. I have taken your advice and they say there shouldnt be a problem with the post method, they say it probably the way Im using it. Well Im goin to have to go back to html school and re-sit 
__________________
"once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of 'hot xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour," 'Tis not possible!", i muttered, "give me back my free hardcore!" quoth the server, 404."
|

06-14-03, 06:33 PM
|
 |
Guru Programmer
|
|
Join Date: Jun 2003
Location: USA
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
As I understand you found that your problem is not in ISP  .
So I recomend you use CGI module to parse your requests if you do not.
I am in perl programming 3 years and see same kind of problem first  if it is in ISP 
|

06-17-03, 06:03 PM
|
 |
Code Master
|
|
Join Date: Jun 2003
Location: North East England/UK
Posts: 874
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I guess its eaiser to blame others before you blame your own code
now that I have the HTML form sorted, I have the values write to a text file. I have been working on a username and password check script and now that I have that nearly done the next stage it to start with a secure login area (doesnt need to be to secure to start with, Ill add the security options later when I have the basic workings in hand) problem is I dont know where to start. My ISP runs on a lunix (Apache server). I created a folder that had the settings 750 and the index file inside the same except I can still access the folder and the index file still loads up. With this I think Im a bit clueless as to how to make a login area where by only registered members have access. The problem with this is searching for this only brings up website that have scripts for login's. It doesnt describe how it all works. Anyone get time to explain it a little or at least point me in the right direction. I have very little experience of Lunix but Im fairly confident in a window and programming concepts. Maybe not on cgi but Im getting there. Thanks in advance to anyone who can offer ANY help. Much appreciated.
James
__________________
"once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of 'hot xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour," 'Tis not possible!", i muttered, "give me back my free hardcore!" quoth the server, 404."
|

06-18-03, 11:03 AM
|
 |
Code Master
|
|
Join Date: Jun 2003
Location: North East England/UK
Posts: 874
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks Guru
Im really excited about perl since the other languages I have learnt have been restricted in some way, were as perl seems to give me the freedom I yern for (plus it has some really cool features)
Just wish I knew about it earlier since Ive heard it's being replaced by php which Ill probably get into at a later date and if perl hits a wall with anything. Since you have learnt perl Guru have you needed any other languages to accomplish the things you have wanted to do?
Anyway thanks again
Ill check them links out.
__________________
"once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of 'hot xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour," 'Tis not possible!", i muttered, "give me back my free hardcore!" quoth the server, 404."
|

06-21-03, 09:38 PM
|
|
Community Liaison
|
|
Join Date: Jun 2003
Location: Australia
Posts: 406
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Where did you hear that perl is going to be replaced by PHP ? I can assure you perl is still live and kicking, and widely used.
PHP is just another alternative like half a dozen other languages. You're unlikely to hit a wall with perl.. (well maybe Larry Wall).
Perl can do just about anything.... 
__________________
Chris (aka Skeleton Man)
ProgrammingTalk's Perl/PHP Moderator !
|

06-24-03, 08:49 AM
|
 |
Code Master
|
|
Join Date: Jun 2003
Location: North East England/UK
Posts: 874
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thats good to hear! Really I spent years learning dos C++ then found that everything had been replaced by visual C++ which would take more years to learn how to use that since it has a whole new bible to keywords to learn and a new syntax. Im pleased that you think perl will continue to grow and not be suddenly replaced by somthing else leaving me and you in the mud! Cheers for that confirmation!
__________________
"once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of 'hot xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour," 'Tis not possible!", i muttered, "give me back my free hardcore!" quoth the server, 404."
|

06-27-03, 10:02 AM
|
|
Newbie Coder
|
|
Join Date: Jun 2003
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally posted by Skeleton Man
Where did you hear that perl is going to be replaced by PHP ? I can assure you perl is still live and kicking, and widely used.
PHP is just another alternative like half a dozen other languages. You're unlikely to hit a wall with perl.. (well maybe Larry Wall).
Perl can do just about anything....
|
Perl does everything... PHP was made for Web Development. That is why people choose PHP over Perl for websites. Perl has to run through the CGI interface which slows it down. Perl isn't slow. Infact, it's natively faster than PHP.
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|