Skip to main content

Questions tagged [php]

PHP is an open-source, multi-paradigm, dynamically-typed, and interpreted scripting language designed initially for server-side web development. Use this tag for questions about programming in the PHP language.

php
0 votes
0 answers
6 views

Verify Google auth token obtained from Firebase via Google Sign in Method?

I'm using the firebase wrapper cordova-plugin-firebasex but I don't think it should matter. I have set in my firebase project, Google as sign-in method and created a Web Application Oauth credentials ...
Eric's user avatar
  • 10.3k
-1 votes
0 answers
10 views

i convert integer as hex to decimal in PHP but it gives me float, how to solve it?

when I try to convert this Hex: 780000465257A7054F5180E46C000100004652 to a decimal number, it should give me this decimal value: 2676089517297180626710225817179225498977322578, you can try that using ...
momo's user avatar
  • 71
0 votes
0 answers
7 views

Send an email via PHP using third part services mailjet

I want to send an email via my localhost PHP after a specific action is completed. In the given code, I am testing emails statically to check if it works. I tried this code: <?php require_once &...
Sally Zoughaib's user avatar
0 votes
0 answers
10 views

GuzzleHTTP requestAsync Custom Timeout Not Working

I create a client object with GuzzleHTTP and use the requestAsync method. I don't have any problems so far. However, I set the options timeout value to 60 in RequestAsync and experiment. However, the ...
nrkdrk's user avatar
  • 78
0 votes
0 answers
4 views

How to retrieve file/image from one project to another project in codeigniter php

I am new to php codeigniter, Am tring to get image dynamically from one project to another project codeigniter. Below are the project urls. C:\xampp\htdocs\newproject\ C:\xampp\htdocs\oldproject\ ...
Praveen's user avatar
  • 19
-1 votes
0 answers
25 views

i want to change the upload_max_filesize=50M in my laravel project deployed on ms Azure

Any one did laravel deployement on MS Azure? i need a small help. i want to change the upload_max_filesize=50M to upload large file. but i can't find it. i follow the official documentation. here is ...
Muneeb ur rehman's user avatar
-8 votes
0 answers
39 views

Programming language comparison [closed]

I am newbie in web dev, How can I compare Java, PHP, JavaScript, C#, and Go, what aspect I need to compare, hơw can I demonstrate that comparision, and what resources are available to help ? Ìf you ...
ducanh's user avatar
  • 1
0 votes
1 answer
8 views

Nginx - Wordpress redirect

I have one problem about the redirecting I want to make redirect to example.com/product-bag.html to example.com/product-bag I want to redirect but not affect the website's keywords in Google. What I ...
mca's user avatar
  • 1
0 votes
0 answers
19 views

Not able to get iteration in curly codes or php correctly

I have uploaded images as follows: image 1 (an image is uploaded) image 2 (no image is uploaded) image 3 (an image is uploaded) image 4 (no image is uploaded) image 5 ...
Meng888's user avatar
  • 31
0 votes
0 answers
11 views

Yet another AdvancedMarkerElement marker question - They are not showing

Hi all new here and sort of new to JS. I have an app that's been in use for 10+years and still being used. It in PHP/Mysql/JS and uses GM for delivery locations. I thought I'd upgrade it to the ...
Tastech72's user avatar
0 votes
1 answer
19 views

Cannot retrieve serialized checkbox array data in PHP from ajax send

I am having difficulty retrieving my checkbox array data in my called PHP from an ajax send of a serialized form. I can call up all of the other form fields, but not the checkbox array. Can anyone ...
Barry Beach's user avatar
-1 votes
0 answers
12 views

SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'id22391083_lodevil25'@'%' to database 'information_schema'

y una disculpa si no escribo en inglés, ya que no es bueno mi inglés, en concreto: estoy usando webhost000 y estoy haciendo uso de su base de datos phpMyAdmin, siguiendo el tutorial de un chico [ ...
Ks IBE's user avatar
  • 1
1 vote
1 answer
23 views

PHP-ZIP extension is missing on your server. Please install the extension

I have that error in this part of the code: ` if (!extension_loaded('zip')) { return Reply::error('<b>PHP-ZIP</b> extension is missing on your server. Please install the ...
José Vicente López Delgadillo's user avatar
2 votes
0 answers
22 views

File() only returns one array element [duplicate]

I'm trying to read a copy of my servers firewall deny list into an array but only one array element is returned. Here is a part of the list: 46.229.168.0/24 # {do not delete} - Thu Nov 14 01:23:31 ...
user3052443's user avatar
0 votes
0 answers
20 views

Can I get one directory above __DIR__ in a constant expression?

What I would like to do is this: const LEVEL_UP = dirname(__DIR__).'/templates/'; But dirname is a runtime function and cannot be used in a constant expression. Fatal error: Constant expression ...
Nick's user avatar
  • 11.2k

15 30 50 per page
1
2 3 4 5
97740