2,986 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for jLamp

I am using the following code to check the user permission (User Role). This is to check whether the user is logged in or not <?php session_start(); if (!isset($_SESSION["username"])) { echo '<script>window.location.href = "userLogin/?notloggedin=true";</script>'; } ?> This is to check whether is an admin or not <?php session_start(); if ($_SESSION["user_group"] …

Member Avatar for alan.davies
0
333
Member Avatar for aveeva7

My code about filterable audio searching, here how can i add Add-To-Cart functionality? code : index.php <?php //index.php include('database_connection.php'); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Voice Repository</title> <script src="js/jquery-1.10.2.min.js"></script> <script src="js/jquery-ui.js"></script> <script src="js/bootstrap.min.js"></script> <link rel="stylesheet" …

0
327
Member Avatar for anis_1

Hi i'm Anis. I want to ask how i can attach image from database in FPDF?

Programming c++ database mysql php
0
289
Member Avatar for dongtrien

I am making a small example of adding, editing, deleting and saving the treeView directory tree into the SQL Server database, what must I design to store in the database and write code ?

0
277
Member Avatar for Rushabh Verma

Here's the task - I have an input field where I can enter a text and I would like to replace the occurrence of Vowels with numbers eg (A,E,I,O,U - 1,2,3,4,5) and add 'a' to all the other consonants eg - The input field takes in 'Victor as an input …

Member Avatar for Dani
0
276
Member Avatar for samreen_4
Member Avatar for ok

Halli Hallo i hope im at the right Place. I want to get started with API-Gateway(s). Currently im running 5 Microservices written in Java (Spring-Boot) deployed via Docker. Each Microservices is protected via Keycloak. I want to use a API-Gateway so that i can combine every MS into 1 Link: …

Member Avatar for Dhiraj_4
2
8K
Member Avatar for designershiv

Menu sub links overlapping when select box opens , how to fix this Check this below link for reference http://i.stack.imgur.com/lCCWO.gif

Member Avatar for Sujay808
0
3K
Member Avatar for alvislim1120

I am trying to create a program can read marks of 10 student for different marks using **C program** but when I debug the output that shown was not the value that I input before, it keeps showing 7 digit value. Need someone advise, what is the misstake of my …

Programming
Member Avatar for alvislim1120
0
3K
Member Avatar for jonlloydd

Receiving error - Warning: Missing argument 4 for Get_All_Orderlines_Range(), called in /home/download/domains/1ecommerce.com/public_html/dev/_cms/list_orders.php on line 184 and defined in /home/download/domains/1ecommerce.com/public_html/dev/_cms/list_orders.php on line 161 Line 161: function Get_All_Orderlines_Range($id, $all = "", $from_date, $to_date){ $sql = "SELECT * FROM orders"; $sql .= " INNER JOIN orderline on orders.OR_ORDER_NO = orderline.OL_ORDER_NO"; $sql .= " …

Member Avatar for imaaxa
0
2K
Member Avatar for herdhemhola

I am a beginner to php and am designing student information system where students need to enter 9 subject and its corresponding grade based on the number of sittings. Is there any better way to do this apart from what I have been doing? These are my codes: <form name="register" …

Member Avatar for rproffitt
0
706
Member Avatar for Gloak

I have an application that has core PHP for the signin, registration, dashboard. It has a front end and backend (dashboard). Simple stuff. I need to implement a Scheduling system and [EasyAppointments](https://easyappointments.org/) (EA) has 90% of the stuff I need. EA uses codeigniter and requires login. It has it own …

Member Avatar for Dani
0
518
Member Avatar for Rushabh Verma

Socket error shown. public Communicator(IPAddress toconnectto) { this.toconnectto = new IPEndPoint(toconnectto, port); local = new IPEndPoint(Tools.GetIp(), port); all = new IPEndPoint(IPAddress.Any, port); udpClient = new UdpClient(AddressFamily.InterNetwork); udpClient.Client.Bind(new IPEndPoint(Tools.GetIp(), port)); udpClient.AllowNatTraversal(true); udpClient.EnableBroadcast = true; } public void SendData(string data) { try { byte[] bdata = ASCIIEncoding.ASCII.GetBytes(data); udpClient.Send(bdata,bdata.Length,toconnectto); } catch(Exception ex) { …

Member Avatar for JamesCherrill
0
478
Member Avatar for Simona_1

Hello, I am making a website ... I have a body class with background color, and a div container inside that has some content. What I want to do is to make the background clickable, and when you click it it should redirect to another page. In other words, I …

Member Avatar for gentlemedia
0
415
Member Avatar for Retrojay17

Using loops, write a C# program that asks the user to enter repeatedly an integer number, it stops when the user enters -1, then the program should display how many numbers were entered, their the sum and their average.

Member Avatar for rproffitt
0
362
Member Avatar for Ben_33

<?php require_once('../vendor/autoload.php'); if (!isset($_POST["cart_payload"])) { echo "PAYLOAD NOT SET"; } $items = json_decode($_POST["cart_payload"], true); $line_items = array(); foreach ($items as $item) { $line_items[] = array( $target = 'images/'; $target = $target . basename( $_FILES['image']['name']) 'name' => $item["title"], 'image' => $FILES["image"], 'amount' => $item["price"]*100, 'currency' => 'gbp', 'quantity' => $item["quantity"], ); …

Member Avatar for rproffitt
0
360

The End.