199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for En-Motion

I have Apache and PHP installed on my computer. I have an index.php file in my htdocs folder. When I call localhost I get the contents of my htdocs folder in an Index of / page. However if I type localhost/index.php the page loads OK. In my httpd.conf file DirectoryIndex …

Member Avatar for mattrock
0
2K
Member Avatar for FarrisFahad

I am looking to develop my skills as a web developer. I want to find new challenges that can help me do that. Do you know any resources that can help?

Member Avatar for myra
0
297
Member Avatar for anam_2

I got an Assignment to sort a Randomized Dynamic 2D Matrix of Integers , Snake style : for Example : biggest number in row 0 , after it follows (beneath it , vividly) the next number : 1 2 3 4 5 10 9 8 7 6 11 12 13 …

Programming
Member Avatar for Dani
0
245
Member Avatar for overwraith

I would like to be able to open a port on windows programatically. I don't care whether is power shell, or something else, but I would like it to be a script that I can simply run as I install a software program. I have no experience in this area, …

Member Avatar for rproffitt
0
958
Member Avatar for shivubs

hiii i need your help, i am web developer (fresher). i want display images from database/folder using ajax in codeignater. i try ur source code not working.

0
438
Member Avatar for Addison111

I have some problems when working with Win32 api. 1. Changing the text and background color of a button doesn't take effect. My code: case WM_CTLCOLORBTN: COLORREF colorref; colorref = RGB(0,0,255); HBRUSH hBrushBtn; hBrushBtn = CreateSolidBrush(colorref); return ((LRESULT)hBrushBtn); break; 2. How do I create selectable text. My code: text = …

Member Avatar for tinstaafl
0
315
Member Avatar for 1981191919

I have a table called download_manager .It has two columns filename and downloads .What I want to do is to get file name and its download count and display them inside ul element. I am able to get file names but I cant display the download count I'm getting undefined …

Member Avatar for nsstone
0
1K
Member Avatar for Ati_1

Algorithm 1) Choose the time quantum and assign it for each process. 2) Allocate the CPU to the process according to the FCFS scheduling. 3) If (burst time of the process < time quantum).{Allocate the CPU to that process till it terminates.}Else {The process will occupy the CPU till the …

Member Avatar for rproffitt
0
323
Member Avatar for Mike_62

I am trying to implement a MIPS code that preforms unsigned integer divide but i couldn't figure out how. if D == 0, report an error and terminate. Q = 0 # Q is the quotient, initialized to zero R = 0 # R is the remainder, also initialized to …

Member Avatar for rproffitt
0
1K
Member Avatar for Ashking_1

When I run script I get error Fatal error: Uncaught Error: Call to a member function prepare() on string in /Applications/MAMP/htdocs/sae/TT/public_html/includes/user.php:21 Stack trace: #0 /Applications/MAMP/htdocs/sae/TT/public_html/includes/user.php(40): User->emailExists('user1@gmail.com') #1 /Applications/MAMP/htdocs/sae/TT/public_html/includes/user.php(102): User->createUserAccount('userr', 'user1@gmail.com', '123456789', 'Admin') #2 {main} thrown in /Applications/MAMP/htdocs/sae/TT/public_html/includes/user.php on line 21 Please have a look in code and help me find …

Member Avatar for AndrisP
0
335
Member Avatar for Zuzu Najwa

Hello everyone! I'm new here and I really need some helps regarding my php coding. I'm trying to do an Update page and the error keeps popping out "Undefined adminid". I've been trying to fix it but to no avail. Can you help me? //my database connection <?php $host = …

Programming mysql php
Member Avatar for Dani
0
3K
Member Avatar for Talib_1

Hi there I am new at this website thanks for every one that help me I have this output appear on the link below: [Click Here](https://ibb.co/fe8Cvf) I want to while I choosing a **Time** **value** this value must be send for these useres that **absence** row the checkbox is **checked** …

Member Avatar for AndrisP
0
1K
Member Avatar for fanolots

Hey, I don't know if this is the right place, but my issue is taking an output from a software SPI and using it in another function for temperature. The code below is marked with my issue, however it's not the full code. The full code is for a lab …

Member Avatar for tinstaafl
0
317
Member Avatar for Addison111

I'm trying to setup mongoos server in a Winndows app. The server code needs to be in an infinite loop, so does the windows main loop. I put the server code and win loop on 2 threads, the problem is, the program hangs when executed. Is there a way to …

Member Avatar for rproffitt
0
439
Member Avatar for djbsabkcb

Question: I have to do a program on alternating sums using vectors. I am not sure how to start this program. I thought about using an array and every even index add the value and every odd index subtract the value. Does that sound right? Any ideas?

Member Avatar for jacklin
0
2K
Member Avatar for Rohan_9

I am Working on Xcode 9.2 Swift 4.0 using FacebookSDKs-iOS-20160316 for Facebook Login Authentication Integration . My storyboard is empty . On Running Facebook Login button is coming on an app When clicked Facebook login page comes, after successful login Permission for my app is asked, When allowed following page …

0
307
Member Avatar for fugio

Hi all I have a script to update the value from datagridview to database I do use a button insert ToolStripButton but not working hope people to help thank ! Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load conn = New SqlConnection("") conn.Open() Dim query As …

Member Avatar for Amudhambika
0
4K
Member Avatar for tony75

Hi I try to upload my picture to local server via FTP Batch file I created script.batch which is contain open 127.0.0.1 Tony 123abc #cd public_html lcd C:\xampp\htdocs lcd XAMPP Shared Folder binary mput C:\Users\Laptop\Desktop\XAMPP Shared Folder\AboutMe.jpg bye I have also another script(upload.batch) which is contain `ftp -i -s:script.bat` When …

Programming python
0
367
Member Avatar for ZombieKnight93

How can I make this to continue until the user presses N? I've tried using while(1), while( option == 'y' || option == 'Y') but it kept giving an error for that, and if/else statements but no luck. So I decided to try a do while statement and same results, …

Member Avatar for Smith5646
0
858
Member Avatar for Claire_4

using the following code i get an error from line 5 my error is Fatal error: Uncaught PDOException: SQLSTATE[08001]: [Microsoft][ODBC Driver 11 for SQL Server]Named Pipes Provider: Could not open a connection to SQL Server [53]. in C:\xampp\htdocs\dailysales\includes\CPeriodOrdersJson.php:5 Stack trace: #0 C:\xampp\htdocs\dailysales\includes\CPeriodOrdersJson.php(5): ->('sqlsrv:Server=F...', 'LocalAdmin', 'CrispyCrackers') #1 {main} thrown in C:\xampp\htdocs\dailysales\includes\CPeriodOrdersJson.php …

Member Avatar for rpv_sen
0
415
Member Avatar for aspundir

function "kal" and "getsign" not functioning. function kal (ta) { var xy; var x1 ; var x2; var x3; var x4; if (xy==1) {x1=0; x2=1; x3=1; x4=1;} else if (xy==2) {x1=1; x2=0; x3=1; x4=0;} else if (xy==3) {x1=0; x2=1; x3=0; x4=1;} else if (xy==4) {x1=1; x2=1; x3=1; x4=1;} else if …

Member Avatar for AndrisP
0
193
Member Avatar for COKEDUDE

I have 30 functions like this void func1(int *var1, int *var2) { func2(var1, var2); } void func2(int *var1, int *var2) { func3(var1, var2); } void func3(int *var1, int *var2) { func4(var1, var2); } I do not need var3 until func15. Is there a way to fix this mistake without having …

Member Avatar for bdux
0
678
Member Avatar for jjones0150

I need a form that accepts two operands and an operator from the user and then performs the requested operation. Specifications Before performing the calculation, the application should check that both operands are numeric and that the operator is one of the following: + add - subtract * multiply / …

Member Avatar for Dani
0
3K
Member Avatar for Magic8Computing

The following code is erroring on the connection string line 5 it used to work but then i had to move the sql server to another box and now it fails have i forgotten to do something on the sql server or is there error in my code my error …

Programming JSON PHP
0
242
Member Avatar for Pratyaksh_1

Hi, I am trying to hide Div ads from specific page( 404, Etc). website url: https://ytdl.us/ And for an example 404 page: https://ytdl.us/search/fvl-fdslkvnfalkjfnvlkfev Here <div class="ads ads-header"> </div> needs to be blocked as it is against TOS. Can anyone help. PS: I am no expert in coding :(

Member Avatar for rproffitt
0
437
Member Avatar for jawwad_1

I need help that how to make these assignment by html,javascript?? i have made admin and user login ..need codes for further more.. **description of assignment:** Salemanagementsystem have two panels.Admin login with specific id and Admin have rights to update product lists add, delete and update. Employees can create new …

0
339
Member Avatar for zoro007

Hello, I created html file with Checkbox and i use python when i check one box and submit i have problem with list when i check 2 box or more and submit i see the result list like ['120', '104', '12'] i can use "for" to loop the list and …

Member Avatar for zoro007
0
311
Member Avatar for Eric_28

I want to create a php function that i can use to get a particular user details and display the info gotten in my ProfileActivity when a user profile is been clicked in my app. so i wrote this php code to get user details from my database but when …

Member Avatar for AndrisP
0
502
Member Avatar for vuyiswamb

Good Day All i have a ListView that is defined in a Xamarin Form. i want this ListView to be updated with the Data from the DB every 5 seconds. In a Non Mobile environment , we have a Windows Service , which is a long running Service. but now …

0
703
Member Avatar for Ahmed_109

i have 2 tables office1 > id,off1 office2 > id,off2_id,off2 i want to insert the choosen into table "saveoffice" > offices1,offices2 drop.php <!DOCTYPE html> <html dir="rtl" lang="ar"> <head> <meta charset="utf-8"> <title>dependent dropdown list using jquery Ajax?</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <link rel="stylesheet" href="http://demo.itsolutionstuff.com/plugin/bootstrap-3.min.css"> </head> <body> <form action="savedata.php" name="myForm" method="POST"/> <div …

Member Avatar for AndrisP
0
1K
Member Avatar for Precious_7

hello everyone im taking database course this year and it's my first time to take it so i need help how to draw a ERD for following busniess case AND IF there many to many relation how i can establish a new relation ! Entity (Artist ) Attribute : death …

Member Avatar for rproffitt
0
376
Member Avatar for Thodoris_1

Hello! I have a problem with a MySQL database that I haven’t been able to solve no matter how much I tried, either with internet guides or with free tools. I really don’t want to pay hundreds of dollars to a company so please, if anyone knows of a solution, …

0
326
Member Avatar for Magic8Computing

I have a couple of SQL databases that i am trying to link results from. My first database is calendar that i need to return the details for today so current date and targets for sales and orders that works my second data base is for orders which i can …

Programming mssql sql
0
277
Member Avatar for tony_28

Hi All, In this program I have these 2 matrices . It will compare each element in each row of matrix[4][4] to 3 . If that value <= 3 then store the characters in the first row of matrix m_c[25][32] in an 2D char array (char clusters[40][40]). For example 3 …

Member Avatar for rproffitt
0
546
Member Avatar for Nivek90

I have a file that contains flow statistics from a switch. This is a big file with alot of values I would like to print out the statistics based on user input. I'm having a hard time to figure out which way is the most efficient, using a dictionary or …

Member Avatar for Peleg
0
382
Member Avatar for Lloyd_4

Hi Everyone, I am new to using cURL I have a client website I am working on... They have a password script that automatically creates a new password - what they would like to do now is automatically log the user in - using the automatic password and the users …

0
747
Member Avatar for SimonIoa

Hello i am using authservice to call my MySql database with PHP api and therefore my php functions for my Ionic 3 Angular 4 app. This is how i call to get userData and it works fine import { AuthService } from "../../providers/auth-service"; public authService: AuthService, private loadingCtrl: LoadingController ) …

Member Avatar for SimonIoa
0
667
Member Avatar for Dalek Caan

Howdy All - I am just wondering if anyone has successfully converted a *massive* (subjectivity implied) COBOL application to another language. If so, into which language was your system converted and when was this done? What were the potholes you, no doubt, hit? Was the conversion far more expensive than …

Member Avatar for Jim_9
0
1K
Member Avatar for JModak

showing Error "Failure sending mail." please help me i used port 587 because maximum example 587 used this port how i can know the my mail port or it is right error in this line SMTP.Send(Mail) massage is:- Just "Failure sending mail." ------------------ Imports System.Net.Mail Public Class Form1 Private Sub …

Member Avatar for rproffitt
0
851
Member Avatar for 1981191919

I am required to download different type of files from a spesicif folder using ajax .The problem is that when execute the code I get this message [this](https://ibb.co/eaXpGz) I have looked for the similar tutorials I coundnt find a solution Could you please help This my index.php file <!DOCTYPE html> …

Member Avatar for jkon
0
4K
Member Avatar for skelley

I have a program that is meant to display the total, average, student name and letter grade for a student. I'm almost done writing it but I have no idea how to make it loop so it goes back to step 1 from step 4. Everything I've read on using …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Tay_2

<?php $msg=""; $image1=""; $image1_err=""; //if upload button is pressed if(isset($_POST['upload'])){ $target="images/".basename($_FILES['image']['name']); $db=mysqli_connect("localhost","root","","categories"); $image=$_FILES['image']['name']; $text=$_POST['text']; if(isset($_POST['electro'])){ $sql="INSERT INTO electronic(image,text) VALUES ('$image','$text')"; mysqli_query($db,$sql); } //move image to a file if(move_uploaded_file($_FILES['image']['tmp_name'],$target)){ $msg="Image uploaded successfully"; }else{ $msg="There was a problem uploading image"; } } ?> <!DOCTYPE html> <html> <head> <title>Image Upload</title> <link rel="stylesheet" type="text/css" …

Member Avatar for alan.davies
0
516
Member Avatar for kehar

I am using Cell 2 and cell 3 of Column A Column B and Column C Column B is the Profit % and Column C is the Selling Price cell 2 of column A is my **search box** where I want to enter Selling Price. Presently, with the help of …

Member Avatar for rproffitt
0
449
Member Avatar for Cyale

//How to change cin and cout to printf and scanf??? #include <iostream> using namespace std; char square[10] = {'o','1','2','3','4','5','6','7','8','9'}; int checkwin(); void board(); int main() { int player = 1,i,choice; char mark; do { board(); player=(player%2)?1:2; cout << "Player " << player << ", enter a number: "; cin >> …

Programming c++
Member Avatar for rproffitt
0
499
Member Avatar for Ron_16

I have made the changes to the Apache http.conf file AllowOverride All Require all granted And added the Listen: 192.168.1.20:80 Save the conf file and restarted Apache But when I try to start http://192.168.1.22/wodpress I get the following error message This site can’t be reached 192.168.1.22 took too long to …

Member Avatar for rproffitt
0
446
Member Avatar for Hoang_7

I read several forums questions related to SQL database corruption. As we all know, backup is the best way to repair SQL database. What a user will do when backup copy is also corrupted or updated bacjup is not available? Is DBCC CHECKDB Repair option (Repair_Allow_Data_Loss) safe?

Member Avatar for Claire_3
0
320
Member Avatar for Hashik

I have a Database named "Store" and tables are orders and firm. The firm table fields are firmname, firmcode. The fields orderno, orderdate orderqty, qtyrcvd and balqty are stroed in another table. When selecting three ComboBox values (fetched from another(invoice) table) ie firm name, orderno and orderdate respectively when clicking …

Member Avatar for aldeene
0
402
Member Avatar for aldeene

Hi to all! I'm fairly new to using High availability group and i've been having issues with storage space from my Logs drive from my primary server.. I just want to know why is my Log file not shrinking after I do backups(Full) on the primary server.. also, another question.. …

Member Avatar for aldeene
0
750
Member Avatar for Sam_52

I'm trying to count the vowels in a lengthy text, provided by a .txt file. I can successfully open the file and echo it out into the browser. What I can't seem to do is get my script to do the actual vowel counting and I'm not entirely sure why. …

Member Avatar for alan.davies
0
1K
Member Avatar for Solution Hall

Hello! Good Day to All, I am working on Visual Studio 2015. I have two workstation computer systems, in both same operating system and Visual Studio is installed. When i Build the main project it succeeded, and no any problem and my project runs normally on both systems. Then i …

Member Avatar for rproffitt
0
363

The End.