Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8063603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:05:52+00:00 2026-06-05T11:05:52+00:00

In my php $t_keyword= $_GET[‘user’]; in setting file I want to use in http://www.domain.com/index.php?user=

  • 0

In my php

$t_keyword= $_GET['user']; in setting file

I want to use in http://www.domain.com/index.php?user=“Roni”
after run above url ajax not work but if I set in setting file $t_keyword= 'roni';
its work

how to work http://www.domain.com/index.php?user=“Roni”

my code index.php

<?php require 'settings.php'; ?>
<html>
    <head>
        <title></title>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
        <style type="text/css">
        #fetched-torrents span{float: left;height:20px;}
        #fetched-torrents div span:nth-child(even){background: #c0c0c0;}
        #fetched-torrents div{float:left; clear: both;}
        .t-link{width: 100px; overflow: hidden;}
        .t-name{width: 300px; overflow: hidden;}
        .t-size{width: 150px; overflow: hidden; text-align: right;}
        .t-se{width: 110px; overflow: hidden; text-align: right;}
        .t-le{width: 110px; overflow: hidden; text-align: right;}
        .t-ve{width: 100px; overflow: hidden; color: green;}
        </style>
    </head>
    <body>
        <script type="text/javascript">
        function search(){
            $.ajax({
                url: 'search.php',
                beforeSend: function(jqXHR){
                    $('#status').html('<img src="images/loading.gif" width="16" height="16" alt="+" />');
                },
                success: function(data){
                    if(data.error!=undefined){
                        $('#status').html(data.error);
                        return;
                    }
                    $('#status').html('');
                    var t_displayed=0;
                    for(var x in data){
                        if(data[x].ver==0){
                            continue;
                        }
                        if(t_displayed>=t_max){
                            break;
                        }
                        t_displayed++;
                        $('#fetched-torrents').append('\
                            <div>\
                                <span class="t-link"><a href="'+data[x].hhss+'">a</a></span>\
                                <span class="t-name">'+data[x].saas+'</span>\
                                <span class="t-size"> '+bytesToSize(data[x].ssa, 2)+'</span>\
                                <span class="t-ss">'+data[x].sff+'</span>\
                                <span class="t-lss">'+data[x].dff+'</span>\
                                <span class="t-ves">Veris</span>\
                            </div>\
                        ');
                    }

                },
                dataType: 'JSON'
            });
        }
        var t_max=<?php echo $t_max;?>;
        $(function(){
            search();
        });
        </script>
        <div id="status"></div>
        <div id="fetched"></div>
    </body>
</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T11:05:53+00:00Added an answer on June 5, 2026 at 11:05 am

    after add after url my problem solve 🙂

            $.ajax({
                url: 'search.php',
                data: 'user=<?php echo $keyword;?>',
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's a part of my .php file: <html xmlns:fb=http://www.facebook.com/2008/fbml xmlns=http://www.w3.org/1999/xhtml> <head> <meta content=IE=8 http-equiv=X-UA-Compatible>
I have a generic index.php that uses $_GET variables to display different pages, but
these are the rewrite rules I normally use for clean urls, RewriteRule ^([a-zA-Z0-9\-]+)/?$ index.php?pg_url=$1
I'm using this JQuery autocomplete plugin http://www.devbridge.com/projects/autocomplete/jquery/ in my project. I followed this tutorial
I want to make a PHP script that takes a PHP GET variable $_GET[q]
I don't use php or mysql but I am trying to upgrade a phpbb
Why doesn't this PHP PDO snippet work? $DBH = new PDO(mysql:host=$host;dbname=$dbname, $user, $pass); $STH->bindParam(':fftb',
I'm trying to resolve a hostname in PHP and can't use the builtin gethostbyname
I'm trying to use something along the lines of unexpand -t 4 *.php but
Here's what I'm trying to do using the Wikipedia (MediaWiki) API - http://en.wikipedia.org/w/api.php Do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.