Search Results

Showing results 1 to 40 of 1000
Search took 0.10 seconds.
Search: Posts Made By: cwarn23
Forum: Geeks' Lounge 5 Hours Ago
Replies: 12
Views: 175
Posted By cwarn23
If you like back to the future and are Aussie then you will lovethis youtube clip. (http://www.youtube.com/watch?v=uuZBxsJ396M) It is one the chasers war on everything made when John Howard was Prime...
Forum: Geeks' Lounge 5 Hours Ago
Replies: 6
Views: 82
Posted By cwarn23
Has anybody seen the video linked to in the first post?
Forum: PHP 11 Hours Ago
Replies: 12
Views: 157
Posted By cwarn23
The only other option is the below. If that doesn't work then it means there is something wrong with the apache httpd.conf file. I have experience that myself but can't find how to configure it...
Forum: PHP 11 Hours Ago
Replies: 12
Views: 157
Posted By cwarn23
Just saw on your first post it is http://localhost/user/jack
Try the following although there are a number of possibilities for this error...
RewriteRule ^/?user/([a-zA-Z0-9_]+)/?$...
Forum: PHP 12 Hours Ago
Replies: 12
Views: 157
Posted By cwarn23
Try to make sure that it rewrites to the correct location. So could you provide a url link to your php page mentioned in your htaccess file including domain and all.
Forum: PHP 13 Hours Ago
Replies: 12
Views: 157
Posted By cwarn23
Try this
RewriteRule ^user/([a-zA-Z0-9_]+)/?$ profile/?uname=$1 [NC,L]
RewriteRule ^user/([^a-zA-Z0-9_]+)/?$ errorpage.php [NC,L]
And don't forget to make that error page.
Forum: PHP 13 Hours Ago
Replies: 12
Views: 157
Posted By cwarn23
Shouldn't those symbols be encoded. Try using the php urlencode function on those symbols to see what the translation should be. That would be the most likely solution because such symbols can't be...
Forum: PHP 14 Hours Ago
Replies: 3
Views: 86
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: Geeks' Lounge 14 Hours Ago
Replies: 6
Views: 82
Posted By cwarn23
I didn't say anyone had to care about what anybody believes but this topic is to share around ideas of how the universe was created.


I'm not sure exactly what that means.
Forum: Geeks' Lounge 15 Hours Ago
Replies: 6
Views: 82
Posted By cwarn23
Hi and have been thinking about the big bang and wonder how did it all really start. Was it really like this theory (http://foxygoddess.multiply.com/video/item/11) or the effect of somebody doing an...
Forum: Geeks' Lounge 15 Hours Ago
Replies: 12
Views: 175
Posted By cwarn23
My favorite movie is Titanic 1997 as it shows how even the best technology can fail on us all. Next best movie is Stargate Atlantis as we all descended from the Atlantians at the Pegasus galaxy. At...
Forum: PHP 16 Hours Ago
Replies: 12
Views: 157
Posted By cwarn23
Try perhaps this:
RewriteRule ^/?user/([^\.]+)/?$ /profile/index.php?uname=$1 [NC,L]
Also the second part the is where to needs to specify then entire address after the domain so for example the...
Forum: PHP 1 Day Ago
Replies: 3
Views: 88
Posted By cwarn23
Although you could use regex it would be better to use the following:
$url='http://www.youtube.com/watch?v=NMAYr709-9Y&feature=dir';
$var=explode('?v=',$url);
$var=explode('&',$var[1]);
echo...
Forum: PHP 1 Day Ago
Replies: 7
Views: 160
Posted By cwarn23
The reason why my script is a little more complex than that is because the script I wrote scans every page in the website specified. So in other words it will go to the specified page, grab all the...
Forum: PHP 1 Day Ago
Replies: 7
Views: 160
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 1 Day Ago
Replies: 21
Views: 644
Posted By cwarn23
When you program a computer game based on a dream you had...
Forum: Geeks' Lounge 2 Days Ago
Replies: 19
Views: 354
Posted By cwarn23
I agree because I used to solve questions like crazy in the php forum but now there are fewer questions that are not already solved by another member. I hope this doesn't spell the beginning of the...
Forum: Geeks' Lounge 2 Days Ago
Replies: 19
Views: 354
Posted By cwarn23
I'll tell ya where I have gone when I'm not online - to work and to sleep... Next!
Forum: Geeks' Lounge 2 Days Ago
Replies: 21
Views: 644
Posted By cwarn23
You know your a geek when your plan of world domination has worked (eg. Bill Gates and IBM)
Forum: Geeks' Lounge 3 Days Ago
Replies: 21
Views: 438
Posted By cwarn23
Then maybe an electric windmill farm and solar panel farm. Their both environmentally friendly and you would be kept busy maintaining the turbines.
Forum: PHP 3 Days Ago
Replies: 4
Views: 92
Posted By cwarn23
Not much use putting that info in this solved topic. Try setting up a new topic.
Forum: Geeks' Lounge 3 Days Ago
Replies: 21
Views: 438
Posted By cwarn23
What if to power it you took a nuclear reactor then you could pump the excess power to India where you will receive lots of cash. Then if you had a computer with satellite Internet you could buy...
Forum: PHP 3 Days Ago
Replies: 12
Solved: Echo array
Views: 253
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 3 Days Ago
Replies: 12
Solved: Echo array
Views: 253
Posted By cwarn23
So it displayed something... So we know that you were using the right names but the normal cause of this is an extra line of code. Try the following script.
<?php
$connection =...
Forum: PHP 3 Days Ago
Replies: 12
Solved: Echo array
Views: 253
Posted By cwarn23
To test if no rows are found try the following:
while( $data2 = mysql_fetch_array($query)) {
echo $data2[0];
echo $data2[1];
echo $data2[2];
}
The nothing is displayed then that means there...
Forum: PHP 3 Days Ago
Replies: 12
Solved: Echo array
Views: 253
Posted By cwarn23
Replace lines 11 to 13 with the following
echo $data2['firstname'];
echo $data2['lastname'];
echo $data2['task'];
Forum: IT Professionals' Lounge 3 Days Ago
Replies: 1
Views: 159
Posted By cwarn23
I feel the same. High demands few jobs although I live in a low tech area. For example if you search for a PHP developer then maybe in a years time you will find an ongoing job that will last for at...
Forum: PHP 3 Days Ago
Replies: 8
Views: 302
Posted By cwarn23
$get = mysql_query("SELECT * FROM flats LIMIT $start, $per_page");
Replace the above with something like the below.
$get = mysql_query("SELECT * FROM flats ORDER BY date_posted DESC LIMIT $start,...
Forum: PHP 4 Days Ago
Replies: 19
Solved: auto refresh
Views: 305
Posted By cwarn23
Just to make it clear - indeed there should be no echos before the header().
Forum: PHP 4 Days Ago
Replies: 19
Solved: auto refresh
Views: 305
Posted By cwarn23
That is correct from what I have read in the past.
Forum: PHP 4 Days Ago
Replies: 4
Views: 136
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 4 Days Ago
Replies: 19
Solved: auto refresh
Views: 305
Posted By cwarn23
Well actually the entire page will be process by php unless the exit; statement is placed there. So for example if you have a mysql insert it will insert before redirecting unless the exit; is placed...
Forum: Geeks' Lounge 4 Days Ago
Replies: 4
Views: 205
Posted By cwarn23
PHP would be the section if you have a webserver with php installed. Also google has their own api's for this kind of stuff so it is possible to do in a number of languages. If you plan to write it...
Forum: Geeks' Lounge 4 Days Ago
Replies: 21
Views: 438
Posted By cwarn23
I would bring a nuclear reactor to build a power plant, and a swiss army knife, a few straws, an empty one Liter bottle, a Tent, a large cooking Knife, large quantities of flint, 3 First aid kits and...
Forum: Geeks' Lounge 4 Days Ago
Replies: 2
Views: 156
Posted By cwarn23
Looks like a bunch of ones and zeros with a few letters to me.
Forum: PHP 4 Days Ago
Replies: 4
Views: 161
Posted By cwarn23
If you want wildcards then the following contains the wildcards:
$sql = 'SELECT * FROM device WHERE `device_num` LIKE "%'.mysql_real_escape_string($val_d).'%" OR `dib` LIKE...
Forum: PHP 4 Days Ago
Replies: 19
Solved: auto refresh
Views: 305
Posted By cwarn23
<?php
header("Location: http://yoursite.com/index.php");
exit;
//above must be at very top before any browser output
Forum: PHP 4 Days Ago
Replies: 2
Views: 177
Posted By cwarn23
Try adding the following to the top of your php file(s)
setcookie ('PHPSESSID', $_COOKIE['PHPSESSID'], time()+172800);
Forum: PHP 4 Days Ago
Replies: 1
Views: 119
Posted By cwarn23
You will find that by doing that as you have mentions, parts of it such as javascript will not be compatible with some email clients. So best thing to do is to just have a link to something like...
Forum: PHP 4 Days Ago
Replies: 4
Views: 161
Posted By cwarn23
Try replacing it with the following:
$sql = 'SELECT * FROM device WHERE `device_num` LIKE "'.mysql_real_escape_string($val_d).'" OR `dib` LIKE "'.mysql_real_escape_string($val_dp).'"';
Showing results 1 to 40 of 1000

 


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

©2003 - 2009 DaniWeb® LLC