- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 33
- Posts with Upvotes
- 31
- Upvoting Members
- 5
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Student (High school)
- Interests
- Programming, Judo
- PC Specs
- Microsoft Windows XP Home Edition 2.2 Ghz 1024 MB RAM Ubuntu 7.04
156 Posted Topics
| |
Re: "R U the Girl" | |
Re: You get an weardly looking vending machine with an manual you can't read because it's japanese! I put in, my morning cereal. [b]Edit[/b]: Wow, this was an old thread :/ | |
Re: And you should use [inlinecode]int main()[/inlinecode] and end the programm with [inlinecode]return 0;[/inlinecode] | |
Re: Just wait 2 days and then look on Youtube, youtube has most TV serie's (in parts, but they have them) | |
Re: [quote=pty;251854]you probably have a better chance writing to the crew/cast who may wish to give their [b]only[/b] fan a copy.[/quote] only :P But I agree with him, I don't think that you have any change of finding anyone who still has an serie of 4-5 years ago, at least, not … | |
Re: I can't say much about the game yet, but you should use [inlinecode]int main(void)[/inlinecode] at least, I think. | |
Re: You can get URL value's with [INLINECODE]$_GET[][/INLINECODE] array, in your sample URL ( [url]http://somesite.com/readarticle.php?name=sample.txt[/url]) it would be [INLINECODE]$_GET['name'];[/INLINECODE]. Be warned to use this cause this brings potential security leeks with it. you should read up on the problems with it. [code]<?php $file = $_GET['name']; $f = fopen($file, r); while ( … | |
Re: I once read: There are 10 kind of people, those who know binary and those who doesn't liked that one. Mine is not really original. | |
| |
Re: I think you would be better off here: [url]http://www.daniweb.com/forums/forum52.html[/url] Good luck | |
Re: You could use [URL]http://www.wampserver.com/en/[/URL] or XAMPP (to lazy to search for link ;P). It has most the feature's necessary and works fine. It has PHPmyadmin (Very handy for mysql). If you want to run a server from a USBstick I would recommend [URL]http://www.chsoftware.net/en/useware/wos/wos.htm[/URL] Good luck and Have Fun. | |
Re: What do you mean under bot? Do you want an Chatbot? An fpsbot? An robot? Don't you mean AI? AI is complicated but do-able. Please tell us more about wat for sort of bot you would like, otherwise will it be really hard to try to help you :P | |
Re: You are currently using 232 MB (8%) of your 2786 MB. Without spam, some attachments. You can to see in the two posts below they sort of limited the space to 2786 MB :P | |
I have this code: [code] #include <iostream> using namespace std; class hello { private: char array[4][5]; public: hello(); void get_hello(){cout << "From the function: array[2][2] = " << array[2][2] << endl;} } hi; hello::hello() { char array[4][5] = { " ###", "####", "####", "####" }; cout << "From the constructor: … | |
Re: [code]cout << "/a";[/code] untested but should work. it was something in that direction :P | |
Re: I use dreamweaver to write PHP (used to, haven't written in a while and the trial is expired :P) For testing I use [url=http://www.wampserver.com/en/]wampserver[/url]. It's pretty usefull, you can to put it online let others see what you made. To you can work offline (that only you can acces it) … ![]() | |
Re: Best openGL tutorial I have found is at nehe.gamedev.net And don't think you can jsut jump in on high tutorial's. If you can't set up an wo\indow without copying code your still nowhere. | |
Re: [quote=The Dude;280232]That tastes eactly like red catchup to me anyways... Havent had too much of it though....[/quote] It tasted different for me. I think you to taste with your vision and nose. I only had it once, I like the red one more :P | |
Re: I don't think there is a good answer to this. "Better" is hard to define, I don't actually know Coldfusion but what I saw from it looked utterly weird. That doesn't mean it's a bad language, I heard that you can write very short code in Coldfusion. Choosing between language's … | |
Re: As I understand it you want to mask an id you pass through the URL with frames, so that people don't hotlink to it. But anyone reasonably smart wont be fooled by that. If I understand your problem correctly there are lots of ways to do it. You could check … | |
Re: with tags. You can replace [sub] and [/sub] with <sub> and </sub>, and then enter it in your DB. You should watch out for unclosed tags though, if you write [sub] and not close it all following text will be subscript. You should be able to figger it out. | |
Re: If I were you I would go for mysql instead of a textfile, both options are possible and mostly a matter of taste. The advantage of mysql is that you can easily request the last 10 or more results (you don't want to display all the conversation every time). For … | |
Re: When I tried it in PHPmyadmin I got:[code]CREATE TABLE `test` ( `id` CHAR( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , `name` INT NOT NULL ) ENGINE = MYISAM MySQL said: #1063 - Incorrect column specifier for column 'id'[/code]So I fear that what you are trying to do is impossible. … | |
Re: [code]<?php session_start(); $_SESSION['var'] = $variable; ?>[/code] [code]<?php session_start(); echo ++$_SESSION['var']; ?>[/code] I guess that should work | |
Re: Maybe post some code? All I can do now is direct you to PHP's session page. [url]http://nl3.php.net/manual/en/ref.session.php[/url] | |
Re: I guess your problem must lay in the form your using. To did you made a little typo:[inlinecode]if($budget == "low"){ $sream = $stream + 3; }[/inlinecode] if the post variable's aren't initialized will none of these statements evaluate: [code] if($time == "deadline"){ $custom = $custom + 1; } if($time == … | |
Re: It looks to me like the www folder for Cpanel is wrongly set. it operates in /home/cometora/public_html/ and it calls to /usr/local/apache/htdocs/. This might as well be intended behavior. My guess would be that Cpanel has a configuration which defines what the root of the web server / Cpaneldirectory is … | |
Re: PHP had a nice build-in library called [URL="http://nl3.php.net/manual/en/ref.simplexml.php"]SimpleXML[/URL] for parsing XML. Your client needs to have PHP5 though. Good luck. | |
Re: I don't see any problems in my first glance, try to put a [INLINECODE]print_r($names);[/INLINECODE] somewhere and see whether the array contains email adresses valid for PHP to swallow ( [url]http://nl3.php.net/manual/en/function.mail.php[/url] ). BTW, [inlinecode]$x = 1;[/inlinecode], shouldn't that be [inlinecode]$x = 0;[/inlinecode]? Or does the file your loading first have an … | |
Re: Yes, the server can't see the difference between two requests from different windows (different browsers is another story, you got to have the session cookie for it to work) | |
Re: You need to wrap this in a form tag, and then submit it with a <input type="submit">. Here's how the form is supposed to look, taken that this is the file index.php: [CODE]<form action="./index.php" action="POST"> <input type="checkbox" name="ch1" value="checked" /> Choc<br /> <input type="checkbox" name="ch2" value="checked" /> Liqu<br /> <input … | |
Re: The only thing I use is a text editor with some sort of text highlighting, at this moment bluefish. (And off course an image editor, GIMP for me). If you want feature's to include in such an application look at the feature list of Dreamweaver, that is ought to give … | |
Re: Well, to take the easier part first, the printing of each value of an array: [code]<?php foreach($array as $key => $val){ echo "$key = $val <br />"; }[/code] Now to separate email addresses, that depends on how the string with the email addresses is formatted. if it's just separated with … | |
Re: This question makes no sense. Pages are read-only. You are probably not formulating this correctly. Post again and explain what you want PHP to do. We'll help you on your way to do it. | |
Re: You shouldn't upload it to your production server, especially if it are scripts you don't understand the working off. I'd advice you to get a local server, if your on windows is [URL="http://www.wampserver.com/en/"]wamp[/URL] an very easy option. If you already uploaded it and got the domain to point at a … | |
Re: If there both installed it should work. I used the debian repository via ubuntu to get apache and mod_php (I believe that's what the plugin is called). How did you install PHP and Apache? Did you compile it yourself? There might be another problem instead of Apache not seeing PHP, … | |
Re: I bought two complete commodore's on an fleamarket for 2 euro (2 commodore's (But 1 is not working), over 100 diskette's and about 20 tapes, 1 disk drive and 3 tape recorders). It were 3 boxes full of stuff! But my parents get pretty pissed when I take it down … | |
Re: indeed, still do I prefer Google Earth for all my satelite photo needs. It to points roads and other useless stuff. Funny story is that the pointer for the town-hall is pointed above the supermarket in my town. but it's funny that this one can load different map's from different … | |
Re: [URL]http://nl3.php.net/manual/en/ref.mysql.php[/URL] Scroll down, to Table of Contents. There is a list of mysql functions. You should especially look at: mysql_connect(); mysql_select(); mysql_close(); mysql_select_db(); mysql_query(); mysql_fetch_array(); mysql_result(); I assume you already know mysqls query language. If not look on the Internet for tutorials. Ask if you have any more problems. | |
Re: Use a unique identifier in the mysql table (Like an index key or an unique key). Then use something in the direction off: [code]if( ! isset( $_GET[ 'id' ] ) ){ die( 'No ID specified' ); } $value = mysql_get_gpc() ? $_GET['id'] : addslashes( $_GET['id'] ) ; mysql_query( "select * … | |
Re: If you want others to access your forum I would advise you against hosting it yourself. It would mean your computer has to be on and running the web server if others want to access it. To are there a lot of free forum packages, like [URL]http://www.phpbb.com/[/URL] (there are more … | |
Re: Since you provide very few information is it hard to help. I'd say you should go with PHP. PHP is very easy to learn and integrates nicely with mysql databases. PHP puts HTML and CSS out, all server side. For more info on PHP go to [URL]http://www.php.net/[/URL]. Good luck and … | |
Re: Do you think your boss is ok with you posting this? Beside that, can't you trace the problem down to a specific piece fo code? This is to big for me to wade through. To I like code that's indented. | |
Re: It looks to me like you entered this somewhere in your mediagalary, but that it got parsed. To because that a tag was wrapped around the URL's. Bit weird is the <br"> and that it didn't close the a tag, if it were a parser. So I ask you, did … | |
Re: Put your server online (left click on wamp icon, then put online) and then goto your IP (you said 192.168.0.12) in your browser. |
The End.