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 I run upload.batch file it happen nothing? I wonder why? Is there any better code to upload picture to server? I appreciate your help

Member Avatar
+0 forum 0

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 i run the code nothing is returned in my browser. please what could be causing this? <?php require("config.php"); function getdetails($id) { $array = array(); $q = mysql_query("SELECT * FROM 'users' WHERE 'id'=".$id); while($r = mysql_fetch_assoc($q)) { $array['id'] = $r['id']; $array['name'] = $r['name']; } return $array; } function getId($name) { $q …

Member Avatar
Member Avatar
+0 forum 2

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 i search i came across a Service. but now i see this is implemented differently on each platform. Most examples i get are examples where one is binding the Control in Android Project. WhatUp if my Data binding is done in Xamarin Form (Standard Class) . 1) Can i kindly …

Member Avatar
+0 forum 0

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 numbers (0,2,3) of the first row of matrix[4][4] less or equal 3 therefore 3 characters (A,B,D) of first row of matrix m_c[25][32] will be store in the clusters. Similarly 3 numbers (0,3,3) in second row of matrix[4][4] less or equal 3 therefore 3 characters (B,D,F) of first row of matrix …

Member Avatar
Member Avatar
+0 forum 1

I have a table that contains some cubes with servers and active status (see attached image): note: CUBE1 is repeated intentionally. The idea is the same cube is getting synced from the same server 1 as a data source (process_server) onto different target servers (query_server; say server2 is in region A and server 3 is in region B). The way the environment is set up is both servers have to be active/active status (meaning TRUE) except for some additional test cases, i am setting to false sometimes one or the other. I have the following script now calling the cube …

Member Avatar
Member Avatar
+0 forum 1

I am doing a java caesar cypher application and i need your help.I am supposed to Implement a Caesar cipher, both encoding, and decoding. The key is an integer from 1 to 25. This cipher rotates the letters of the alphabet (A to Z). The encoding replaces each letter with the 1st to 25th next letter in the alphabet (wrapping Z to A). So key 2 encrypts "HI" to "JK", but key 20 encrypts "HI" to "BC". Note that all the classes should be encapsulated containing private properties. Use getter methods for all properties you must access outside of the …

Member Avatar
Member Avatar
+0 forum 2

Im not sure what code to use as I am not that experienced with VBA. No matter what i try i cannot get this macros to stop once it reaches a blank cell in E column. Here is the code: Option Explicit Sub PDFTemplate() Dim PDFFldr As FileDialog Set PDFFldr = Application.FileDialog(msoFileDialogFilePicker) With PDFFldr .Title = "Select PDF file to attach" .Filters.Add "PDF Type Files", "*.pdf", 1 If .Show <> -1 Then GoTo NoSelection Sheet1.Range("G53").Value = .SelectedItems(1) End With NoSelection: End Sub Sub SavePDFFolder() Dim PDFFldr As FileDialog Set PDFFldr = Application.FileDialog(msoFileDialogFolderPicker) With PDFFldr .Title = "Select a Folder" If …

Member Avatar
Member Avatar
+0 forum 1

This is a program that ask input from the user about the characteristics of a gemstone then prints to the screen. Things like color, price and name. I have written it to an extend where the user enters all this and prints them out. Am now stuck where I should loop and enable the user to enter any number of gemstones. Like if he/she enters 3 gemstones then it should loop and allow the user to enter the characteristics of the 3 gemstone types. I would also like to sort the resulting output of gemstone names in alphabetical order. Appreciated …

Member Avatar
Member Avatar
+0 forum 2

public class Gradesv2 { public static void main(String[ ] args) { //local variables int numTests = 0; //counts number of tests int testgGrades = 0; //individual test grade int totalPoints = 0; //total points for all test double average = 0.0; //average grade int test1 = 95; int test2 = 73; int test3 = 91; int test4 = 82; System.out.println(""); System.out.println("Test # 1 Test Grade: " + test1 + " Total Points: " + test1 + " = " + totalPoints + "Average Score: " + test1 = +); }//end of main method }//end of class

Member Avatar
Member Avatar
+0 forum 6

Hi, I've been doing research on a career in coding/programming and now I'm very interested and motivated to learn it. I'm a complete beginner and limited financially at present. So I'm confused as to how to go about it. I love reading a lot and sitting on my laptop, so no problem with studying. I'm the type of person that likes to learn an important big wide subject in stages. To first get a decent background and understanding of it. Then to go deeper into it. Is the following way a good way to go about it? Go through books …

Member Avatar
Member Avatar
+1 forum 3

Hi Guys, I am looking for career advice. I am currently pursuing my associate's degree in computer science here in Texas. And I wanted to know if you guys know how people with associate's degrees get a job. As an international student, I would like one year of work before I transfer to a 4 year university to finish my bachelor's degree in software engineering or computer science. Currently I am taking my basics but I have done some programming in SQL, PHP, Java, Python, C, HTML and CSS. But I took breaks in between my learning so I am …

Member Avatar
Member Avatar
+0 forum 6

Hi Every one, i have a server and a numbers of clients and i have a C# program on that server. My question is how to run that program on these clients without installing the visual studio on the clienets computers????? you very much

Member Avatar
Member Avatar
+0 forum 3

Hi guys! I have a problem with login into the system. Everything seem to be fine but it passes an error when i click the login button. Pls help Thank you in advance ////////login.php////// <? /* *********************************************************** **********# Name : Shambhu Prasad Patnaik #***** **********# Company : Aynsoft #********** **********# Copyright (c) www.aynsoft.com 2004 #********** *********************************************************** */ include_once("include_files.php"); include_once("general_functions/password_funcs.php"); include_once(PATH_TO_MAIN_PHYSICAL_LANGUAGE.$language.'/'.FILENAME_JOBSEEKER_LOGIN); include_once(FILENAME_BODY); $jscript_file=PATH_TO_LANGUAGE.$language."/jscript/".'jobseeker_login.js'; $template->set_filenames(array('jobseeker_login' => 'jobseeker_login.htm')); //// Jobseeker auto login starts //////[[Click Here](http://talentwiz.net/jobseeker_login.php)](null) $checked1=false; $encoded_login1=$_COOKIE["autologin1"]; //echo $encoded_login1; if(tep_not_null($encoded_login1)) { $checked1=true; $explode_array=explode("|",decode_string($encoded_login1)); $TREF_email_address1=$explode_array[0]; $TR_password1=$explode_array[1]; } else { $TREF_email_address1=""; $TR_password1=''; } //// Jobseeker auto login ends ////// $action = (isset($_POST['action']) ? $_POST['action'] : …

Member Avatar
+1 forum 0

Hello, I'm trying to edit existing pdf file. More precisely add new text or replace some text with another text. When i try to replace some text with another the problem is that it simply overlays ontop of the field which is not what I need. I need the text to cause the entire text to shift around. For example, if I replace the word "text" with "this is a long text", the replacement causes other text to be overlapped and run off the page. I need it as if I were editing a Word document - as I type, …

Member Avatar
Member Avatar
+0 forum 7

Hello! i need some help, i just want to round off my textbox value into two decimal places, here is my code Private Sub txtMonthly_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtMonthly.TextChanged, txtSemi.TextChanged If String.IsNullOrEmpty(txtMonthly.Text) OrElse String.IsNullOrEmpty(txtSemi.Text) Then Exit Sub If Not IsNumeric(txtMonthly.Text) OrElse Not IsNumeric(txtSemi.Text) Then Exit Sub txtSemiMonthly.Text = CDbl(txtMonthly.Text) / CDbl(txtSemi.Text) End Sub i have txtmothly and txtDaily if i put a value in the txtmonthly then the txtdaily will automatically have a value but the value was not in roundoff format..

Member Avatar
Member Avatar
+0 forum 1

Hi, below is my code for binary search algorithm. My question is, what if I enter more than 1 same numbers in the array? How should i modify my code to print out all the locations where that same number is found? For example, if I entered the number 2 at three different locations, let's say, array[3], array[6] and array[17], how should I ask my compiler to return all the three locations instead of one? P.S. the below code returns only 1 position even if the number is entered multiple times. Thanks in Advance :) // Binary Search Algorithm ... …

Member Avatar
Member Avatar
+0 forum 4

I have a web app already running on the web. It is web responsive. I want to make update of it. I hear good things about Ionic and i started working on Ionic 3 with Angular. Its almost finished. Now i need help to sinish and publish it. I wanna ask these questions. Do you think Ionic would make a difference or i just should updated my existing web app? Is it better to use native apps/Hydrid or Web apps? Thanks

Member Avatar
Member Avatar
+0 forum 3

Hi, I have a little problem with my PC. This 'America Megatrends' screen pops up unpredictably when playing/using my computer. Is there a way I can stop it from popping up? This all started 2 weeks ago while playing Fortnite and ever since, I have this screen showing everyday. I don't want to dammage my PC in any way! It tells me to press F1 and when I press it, information on my PC shows up. How can I stop it from showing up permanently? Thank you! Need help ASAP.

Member Avatar
Member Avatar
+0 forum 22

Hi, I am an absolute beginner to Xamarin and just started to develop a small application wherein, I am not getting any idea about why the BindableProperty changes are not getting reflected inside the view model. Presently, I have written my BindableProperty in a separate Class and the code is as follows: public static readonly BindableProperty IsValidEntryProperty = BindableProperty.Create("IsValidEntry", typeof(bool), typeof(MaxLengthValidatorBehavior), false, BindingMode.TwoWay); public bool IsValidEntry { get { return (bool)GetValue(IsValidEntryProperty); } set { SetValue(IsValidEntryProperty, value); } } protected override void OnAttachedTo(Entry bindable) { bindable.TextChanged += HandleTextChanged; base.OnAttachedTo(bindable); } void HandleTextChanged(object sender, TextChangedEventArgs e) { IsValidEntry = false; IsValidEntry = …

Member Avatar
Member Avatar
+0 forum 2

There are A red socks, B green socks and C Yellow socks in a dark room. Ashwin wants to find N pairs of matching colored socks from the dark room. Given all A, B and C are even and N ≤ (A+B+C)/2, write a program that outputs how many socks Ashwin would have to draw from the dark room in the worst case, to have exactly N pairs. 1. Input Format First line contains three space separated integers: A, B and C. Second line contains the number of pairs Ashwin wants: N 2. Output Format Single line containing a single …

Member Avatar
Member Avatar
+0 forum 1

Hi folks, i am making a simple program using vb.net 2017 i want to make a hot key like pressing keys.decimal + keys.enter at the same time to shutdown my pc. i am using a bluetooth usb numpad so crtl key is not an option. thanks for your help. Cheers!

Member Avatar
Member Avatar
+0 forum 2

In this query i want to display the unbooked rooms, but the booked rooms are displayed instead of the unbooked rooms... create table guest ( guest_id int auto_increment primary key unique not null, guest_lname varchar(50) not null, guest_fname varchar(50) not null, guest_email varchar(100) not null, guest_password varchar(50) not null, guest_address varchar(20) not null, guest_op_adres varchar(200), guest_gender int(1) not null, guest_mobile_no varchar(15) not null ); create table room_rate_default ( defroom_rateID int auto_increment not null primary key, room_typeID int not null, defseason_type varchar(50) not null, defmonRate double not null, deftuesRate double not null, defwedRate double not null, defthuRate double not null, deffriRate …

Member Avatar
Member Avatar
+0 forum 13

I want to ask that " In some sites we see that when some peoples comments or share or click they got coins or points" so how to make this type of scirpts ?

Member Avatar
Member Avatar
-1 forum 1

hello, i dont know much about programming, but i want to find a certain piece of text in a document that was opened using microsoft visual basic 2010 express. below is my code to open the word doc and to find and replace the text but is faulty 'to open the doc Dim objWord As Word.Application objWord = New Word.Application objWord.Visible = True objWord.Documents.Open("C:Address for doc", , , True) 'must change the address of the document if on other device 'to find and replace text within doc objWord.Content.Find.execute(FindText:="Address", _ ReplaceWith:=Label1.Text, _ Replace:=Word.WdReplace.wdReplaceAll)

Member Avatar
+0 forum 0

Hello guys, I am writing a C++ program that converts arabic to roman numerals or vice versa up to 100 (C). The program should: Handle all values for 1 (Roman I) to 100 (Roman C) Permit entry in either format Arabic (1, 2, 3, ..., 100) or Roman (I, II, III, ..., C) Reject any entries that are not correct with an appropriate error message Be well commented Use meaningful variables My problem is that when I enter an arabic number I cannot convert it into a roman numeral. Thanks in advance! This is the code I have so far: …

Member Avatar
Member Avatar
+0 forum 3

Well, right now i'm following a tutorial on game making for c++, but is this really the best programming language for video games? Also i'd like to know if can recommend me a book ( i've seen some book on amazon but i don't really know wich one to choose ), or tutorial about this, cause since i'm just 15, there's no teacher ( yet ) to talk with about this kind of things ( Consider that i'm a really noob sooo... ) Well thanks and thats all

Member Avatar
Member Avatar
+0 forum 38

I have gotten stuck on a computer science assignment regarding Pseudocode and need a little help if possible. The task requires me to scan the ID of multiple people trying to enter a club and then compare there features (eye colour, hair colour etc) to the picture on the ID. If there is a match then they are allowed to enter but if more than two features do not match then they are denied. Any help would be amazing. Thanks p.s they are all entering 1 by 1 scanning each member to their respective ID

Member Avatar
Member Avatar
+0 forum 12

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
Member Avatar
+0 forum 9

Hi All, I am a newbie programmer in python and I am trying to read multiple csv files from a folder, replace the delimeter for all the csv files and then output these files into a new folder with replaced delimiter. So far I am stuck at the beginning. Please can someone point out some tips? Thanks!

Member Avatar
Member Avatar
+0 forum 5

I Know to design the games, but i don't know that how to specify controls gor designed game using programming language... Soo can anybody HELP me ??? - Thankyou !

Member Avatar
Member Avatar
+0 forum 4

The End.