Forum: PHP 32 Days Ago |
| Replies: 2 Views: 219 If you're setting the 'To' and/or 'Recipient' header multiple times, the SMTP server could interpret that as separate e-mail address, thus you'll receive the multiple e-mails.
Maybe check your... |
Forum: PHP Sep 9th, 2009 |
| Replies: 13 Views: 1,680 cwarn23,
I doubt you'll find a free SMS service. The usual approach is to find a gateway provider or broker that has the kind of service your after. |
Forum: PHP Sep 9th, 2009 |
| Replies: 20 Views: 508 Great tutorials links,
A simple tutorial (http://in2.php.net/tut.php)
PHP Tutorial (http://www.w3schools.com/PHP/DEfaULT.asP) |
Forum: PHP Jul 31st, 2009 |
| Replies: 3 Views: 173 Thanks,
Mark this thread as a "Solved". |
Forum: PHP Jul 31st, 2009 |
| Replies: 3 Views: 173 I didn't find any mistake in your code. Embed fields with apostrophe - may be a name of field violates mysql.
mysql_query("UPDATE `users` SET `key` = '$keys' WHERE `id` = '$id'"); |
Forum: PHP Jul 28th, 2009 |
| Replies: 16 Views: 895 Do not move your XAMPP folder into another driver. Just leave it as it was. You have to change the location of web-site folder as I said in previous post.
For example, xampp is installed in c:\xampp... |
Forum: PHP Jul 28th, 2009 |
| Replies: 16 Views: 895 #
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2/> for... |
Forum: PHP Jul 28th, 2009 |
| Replies: 16 Views: 895 Open httpd.conf file located under conf folder in
apache folder. (apache/conf/httpd.conf)
Edit (httpd.conf)it in Text editor and change the path of root directory.
DocumentRoot... |
Forum: PHP Jul 24th, 2009 |
| Replies: 9 Views: 476 screenRes.js
switch(screen.width) {
case 640: goToPage('640x480.htm'); break;
case 720: goToPage('720x480.htm'); break;
case 800: goToPage('800.htm'); break;
case 848:... |
Forum: PHP Jul 24th, 2009 |
| Replies: 9 Views: 476 ayesha,
Read this - http://javascript.internet.com/page-details/screen-resolution-detect-redirect.html |
Forum: PHP Jul 18th, 2009 |
| Replies: 9 Views: 703 zeusofolus,
Which foreach? Post only a section of source code where you got some problems. |
Forum: PHP Jul 13th, 2009 |
| Replies: 9 Views: 554 theighost,
Post complete source code. |
Forum: PHP Jul 4th, 2009 |
| Replies: 2 Views: 374 salibaray,
You have to read this post - http://www.daniweb.com/forums/thread191031.html |
Forum: PHP Jul 2nd, 2009 |
| Replies: 11 Views: 809 What is wrong with ardav's post?
12 Hour format is 01:01:01 PM
24 Hour format is 13:01:01 |
Forum: PHP Jun 27th, 2009 |
| Replies: 3 Views: 340 sarithak,
Had you tried? Please show some works. |
Forum: PHP Jun 26th, 2009 |
| Replies: 12 Views: 796 What I said earlier - Prepare your self for PHP. Don't waste your time to find code, good code, better code, and the best code. |
Forum: PHP Jun 26th, 2009 |
| Replies: 12 Views: 796 Wrap up your code from line # 74 and onward with another html form tag and add the DELETE button. |
Forum: PHP Jun 26th, 2009 |
| Replies: 12 Views: 796 Do you want to put DELETE button at the top of each record?
Remove it from the current location and paste
print "<input type='submit' name='cmd' value='Delete'/>";
after the line 84
print... |
Forum: PHP Jun 26th, 2009 |
| Replies: 12 Views: 796 Add following after Line # 86
print "<input type='checkbox'
name='delcheck[]'
value='$r[0]'/>";
Write following at Line # 58
if($cmd=="Delete") |
Forum: PHP Jun 26th, 2009 |
| Replies: 4 Views: 490 Use
header("Content-Disposition: attachment; filename=p1.png"); |
Forum: PHP Jun 26th, 2009 |
| Replies: 4 Views: 490 Welcome.
Show your code please. Wrap up source code in bb code tags. Read How to post source code using bb code tags? (http://www.daniweb.com/forums/announcement24-4.html) |
Forum: PHP Jun 25th, 2009 |
| Replies: 12 Views: 1,189 So why you put this?
$limit = $limit;
If you want to show all record then remove the limit.
function CreateMenu($main, $limit) {
echo '<ul>'; |
Forum: PHP Jun 25th, 2009 |
| Replies: 12 Views: 1,189 If this method is defined inside the class then modify it with:
function CreateMenu($main, $limit) {
echo '<ul>';
if($main == 1) {
$this->limit = 4;
} else {
$this->limit = $limit;
} |
Forum: PHP Jun 25th, 2009 |
| Replies: 12 Views: 1,189 Check the value of $limit. |
Forum: PHP Jun 25th, 2009 |
| Replies: 2 Views: 851 Keep Smiling....Never Depress.
What happened to you? Why are you looking for the best source code? If you had develop a program without the help of anyone; I think this was the best source code.
... |
Forum: PHP Jun 25th, 2009 |
| Replies: 9 Views: 823 >How to Approve,Edit,Delete?
Here is a sample code. I have used emp table with following structure.
create table emp
(
eno int primary key,
ename varchar(50),
edate date
) |
Forum: PHP Jun 25th, 2009 |
| Replies: 11 Views: 596 |
Forum: PHP Jun 24th, 2009 |
| Replies: 11 Views: 596 Here is a link http://www.roseindia.net/ajax/jquery/ |
Forum: PHP Jun 24th, 2009 |
| Replies: 11 Views: 496 Here is a problem:
$sql1 = "DELETE * FROM cpmip WHERE ip='$ip' and adid='$a'";
$sql1 = "DELETE FROM cpmip WHERE ip='$ip' and adid='$a'"; |
Forum: PHP Jun 24th, 2009 |
| Replies: 11 Views: 596 Use JQuery - Javascript library.
http://jquery.com/ |
Forum: PHP Jun 24th, 2009 |
| Replies: 11 Views: 496 Will you post your complete code? |
Forum: PHP Jun 24th, 2009 |
| Replies: 4 Views: 1,131 Your XML document is not well-format.
<?php
$albid=$_GET['ID'];
$xmlFile = new DOMDocument();
$xmlFile->load("Residential.xml");
$xml_album = $xmlFile->getElementsByTagName("album"); |
Forum: PHP Jun 24th, 2009 |
| Replies: 11 Views: 496 >I have been trying to debug this mysql statement for the past 2 hours.. here is the statement:
$sql1 = "SELECT * FROM cpmip WHERE adid='$a' and ip='$ip'";
$res1 = mysql_query($sql1) or... |
Forum: PHP Jun 22nd, 2009 |
| Replies: 3 Views: 521 Html form tag and action attribute:
Add following code into home.php
<form method="post" action="test.php">
Mobile <input type="text" name="mobile"/>
<input... |
Forum: PHP Jun 21st, 2009 |
| Replies: 3 Views: 467 Thanks.
Mark this thread as Solved if you get solution. |
Forum: PHP Jun 21st, 2009 |
| Replies: 3 Views: 467 Welcome Spidermite.
<?php
foreach($_POST['fruit'] as $field => $value)
{
echo $field, $value;
echo "<br />";
}
?> |
Forum: PHP Jun 17th, 2009 |
| Replies: 18 Views: 806 I have used following table structure:
Value of status field can be :
N.A - if it is a new record.
Accept - if it is accpted
Reject - if it is rejected
CREATE TABLE `testtable` ( |
Forum: PHP Jun 17th, 2009 |
| Replies: 18 Views: 806 I have number of ways to solve your problem. Since last two days you haven't post your code yet - So, tell me is it the proper way to ask help?
Please post your code with BB code tag or zip it and... |
Forum: PHP Jun 17th, 2009 |
| Replies: 18 Views: 806 I regret. I have used "Copy" which mean insert.
I wrote:
I think you should follow this steps.
1. Display all record from say Table - X.
2. If you pressed Accept then (Copy) insert this... |
Forum: PHP Jun 16th, 2009 |
| Replies: 18 Views: 806 I think you should follow this steps.
1. Display all record from say Table - X.
2. If you pressed Accept then Copy this record into table Y and delete it from table X.
3. If "Reject" is pressed... |