Click here to Skip to main content
15,915,093 members
Home / Discussions / Web Development
   

Web Development

 
GeneralPictures on web services Pin
Anonymous1-Oct-04 0:59
Anonymous1-Oct-04 0:59 
GeneralError MySQL Error: 1064 - subqueries Pin
Ovidiu Caba1-Oct-04 0:21
Ovidiu Caba1-Oct-04 0:21 
Questionhow to saves images Pin
Anonymous30-Sep-04 22:07
Anonymous30-Sep-04 22:07 
AnswerRe: how to saves images Pin
Pradeep Shamarao28-Oct-04 19:22
Pradeep Shamarao28-Oct-04 19:22 
GeneralXHTML 1.1 Pin
Jacob Hammack30-Sep-04 21:26
Jacob Hammack30-Sep-04 21:26 
GeneralRe: XHTML 1.1 Pin
Tomas Petricek7-Oct-04 13:03
Tomas Petricek7-Oct-04 13:03 
GeneralRe: XHTML 1.1 Pin
Jacob Hammack7-Oct-04 16:25
Jacob Hammack7-Oct-04 16:25 
GeneralJavaScript Picture Viewer Pin
sefaen30-Sep-04 16:54
sefaen30-Sep-04 16:54 
GeneralRe: JavaScript Picture Viewer Pin
Tomas Petricek7-Oct-04 13:13
Tomas Petricek7-Oct-04 13:13 
QuestionASPX/Perl stepping on each other? Pin
webjunkie30-Sep-04 16:23
webjunkie30-Sep-04 16:23 
Generalpadding style problem... Pin
theJazzyBrain30-Sep-04 9:06
theJazzyBrain30-Sep-04 9:06 
GeneralRe: padding style problem... Pin
benjymous1-Oct-04 0:10
benjymous1-Oct-04 0:10 
GeneralRe: padding style problem... Pin
theJazzyBrain1-Oct-04 1:03
theJazzyBrain1-Oct-04 1:03 
GeneralRe: padding style problem... Pin
benjymous1-Oct-04 1:16
benjymous1-Oct-04 1:16 
GeneralRe: padding style problem... Pin
sefaen3-Oct-04 9:58
sefaen3-Oct-04 9:58 
GeneralRe: padding style problem... Pin
benjymous3-Oct-04 21:37
benjymous3-Oct-04 21:37 
GeneralRe: padding style problem... Pin
sefaen5-Oct-04 11:20
sefaen5-Oct-04 11:20 
General!!PERL!! "Can't locate object method 'connect' via package DBI ....(perhaps you forgot to load "DBI" ?)" Pin
bilas30-Sep-04 7:52
bilas30-Sep-04 7:52 
Hi, everybody. I am beginner in Perl programming and I have the next problem when I try to run my script from shell(in Windows it is cmd.exe). The problem was described in theme. My whole code:
I'll be very thankful for help.
#--My code begins here---------------
#!c:\perl\bin\perl.exe -w

use DBI;
my $dbh = DBI->connect('DBI:mysql:perl:localhost','root','join');
#An error is in the string above

$sth = $dbh->prepare("select * from ever");
$sth->execute;

print "Content-type: text/html\n\n";


&GetFormInput;
#-----------------------Remaining part of code is correct and right-----
sub GetFormInput {

(*fval) = @_ if @_ ;

local ($buf);
if ($ENV{'REQUEST_METHOD'} eq 'POST') {
read(STDIN,$buf,$ENV{'CONTENT_LENGTH'});
}
else {
$buf=$ENV{'QUERY_STRING'};
}
if ($buf eq "") {return 0;}
else {
@fval=split(/&/,$buf);
foreach $i (0 .. $#fval){
($name,$val)=split (/=/,$fval[$i],2);
$val=~tr/+/ /;
$val=~ s/%(..)/pack("c",hex($1))/ge;
$name=~tr/+/ /;
$name=~ s/%(..)/pack("c",hex($1))/ge;

if (!defined($field{$name})) {
$field{$name}=$val;
}
else {
$field{$name} .= ",$val";
#if you want multi-selects to goto into an array change to:
#$field{$name} .= "$val";
}
}
}
return 1;
}

--------------------------------------------------------------------
My folder DBI contains the next modules *.pm:
DBI
DBM
DBD
ANSI
APACHE
FAQ
FILE
GETINFORETURN
GETINFOTYPE
METADATA
MYSQL
NANO
ODBC
PROFILE
PROFILEDATA
PROFILEDUMPER
PROXY
PROXYSERVER
SPONGE

It's clear that's dark.
QuestionHow do I create a single or double ALL black splitter??? Pin
alex.barylski29-Sep-04 8:25
alex.barylski29-Sep-04 8:25 
GeneralRun an exe in ASP Pin
Janaka Vithanage29-Sep-04 0:54
Janaka Vithanage29-Sep-04 0:54 
GeneralRe: Run an exe in ASP Pin
Richard Deeming1-Oct-04 3:01
mveRichard Deeming1-Oct-04 3:01 
GeneralgetAdjacentText emulation Pin
alex.barylski28-Sep-04 11:26
alex.barylski28-Sep-04 11:26 
GeneralNew Web Project - Security Questions Pin
Roger Wright27-Sep-04 20:15
professionalRoger Wright27-Sep-04 20:15 
GeneralRe: New Web Project - Security Questions Pin
sreejith ss nair28-Sep-04 2:36
sreejith ss nair28-Sep-04 2:36 
GeneralRe: New Web Project - Security Questions Pin
Colin Angus Mackay28-Sep-04 2:51
Colin Angus Mackay28-Sep-04 2:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.