- Upvotes Received
- 4
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
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, … |
|
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? |
|
Re:
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 |
|
Re:
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"> </p> </body> [/code] it doesn't give any result. Please help me. |
|
Re:
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, … |
|
|
Re:
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 - … |
Re:
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 … |
|
Re:
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 … |
|
Re:
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[] … |
|
Re:
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 { … |
|
Re:
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 |
|
Re:
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 … |
|
Re:
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 |
|
Re:
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 … |
|
Re:
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] … |
|
Re:
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 = … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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... … |
|
Re:
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 … |
|
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 … |
|
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 … |
|
Re:
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. … |
|
Re:
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 … |
|
Re:
[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 = … |
|
Re:
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 … |
|
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
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 … |