Search Results

Showing results 1 to 40 of 77
Search took 0.02 seconds.
Search: Posts Made By: cwarn23
Forum: Geeks' Lounge 8 Days Ago
Replies: 49
Views: 1,551
Posted By cwarn23
I understand from a theoratical point of view you could achieve altering the planets orbit just like you can blow up the galaxy with a truck, a few pipes, a welder and a microwave - as shown on...
Forum: Geeks' Lounge 10 Days Ago
Replies: 16
Views: 811
Posted By cwarn23
Age of Empires 2 - That's one of my favorite games too. I don't think the Microsoft Zone is running though so unfortunately we can't vs each other in Age of Empires 2. :( That's a shame.
Forum: PHP 10 Days Ago
Replies: 14
Views: 515
Posted By cwarn23
That won't work due to invalid syntax. The following would be more like it.
mysql_connect("localhost", "root", "password");
mysql_select_db('my_database');
$query="UPDATE ".$table." SET...
Forum: Geeks' Lounge 12 Days Ago
Replies: 6
Views: 385
Posted By cwarn23
Well I think the question is referring to just after your reply and after leaving the thread. But there is a limit to how many words you can fit in the title and that is where the confusion comes...
Forum: DaniWeb Community Feedback 14 Days Ago
Replies: 5
Views: 383
Posted By cwarn23
Although I rarley use that method to login I too find it annoying it doesn't work as every so often I forget that method doesn't work and get caught by the bug. Please fix dani.
Forum: Geeks' Lounge 14 Days Ago
Replies: 9
Views: 411
Posted By cwarn23
Independence Day? Is that the day where the aliens try to take over the world. When we would not give up without a fight. When we would not sleep quietly into the night. When we were going to live on...
Forum: PHP 16 Days Ago
Replies: 5
Views: 386
Posted By cwarn23
Exactly and in addition to that your host may have turned off short tags in the php.ini file so you might need to use the full <?php.
Forum: PHP 17 Days Ago
Replies: 3
Views: 323
Posted By cwarn23
Here's a script from this article (http://syntax.cwarn23.net/PHP/Pagination_made_easy).
<?php
$pages_left=3;
$pages_middle=4;
$pages_right=2;

$total_pages=100;
if (!isset($_GET['page']) &&...
Forum: PHP 19 Days Ago
Replies: 3
Views: 326
Posted By cwarn23
You can take a look at this thread (http://www.daniweb.com/forums/thread239874.html) for a script that already has some of those abilities programmed in. But there would be a lot more programming to...
Forum: PHP 20 Days Ago
Replies: 7
Views: 362
Posted By cwarn23
I have a template that I can give you and it is as follows:
<form method="post">Scan site: <input type="text" name="site" value="http://" style="width:300px">
<input value="Scan"...
Forum: Geeks' Lounge 20 Days Ago
Replies: 24
Views: 1,654
Posted By cwarn23
When you program a computer game based on a dream you had...
Forum: PHP 22 Days Ago
Replies: 12
Solved: Echo array
Views: 431
Posted By cwarn23
Maybe my explanation was too short. Sometimes people will do the following:
<?php
$connection = mysql_connect("myserver.com","myuser","mypassword") or die ("Couldn't connect to server.");
$db =...
Forum: PHP 23 Days Ago
Replies: 19
Solved: auto refresh
Views: 526
Posted By cwarn23
That is correct from what I have read in the past.
Forum: PHP 23 Days Ago
Replies: 4
Views: 374
Posted By cwarn23
Perhaps this:
<?php
mysql_connect(HOST,USER,PASS);
@mysql_select_db("db303278079") or die( "Unable to select database");
$query="SELECT * FROM restaurants";
$result=mysql_query($query);...
Forum: PHP 23 Days Ago
Replies: 3
Views: 462
Posted By cwarn23
Try adding the following to the top of your php file(s)
setcookie ('PHPSESSID', $_COOKIE['PHPSESSID'], time()+172800);
Forum: Java 26 Days Ago
Replies: 16
Solved: Append to array
Views: 789
Posted By cwarn23
Hi and I have been working on a simple problem but can't seem to find any solution and have tried browsing the net. My question is how do I append to an array. Below is the code I tried but still...
Forum: PHP 27 Days Ago
Replies: 109
Views: 3,664
Posted By cwarn23
Well when I say the word "you" I refer to the reader. Sorry if it was a bit confusing as many things in this topic are confusing to the untrained eye.
Forum: Geeks' Lounge 27 Days Ago
Replies: 21
Views: 1,394
Posted By cwarn23
That's why the technology was found pre-made in egypt and according to my religion we descended from the Ancients somewhere between 5 and 10 million years ago.
Forum: Search Engine Optimization Nov 1st, 2009
Replies: 49
Views: 3,401
Posted By cwarn23
I tested the following keyword on google, yahoo and altavista and it seems to work perfectly.
link:google.com
The above search term will search for all pages that link to google.com Also it tells...
Forum: PHP Oct 14th, 2009
Replies: 107
Views: 3,448
Posted By cwarn23
Well for those with a slow internet connection every 10 seconds the video will pause and buffer then continue. I hate how that happens but I guess there is no way around it.
Forum: PHP Oct 14th, 2009
Replies: 107
Views: 3,448
Posted By cwarn23
Cool, discovered that the player has some impressive documentation at http://developer.longtailvideo.com/trac/wiki/FlashVars

Now that I have my player working, could anyone reading this review the...
Forum: DaniWeb Community Feedback Oct 7th, 2009
Replies: 9
Views: 616
Posted By cwarn23
THANKS! That's where they are hidden. Before they used to be in the one folder (inbox I think) but something must have changed during the upgrade to move all the messages to the sent box because even...
Forum: PHP Oct 7th, 2009
Replies: 107
Views: 3,448
Posted By cwarn23
:)[/QUOTE]
:twisted: Indeed
Forum: PHP Oct 6th, 2009
Replies: 107
Views: 3,448
Posted By cwarn23
Now that's an idea. I was planning to add them to my website and submit the best ones to daniweb but I now that you mention it I will make youtube videos too.
Forum: DaniWeb Community Feedback Oct 6th, 2009
Replies: 9
Views: 616
Posted By cwarn23
1
Bugs!
Hi,
I have tried to view my private messages (pm's) and although at the top of the screen it says I have 42 messages I can only view 2 messages. The first message and the last I can view. Could...
Forum: PHP Oct 6th, 2009
Replies: 107
Views: 3,448
Posted By cwarn23
Wow, those are excellent suggestions. I will start them as soon as possible and I think the charts tutorial will be interesting as I have made php charts once before but haven't really used them....
Forum: PHP Oct 5th, 2009
Replies: 3
Views: 729
Posted By cwarn23
Also don't forget to try the imap_mail() (http://au2.php.net/manual/en/function.imap-mail.php) function.
Forum: PHP Oct 5th, 2009
Replies: 7
Views: 261
Posted By cwarn23
Well try adding the following line just before the mail function to see if the address to is being stored properly.
echo '<h1>'.$to.'</h1>';
It should display the email address and if it doesn't...
Forum: DaniWeb Community Feedback Oct 4th, 2009
Replies: 3
Views: 391
Posted By cwarn23
Then why don't yous just redesign how the reputation system works so that people can't destroy others rep. In other words why not make the reputation system less sensitive with a limit?
Forum: PHP Oct 3rd, 2009
Replies: 107
Views: 3,448
Posted By cwarn23
Hi and I am planning to make a bunch of tutorials. I would like to hear what sort of php/ajax tutorials people would like to see. I have heard in the past that some noobs would like a tutorial on...
Forum: PHP Sep 10th, 2009
Replies: 3
Code Snippet: Filter url to domain
Views: 1,335
Posted By cwarn23
In these three functions, you can filter to a url to just the domain name. There are three main methods of doing so which are all shown in the example and the usage of each function is shown in the...
Forum: PHP Sep 9th, 2009
Replies: 13
Views: 1,691
Posted By cwarn23
Does anybody know how I would use sockets to tap into the SMS protocol for sending+receiving SMS messages. Basically, all I want to be able to do is setup a php script that will be able to act as the...
Forum: PHP Sep 9th, 2009
Replies: 4
Views: 267
Posted By cwarn23
Actually it should be as follows:
<option value="0" <?php echo ($installtype == "0" || $installtype == 0) ? "selected" : ""; ?> >Install with CPanel Info (can create MySQL DB ...
Forum: IT Professionals' Lounge Sep 6th, 2009
Replies: 42
Views: 3,196
Posted By cwarn23
Well one of the things that I like about Ubuntu that I find hard with some other distributions that that it is easy to use. Is easy to use a bad thing because more complex=better? Also with Ubuntu...
Forum: PHP Sep 5th, 2009
Replies: 21
Views: 748
Posted By cwarn23
Try the following code:
<?
mysql_connect('localhost','root','');
mysql_select_db('mydatabase');
if (isset($_POST) && !empty($_POST)) {
function generate($sql) {
$dat='';
...
Forum: PHP Sep 4th, 2009
Replies: 7
Views: 438
Posted By cwarn23
In case you want to make a custom function, the following code will do the job but is really slow. But this will give you something to play with.<?
function get_date($date,$timestamp=false) {
...
Forum: PHP Aug 27th, 2009
Replies: 17
Views: 703
Posted By cwarn23
I have checked your code and although it's a bit messy and buggy, a corrected version (still messy) is as follows:
$list = file_get_contents($imgpath);
$listarray = array();
$listarray =...
Forum: PHP Aug 14th, 2009
Replies: 1
Views: 285
Posted By cwarn23
Why not just try it and find out. That's one of the great things with having xampp or wamp/lamp. Because you can easily test it under a localhost environment with that software and I can tell you...
Forum: PHP Jul 23rd, 2009
Replies: 4
Views: 511
Posted By cwarn23
Try something like this
mysql_query('INSERT INTO lesson (subject, year, learningArea, objectives, ability) VALUES ("'.mysql_real_escape_string($onrow["subject"]).'",...
Forum: PHP Jul 1st, 2009
Replies: 21
Views: 1,525
Posted By cwarn23
I was thinking of a new project for making a bot that scans daniweb for information and enters useful information into a database then people can ask the website questions and php+mysql will provide...
Showing results 1 to 40 of 77

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC