Search Results

Showing results 1 to 28 of 28
Search took 0.01 seconds.
Search: Posts Made By: jcacquiescent27
Forum: PHP Jul 23rd, 2009
Replies: 3
Views: 265
Posted By jcacquiescent27
Here's my understanding of what's happening:

The mysql_query function is returning false because there were no rows (see PHP manual for mysql_query return values...
Forum: PHP Jul 20th, 2009
Replies: 4
Views: 312
Posted By jcacquiescent27
If this is a CAPTCHA, it seems that it would require some sort of actual domain in order to show the image. I had a testing server (on my personal computer) set up using reCAPTCHA and I made a fake...
Forum: PHP Jul 17th, 2009
Replies: 10
Views: 498
Posted By jcacquiescent27
I'm taking this as an opportunity to teach myself some JavaScript, so I've been working on this all afternoon. It's not finished, and won't be till Monday, but here's what I've got so far (below). ...
Forum: PHP Jul 17th, 2009
Replies: 10
Views: 498
Posted By jcacquiescent27
I monkeyed around with your code for a little while, and I can see two problems with your implementation.

1. If your JS code above is truly all that's in the file 'ajax.js', then you never created...
Forum: PHP Jul 17th, 2009
Replies: 16
Views: 852
Posted By jcacquiescent27
I've experienced an error message similar to this when dealing with the file system. At the time I had the problem, the solution came in the form of checking the folder permissions to be sure the...
Forum: PHP Jul 17th, 2009
Replies: 3
Views: 267
Posted By jcacquiescent27
Here's what PHP is doing in both of those time-related statements: PHP interprets time() to be the number of seconds since the start of the year 1970. What you are doing in each of your statements...
Forum: PHP Jul 16th, 2009
Replies: 3
Views: 267
Posted By jcacquiescent27
It's not completely obvious to me what's going on here, as I don't know the meaning behind $extime and $tictime.

The one thing that stands out to me, though (simply because it parallels the...
Forum: PHP Jul 16th, 2009
Replies: 4
Views: 337
Posted By jcacquiescent27
It looks like your hosting provider has disabled the necessary option to allow this function to work, which is allow_url_fopen (read about this option in the PHP manual here...
Forum: PHP Jul 15th, 2009
Replies: 2
Views: 350
Posted By jcacquiescent27
I think you'll find that the example at this page (http://www.tizag.com/mysqlTutorial/mysql-date.php) will shed light on the problem.

Just from a glance, and not being set up to test it, I'd say...
Forum: PHP Jul 15th, 2009
Replies: 2
Views: 534
Posted By jcacquiescent27
Just from the code that you've posted, I'd say that your error has to do with variable naming. In your "copyrightChecker.php" file, you don't define the constant COPYRIGHT_NOT_VALID or...
Forum: HTML and CSS Jul 14th, 2009
Replies: 3
Views: 410
Posted By jcacquiescent27
This could be a PHP or Javascript question, depending on how your application works.

If you're using PHP, you'd have to have a page which sends the information to the example page you gave above...
Forum: PHP Jul 14th, 2009
Replies: 4
Views: 753
Posted By jcacquiescent27
Here's what I do to remedy the problem. I found it after a good bit of Google searching.

I think this is all you have to do, since you likely have your work set up as a project and Netbeans...
Forum: PHP Jul 10th, 2009
Replies: 7
Views: 838
Posted By jcacquiescent27
Sometimes the line terminators can be problematic (I think this was mentioned in the comments in the PHP manual). Try changing these "\r\n" to "\n".

By the way, are you using the mail() function...
Forum: PHP Jul 10th, 2009
Replies: 7
Views: 838
Posted By jcacquiescent27
I wasn't actually trying the code out as I wrote it; it was just an idea of how you might go about it.

Anyway, here's something that's more likely to work.

$index = 1;
$BCC = '';

//count...
Forum: JavaScript / DHTML / AJAX Jul 10th, 2009
Replies: 3
Views: 501
Posted By jcacquiescent27
I'm still not sure I completely understand what you are trying to do. Here's what I think you are trying to do... When you go to a particular page, such as 'telefoni.html' you are trying to make...
Forum: PHP Jul 9th, 2009
Replies: 3
Views: 554
Posted By jcacquiescent27
It looks like you have an unneeded dollar sign in your 'if' condition. Try changing if ($_POST["$submit"]) to this if ($_POST["submit"]). Just my 2 cents.
Forum: PHP Jul 9th, 2009
Replies: 7
Views: 838
Posted By jcacquiescent27
If the 'BCC' field is anything like the "To" field, you would probably format it like this: $BCC = "recipient1@somewhere.net, recipient2@somewhereelse.net";


Using PHP to take the results of the...
Forum: JavaScript / DHTML / AJAX Jul 9th, 2009
Replies: 3
Views: 501
Posted By jcacquiescent27
I'm not sure if this is the solution, but you might change this line: this.location.href = "telefoni.html"; to this this.location.href = "<$mt:BlogURL$>telefoni.html";.

Also, you may have a logic...
Forum: PHP Jul 9th, 2009
Replies: 3
Views: 466
Posted By jcacquiescent27
No problem. Those darned semicolons (or lack thereof) can be quite a bugger sometimes.
Forum: PHP Jul 9th, 2009
Replies: 3
Views: 223
Posted By jcacquiescent27
Try changing this line:

$from = 'From:' . stripslashes($_POST['Name']) . '\r\n';

to this:

$from = 'From:' . stripslashes($_POST['Name']) . '\n';

Also, why don't you change the...
Forum: PHP Jul 9th, 2009
Replies: 3
Views: 223
Posted By jcacquiescent27
I just double-checked the PHP syntax for if/else statements. It seems like you would benefit from using curly braces here, like so:

if (mail($recipient, $subject, $msg)) {
echo nl2br("<b>Message...
Forum: PHP Jul 9th, 2009
Replies: 6
Views: 417
Posted By jcacquiescent27
This is simply a matter of missing curly braces. Your script works as expected once they are all in there. Following Fest3er's advice will get you far.
Forum: PHP Jul 9th, 2009
Replies: 5
Views: 768
Posted By jcacquiescent27
Without seeing how your database is set up (the design of your various fields), it seems like you may only have the 'universitas' and 'jarusan' fields to accept a different data type or you just have...
Forum: PHP Jul 9th, 2009
Replies: 1
Views: 404
Posted By jcacquiescent27
There's a good reference in this post (http://vegdave.wordpress.com/2007/05/19/import-a-csv-file-to-mysql-via-phpmyadmin/) of how to do this, if you are using phpMyAdmin.
Here are a few steps:
1)...
Forum: PHP Jul 9th, 2009
Replies: 2
Views: 345
Posted By jcacquiescent27
I'm not very experienced with .htaccess files, but there is something I found after a little Googling that's simpler than your method. I think it assumes that PHP is set up as an Apache module...
Forum: PHP Jul 9th, 2009
Replies: 3
Views: 466
Posted By jcacquiescent27
Simple thing, but it looks like you didn't terminate your ternary operator with a semicolon.
Forum: PHP Jul 9th, 2009
Replies: 19
Views: 533
Posted By jcacquiescent27
I sometimes have difficulty with using the 'isset' function. You might try using 'if( ! empty($_POST['SUBMIT']) )' instead.
Forum: HTML and CSS Jul 7th, 2009
Replies: 3
Views: 673
Posted By jcacquiescent27
Your 'container1' div is outside of the 'body' tag, so it may be a browser standards issue; try moving that div inside of the 'body' tag. Firefox is much more standards compliant than IE, possibly...
Showing results 1 to 28 of 28

 


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

©2003 - 2009 DaniWeb® LLC