Search Results

Showing results 1 to 38 of 38
Search took 0.01 seconds.
Search: Posts Made By: kevindougans
Forum: Mac Software Oct 8th, 2008
Replies: 4
Views: 5,055
Posted By kevindougans
There is defo programs out there that can handle creating and sending newsletters... not sure about the cross compatibility but try Neo Office, Open Office or a search on versiontracker.

I find...
Forum: IT Professionals' Lounge Oct 8th, 2008
Replies: 10
Views: 2,114
Posted By kevindougans
go to download.com and search for "file recovery", theres some great programs on there... some freeware.

One called "Recover Files" I think...

Just sort the search results buy rating and filter...
Forum: IT Professionals' Lounge Oct 8th, 2008
Replies: 2
Views: 715
Posted By kevindougans
It's not so easy with dreamweaver alone.

You need some form of server side scripting to do the tricky bits - like to store the fact the user has clicked the link and activated his account.

PHP...
Forum: PHP Oct 8th, 2008
Replies: 4
Views: 617
Posted By kevindougans
i would guess coldfusion is less supported and less documented so i wouldn't instantly and easily believe it will cut down your development time...

it might come pre-isntalled with some nifty...
Forum: PHP Oct 8th, 2008
Replies: 1
Views: 742
Posted By kevindougans
I would normally just create a PHP file of definitions... name it after the language and include the correct file...

that way your code will never have to change and it's kept simple... i guess...
Forum: PHP Oct 3rd, 2008
Replies: 8
Views: 678
Posted By kevindougans
i don't think its as easy as you think mate...

On the html you need to add this:
<input type="file" name="uploadFile">

And on the page that checks and stores everything int he database you'll...
Forum: PHP Oct 3rd, 2008
Replies: 1
Views: 361
Posted By kevindougans
The timezone of your server is different to your timezone by the sounds of it.

Fix this with the following code (make sure to change the timezone to your timezone at home for best results!!)

...
Forum: PHP Oct 3rd, 2008
Replies: 8
Views: 678
Posted By kevindougans
www.htmlgoodies.com/beyond/webmaster/article.php/3548746

visualdesigncore.com/tutorials/PHP-MySQL/PHP-Image-Upload/

is two for a start.
Forum: PHP Oct 1st, 2008
Replies: 5
Views: 575
Posted By kevindougans
:)

Anytime mate; I owe it to this board for the amount of times it's helped me out over the past year.
Forum: PHP Oct 1st, 2008
Replies: 5
Views: 575
Posted By kevindougans
Almost... the is_numeric checks the variable you passed to it is a number - of any kind. If you pass "nvg8vn4g4g444" to it, it should return false...
Forum: PHP Oct 1st, 2008
Replies: 5
Views: 575
Posted By kevindougans
try is_numeric() instead... is_int is a really specific function that only works when calling it like

is_int(1); //true
is_int('1'); //false
Forum: PHP Oct 1st, 2008
Replies: 9
Views: 699
Posted By kevindougans
Regardless of what the error is I find it best to store a unix timestamp in the database in a "int" field and then use PHP to manipulate it.

This produces a very fast db table when sorting by...
Forum: PHP Oct 1st, 2008
Replies: 9
Views: 729
Posted By kevindougans
change this line:
$sres=mysql_query($sqry);

to be like this:
$sres=mysql_query($sqry) or die(mysql_error());

this will tell you what the problem is.
Forum: PHP Sep 23rd, 2008
Replies: 3
Views: 645
Posted By kevindougans
Get subversion (SVN).

tortoisesvn.net for more info.

Instead of making backups everywhere it will save every version of every file on a backup server, which you can "most of the time" setup on...
Forum: JavaScript / DHTML / AJAX Apr 22nd, 2008
Replies: 1
Views: 1,309
Posted By kevindougans
Hi there,

Hope someone can help...

I'm developing a "Startpage" for a client's customers.

He wants all information relevant to his clients to be displayed on 1 web page.

We have come up...
Forum: PHP Apr 13th, 2008
Replies: 4
Views: 1,566
Posted By kevindougans
you've posted the wrong bit of code, you need to post the bit of code that looks at the form AFTER it's been submitted... welcome.php?
Forum: PHP Apr 13th, 2008
Replies: 5
Views: 635
Posted By kevindougans
search "BBCode php" and you should have some luck, don't try to re-invent the wheel :p
Forum: PHP Apr 13th, 2008
Replies: 4
Views: 1,566
Posted By kevindougans
seems like your new to HTML too...

do you mean they display on the same line after you've submitted the form or what?
Forum: PHP Apr 13th, 2008
Replies: 1
Solved: Selectbox
Views: 500
Posted By kevindougans
There is much cleaner ways to do this but for a quick fix, below should now work as you expect:


<?php
if (!isset($_POST["sex"])) {
print "Please start!";
} else if ("Male" == $_POST["sex"])...
Forum: PHP Apr 13th, 2008
Replies: 5
Views: 635
Posted By kevindougans
Try this:

$message = stripslashes(nl2br($_POST["message"]));

nl2br is a PHP function to replace new lines with <BR> tags
Forum: PHP Apr 12th, 2008
Replies: 9
Views: 2,290
Posted By kevindougans
ok

now delete/hide the debug code and add to the top of the page:

error_reporting(E_ALL);

and do the form again, and tell me what it says
Forum: PHP Apr 12th, 2008
Replies: 2
Views: 494
Posted By kevindougans
If I understand correctly you want people to search for "muharashtra" or "pune" and get "india" as the result?

What I would do is setup 2 mysql tables in the one database.

1 called "countries"...
Forum: PHP Apr 12th, 2008
Replies: 9
Views: 2,290
Posted By kevindougans
echo "<p><br><H1>Debug</h1>";
echo '<pre>';
echo print_r(get_defined_vars());
echo '</pre>';

add that underneath the last bit of code I gave you then tell me if you can see anything that you...
Forum: PHP Apr 11th, 2008
Replies: 7
Views: 669
Posted By kevindougans
regardless if there was such code or not i think thats the wrong way to go about things

however, this isn't a political forum, you asked a question and i will answer it

try changing your search...
Forum: PHP Apr 11th, 2008
Replies: 9
Views: 2,290
Posted By kevindougans
hey,

underneath:
$EmailFrom = Trim(stripslashes($_POST['EmailFrom']));

add

$EmailFrom = Trim(stripslashes($_POST['EmailFrom']));
echo "<h2>$EmailFrom</h2>";
Forum: IT Professionals' Lounge Nov 10th, 2007
Replies: 5
Views: 1,412
Posted By kevindougans
Forum: IT Professionals' Lounge Nov 10th, 2007
Replies: 5
Views: 1,412
Posted By kevindougans
i swear there is a one word command for this...

not snip, not concat but something similar...
Forum: JavaScript / DHTML / AJAX Nov 9th, 2007
Replies: 21
Views: 8,360
Posted By kevindougans
I've no knowledge of javascript at all never in my life. I really should learn but don't really have the time but need this functionality.

If I don't get an answer then I will learn, but would...
Forum: JavaScript / DHTML / AJAX Nov 9th, 2007
Replies: 21
Views: 8,360
Posted By kevindougans
Hey there hot heads :-)

how the hell did we get on to the subject of radio boxes?

And eh, which of the above codes should I use to calculate the "total price"?

Thanks!

Kev
Forum: IT Professionals' Lounge Nov 8th, 2007
Replies: 5
Views: 1,412
Posted By kevindougans
Hey,

I've seen other people use this feature before but can anyone tell me how (from ssh terminal) I can open a .txt or .log file and watch it get updated live, for example if another application...
Forum: JavaScript / DHTML / AJAX Oct 19th, 2007
Replies: 21
Views: 8,360
Posted By kevindougans
I have the PHP doing its job. It's setting the
<input type=hidden name=price value=1>
or whatever the price may be.

I need to know what the javascript code is to make the box
<input type=text...
Forum: HTML and CSS Oct 19th, 2007
Replies: 13
Views: 23,022
Posted By kevindougans
yes you are correct, i edited content on the page and the content change but for whatever reason it doesn't refresh the form fields from the options you had last selected. i guess some would find...
Forum: JavaScript / DHTML / AJAX Oct 18th, 2007
Replies: 21
Views: 8,360
Posted By kevindougans
Hello,

I hope someone has the time to help me.

I have a form that lists a variable price in
<input type=hidden name=price value=1>

I have a drop down box letting the user choose a quantity...
Forum: Community Introductions Oct 18th, 2007
Replies: 2
Views: 494
Posted By kevindougans
Hey mate, hope you weren't near the shootings that happened yesterday or today in Yorkshire where the little kid was killed. It's a crazy world we live in, I'm from Glasgow and we hear stuff like...
Forum: PHP Oct 18th, 2007
Replies: 9
Views: 986
Posted By kevindougans
Yes it does... because the PHP has just told him that $result is not a valid php/mysql response.

My fix will tell him where the problem is, which almost certainly is in his SQL statement. For...
Forum: Community Introductions Oct 18th, 2007
Replies: 2
Views: 494
Posted By kevindougans
Hey,

I'm Kevin, used to class myself as a LAMP (Linux Apache MySQL PHP) expert but been working in a non-IT job the past 2 years but getting back in to it again for an upcoming project where I'm...
Forum: PHP Oct 18th, 2007
Replies: 9
Views: 986
Posted By kevindougans
Hello,

Change the following:

$result=mysql_query($query,$db_conn);

to

$result=mysql_query($query,$db_conn) or die(mysql_error());
Forum: HTML and CSS Oct 18th, 2007
Replies: 13
Views: 23,022
Posted By kevindougans
Thanks a lot, would have spent hours trying to get it working if it wasn't for this thread.

The outcome: Firefox retains the last value you had a form field at when hitting refresh so to...
Showing results 1 to 38 of 38

 


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

©2003 - 2009 DaniWeb® LLC