Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
68% Quality Score
Upvotes Received
8
Posts with Upvotes
8
Upvoting Members
7
Downvotes Received
5
Posts with Downvotes
5
Downvoting Members
2
2 Commented Posts
0 Endorsements
Ranked #607
~25.8K People Reached
Favorite Forums
Favorite Tags

66 Posted Topics

Member Avatar for baldford

Hmmm... There is a minor difference in those codes. Let me explain.. This is your first code for uploading file... [CODE] move_uploaded_file($_FILES['upload']['name'],$uploaddir.'/$file/'.$_FILES['file']['name']);[/CODE] And, this is your second code for uploading file... [CODE] move_uploaded_file($_FILES['file']['tmp_name'],$uploaddir.'uploads'.$_FILES['file']['name']); [/CODE] Now, can you feel the difference..? Nothing, in the first code, you are uploading the file …

Member Avatar for Baldford_1
0
266
Member Avatar for Dragonbaki

Hi guys., I have trapped in a very critic situation. I need to upload files without any restriction of file size. I have a uploader developed using Flash and PHP. I have changed the settings in php.ini as follows upload_max_filesize = 100M post_max_size = 128M memory_limit = 512M max_execution_time = …

Member Avatar for Dragonbaki
0
166
Member Avatar for Dragonbaki

Hi guys., I have a textbox for entering URL. I validate that URL using regular expression. Now the problem is, How do i know whether the entered URL is exist or not.? For example, if user enter "http://www.daniweb.cam" rather entering "http://www.daniweb.com", how do i intimate them that the entered url …

Member Avatar for Airshow
0
1K
Member Avatar for Dragonbaki

Hi guys.. Can anybody tell me about how to increment default session timeout(20 mins) in dot net..? It's urgent.. Hope anybody will help me.. Thanks in advance...

Member Avatar for Dragonbaki
-1
151
Member Avatar for Dragonbaki

Hi experts., I need your kind help on about how to handle Naviswork ActiveX control integrated with HTML, PHP and Javascript. I need to display a Naviswork viewer in my website. For that, I created a Browse button to select Naviswork file. After selecting the file, the file path has …

Member Avatar for pritaeas
0
153
Member Avatar for Dragonbaki

Hi experts., Can anybody know how to select and upload multiple files using javascript [ with php too ]..? I dont want to use silverlight or flash..! I just need to do it in simple way.. Please help me..! Thanks.,

Member Avatar for karthik_ppts
0
178
Member Avatar for Dragonbaki

Hi experts., Can anybody help me out how to upload multiple files using php..? I need to select multiple files at the same time and when click to upload, it should upload all files at once..? Can we do that..? Help me...! Thanks, Dragonbaki

Member Avatar for diafol
0
149
Member Avatar for Dragonbaki

Hi experts., I am back again... Now i am working in a Joomla project. Here i have a big trouble for sending mail. Once, i send a mail with entries in Contact module, it says "Could not instantiate mail function" with "Thank you for your mail". But i didn't receive …

Member Avatar for ko ko
0
70
Member Avatar for vijaysoft1

Hi vijay.., For your probs, u dont need to go to AJAX.. you can done with only using Javascript.. For this you need to use Hidden form... Here i can narrate this.. First you create a dummy hidden form inside the body tag with the fields that you need to …

Member Avatar for ivan3510
0
948
Member Avatar for pro_learner

Hi.. Good question.. PHP is a open source technology as well as it is easy to learn and we become an expert within a short time.. and more specifically, developing a web application like websites, webprojects etc can be done easier and more faster by these open source technologies.. Not …

Member Avatar for pro_learner
0
92
Member Avatar for Dragonbaki

Hi experts.,:) I have tried to send mail using silverlight application and now i am very much tired because of can't get it correctly.... I wrote a Web Service for sending mail as like below. [CODE] using System.Web.Mail; MailMessage msg = new MailMessage(); msg.From = emailFrom; msg.To = emailTo; msg.Subject …

Member Avatar for Dragonbaki
0
147
Member Avatar for klemme

Yes., In your edit.php page, there is no line for displaying anything [no echo statement]... So only you are having blank screen... Try with some conditional statements here to display a message or redirect from here to another page showing your desired message.. Thanks..,

Member Avatar for klemme
0
170
Member Avatar for ekseks

Hi., This one is the basic tutorial site for joomla which provides enough details for beginners to work efficiently and easily create their own websites.. Go through it.. [URL="http://www.siteground.com/tutorials/joomla/"]http://www.siteground.com/tutorials/joomla/[/URL] If any probs, let me know...

Member Avatar for jkon
0
162
Member Avatar for kristo5747

I checked that the else part in doResult_PFN() function works perfect and returns an alert msg..

Member Avatar for dharmadurai
0
331
Member Avatar for Dragonbaki

Hi all... For more days, I am struggling with one damn concept.. I have created a sample mail sending code which supports to upload our resume and send it to some company person.. I have cleared many bugs and finally it works fine. But the problem is when i host …

Member Avatar for richieking
0
135
Member Avatar for Dragonbaki

I am new to ASP.net.. Can anybody explaine me how to do number validation..? I need for phone number, age etc... very urgent.. Pls..

Member Avatar for CrappyCoder
0
71
Member Avatar for komanche
Member Avatar for komanche
0
203
Member Avatar for Craig2231

Hi Craig.. At line 5, you are getting this... if ($_POST['Submit']) But, the name of the submit button is "button"...so use if($_POST['button']) At line 12. you used $emailc. But where did you used.. At line 22, you are using.. $email1 = stripslashes($email1); what abt $email1..? where did you get that …

Member Avatar for Craig2231
0
176
Member Avatar for Shankye

There is nothing specially needed for installing php. If you install wampserver on windows, it will automatically configure itself. Use the following code to know more about installation... [URL="http://www.wampserver.com/en/presentation.php"]http://www.wampserver.com/en/presentation.php[/URL] and use the following to download wampserver. [URL="http://www.wampserver.com/en/download.php"]http://www.wampserver.com/en/download.php[/URL] If you feel any probs, pls let me know...

Member Avatar for Shankye
0
152
Member Avatar for mbhanley

You have assingned a null value for $id in function get_agency_profile($id = '') After the if condition fails, then executing the else statement. Please check, this may be the problem.. May be i am also wrong. Check it and let me know if any probs.

Member Avatar for mbhanley
0
151
Member Avatar for octavia

Hmmm... Your code is fine.. But see at line 37.. You did not specify where the submitted values to go.. So only you have such problem. Try this.. [CODE] <form method="post" action=""> // for passing the values to this same page. [/CODE] Surely it will work. If still any probs, …

Member Avatar for Dragonbaki
0
344
Member Avatar for zlloyd1

Dont worry.. Now use this.. It works fine... [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <title>Directory</title> <body> <b>Account Information:</b> <?php error_reporting(E_ALL & ~E_NOTICE); $lname=$_POST["lastname"]; $fname=$_POST["firstname"]; $addr=$_POST["address"]; $cty=$_POST["city"]; $stat=$_POST["state"]; $zip=$_POST["zipcode"]; $acode=$_POST["areacode"]; $phone=$_POST["telephone"]; $words[] = wordCheck($lname, "lastname"); $words[] = wordCheck($fname, "firstname"); $words[] = wordCheck($addr, "address"); $words[] = wordCheck($cty, …

Member Avatar for Dragonbaki
0
161
Member Avatar for s.butler1
Member Avatar for s.butler1
0
972
Member Avatar for greatmind

Go to the following link to download the wampserver 2.0 version. This is flexible for you to work.. [URL="http://www.wampserver.com/en/download.php"]http://www.wampserver.com/en/download.php[/URL]

Member Avatar for lagspike
0
106
Member Avatar for ankit.pandey3

Use the following... Replace your select box like this.. [CODE] echo "Select Blood Group &nbsp&nbsp<select name='BloodGroup'><option value='none'>Select</option>"; // This will user friendly, when displaying 'Select' text, rather leaving it as a blank... while($row=mysqli_fetch_array($result)){echo "<option>".$row[BloodGroup]."</option>";}echo "</select><br>"; [/CODE] Now, Your query will be succeeded based on some conditions... [CODE] if(($Bloodgroup=='none')&&($Age=="")) { echo …

Member Avatar for ankit.pandey3
0
156
Member Avatar for medobangs

Nothing special.. You did not used the opening tag (<?php ) and closing tag (?>) properly... See in your code at this place in body section... [CODE] Click here to: <a href='logout.php'>Log OUT</a><div style="text-align:right;"><input type="button" value="Print this page" onClick="window.print()"></div> ?> // This is the error... echo mysql_error(); echo "<hr>"; [/CODE] …

Member Avatar for medobangs
0
314
Member Avatar for eltonpiko

Nothing probs.., Just get the value that the users have entered.. and then validate it., Suppose, [CODE] $name=$_POST['username']; if($name!="") { header('Location:payment.php'); } else { echo "Sorry.. We need your all details to make your payment better.."; exit; } [/CODE] This is a simple way.. Try this to use it in …

Member Avatar for Dragonbaki
0
148
Member Avatar for puvi

There is no wrong in the above code.. But if you post the actual form code with the above means, i can easily help you...

Member Avatar for puvi
0
137
Member Avatar for Ajuddy

In line 12, you missed $ sign in the variable $city... $data='$first_name | $last_name | $mobile_number |$office_number |$addres | $post_code [B]|city |[/B]$file\n'; Try this, you will get it...

Member Avatar for Dragonbaki
0
154
Member Avatar for dlannetts

This code will work... [CODE] <?php $file =$_POST['file']; $file_description =$_POST['file_description']; $user_ip =$_SERVER['REMOTE_ADDR']; $file_name =$_FILES["file"]["name"]; // $file and $file_name are same.. So use anyone to store it in the database... if ($_FILES["file"]["error"] > 0) { echo "Error: " . $_FILES["file"]["error"] . "<br />"; } else { echo "Upload: " . $_FILES["file"]["name"] …

Member Avatar for Dragonbaki
0
171
Member Avatar for dinoboy

Try to do like this... You will get it... [CODE] echo "<script type='text/javascript'> doDecryption('<?php $myValue; ?>'); </script>"; [/CODE]

Member Avatar for Dragonbaki
0
195
Member Avatar for gdsm

Hi gdsm.., Here i post you a sample code.. Just replace your table name and place you displaying format in specified area here, you will get it as your wish.. It will works better., If any probs, pls let me know... [CODE] <?php $id=$_POST['id'] @$option=$_POST['submit1']; // This is for your …

Member Avatar for Dragonbaki
0
74
Member Avatar for vingan

$fvalues is a single dimensional array only... not two dimensional array... And the value will be stored after explode as $fvalues[0]="apple" and $fvalues[1]=$4.00.. likewise... So, use it as single dimensional array..you will get it...

Member Avatar for vingan
0
187
Member Avatar for shrirang
Member Avatar for shenbagam

Images are the special type to handle with Mysql database.. First of all, check if you uploaded the image to the database correcly by the following code as an example.. [CODE] <?php // the upload function function upload(){ if(is_uploaded_file($_FILES['userfile']['tmp_name'])) { // check the file is less than the maximum file …

Member Avatar for Dragonbaki
0
120
Member Avatar for scodex

What is the value of $bi..? How do the get the value of $bi in the relevant page..? By what method $_GET or $_POST... Tell me.. we will clear it..

Member Avatar for scodex
0
206
Member Avatar for zlloyd1

Replace the below line with your line 20 [CODE] if ((strlen($retval)<4) || (strlen($retval)>7)) [/CODE] This should perfectly works...

Member Avatar for Dragonbaki
0
177
Member Avatar for jegana

In your output.php just make another column for edit and delete in the while condition as follows... while($row = mysql_fetch_array($result)) { echo "<font color='red'>Name :</font> ".$row['User_Name'].",<br >"; echo "<font color='blue'>Email :</font>".$row['Email'].",<br >"; echo "<font color='green'>Attachements :</font>"."<a href='{$row['name']}' > 'Download'</a>".".<br />"; $mail=$row['Email']; echo "<a href='edit.php?mail_id=$mail'> Edit </a>"."<br>"; echo "<a href='del.php?mail_id=$mail'> Delete …

Member Avatar for Dragonbaki
0
209
Member Avatar for pius12
Re: SMTP

What help you need..? Post to us clearly... we will help u..!

Member Avatar for Dragonbaki
-1
41
Member Avatar for jsmiley77

He says.. nothing but you missed the semicolon (;) at the end of font-size in style part of php page.. By that, may it cause such error... Try it, you would surely get it...

Member Avatar for Borzoi
0
172
Member Avatar for rakibtg

Hi rakibtg... The following link is very useful for you, which helps you to satisfy all your needs.... [URL="http://www.anyexample.com/programming/php/how_to_send_email_with_php.xml"]http://www.anyexample.com/programming/php/how_to_send_email_with_php.xml[/URL] Hope, you will get it.. If any problem, let me know...

Member Avatar for rakibtg
0
138
Member Avatar for CEVGames

There should be no spaces in between header function.. for (e.g) header(Location:sample.php); and no echo function to be used before header function. This will also deny the redirection task.... Suppose still any problem, please let me know....

Member Avatar for CEVGames
0
128
Member Avatar for jegana

In your code.. $filename variable having the value of last updated file in to your database.. So only you have this problem... Use the following code... $files=$row['name']; // This will get filename for each iteration and stored in $files.. <a href=$files> Open Attachment </a> // Now use like this... This …

Member Avatar for jegana
0
298
Member Avatar for zlegend

Yeah.. It's special... pt_register() function which is especially used to access the register global variables.. We obviously know that, all variables in php should begin with '$' sign... Here, they are replacing those special characters with null values at registered area... So only, this code shows the output without showning …

Member Avatar for Dragonbaki
0
127
Member Avatar for shenbagam

Hi Shenba... Try the following code.. This will save the execution time and works faster and easier... // By this query, you can just select and use only username and password fields alone and it works faster by checking both simultaneously... $sql=mysql_query("select username,password from table_name where username='$username' and password='$password'"); // …

Member Avatar for joehms22
0
108
Member Avatar for tearose49

In your code, this is wrong i think... mail( "myemail@gmail.com", "Study Name", "Name: $name", "Comment: $comment", "Studyname: $studyname"); Obviously, the mail() function syntax is mail($to,$subject,$message,$headers); Isnt it..? But you gave Name, Comment, Studyname like that.. First of all, you have to store the message in a separate variable (e.g $message) …

Member Avatar for tearose49
0
194
Member Avatar for methuselah90

Hmmm... your code is good.. But, for submit button, we should not write click function... why, Because.. Once, we clicked that button, it first submits the values to the corresponding action page and then only click function will be called.. Here, submitting process is primary.. So, you are unable to …

Member Avatar for methuselah90
0
1K
Member Avatar for mehargags

Hi mehargags... If you like to retain the last selected date means.., your code is wrong... Try the below shown code.. It works perfectly,... [CODE] <?php @$date=$_REQUEST['date']; @$month=$_REQUEST['month']; @$year=$_REQUEST['year']; echo "<form action='' method='post' name='sample'>"; echo "Date : "; echo "<select name='date'>"; for($i=1;$i<=31;$i++) { echo "<option value=$i "; if($date==$i) { echo …

Member Avatar for mehargags
0
95
Member Avatar for breckxf

Try with [B]visibility:visible;[/B] in your css... It will work.. if still probs, pls let me know...

Member Avatar for breckxf
0
77
Member Avatar for Dragonbaki

I am trying to send mail using php. But it shows error as failed to connect with mailserver 'localhost'. Then i use smtp.bizmail.yahoo.com as SMTP mail server, then it shows SMTP error 530, Authentication required.. I don't know how to pass smtp username and password through php.ini file.. If anybody …

Member Avatar for Dragonbaki
0
160

The End.