hi, my server has been hacked and I think I have removed everything now apart from I get some html code at the top of every index.php page on the server.
index.html and anyname.php files are fine so it's just index.php files in any directory on any site on the server.
I'm thinking this might...
I am trying to use mod redirect for the first time and finding it a bit confusing.
I would like the url page.cgi?part=12345 to become /1/12345.html
and page.cgi?part=GHF426 to /G/GHF426.html
How can I do this with the first char as a directory or would I be better off to just leave the first...
This a mix of asp.net, ajax and javascript.
I have a search box for product codes on the site where people can type in what they are looking for. After the first 2 letters have been entered the ajax brings up a drop bown box for searches starting with them letters.
You can then click the...
Hi, I am trying to rewrite some urls on a windows server and if I can get my head round a basic one I should be ok writing the other rules I need.
The url I have is:
http://www.mydomain.com/Level1.aspx?Grp1Code=01&Grp1Desc=keyword
The url I am after is:
http://www.mydomain.com/keyword...
I've been told I'd get more help here than on the ajax tread so here goes :)
I have a search box that works fine using ajax by clicking on the suggested search term it brings up and then clicking the go button.What I'm looking for now is to make this a one click process instead of two.I would...
I have a search box that works fine using ajax by clicking on the suggested search term it brings up and then clicking the go button.
What I'm looking for now is to make this a one click process instead of two.
I would like the search to trigger once the user clicks on the suggested term instead...
I am getting a 5 minute delay when re-print a document.
I can print fine the first time but if I try to print again after it waits 5 minutes. It waits the same amount of time each time.
It's the same problem as http://answers.yahoo.com/question/index?qid=20080514200838AAqt9tZ
I've tried...
I'm not very good with ASP.NET I normally code in perl on unix so here goes...
I'm trying to get a form to be processed by a ASP.NET script and it email the forms fields to me.
I've got the script working on a windows server at work but can't get it working on a names.co.uk server.
This is...
I'm trying this:
my $sth = $dbh->prepare( "SELECT count(*) FROM quotesgiven WHERE quotenumber = $info[0] and quotedby = $username" );
$sth->execute or print("Cannot execute statement!<br>".$sth->errstr);
my $rs = $sth->fetchall_arrayref();
my $count = $rs->[0]->[0];
But I'm getting the...
I've wrote the package and have one XML source that goes to 4 Data Conversions and the each data conversion writes to a different sql table.
Everything work great apart from I don't want it to insert the data into sql I want it to update.
Can I do a update instead and if so how?
Thanks.
I'm trying to sort my array of arrays using the following code but it doesn't seam to be working. Any ideas why anyone?
# assign to our array, an array of array references
@AoA = (
[ "$price[0]", "$postage[0]", "$condition[0]", "$seller[0]" ],
[ "$price[1]", "$postage[1]"...
How do I connect to a mssql database running on a windows machine from perl running on a unix machine?
I use
$dbh = DBI->connect('DBI:mysql:database', "$mysqlusername", "$mysqlpassword"),{RaiseError => 1};
for mysql
I'm getting confused with everything I've been reading on the net about it...
I've wrote a perl script for writing a few pages to different account on my cpanel server. The problem is the perl script is on one account and it will not go back past the public_html dir. I need it to go back to any other users account on the server so I can write the pages there.
I tryed...
I'm trying to change the html on a form that at the moment is going to a ASP.net script. All I want to do is change the form to go to a perl/cgi script.
At the moment it's
<form id="Form1" method="post" runat="server">
and I want to change it to
<form name="form1" method="post"...
I'm trying to do something if I match a string to part of a string
$cdsowned = "ABD001,ABD002,ABD003,ABD004,ABD005,ABD006,ABD007,ABL1A";
and
$row[0] = "ABD003";
I've got this code but it doesn't work for some reason
if ($cdsowned =~ m/"$row[0]"/i) {
DO THIS
}
Also, how would I make it...
I'm looking at getting rid of our NT machine which is running the domain controller and putting it on a machine running windows 2003 server. What would be the best way to do this without breaking anything? Also, any hints or tips for things to watch out for?
I'm trying to get my price like 99.99 to have spaces at the front to pad it out to 10 bits.
I tryed this
$netprice0 = sprintf ('%10d.%2f',$netprice0);
But get
99.0.000000
I'm after " 99.99"
Can anyone help?
My problem is the same as posted at
http://www.tek-tips.com/viewthread.cfm?qid=1399324
However, although the post was very helpfull I still can't pull my data.
So far the perl code I've got is
#!/usr/bin/perl -w
# include package
use CGI::Carp qw( fatalsToBrowser );
use CGI':standard';
use...
I'm trying to submit some form data to a script using lwp.
I've got it working for one site using POST instead of get but the other site isn't working.
The only differance I can see is that is uses enctype
<form action="submit.cgi" method="post" enctype="multipart/form-data">
How would I...
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.