Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged PHP

0 votes
1.8k views
1 answer
    In Woocommerce, I want to offer free shipping based on the number of cart items. First, I began looking at the available plugins and I can't find any ... to pop up in the future. Have any suggestions? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    First, relevant code: View <div id="search"> <?= form_open('sheet/search') ?> <?= form_input('search_query', '', 'id="search_query" placeholder="Search Sheet ... txt) RewriteRule ^(.*)$ /index.php/$1 [L] See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    I am trying to run CodeIgniter (2.14) on Ubuntu 13.10. I have put the files in "var/www/CodeIgniter" but when I enter the directory from ... for this. All help is appreciated and considered constructive. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    I have a login screen in which the user inputs their username and password. I managed to connect to the database using PDO but I have to change it to mysqli. ... />"; exit(); } ?> "Waiting for localhost" See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.1k views
1 answer
    I'm using CI latest version. Got error while uploading a JPG files. I use the code from here https://www.codeigniter.com/userguide3/libraries/ ... attempting to upload is not allowed. Any idea? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    Im very new to php and my SQL, and am having trouble connecting to my SQL Database. Im getting the following error when i submit my HTML ... more than happy to provide additional information if requested. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    I have read somewhere here that using prepared statements in PDO makes your app only immune to first order SQL injections, but not totally immune to second ... =? delete: DELETE FROM posts WHERE userID=? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    Just to first clarify, I know there are better ways to do this, but I'm determined to experiment. Basically, I'm trying to grab an image from a form ... , is that the current setup doesn't work at all. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    I'm running into a bit of a weird issue in PHP using shell_exec to run git commands. This is a brand new image of Ubuntu 16.x LTS with only a copy of ... Lamp 5.6.21, or is this an issue with my setup? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I created a mySQL database with phpMyAdmin in my local server. In this database I store the names and the favourite NBA teams of my friends.This is ... in MySQL before the data are retrieved with PHP. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I am trying to authenticate users in my Laravel application. I am encountering the following problem: using driver database in auth.php: I can login using ... auth::check() fails no error on the filter See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    I can't figure out how to add 10 minutes to a time I am getting from mysql database the field structure is datetime. Current code $nowtime = date(' ... the user trying to login again! Thanks for your help See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    UPDATED: Changed code to the now working class code using PDO instead of deprecated methods The original question was answered and the problem is solved. Phil ... projects I am planning to use this in. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    How i can copy one file from one directory to another directory using php See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    Currently I've been using http://www.geoiptool.com/ but I can't get the local time. I don't know what to do to get the local time. Can someone ... app and I try to display IP in location + local time. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.9k views
1 answer
    hi i am javascript newbie. I have checkbox that slideDown other input , i want to keep that checkbox checked and the other input showed after refreshing the ... ?>" /> This working perfect thx again all. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    I am trying to install ssh2 on xampp Xampp version : 3.2.1 PHP version : 5.4.19 Until now I have used following step to install: download ... dynamic library php_ssh2.dll Can anyone help me with this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    Using PHP, JS, or HTML (or something similar) how would I capture keystokes? Such as if the user presses ctrl+f or maybe even just f, a certain function ... why this is not working in either IE or FF. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    I am trying to create a message that shows up when login.php?e=1 on the login page: /login/. The issue I am coming to have is that in codeigniter ... $this->generic->getOption('block-msg-out'); } endif; See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    I have this code: $stock_status = $variation_obj->get_stock_status(); $stock_qty = $variation_obj->get_stock_quantity(); if( $stock_qty>0 ) return $term_name .= ' ... any effect. Any help please? Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    I have a Woocommerce store with more than 1000 products. I would like that all products which have a price below 999 should be shown on a separate page, so I can tag that Page in my menu. Is it possible? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    I'm using Slim v4 for a little arduino components API. When I do a POST call over my controller, I get an empty request body without the ... /tree/feature/register-temp-humidity Thanks in advance ! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    I am facing a problem, a valid JSON string cannot become a JSON object. I have tested the response coming from the server, it is a valid JSON. I ... yes"} It seems that there is a invisible character . See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.3k views
1 answer
    I'm trying to get Thai characters from a website. I've tried: $rawChapter = file_get_contents("URL"); $rawChapter = mb_convert_encoding($rawChapter, 'UTF ... all combinations of this stuff and no success. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I know this may be a silly question, but I come across a snippet of php code that check if the $_POST is_array() before execute other functions. Now I ... or not? is this check really needed? and why? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I have a shared hosting with OVH(France) and i have the "Let's Encrypt" certificate for my domain. however, i looked everywhere for redirecting all ... hosting server (just user access with ssh) Regards, See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
3.5k views
1 answer
    I was just wondering the best way/practice to implement menus, headers and footers with changing content such as notifications using codeigniter. For ... the content and displays the view accordingly. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    This is the sanitization function used in a book I recently learned from - Sams Teach Yourself Ajax, JavaScript, and PHP All in One. I've ... = stripslashes($var); return mysql_real_escape_string($var); } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
...