Web programming - new questions and answers


Sync Effect using jQuery based Ajax/PHP?


I'm building a groceries application that allows for syncing with other members in your family who are part of a 'family'
Continue reading

php - Which is the most seo-friendly way to detect browser language and redirect 301 to home page


I have a {-code-1}page, I want to detect client browser's language then make a 301 home page or other thing. but
Continue reading

php display image


I am not able to display image using this code. Could any one help me in correcting? {-code-1} :::<?php include("connect.php"); $sql="select
Continue reading

php - Why does mySQL return 0 results on my LIKE query?


This is my query {-code-1} I have a record already with the values {-code-2} It just returns 0 results. Clearly I don't want to
Continue reading

PHP -JavaScript : Monitor changes of a file


I'm still new to PHP/Javascript.I've made a simple Clock program in Javascript successfully. Now i have a file ( and the file
Continue reading

linux - change directory permission (chmod) in php


I have googled but I can't seem to get my script to work. this is my code {-code-1} I can't seem to get the
Continue reading

mysql - Using PHP & cron how can i inform a user that he has got 15 days more left to pay his amount?


DueDate Table structure src="https://i.stack.imgur.com/Pc05N.png" alt="enter image description here"> my query here is how to check automatically in php that a user has
Continue reading

parameters - php, I cant pass an array as reference


this is the function: {-code-1} now I need to do this: {-code-2} but that fails. Another way: {-code-3} it drops an error: Can't use function return value
Continue reading

php get for POST or use value


I have a php function which gets a value from previous page but I want to have an existing value just
Continue reading

How to put permission or SSL connection in php? HTTPS PHP fopen/fwrite to CSV


I have an HTML form hosted on HTTP, and use PHP to open/write the data to existing CSV. Now I need to
Continue reading