Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~13.7K People Reached
Favorite Tags
Member Avatar for OmniX

I have tried to research this and im always running into old articles. What I have come across are (possibly more): md5, sha1, hash, crypt and mcrypt Now I have used md5/sha1 before and have 32/40 character long strings the others I dont know too much about but in short, …

Member Avatar for Stefano Mtangoo
2
2K
Member Avatar for chaines51

Ok, so I have a very basic (low footprint) logging system. However, one thing I cannot figure out is, if I write a log to [icode]fatal()[/icode], then I want the script to quit executing, period. Is there anyway to do this?

0
56
Member Avatar for achiman

Hi please can anybody tell me if it is possible to write a code in php that will change the image being display on my website every second. In others I want three different images to display at my homepage but at intervals. Thanks

Member Avatar for achiman
0
102
Member Avatar for Narayan15

hi experts, Here i have a problem with innerHTML in php page. [code] <script type="text/javascript"> function GetInner(sid) { document.getElementById("sid").innerHTML='<?php $id='+sid+'?>'; } } </script> <body> <p id="sid">&nbsp;</p> </body> [/code] it doesn't give any result. Please help me.

Member Avatar for Narayan15
0
248
Member Avatar for restrictment

Hello, I just finished my text-based RPG called Helsmich, however I need a few testers to find bugs/errors and tell me. There are quite a few variables that can be changed in the games such as your name, money, armor, weapon, kills, deaths, strength, speed, defense, accuracy, health, attributes, level, …

Member Avatar for restrictment
1
349
Member Avatar for panam72

Need help with the following to put a website back online. Im not the most experienced PHP programmer so yuor help is appreciated. The error: Parse error: syntax error, unexpected T_STRING in /home/stacklab/public_html/includes/content/homepage_content.php on line 5 The Syntax: <?php define("HOMEPAGE_CONTENT",'<div align="justify" class="homepageContent"><p><h1> Buy Legal Steroids & Bodybuilding Supplements Online - …

Member Avatar for Clawsy
0
202
Member Avatar for levsha

I tripped on this one. I have an HTML form that has all kinds of input elements - text, textarea, radio buttons and checkboxes. I have no problem inserting or updating data in MySQL DB from the HTML form. But when I want to display what is already in the …

Member Avatar for venkat0904
0
177
Member Avatar for AdventDeo

Hello! I'm trying to extract a php table to an excel file. There's only ONE bit of problem. My table has alternating colors for each row and, lets say once extracted my cells range from A1:G20 in Excel, but instead of just coloring A:G, the row colors went all the …

Member Avatar for chaines51
0
108
Member Avatar for beshoyatef

Hi to all, ------------- Here there is array of ten position and array contain ten integers . I want to put the array of ten integers randomly on the array of ten position ... Here is my code : ---------------------- [CODE]import java.util.Random; public class TestArray { public static void main(String[] …

Member Avatar for beshoyatef
0
100
Member Avatar for red999

I am write a program that both uses inheritance and composition. I am a bit new to inheritance so I am a little confused on some aspects of it. Let's say I have a class definition like this [CODE]class Month { Week *week[4]; }; // class Month class Week { …

Member Avatar for mrnutty
0
106
Member Avatar for phouse512

Hello, I've looked on google for information about storing multiple pieces of information in one database column, but I can't find anything helpful. If I want to have some sort of etc. inventory, and there is more than one 'item', how would I store multiple items inside the database? Thanks

Member Avatar for Designer_101
0
106
Member Avatar for tiger86

Hey; I have 6 months of work done in PHP and I really don't want to re-invent the wheel but I want to use some Ruby in my site. Is it possible to "mix languages" like PHP and ruby or will I run into some major problems? I would really …

Member Avatar for codejoust
0
259
Member Avatar for niche1

I found this script and don't understand where the argument 'next thursday' came form. I can't find it in the manual for the DateTime class. Shouldn't I be able to find it there? [CODE]<?php $date = new DateTime('next Thursday'); echo $date->format('l, F jS, Y'); ?>[/CODE] Thanks

Member Avatar for chaines51
0
69
Member Avatar for .11

Hey everyone... Well I am sorting items based upon a number. My first case is if tail == null, if so that the first element to be added in the list. My second case is if the element I want to add number is greater than the tail. If so …

Member Avatar for .11
0
126
Member Avatar for leoeroy

I need help with my java program. I can't seem to figure out how to print my output in 10 numbers and then go to the next line. For example: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 here's my code [CODE] …

Member Avatar for leoeroy
0
106
Member Avatar for Bhuddha

Hey, I'm trying to get a form submit to work, I've got this made: <?php $to = "xxx@xxx.xxx" ; $subject = "Application form" ; $firstname = $_REQUEST['first_name'] ; $charname = $_REQUEST['char_name'] ; $class = $_REQUEST['class'] ; $level = $_REQUEST['level'] ; $age = $_REQUEST['age'] ; $timezone = $_REQUEST['timezone'] ; $raidavail = …

Member Avatar for phouse512
0
110
Member Avatar for ytregnn

I just bought this script; [url]http://www.scriptsez.net/index.php?action=details&cat=Reviews+and+Ratings&id=2519672139[/url] You can see a demo of the script here: [url]http://www.scriptsez.com/ez_comment/demo.html[/url] I'd like to create an 'average' of the total votes for each review/comments. Is this possible to do in an easy way? I would also like to create a top 10 list based upon …

Member Avatar for diafol
0
89
Member Avatar for halona

hi .. I want to display an error if the user didn't enter the id or the password in the Text fild.. but nothing happed when I compare it to null .. or to "" .. is there any way to do this? I also tried to compare it with …

Member Avatar for chaines51
0
110
Member Avatar for ayan2587

hi frndz... here's a very small doubt that's been lingering for a while... what is the meaning of finding an algorithm for a certain problem in constant space?? i dont understand the meaning of constant space, does it mean that no temporary variable can be created? for ex:here's a question... …

Member Avatar for chaines51
0
83
Member Avatar for gunbuster363

I want to use the function preg_match_all to catch data in a web page ------------------------------------------------------------------------------------------ int preg_match_all ( string $pattern , string $subject , array &$matches [, int $flags [, int $offset ]] ) Searches subject for all matches to the regular expression given in pattern and puts them in …

Member Avatar for pritaeas
0
146
Member Avatar for chaines51

Ok, so my question is this. If I had two tables, quizzes, and users, where each user 'has many' quizzes, then one could simply just add a user_id column to the quizzes table to create this link. However, how would I implement a has many-has many relationship? For example, I'm …

Member Avatar for zmariow
0
86
Member Avatar for chaines51

Here's the problem: I have a folder /tests/ which contains all my unit tests. I want the test runner to be able to go and include all of the unit test classes from that directory, and then run all the tests in those classes. So the first part of the …

Member Avatar for sureronald
0
80
Member Avatar for born_to_code

i have to make a program to find the intersection of two strings, i have made program but its not working. any help will be appreciated.:) [code] #include <cstdlib> #include <iostream> using namespace std; void intersection(char *str1, char *str2) { int len1,len2,i=0,j,flag=0; char temp[30]; while(*str1!='\0') //outer loop for 1st string. …

Member Avatar for Tom Gunn
0
1K
Member Avatar for rciprogrammer

How do I 'restore' my output (stdout) back to the terminal after redirecting it to a file. I want to be able to output to a file for a specific section of code, then close that file and put output back to the screen/terminal. [code=c++] fprintf(stdout, "This will go to …

Member Avatar for rciprogrammer
0
6K
Member Avatar for veru

[code] #include<iostream.h> void ascending(int,int); int main() { int array_size=10; int numbers[]={3,54,23,0,677,45,77,342,4,10}; cout<<"The numbers are: "<<endl; for(int i=0;i<10;i++) { cout<<numbers[i]; } cout<<"the ascending form is: "<<endl; ascending( numbers[], array_size); return 0; } void ascending(int numbers[], int array_size) { int i, j, index; for (i=1; i < array_size; i++) { index = …

Member Avatar for chaines51
0
105
Member Avatar for esesili

Hi everyone, I am trying to sort array by a function. My code is shown below. I get error message "runtime check failure 2 stack around the variable "arrayim"". Can someone tell me what does it mean and how to solve this problem? I appreciate for helps [ICODE]#include <iostream> using …

Member Avatar for chaines51
0
107
Member Avatar for chaines51

Is there ANY standards compliant way to get unbuffered input from the console without the characters being automatically displayed? because, although I can reset the buffer on cin to 0 with [icode]cin.rdbuf->pubsetbuf(0,0)[/icode], when I do this, it outputs all characters twice (because it outputs them by default once?) The reason …

Member Avatar for chaines51
0
408
Member Avatar for pltndragon

I'm supposed to dynamically allocate an array of integers. The function should accept an integet argument indicating teh number of elements to allocate. The function should return a pointer to the array. This is what i got so far. [code] #include <iostream> using namespace std; //Function prototype int *arrAllocator(int); int …

Member Avatar for pltndragon
0
406
Member Avatar for esesili

Hello again, I am trying to generate an array which has random integers. Then I have to sort it and perform binary search. Below is my code so far. It gives error message (runtime check failure 2 stack around the variable num_arry was corrupted). When I define num_arry[10] instead of …

Member Avatar for mvmalderen
0
97
Member Avatar for chaines51

I have a class (String) that I want to be able to implicitly convert to a char. How would I go about doing this? I know to do it the other way around, I just add a constructor that just takes a char as a parameter, but to convert from …

Member Avatar for chaines51
0
168