199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Cravver

I have this code here and I need to know how to make it randomize the amoutn of images there are: Currently it shows the images, and uses a cookie so the image doesnt show up more than it needs to, but i need to randomize the image order instead …

Member Avatar for Cravver
0
366
Member Avatar for Dani

I was wondering if anyone had any experience with Cloudflare and what you thought of it? A *LOT* of big sites are using it, and from what I'm hearing, it's really good at caching entire webpages at the DNS server end without ever having to hit your web servers. However, …

Member Avatar for Dani
0
144
Member Avatar for SirMahlon

<html> <body> <?php $username = 'root'; $password = ''; $hostname = 'localhost'; //connection to the database $con = mysql_connect($hostname, $username, $password,'contactmanager') or die('Unable to connect to MySQL'); echo 'Connected to MySQL<br>'.'<p>'; mysql_query($con,'INSERT INTO Personalinformation(Name, YearOfBirth, Email,Location,PhoneNumber) VALUES(Peter,2008-03-05,peter@hotmail.com,kasland,0269015748)'); mysql_close($con); ?> </body> </html>

Member Avatar for SirMahlon
0
5K
Member Avatar for adeeb.keyaam

suppose i have a account in a website, and i want to see the users who are members of this website, and my name is also listed there, but i want to remove my name from there, from my account, i can see others name without mine, and this will …

Member Avatar for iamthwee
0
159
Member Avatar for wolf29

I am seeing some solutions using re, out there on the Interwebs, but not what I want. I want to match several strings with partial content of a list item. # as an example of one of the rows in a csv file hostlist=[192.168.10.17, postgres12, "Red Hat 4.3", "broken"] #pseudocode …

Member Avatar for wolf29
0
276
Member Avatar for adeeb.keyaam

I want to create a form wizerd or a multi step form, there is a continue button to step forward, `<button type="submit" name="continue" onclick="return validateNow();">Continue</button>` and a previus button to step backward, `<button type="submit" name="continue" value="&lt; Back">Previous</button>`, button type must be in submit format, because i have php in this …

Member Avatar for adeeb.keyaam
0
204
Member Avatar for kamald123

Hi, I want to get the file owner on windows machine using python script. Is there is any way to do that . Please help Thanks, Kamal

Member Avatar for AlexWong
0
6K
Member Avatar for samica

I'm actually running a system using visual studio 2006 professional edition but i can't load it because of the po up erro activeX component can't create the object? What will I do? I'm using a windows 7 64 bit OS..

Member Avatar for tinstaafl
0
121
Member Avatar for hg_fs2002

I am writing a program that needs to know the type of constants. I am wondering if there is any way of getting this in java? Like for constant "2" type is int and for "2.0" type is double.

Member Avatar for JamesCherrill
0
185
Member Avatar for gobiking

Hello, I am trying to start implementing functions from a class into my Calculator just to get used to the idea of it. when I tried calling for my min max functions into my calculations function it is spitting out an error arguement of type "float" is not compatable with …

Member Avatar for gobiking
0
1K
Member Avatar for Maideen

Hi I have a issue in print data directly from clicking print button. Below is my code and working fine. if click print button system sends the data to another page not to printer directly. pls help me HTML page <style type="text/css"></style> <?php include '../templete/header.php'; ?> <Script Language="javascript"> function change_action() …

Member Avatar for IIM
0
1K
Member Avatar for Santosh Bajjuri

Can any one try to guide me through the installation of APACHE AND PHP SERVER with A DATA BASE connectivity.I am currently using WINDOWS 8 64-bit as my OS. I tried so many ways of installing.But couldn't find any way to it. I hope this forum will help me out …

Member Avatar for Webville312
0
156
Member Avatar for toniann.midori

well first of all i cant figure out how to move the first letter to the end but before i fix that i need help figuring out why the else branch is being totally ignored. even when the conditions are met for else It still gives me the result in …

Member Avatar for vegaseat
0
158
Member Avatar for napninjanx

Like for example Myspace.com I right clicked and clicked on save as. It saved two Items one a website shortcut and the other a folder filled with. Jpegs Images PNG Images Gif Images JScript Script File Cascading Style Sheet Document PLI File Some Internet Shortcuts - HTML Documents FLOW FILE …

Member Avatar for Dani
0
149
Member Avatar for Anine

I need a voice of experience. I am working on a project for school. My project is a small B&M store. I am coding in VB .net I have an Access database with 3 tables - Inventory, SoldInventory and Sales. I need to create a simple POS. I would like …

Member Avatar for carlbutler7
0
2K
Member Avatar for joshl_1995

Hello Community, I was wondering if getting an SSL certificate be worth it for my new website it the website doesn't store users personal details all it will hold is users links that would be counted but the thing is i don't know if it would be worth it or …

Member Avatar for joshl_1995
0
422
Member Avatar for sirlink99

I am attempting to encrypt and string and then decrypt it. I have the encryption part working, but when I try to decrypt it gives me an InvalidKeyException and says that it is missing parameters. Here is the code import javax.crypto.*; import java.security.*; public class Cryption { private Cipher c; …

Member Avatar for sirlink99
0
1K
Member Avatar for Mononucleosis

I have created the Colour Dialog as much as I can and have been told that might be helpful but everytime I try to use it in my program I have, which is a basic version of MS Paint, it crashes. Private Sub butCColor_Click(ByVal sender As System.Object, _ ByVal e …

Member Avatar for Begginnerdev
0
107
Member Avatar for davidjennings

Hi All - I am trying to find a solution to the following I am trying to update a form with checkboxes and to compare the value of the data variable $active from the db and if the value =1 then make the checked value as checked if = to …

Member Avatar for davidjennings
0
188
Member Avatar for Lethugs

hi we have an office chat messenger in our office, it is executable, and ofcourse cannot modify the codes already. i dont know exactly how this messenger save history, looking from its root folder, i cant see something related from its conversation or message history. I just need to save …

Member Avatar for Begginnerdev
0
586
Member Avatar for boiishuvo

the data file contains: 1908,Souths,Easts,Souths,Cumberland,Y,14,12,4000 1909,Souths,Balmain,Souths,Wests,N 1910,Newtown,Souths,Newtown,Wests,Y,4,4,14000 1911,Easts,Glebe,Glebe,Balmain,Y,11,8,20000 Each line represents a season of premiership and has the following format: year, premiers, runners up, minor premiers, wooden spooners, Grand Final held, winning score, losing score, crowd What I need is to display a list of Grand Final held as 'Y'. …

Member Avatar for stultuske
0
384
Member Avatar for bhallarahul

hi I want to create an application which contain servlet and jsp and also connected with database but i only want that login page will be open from 05:00hr to 10:00 hr before and after nobody able to access/login the page if they do that it reject the request how …

Member Avatar for stultuske
0
102
Member Avatar for ShivaRJ

In interview i faced the problem with this program finally i lost that oportunity,i am trying for that code to solve almost for a month ,i can't get get that one, plz help me i can't solve the program upto now. the program was........... he gave me a big String …

Member Avatar for stultuske
0
345
Member Avatar for amith_ami

hi all i want to change my wordpress site category url. now its like this mysite.com/?cat=1 ,but i want to change it like this mysite.com/?category=sports . i dont know how to make this. pls help me to do this. tnx in advnc

Member Avatar for mrvijayakumar
0
113
Member Avatar for krunal1986
Member Avatar for pritaeas
0
322
Member Avatar for Dimonai

Hello to everyone, I Have a table inside 2 div's and I need to get the tables id! How can I do this by javascript?

Member Avatar for Dimonai
0
259
Member Avatar for Gobroski

This works in C++ Builder: int chcolor; for(int d, d < 5, d++); { String name = "d" + IntToStr(i+1); TLMDSpeedButton* button = dynamic_cast<TLMDSpeedButton*>(this->FindComponent(name)); chcolor = random(6)+1; switch (chcolor) { case 1: button->Color = clRed; break; case 2: button->Color = clSilver; break; case 3: button->Color = clBlue; break; case 4: …

Member Avatar for Gobroski
0
592
Member Avatar for Beancounter5

Hi , i would like to include a normal conventiional function in to my obcetive c project. I have tried putting the body of the function outside the implementation section , inside the @implemenation section. I know it wont be part of the class i'm defining , but do i …

Member Avatar for adams161
0
400
Member Avatar for Dimonai

Hi everyone, I'm working in a project where its required a dynamic insertion of a grup of 3 textfields where one hiels dates. So far I manage to do the insertion part, but Im still with the problem of jquery datepicker only working right on the first(original) textfield. I notice …

Member Avatar for Dimonai
0
907
Member Avatar for lucas.coleman.35

so I've been looking for a good forum to post to frequently that would help with me problems in my programming if I come across them. Well, this looks like as good a place as any, so I figured I'd let you guys know that I'm a beginner programmer and …

Member Avatar for lucas.coleman.35
0
120
Member Avatar for php.coder

hi all; how can i clear paypal after a user has logged out and the session is destroyed` any help would be appreciated thanks

Member Avatar for LastMitch
0
108
Member Avatar for Neokyuubi

Hello everyone I'm using VB.Net and I have a database contains two tables "Personne" and "PersonneCopy" ( Same schema as Personne [4 columns = N°, FirstName, LastName, B_Day]) I load the first table in a Datagridview all it's fine with that, here's the code: Dim Connection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data …

Member Avatar for Neokyuubi
0
1K
Member Avatar for mallows.yum

hello! i have here a code <?php include("include/session.php"); ?> <?php echo $session->username; $sql = "select * from employee where fname like 'pedro'"; // CONNECT KO TO DAPAT SA FORM KO NA SEARCH-FORM $result=mysql_query($sql); $num=mysql_num_rows($result); $row = mysql_fetch_array($result); //mysql_close(); if($row) { $i=0; while ($i < $num) { $empnumber = $row[0]; $fname=$row[1]; …

Member Avatar for LastMitch
0
550
Member Avatar for tanmay.majumdar2

hey, fellas.. I was gonna make a simple website.. Which somehow explains you about the readystate exchange,. But i am not getting the desired ouput. Please help me out.. I am ginna upload the codes, of the javascript and the html file.. the javascript file {a.js}: http://codeviewer.org/view/code:33b6 _______________________________________________________________ the html …

Member Avatar for LastMitch
0
201
Member Avatar for axitya

Yes, I know what I'm talking about. which is Creating my own compiler to compile a language say C++,Java,Ruby, Python ..(Any one of them ofcourse -.- ) Actually, if I can just get the source code for an existing one that would be much better. [example] Say there's Turbo C …

Member Avatar for felceyboy
0
359
Member Avatar for godzab

I am trying make a linkedlist remove() method. It only works half way. When I try to remove a number, it removes the whole right side. For example here is the output: ` before remove: 8,7,3,5,2, after remove: 8,7,` How do I get it so only the three is removed? …

Member Avatar for godzab
0
237
Member Avatar for shark101

hey guys I need help with this I have no idea how to work this out please help me with like atleast the starting coding i am trying to google too but i cannot find any info on this. ***"char * copyString( const char * s ); copyString returns a …

Member Avatar for raptr_dflo
0
279
Member Avatar for Landoro

Hey guys! It's been a long time since I visited daniweb,but I need some help understanding something.A friend of mine gave me problem to solve, but the assignment is strange,I can't seem to find the actually meaning of what I need to generate as an answer.Here goes: By a given …

Member Avatar for raptr_dflo
0
282
Member Avatar for alice.ng.3344

I am doing code for CAESAR CIPHER. I need to built a histogram or frequency distribution for the output. I thought that finding out the frequency of the ASCII code, then print the frequency with * by using loop. But my code din't have array, can't do ++freq[c[i]]. I have …

Member Avatar for DeanMSands3
0
350
Member Avatar for jenny1975

I have two array's Array1[1,3,5,7,4,0,8] Array2[1,5,8,3,4,2,9] What I would like to achieve is an output count = 3( three of the numbers 3,5,8 from Array2 are in Array1 but in the wrong place) using Math.min. Can someone explain this process to me please. Thank you

Member Avatar for dilan91
0
173
Member Avatar for vishalonne

Dear All I have 7 columns of yes/no data type I want to show them in datagridview in checkbox form. I have written this code where I am showing some values from database to datagridview with a column having check box. I just want to show databse value in Under …

Member Avatar for 26bm
0
283
Member Avatar for kortneycoles

I'm making a word descramble program for http://www.hackthissite.org/missions/prog/1/ . I think I have a lot of this code correct but I dont know how to read each indivdual character in the scrambled string and compare it to the letters in the unscrabled string from the word list. #include <iostream> #include …

Member Avatar for iamthwee
0
491
Member Avatar for poopuh

Hey guys, I recently completed a program for my boss which simulates a brute force hacker in that it hacks a password by trying every possible combination of ascii characters until it finally discovers the password. I'm new to Java and I drew up a logical, straight forward way of …

Member Avatar for Vesmir
0
756
Member Avatar for Arjun_Sarankulu

I have created a application which connection to sql server database as well as oracle database The application is working fine at my end And to connect to oracle i used following namespace using Oracle.DataAccess; using Oracle.DataAccess.Client; But when i run the application on user end It gives following exception …

Member Avatar for AndrewGrinder
0
10K
Member Avatar for Zagga

Hi folks, It's a bit unusual for me to post in the javascript forum but I'm after a bit of assistance if possible. **The scenario:** I have a form with text input box for a user to enter a 'quantity' in. This can be anything from 1 to 99. When …

Member Avatar for Zagga
0
195
Member Avatar for napninjanx

I bought this eBook called Programming Python O'Reilly 4th Edition 2010 And people told me to start out with Python instead of C, cause C Is for experiance users, at the moment I have no knowelege In programming, only know the basics :)

Member Avatar for vegaseat
0
180
Member Avatar for adishardis

Hi, everyday I get a xml file that looks something like this: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <account-information report-date="2012-12-31T23:59:59.000+01:00" xmlns="http://www.XXX.SE/XXX"> <account> <account-number>00000001</account-number> <status>Open</status> <application-array> <application-type>NEW</application-type> <application-date>2013-01-11</application-date> </application-array> <application-array> <application-type>TOP</application-type> <application-date>2013-04-18</application-date> </application-array> <account-information-type> <first-name-main>John</first-name-main> </account-information-type> </account> </account-information> Today I import each account to our db with only the latest application-array (application-date). The …

Member Avatar for adishardis
0
211
Member Avatar for rebelbelle

{ global $wpdb; $category_id = $wpdb->get_var("SELECT term_id FROM $wpdb->terms WHERE name = '" . addslashes($category_name) . "'"); return $category_id; } function shorten($string, $wordsreturned) { $retval = $string; $array = explode(" ", $string); if (count($array)<=$wordsreturned){ $retval = $string; } else { array_splice($array, $wordsreturned); $retval = implode(" ", $array); } return $retval; …

Member Avatar for broj1
0
868
Member Avatar for mpc123

Hi I am trying get a query to join 2 tables and a result on the information in both. At the moment I have the following $query = "SELECT * FROM TABLE1, TABLE2 Where 'TABLE2.field1' LIKE '%TABLE1.field2%'"; The problem is TABLE2 has a field with names in but TABLE1.field2 has …

Member Avatar for mpc123
0
155
Member Avatar for johnny.lhc.9

I got this problem when open this files,how to solve this problem? Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/indomari/public_html/administrator/includes/connect.php on line 64 this code locate at line 64 <?php set_time_limit(0); if (isset($_POST["scan"])) { $url = $_POST['traget']; echo "<br /><span class='start'>Scanning ".$url."<br /><br /></span>"; echo "ReSulT:<br …

Member Avatar for johnny.lhc.9
0
259

The End.