199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rpv_sen

Hi Friends i like to know more about the difference between mysql, Phpmyadmin, sql and also which one is more safe and secure for webpage. Can any one help me to know about it.

Member Avatar for pritaeas
0
1K
Member Avatar for ska_defender

Hello I want to have 4 files index.php go1.php go2.php admin.php in admin.php I want a switch command to switch between go1.php and go2.php for example in admin.php there must be two buttons go1 and go2 when I click on go1 index.php will behave as go1.php and when I click …

Member Avatar for ska_defender
0
224
Member Avatar for anita.kcx

In-spite of going through all the resources about rewriting URL, I am not able to successfully apply the same to my site. The URl is www.mysite.com/Client/?clientname=name I want it to be www.mysite.com/Client/name Client is another directory inside the root directory. Currently I have RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} Client/ [NC] …

Member Avatar for blocblue
0
126
Member Avatar for viktor.jiracek.5

Hello all, I am having problems with this code. Whenever I attempt to test the login system with a valid username and password, it says this: You have successfully logged in! Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/ucairwebsite/facultykadrmas/kadrmaspages/login_1/login_LDDB.php:1) in /Applications/XAMPP/xamppfiles/htdocs/ucairwebsite/facultykadrmas/kadrmaspages/login_1/login_LDDB.php on line 213 …

Member Avatar for puneet bassi
0
273
Member Avatar for danny.vin

# **program editor** # how to create a **program editor** for compiling and executing java programs?i need the codings...

Member Avatar for stultuske
0
202
Member Avatar for Estella

i want to extract icon from exe file. does anyone know how to do this?? thank you very much Regards Estella

Member Avatar for palvani
0
653
Member Avatar for Sneaky Pete

Hello everybody, I have a question about vb.Net. I really hope that you can help me with it. I've got a form with several textboxes. When the user gives input in an textbox and presses the tabkey, then the input in the textbox must be checked and complement with data. …

Member Avatar for Pride
0
245
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> main() { char a[30]; int i,j,n,temp; printf("enter the limit: "); scanf("%d",n); printf("enter the string: "); for(i=0;i<n;i++) { scanf("%s",a[i]); } for(i=0;i<n-1;i++) { for(j=i+1;j<n;j++) { if(strlen(a[i])>strlen(a[j])) { temp=a[j]; a[i]=a[j]; a[j]=a[i]; } } } for(i=0;i<n;i++) { printf("%d",a[i]); } } compiler stops working here when executing the program but 0 …

Member Avatar for rithish
0
2K
Member Avatar for riahc3

Hey I want to make a multithreaded and multiuser web service in Java. Where do I even start looking? Currently I have a web service that is one user and one thread. I think Ill problably have to completely rewrite it from almost scratch so.... Where can I see some …

Member Avatar for JamesCherrill
0
1K
Member Avatar for khaled_jawaher

i am trying to run a jar file i created from net beans when i built my new project.it is giving me error cant launch application i tried everything.I am using window7,i opened the command prompt and put assoc jarfile ftype jarfile="C:\Program Files\Java\jdk1.6.0_01\bin" "%1" %* and tryied to run it …

Member Avatar for stultuske
0
200
Member Avatar for shanki himanshu

char str[]="S\065AB"; printf("\n%d", sizeof(str)); explain the output. i am getting 5.

Member Avatar for Banfa
0
549
Member Avatar for fatihunal

Hi there, Im working a web browser automation project. There is an ajax controlled dropdown list in a web site. It was like this; [CODE] <option value="test1">test1</option> <option value="test2">test2</option> <option value="test3">test3</option> <option value="test4">test4</option> <option value="test5">test5</option> [/CODE] When i was selected test2 ajax is working and its giving another div. (I …

Member Avatar for PccenTR
0
3K
Member Avatar for carol.cable.37

<?php $first = $_POST['first']; $last = $_POST['last']; $email = $_POST['email']; $phone = $_POST['phone']; $Submit = $_POST['Submit']; $first = strtolower($first); $last = strtolower($last); $first=ucfirst($first); $last=ucfirst($last); $general = " <br> Please try again ! "; $no_first = " your first name, please... "; $no_last = " your last name, please..... "; $no_phone …

Member Avatar for blocblue
0
317
Member Avatar for laavanya

> WHAT SHOULD WE LEARN OTHER THAN C LANGUAGE TO DO PROJECTS IN C..??PLEASE HELP...

Member Avatar for rithish
0
144
Member Avatar for ingus16

How can i change masked text box properties for IP address input. For example private void Interneta_savienojums_Load(object sender, EventArgs e) { maskedTextBox1.Text = " . . . "; maskedTextBox1.PromptChar = ' '; maskedTextBox1.Mask = "009.009.009.900"; maskedTextBox1.ResetOnSpace = false; maskedTextBox1.SkipLiterals = false; } In form text box show ( . . …

Member Avatar for ingus16
0
7K
Member Avatar for aruti

Hello, I Need a TCP / IP Port Listener on my centos VPS Hosting to receive gps tracker signals on ports and store in mysql db. For further processing of received stored data, we are working on a php mysql application, but to listen to port signals, which programming language …

Member Avatar for sharath.mohan.12
0
793
Member Avatar for ecinevenice

hey does anyone here knows how to change excel page orientation to portrait? i get landscape as default <?php header("Content-type: application/vnd.ms-excel"); header("Content-Disposition: attachment; filename=transactions.xls"); header("Pragma: no-cache"); header("Expires: 0"); ?>

Member Avatar for blocblue
0
181
Member Avatar for cor.vandijk.779

Theinput in a JTextField must be used in the variable Color color. input = YELLOW must change variable color in Color.YELLOW. My attempt does not work:

Member Avatar for JamesCherrill
0
239
Member Avatar for natehome

im working on a single player game in java and want to add a high scores table. what im thinking is when a player finishes a session my script will contact my server like this "mywebsite.com/sethighscore.php?secretkey=23234234&user=bob&itemscollected=45&timeplayed=1hour" <-- this would add a new user to database i have very little knowledge …

Member Avatar for veedeoo
0
182
Member Avatar for cali_dotcom

Hi guys, i have an application that seats on a single webserver that depends on a third party application running mssql, so i use mssql over free tds. now i have to scale this site so i have to think about how to handle the sessions. i ma basically looking …

Member Avatar for pritaeas
0
299
Member Avatar for joshmac

I want to convert my MVC framework to conform to the PSR-0 standards, but I am having a devil of a time trying to wrap my head around namespaces and how it works. I am using the suggested [SplClassLoader](https://gist.github.com/221634) class. Below is my file structure, and what I am trying …

Member Avatar for pritaeas
0
211
Member Avatar for Gaiety

I have executed the below program several times, most of the time i got the same out put but some times output is different. sample out put is: > skylab@skylab:~/Nx/Thrds$ gcc 3.c -lpthread > skylab@skylab:~/Nx/Thrds$ ./a.out > Scheduling policy = ??? > arg = 20 > 1arg = 20 > …

Member Avatar for Gaiety
0
215
Member Avatar for zenp

Hi I am trying to run this code for long but failed.Can anyone help me? 1. <?php 2. $button_text=$_POST['button_text']; 3. $color=$_POST['color']; 4. 5. if(empty($button_text)||empty($color)) 6. { 7. echo 'Could not create image - form not filled out correctly'; 8. exit; 9. } 10. $imgname="I:\xampp\htdocs\test\button\"; 11. $im=imagecreatefrompng('$imgname'.$color.'-button.png'); 12. $width_image=imagesx($im); 13. $height_image=imagesx($im); …

Member Avatar for pritaeas
0
211
Member Avatar for raficomps

> **I want to store session of employee that is employee id when employee login with username and password store employee id as session using vb.net** > **i have a form where employee enter his username and password after entering he must select new form from control panel when he …

Member Avatar for Pgmer
0
202
Member Avatar for cjan

i ve created database called useradmin where the username and password is stored and created a login form too. everything is fine with code and the interface. when i tried to login with false username a message is displayed saying invalid. but when username corrrect and enter wrong password their …

Member Avatar for cjan
0
63
Member Avatar for LuxNova_1

Hello! I'm crazy new at PHP and I'm having problems with recieving all the info from the drop down portion of my form in the email submitted from php. The code for the HTML portion is: <label for="birthday">Birthday</label> <select name="Month" value="option"> <option value="January">January</option> <option value="February">February</option> </select> <select name="Day" value="option"> <option …

Member Avatar for Zagga
0
257
Member Avatar for LastMitch

Hi, I'm trying to understand how **HMAC Verification** works in general (big picture). I want learn and understand how this equation works. Writing the script it a bit hard too. I know that **HMAC Verification** can prevent people from tampering with variables passed in the URL. Here is the formula …

Member Avatar for LastMitch
0
111
Member Avatar for LastMitch

Hi, It's really late now, I am trying to figure out how to echo a message when I submit a form. Here is the code: <?php $msg = ""; if ($_POST['title'] != ""){ $title = $_POST['title']; $author = $_POST['author']; $author = stripslashes($author); if (!$title){ $msg = "Please Add Title"; } …

Member Avatar for LastMitch
0
218
Member Avatar for iFrolox

I got a blank project, i added 3 checkboxes, and 1 inside a group box. And i got this code: Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click For Each phCheck As Control In Me.Controls If TypeOf phCheck Is CheckBox AndAlso DirectCast(phCheck, CheckBox).Checked Then If phCheck.Tag Is "Test" …

Member Avatar for iFrolox
0
3K
Member Avatar for DarkT

Hi everyone. I'm used to programming in C/C++ and I've created some dialog based windows apps. Recently, I've got an assignment at work to learn C# + WPF and its capabilities showing video. My company works with cameras and my job is to create an app to show their feed. …

Member Avatar for robert.s.junior.98
0
245
Member Avatar for katie1988

I'm creating a program where the user can search items in an access database and results are displayed in a listview. When I click search all items are displayed but when I enter an item in the textbox then search nothing is displayed. This is my code Private Sub cmdProdSearch_Click() …

Member Avatar for Bile
0
1K
Member Avatar for triumphost

In OpenGL, I'm reading about glVertexPointer which has a parameter: `const void* pointer` and it is a pointer to the coordinates of the first vertex. Thing is, it doesn't have any parameters that tell you the amount of vertices there are. I'm wondering if there is a way to copy …

Member Avatar for triumphost
0
215
Member Avatar for mehmatt

hello all, i have a website like forum not exactly forum but similar. honestly, i bought it cos i didnt have any idea for php. but something about linking is not as i want. for example: when i link some webpage it shows the link [Click Here](http://www.aaa.com) but i want …

Member Avatar for diafol
0
227
Member Avatar for madhan

Hi – I am new to .net security. I am following Mastering visual C#.net book to learn it.I have the following program in Visual Studio 2008. using System; using System.IO; using System.Security.Permissions; [assembly:FileIOPermissionAttribute(SecurityAction.RequestMinimum, All=@”c:\\temp”)] class Example19_1 { public static void Main() { // Create a new file to work with …

Member Avatar for madhan
0
217
Member Avatar for shanki himanshu
Member Avatar for Ancient Dragon
0
136
Member Avatar for Suzie999

Hi, I wonder if anyone can direct me to a win32 API or offer some logic as to how I might copy memory to a specific location in an array. What I am doing at the moment is copying an unsigned int into an unsigned char[]. The reason is to …

Member Avatar for Suzie999
0
147
Member Avatar for depy

Hello python world. I am new to python. I need some help in creating a table. It is an input file as <name>,<age>,<gender>,<marks>. these items can be seperated using a ','. The test part would contain mixed spaces.. e.g Jhones can be written as __JHoneS__. but if has to return …

Member Avatar for ZZucker
0
121
Member Avatar for M.Waqas Aslam

hello , i am getting error on it , object refrence is not set to an instance of an object , my code is if (dgvBlockSites.Rows[j].Cells[1].Value.ToString() != "-1") { //-------------- some code here } i dont know what is wrong with it , i have 4 or 5 rows in …

Member Avatar for waqassilat
0
120
Member Avatar for Dane2259

I have been trying to follow along with the tutorial on Apple's developer website: https://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/SecondiOSAppTutorial/Introduction/Introduction.html but cannot figure out why my project will not run. I have one warning: Incomplete implementation in the BirdSightingDataController.m file: #import "BirdSightingDataController.h" #import "BirdSighting.h" @interface BirdSightingDataController () - (void)initializeDefaultDataList; @end @implementation BirdSightingDataController @synthesize masterBirdSightingList = …

Member Avatar for Dane2259
0
146
Member Avatar for msrikanth

Hi Everyone, I need a perl script to create a word document in linux (in my system i have openoffice(oowriter) 1.1.5) with some text as header(left aligned) which is taken from a "file.txt". contents of the file.txt are HariKrishna 1200 Srikanth 1201 Madhav 2345 So based upon the no of …

Member Avatar for d5e5
0
341
Member Avatar for ThePythonNoob

Hi, I have made a square that will move but there are some bugs in the movement. I can't find anything wrong with the logic which is why I need help ;) You have to press left and right to move the square. The problems with the movement are: 1: …

Member Avatar for ThePythonNoob
0
3K
Member Avatar for vishalonne

Hello..! I just want to show an error message if user left text box blank. Here is my code on form.php, I really can find the problem... <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Your Valuable Suggestion</title> <link rel="stylesheet" type="text/css" href="view.css" media="all"> <script type="text/javascript" src="view.js"></script> <script type="text/javascript"> function notEmpty(elem, helperMsg){ alert("Out"); …

Member Avatar for vishalonne
0
143
Member Avatar for shhh

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\dl\cart\includes\functions.php on line 37 There was an error with your order! function get_order_total(){ $cnt = array(); $products = array(); foreach($_POST as $key=>$value) { $key=(int)str_replace('_cnt','',$key); $products[]=$key; $cnt[$key]=$value; } $result = mysql_query("SELECT * FROM shop WHERE id IN(".join($products,',').")"); if(!mysql_num_rows($result)) { echo …

Member Avatar for Kieran Y5
0
157
Member Avatar for M.Waqas Aslam

hello ! i want to restrict user to not visit www.abc.com site , from my pc , how can i do it in c# , user will use chrome , firfox , IE etc , Regards

Member Avatar for M.Waqas Aslam
0
95
Member Avatar for Sprewell184

Hey,hoping someone can help me. I'm having an error in my project. This is the problem for the project: In C++, the largest int value is 2, 147, 483, 647. So, an integer larger than this cannot be stored and processed as an integer. Similarly, if the sum or product …

Member Avatar for Sprewell184
0
578
Member Avatar for myk45

Hello All! Well this is not exactly a C++ question. Please let me know if this needs to be posted elsewhere. So, here it goes: I have a project, cosisting of the entire buildrules in Makefiles. This has been built only on Linux. Now, i need to build it on …

Member Avatar for myk45
0
220
Member Avatar for rithish

i have a doubt how can we use string in matrices for examples a[0][0]=rohinn a[0][1]=rithish how to do this????

Member Avatar for zeroliken
0
591
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> main() { char a[30],b[30]; int i,j,n; printf("enter the limit: "); scanf("%d",&n); printf("enter the string: "); for(i=0;i<n;i++) { scanf("%s",a[i]); } j=strlen(a[0]); printf("%d",j); } here for example it will take 4 words where a[0]=word1,a[1]=word2,a[2]=word3,a[3]=word4 where i have particularly find string length of a[0] in 15 th line i …

Member Avatar for zeroliken
0
216
Member Avatar for lesliebielski

I am new to Java (taking it to get warmed up for C and C+++ as I am very rusty.) I am writing a class that is suppose run the file DLTest.java(written by the instructor) that is suppose to keep track of two licenses with name and tickets. DrivingLicense, ().addTicket, …

Member Avatar for JamesCherrill
0
240
Member Avatar for Suzie999

I have been trying in vain to pass an array to a thread and have that thread loop through it. Here is code of a simple thread passing an int to it. #include "stdafx.h" #include <windows.h> #include <stdio.h> #include <stdlib.h> #include <iostream> DWORD ThreadProc (LPVOID lpdwThreadParam ); int threadnumber = …

Member Avatar for Suzie999
0
213

The End.