Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Edit send url

  1. #1
    New Coder
    Join Date
    Sep 2005
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Edit send url

    Okay I got this gmail style username checker to check if a username exists in database from (http://www.cyberdummy.co.uk/test/username-ajax.php). Now I have successfully implemented this script into my website (http://eckxmodsservers.com/signup/1).

    Here is the problem. The url (http://eckxmodsservers.com/signup/1) is masked with htaccess and this script will only work with the original url ex: somefile.php. Can someone look at the code that can be found at (http://www.cyberdummy.co.uk/test/username-ajax.php) and tell me if I can use my masked URL for this function to work? Any help is greatly appreciated.
    ForumLaunch Staff: We post on your forum

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,037
    Thanks
    0
    Thanked 250 Times in 246 Posts
    Try setting the Referer header to a valid url.
    Code:
    x = sajax_init_object();
    x.open(sajax_request_type, uri, true);
    x.setRequestHeader("Referer", "url");


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •