Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: kevin197
  • Content: Threads
  • Order by date
  1. kevin197

    Hacked with html on every php page

    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...
  2. kevin197

    Mod redirect

    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...
  3. kevin197

    Save a click

    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...
  4. kevin197

    Isapi rewrite

    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...
  5. kevin197

    Ajax search

    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...
  6. kevin197

    Ajax onclick?

    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...
  7. kevin197

    5 minute delay on printer

    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...
  8. kevin197

    Email not sending

    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...
  9. kevin197

    Multiple where statement

    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...
  10. kevin197

    How can I update in SSIS?

    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.
  11. kevin197

    Sort array of arrays

    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]"...
  12. kevin197

    mssql

    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...
  13. kevin197

    Reading data dumper output

    I've got a output from data dumper of $VAR1 = [ [ 'a', 'href', '/amtu/production/reports/' ], [ 'a', 'href', '/amtu/production/reports/old_reports/ORDER82701764.xml' ], [ 'a', 'href', '/amtu/production/reports/old_reports/ORDER82748444.xml' ], [ 'a', 'href'...
  14. kevin197

    Perl premissions

    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...
  15. kevin197

    form post runat server

    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"...
  16. kevin197

    Help needed with matching

    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...
  17. kevin197

    Moving from windows NT to windows 2003 server

    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?
  18. kevin197

    Sprintf format

    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?
  19. kevin197

    Getting a hash value

    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...
  20. kevin197

    Lwp and enctype

    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...

Part and Inventory Search

Back
Top