Questions tagged php

Explore the latest questions and answers asked by our top developers.

Facing CORS policy issue

I facing and issue Access to XMLHttpRequest at ‘http://demo.equalinfotech.com/Iadiva/images/product/1634623781ladiva_barbara_01.glb’ from origin ‘http://localhost:8100’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. I build a app on IONIC on that app I want to display 3D images and for 3D images I am using .glb format I am using backend […]

Stay logged with php session & angular

I’m trying to make a login system on angular with a PhP backend. When people login, this is the PhP script called : // here check for good request $account = // found the account thanks to PDO $accountId = $account["id"]; session_start(); $_SESSION["accountId"] = $accountId; setcookie("accountId", $accountId); Then, when I want to get informations according […]

Modal did not show data for editing

i am new to angularjs, so i am working on a project and i used modal to edit some data. The Modal opens but it should show my data in the inputs for editing.There is no errors showing in the console. here is my profile.html <div class="row" style="margin-top: 50px;"> <div class="col"> <div class="card mb-3"> <div […]

By M hamed bdel zim
Published
Categorized as angularjs, css, html, javascript, php Tagged , , , ,

How to fix CORS Error fix Angular and PHP

i’m trying to learn Angular by building a solution which communicates with an IIS Server running on PHP as an API. The IIS runs with Windows Authentification to identify the user. The IIS/PHP combination works. PHP: <?php header("Access-Control-Allow-Origin: *"); header(‘Access-Control-Allow-Credentials: true’); echo ‘<pre>’; print_r($_SERVER[‘REMOTE_USER’]); A direct call of this prints out my domainusername For angular […]

By Bob
Published
Categorized as angular, cors, iis, php Tagged , , ,

How to access smart credit 3B report API in Angular Or NodeJs Or PHP? [closed]

I tried to access through Nodejs, Angular and PHP but got error Angular 10 : Response to preflight request doesn’t pass access control PHP & NodeJs : Everytime same response -> {status : true} ————–Login API Request—————— var myHeaders = new Headers(); myHeaders.append("Authorization", "Basic bGV2ZWx4c*******************"); myHeaders.append("Content-Type", "application/x-www-form-urlencoded"); myHeaders.append("Cookie", "PID=; TRACKING=23335c3e*********; AWSELB=B9130D2D148E7E2A3BACAE4393BDC54AC658302830EBAE2D87495059808612B2C93EFA18C77003102F2E3F7BA12C89654E6C96378CEDD840D550BA74E33F0BB4C54CBDE566851CFBF2593A2EC20F176702A5A280BD; JSESSIONID=94CB23AE826782840F705395C23E239E; PID=*****"); var urlencoded […]

By Vrajesh Savaliya
Published
Categorized as angular, consumer, javascript, node.js, php Tagged , , , ,

How does angular projects run in Web hosting with no support of NodeJS?

I have website script which is made using angular, I purchased it from themeforest. Seller gave me source code and website files. Website files are full of PHP files but source code is made using nodejs, typescript and angular. But when I see in website files, I only see PHP with no nodejs in them. […]

By Venkat Lohith Dasari
Published
Categorized as angular, node.js, php Tagged , ,

How to google sign in with .htaccess

Hello i am having a problem in my project. Google sign in doesnt work and i am pretty sure its a .htaccess thing because it doesnt work because i have changed the .htaccess file. This is the .htaccess file i have now. RewriteEngine On #RewriteBase /api/ Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type" Header add Access-Control-Allow-Methods […]

By Cine Asteria
Published
Categorized as .htaccess, angular, apache, php Tagged , , ,

Sending failed: Http failure during parsing for https://

I am trying to send form data to an email account with Angular 12 and PHPMailer. Every time I send the data I get this error in console: "Http failure during parsing for https://….". I think it has to be something with my Angular service. For example, Do I have to set the response type […]

PHPMailer Notice: Undefined variable

I am sending an email from a form using PHPMailer and Angular, but I get an error log every time I send the data: PHP Notice: Undefined variable: name, email and message. Therefore, I get the mail in my email account, but it has no data from the form. My html inputs already have the […]

I want to deploy my Angular(UI) PHP(backend) app to particular domain

I am very much confused could you please help me to live my application. I have developed an app which is in Angular(frontend app) and Backend is in CodeIgniter PHP both have Separate files I wanted to upload all the code into GitHub repo and want to do daily check-ins once every thing set up […]

By ImranShaik
Published
Categorized as angular, deployment, php Tagged , ,
1 23

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq