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 8713393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:20:05+00:00 2026-06-13T05:20:05+00:00

in one of my front end PHP files im doing this in my Jquery

  • 0

in one of my front end PHP files im doing this in my Jquery :

var name = $('#core_name').val();
var param = {};
        param['name'] = name;
        $.ajax({
            url:'../back_end/user.php/verify_name',
            data:param,
            type:'POST',
            success:function(result){
                alert(result);
            }
        });

In my back_end/user.php im doing this :

<?php
class User{

    function index(){
        //for now do nothing  
    }
    function verify_name(){
        echo "here";        
    }
}
?>

Why cant i alert “here”, what is it that iam doing wrong ?
Firebug detects no error , so the file user.php has correct path (no 404 error) why cant i reach the function verify_name ?

  • 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-13T05:20:06+00:00Added an answer on June 13, 2026 at 5:20 am

    You need to instantiate the User class and call verify_name() on back_end/user.php.

    You can do this adding the following to back_end/user.php:

    $user = new User;
    $user->verify_name();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a double question in terms of front end usability and PHP DATE_TIME
Suppose I make an AJAX HTTP Request from jQuery to a back-end PHP script
I was thinking about creating an iPhone app front end for one of our
We work on an internal corporate system that has a web front-end as one
I've just noticed that my app is including over 148 php files on one
I've built one variable (horaires_lundi) in this file : app/code/community/Unirgy/StoreLocator/controllers/Adminhtml/Locationcontroller.php ->setTitle($this->getRequest()->getParam('title')) ->setNotes($this->getRequest()->getParam('notes')) ->setStreetAddress($this->getRequest()->getParam('street_address')) ->setHorairesLundi($this->getRequest()->getParam('horaires_lundi'))
I am currently working the front-end on a website. I am using jquery in
I am in the process of making a Javascript(Front end, PHP back end) game.
I have a very simple textbox in a front end application (like php although
I used jquery validation for front-end data validate. But i need to do validate

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.