Search Results

Showing results 1 to 37 of 37
Search took 0.01 seconds.
Search: Posts Made By: jblacdao
Forum: PHP Mar 3rd, 2007
Replies: 8
Views: 1,466
Posted By jblacdao
Try putting a value for the $subject variable you are passing to the mail function. It's all that I can think of right now.
Forum: PHP Mar 2nd, 2007
Replies: 8
Views: 3,607
Posted By jblacdao
no problem, it was my pleasure helping you out :cheesy: don't hesitate to ask help if you need it, I'm always open for it ;)
Forum: PHP Feb 27th, 2007
Replies: 6
Views: 2,358
Posted By jblacdao
From what I know, I don't think that php will work without a browser. But, you can use it to build a desktop-type applications just that your interface with the system is via browsers and that you...
Forum: PHP Feb 27th, 2007
Replies: 8
Views: 1,466
Posted By jblacdao
There's an error in one line:
$msg = "Email address of sender: stripslashes($_POST['Email'])";

keep in mind that using when using functions together with strings you have to append it instead of...
Forum: PHP Feb 27th, 2007
Replies: 8
Views: 3,607
Posted By jblacdao
I've checked ur code and you seem to lack a lot of ";" at the end of your statements and the reason that the value of $payCheck is not displayed is because:

1) $_REQUEST["payCheck"] is empty
2)...
Forum: PHP Feb 27th, 2007
Replies: 8
Views: 3,607
Posted By jblacdao
Refer to my next post, I accidentally submitted my reply twice. Sorry
Forum: PHP Feb 23rd, 2007
Replies: 7
Views: 2,066
Posted By jblacdao
Yep, that's easy as well =). The $id in the code block where you execute the update is empty. The reason for that is illustrated here:


if($_GET["cmd"]=="edit" || $_POST["cmd"]=="edit")
...
Forum: PHP Feb 22nd, 2007
Replies: 5
Views: 2,714
Posted By jblacdao
Hi joe,

There isn't any problem at all because PHP really outputs series of spaces as just one. I suggest that you either configure the script that inserts the records in the database to...
Forum: PHP Feb 22nd, 2007
Replies: 7
Views: 2,066
Posted By jblacdao
Hi Tom, its me again. It seems that you over fetched your query result. You can modifying this part of your code


$result = mysql_fetch_array($sql);
$myrow = @mysql_fetch_array($result);

...
Forum: PHP Feb 22nd, 2007
Replies: 5
Views: 1,220
Posted By jblacdao
I read the code you uploaded and I don't see any difference from the one that is working. Maybe there are files that you haven't copied to the new server that the old one has and is needed for the...
Forum: PHP Feb 22nd, 2007
Replies: 3
Views: 1,264
Posted By jblacdao
Maybe your problem is not with that script but with replaceObjEmbed.php. Try checking it, maybe that's where the problem is.
Forum: PHP Feb 22nd, 2007
Replies: 13
Views: 2,750
Posted By jblacdao
Can you give us a screenshot of how they look like after you have included it in you PHP? and if possible a snippet of the code where you inserted the sidebar and headers.
Forum: PHP Feb 22nd, 2007
Replies: 5
Views: 1,220
Posted By jblacdao
Hi, can you post a screenshot of what happens when you click on one of the links that don't work? so we could have a better understanding of what could be the problem.
Forum: PHP Feb 22nd, 2007
Replies: 5
Views: 8,198
Posted By jblacdao
Try taking out the extra "," at the last element of your $working_time array

7=>array(11,12,13,14,21,22,23,0,1), <--
Forum: PHP Feb 21st, 2007
Replies: 3
Views: 2,137
Posted By jblacdao
Well, if you had explained it earlier, I would have replied differently. The answer you're looking for is easy, you can use this piece of code:


$num_rows = 3; // number of rows u want to...
Forum: PHP Feb 21st, 2007
Replies: 3
Views: 1,159
Posted By jblacdao
Aight! if it helps you can also put in "LIMIT 1" at the end of the query so the statement will only delete up to 1 record. Good luck!
Forum: PHP Feb 21st, 2007
Replies: 3
Views: 2,137
Posted By jblacdao
PHP already has a built in function that randomizes a number given the minimum and the maximum.

$random = rand(6, 49);

Here's the link to the manual that describes the function in case you...
Forum: PHP Feb 21st, 2007
Replies: 3
Views: 1,159
Posted By jblacdao
Try changing your query to:

$sql = "DELETE FROM test4 WHERE id={$_GET['id']}";


Let me know if it works
Forum: PHP Feb 20th, 2007
Replies: 1
Views: 1,121
Posted By jblacdao
You can use sessions to store the ids of the checked items. The PHP manual has samples so it shouldn't be too hard for you to implement it on your script. But if you have trouble, just let me know...
Forum: PHP Feb 20th, 2007
Replies: 4
Views: 1,407
Posted By jblacdao
Here is a function that you could try, It's specifically made to retrieve the start and end of the 2nd week of May given the year passed. If you need it to retrieve from another month I think you...
Forum: PHP Feb 20th, 2007
Replies: 6
Views: 1,493
Posted By jblacdao
ur welcome! glad to be of assistance :D
Forum: PHP Feb 19th, 2007
Replies: 6
Views: 1,493
Posted By jblacdao
Yes, but what I was saying is that based from your script you are trying to use variables for which their variables have not been set, meaning they have null or empty values. Now, judging from your...
Forum: PHP Feb 19th, 2007
Replies: 5
Views: 1,800
Posted By jblacdao
Ohhh now I see... I think I had the same problem before. When you include the php file on an html document, the php script does not get executed. Try converting the html into a php script and see if...
Forum: PHP Feb 16th, 2007
Replies: 5
Views: 1,800
Posted By jblacdao
Hi! I did a comparison between inc_rate.php and _test.1.php and the difference I saw was that _test.1.php used this code


$res = captcha::check();
if (isset($res)) {
if ($res) {
...
Forum: PHP Feb 16th, 2007
Replies: 3
Views: 2,798
Posted By jblacdao
You might wanna check the libraries compiled with your PHP. You get that error because the library that's supposed to implement that function is not compiled with your PHP.
Forum: PHP Feb 16th, 2007
Replies: 4
Views: 1,347
Posted By jblacdao
Or if you just copy pasted azarudeen's code and didn't put in the page value for the action property in the form tag, you'll definitely get a blank page ^^
Forum: PHP Feb 16th, 2007
Replies: 3
Views: 3,414
Posted By jblacdao
You can access the text as how Gary used it in his example. Its basically like accessing a variable you have declared only you got from the previous page.

print $_GET['dlurl'];

Is this what u...
Forum: PHP Feb 16th, 2007
Replies: 3
Views: 5,406
Posted By jblacdao
Here's an example of how to open new windows with javascript that i got from w3schools: http://www.w3schools.com/js/tryit.asp?filename=tryjs_multiwindows
Forum: PHP Feb 16th, 2007
Replies: 1
Views: 998
Posted By jblacdao
Actually $verbose is just used as a flag once you call the function. Its set to false by default, meaning while copying the files it won't printout anything as files are being copied. However, if...
Forum: PHP Feb 16th, 2007
Replies: 2
Views: 2,898
Posted By jblacdao
I haven't used session_register yet but I have done a login/logout feature and I only used "session_start();" and stored the variables in the $_SESSION variable.

In your case it would be:
...
Forum: PHP Feb 15th, 2007
Replies: 4
Views: 2,544
Posted By jblacdao
*Off Topic*
It doesn't mean that if you get no response, means people aren't active. You're not the only one that needs help and have you considered maybe that nobody may have knowledge of what you...
Forum: PHP Feb 15th, 2007
Replies: 5
Views: 1,800
Posted By jblacdao
Can u post the code wherein you actually merged the two so we could get a clear picture of how you inserted the captcha code into your comment.php script. It's hard to see where you might have gone...
Forum: PHP Feb 15th, 2007
Replies: 6
Views: 1,493
Posted By jblacdao
You used the variables but never assigned any value to them before you used them. Are they supposed to get their values from a previous form? If so, you have to assign it to them before you use them.
Forum: PHP Feb 15th, 2007
Replies: 3
Views: 1,180
Posted By jblacdao
I have encountered this before and you might wanna research on "Magic Quotes" in the php manual. I don't know exactly what to tell you to do, but if you could give an example of your code that...
Forum: PHP Jan 26th, 2007
Replies: 2
Views: 2,885
Posted By jblacdao
I've been testing on uploading files and I encountered a weird bug while testing it out because on the initial uploading of the file, my localhost uploads it to the root directory of my xampp rather...
Forum: HTML and CSS Jan 24th, 2007
Replies: 8
Views: 4,913
Posted By jblacdao
I agree with Matt, why would you go all that trouble just for the logout. If you're worried about the back button on the browser, why don't you just put security measures on your pages like checking...
Forum: JavaScript / DHTML / AJAX Jan 24th, 2007
Replies: 12
Views: 36,903
Posted By jblacdao
A good source of documentation would be at www.w3schools.com (http://www.w3schools.com). They have a full tutorial on HTML DOM. It would be best to start there coz u can test out the tutorials on the...
Showing results 1 to 37 of 37

 


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

©2003 - 2009 DaniWeb® LLC