search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

P粉356361722

P粉356361722

Follow
student

Follow 0
fans 0
integral 0
Copy rows from one table to another, ignoring duplicates

I have 2 tables (srcTable1 & destTable) that have identical schemas. I am trying to copy all rows from srcTable to destTable and ignore the duplicates. I thought I could just add a W

2026-01-10 22:01:08Ask
MySQL
Certain Unix commands fail with "... not found", when executed through Java using JSch

I have a piece of code which connects to a Unix server and executes commands. I have been trying with simple commands and they work fine. I am able to login and get the output of t

2025-12-08 19:01:21Ask
Java
MySQL trigger statement fails on variable assignment

The following is the definition of the patient table: PatientstableColumns:PatientIdintAIPKFirstNamelongtextLastNamelongtextEmaillongtextNIClongtextPhonelongtextAddresslongtextCitylongtextCountrylongtextDOBdatetime(6)GenderlongtextReferencelong

2024-04-02 15:58:14Ask
MySQL
My computed property loads before the VUEJS/X data template loads

First of all, I'm sorry for my bad English, I'm using a translator. I'm a beginner to VUE and VUEX and there are definitely huge bugs. I'm having a problem using VUE, currently I'm trying to display publications based on their ID. This is my data: data(){return{list:[this.$store.dispatch('allPublications')],id:'',feed:'',}}, and this is my store operation: publicationId: ({commit},mes

2024-03-29 17:39:55Ask
Vue.js
Select/extract nodes of html/text from HTML using CSS selectors

Let's say I'm writing a node script that uses fetch to retrieve html page content into variables. Now I have a CSS selector for something like this. How can I use this to extract html and/or text content recognized by CSS selectors. If there is an existing tool/package that I can leverage, please give an answer on two levels: Pure CSS selector based jQuery based tool

2024-03-19 19:41:22Ask
HTML
Why can't PHP see the uploaded file?

I have an index.php and upload.php. In index. is a formaction="upload.php", which contains inputtype="file"id="file"name="file" tag. The PHP code is: <?php$file=$_FILES['file'];print_r($file);echo&

2024-01-16 17:07:02Ask
PHP
Google Analytics Data API v1: Execute runReport and retrieve only JSON data

Currently I'm trying to get json data from GA4 using GoogleAnalyticsDataAPIv1. However, the response returned is not pure json data, instead if I just print it using PHP it gives me {}. However, using predefined methods we can get the value. Is there any way to get pure json data? <?phpputenv('GOOGLE_APPLICATION_CREDENTIALS=xxx.json');require_once've

2023-12-13 17:37:47Ask
PHP
Safely assign untrusted input to CSS custom properties without JavaScript: A guide

Let's say I have an object of string keys and string values, and I want to write them as CSS custom properties into some server-generated HTML. How can I do this safely? By safe I mean that if possible, custom property declarations should not cause CSS syntax errors that prevent the browser from correctly parsing other style declarations or parts of the HTML document. If for some reason this is not possible, the key-value pair should be omitted. More importantly, this should make cross-site scripting impossible. For the sake of simplicity, I will limit the keys to only allow [a-zA-Z0-9_-]

2023-09-06 22:32:52Ask
CSS3
How to make an element stick to the bottom of the page when scrolling up?

What I'm trying to accomplish is something like this: https://imgur.com/a/YFcfO3N Basically, I want a menu at the bottom of the page that sticks to the bottom of the page when you scroll up.

2023-09-06 12:51:37Ask
CSS3
CodeIgniter 3 session lost when regenerating session ID using Memcached driver only

I'm developing a long running project using the CodeIgniter3 framework. For several months we have been experiencing issues with sessions being randomly lost. I have updated the framework files to the latest version (3.1.13). It looks like this fixed the issue on the development server, but in production it still exists. But I noticed that now this only happens when the response sends a new session cookie, which happens when the session id is regenerated. When I change $config['sess_time_to_update'] it correctly reflects the required time.

2023-08-31 17:14:45Ask
PHP