39,326 Topics

Member Avatar for
Member Avatar for abhi10kumar

I want to add a file which will come database that is file path. I am using the following code to send, Mail is being sent with out attachment. [code] $name = "Abhi"; $email = "abhi10kumar@gmail.com"; $to = "$name <$email>"; $from = "Rahul Kumar"; $subject = "Here is your attachment"; …

0
130
Member Avatar for nats01282

Hello i am after creating a javascript alert box with a text input and a submit button that when the submit button is pressed the text field will save its self into a php variable that will then be inserted into the a database. here is the code i have …

Member Avatar for diafol
0
165
Member Avatar for bristolspider

i have a prestashop install for a new wed site and have edited a module for this so that i can get a payment system to work with it (secure hosting ill refer to SH). there is what seems a very simply document from SH [CODE]1. In the form on …

0
73
Member Avatar for jacob21
Member Avatar for diafol
0
82
Member Avatar for Vai

I am trying to write or find scripts that will: 1- create a script that will allow someone to Unsubscribe to a mailing list based on email address. 2- export data to a predefined excel file which will be used to print mail labels. I have looked and looked and …

Member Avatar for sumitgupta225
0
442
Member Avatar for newbiecoder

Hello I asked a similar question a few posts before but not the same, so I started this thread. I am trying to add a user to MySql which I installed via XAMPP. I found this command: [CODE]CREATE USER 'root'@'localhost' IDENTIFIED BY 'mysqlpass';[/CODE] But I don't know where to put …

Member Avatar for pixelsoul
-1
199
Member Avatar for CoderGuy101

I know this is kinda vague, I can give more info if need be but why is the following line a a boolean value when I send it through the debugger. [CODE]while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['id'] . "</td>"; echo "<td>" . $row['name'] . "</td>"; echo …

Member Avatar for pixelsoul
0
121
Member Avatar for abhi10kumar

How Do I send emails to group of persons daily at 12:00 AM ?? I have a PHP page where I will write code to sending mail. I searched and find CRONTAB (shell scripting), a solution for this. If I want to use CRONTAB shell scripting then How I can …

Member Avatar for smantscheff
0
129
Member Avatar for jacob21

Hello, Please tell me the steps for integrating the Sms api as documentation is not given on the website. Thanks

Member Avatar for pritaeas
0
94
Member Avatar for anita_86

Hi!The code I use for getting the values from dynamic javascript form fields is not working dont know why? The problem might actually be because of form tags and submit buttons, I guess.So now I have three sets of pages using same code, #1.Working in excellent condition #2.Partially working if …

Member Avatar for anita_86
0
100
Member Avatar for ShedoSurashu

I was wondering how I would make an URL request (e.g. to somepage.php) from my Flex 4 app but it needs to be a blocking process. When i say blocking I mean, in such a way as I can enclose it in a function and have the function take the …

0
48
Member Avatar for blackxswil

How should I call jquery from my php page? This is my php page: [CODE] <form action="#" method="post"> <input type="file" name="fileInput" id="fileInput" /> <input type="submit" value="submit" disabled /> </form> <div id="result"></div> [/CODE] And this is the js file: [CODE] $(document).ready( function(){ $('input:file').change( function(){ if ($(this).val()) { $('input:submit').attr('disabled',false); } } ); …

Member Avatar for blackxswil
0
91
Member Avatar for Venom Rush

Hi all I have a website that has a contact form in the footer of every page. When someone sumbits their details I do a check to see if the fields are filled in correctly. If the fields aren't filled in correctly I display an error just above the form. …

Member Avatar for Venom Rush
0
2K
Member Avatar for abhi10kumar

I have a Textarea, and I want to store value in a variable. The condition is that the value will be fetch from JS that is [B]Document.FormName.Combox1.Value[/B] in the [B]same page[/B]. I know $_POST['Combox1'] method..

Member Avatar for abhi10kumar
0
169
Member Avatar for bluetoot

Please can someone help me out with this error? Parse error: syntax error, unexpected ';' in /home/npr/public_html/getfile.php on line 12 if i take off the line 12 the page works but i need to include the line 12.HELP! [CODE]<?php include('recruit.php'); $id = $_GET['id']; mysql_select_db($database_, $recruit); $query_users = "SELECT * FROM …

Member Avatar for bluetoot
0
164
Member Avatar for Th3nutz

i have de following code [CODE] <?php require_once('Connections/conn.php'); ?> <?php $oras = $_POST['oras']; $zona = $_POST['zona']; $camere = $_POST['camere']; $tip_apartament = $_POST['tip_apartament']; $chirie = $_POST['chirie']; $tableName="anunturi"; $targetpage = "afiseaza.php"; $limit = 2; $query = "SELECT COUNT(*) as num FROM $tableName WHERE oras='$oras'"; $total_pages = mysql_fetch_array(mysql_query($query)); $total_pages = $total_pages[num]; $stages = …

0
94
Member Avatar for sfrider0

I'm running Ubuntu and have just installed PHP5, Apache2, and MySQL. I created a PHP Project in Netbeans and trying to echo "Hello World." When I run it, I just get a 404 Not Found error with this "The requested URL /PhpProject1/index.php was not found on this server." Any ideas …

Member Avatar for sfrider0
0
3K
Member Avatar for tape enterprise

SO am am soon going to build a blog. what I would like to know is how to do the prvious posts button at the bottom of the page with like the 1|2|3...Next|Last that type I was just wondering how it is done I know to fill the Homepage your …

Member Avatar for Agarsia
0
134
Member Avatar for rajeesh_rsn

Hi friends, I m making a php user registration program and in some other sites I found some hidden field as follows [ICODE]<input name="authenticity_token" value="a58b64b916157840987d0655fe8ce14fecc030fd" type="hidden">[/ICODE] I m wonder what its really means ? Is it a dynamic value in which's value stored in SESSION and later it check with …

Member Avatar for ramlantjong
0
91
Member Avatar for simsim123

hi all hope every body is fine i want ask you about how can we send the form data entries includnding attached file to an email without saving the file to the server as i want to know if this procces legal to take the uploaded file and send it …

Member Avatar for simsim123
0
160
Member Avatar for samsons17

Hi all.. basically i want an ajax code that retrieve the data from the unique div(with php).. what i mean by unique here is that my div got the id with the name+(the php code to make it unique). okay i dont really know how to explain but here is …

Member Avatar for Airshow
0
179
Member Avatar for ddellostritto

Hi all - Was wondering if anyone has come across a script that verifies if an email address exists or not? Beyond verifying that the data entered has an @ symbol, I'd like to make sure that I'm not getting bogus email addresses. Would be any way to do this …

Member Avatar for mschroeder
0
136
Member Avatar for TySkby

I know a lot of people have their own comforts and styles when it comes to scripting and coding, but... Some language documentations specifically state a naming convention that is considered best practice for their language, like Java specifying camelCase. However, PHP's online documentation doesn't specify a naming convention (from …

Member Avatar for mschroeder
0
195
Member Avatar for mehran tahir

hi, i face this problem from last three days, i want to disappear the alert box of javascript on time base, for example when page is load and the alert box is appear,i want to remove it after 10seconds if the user not press the ok button, thanks in advance

Member Avatar for jkon
0
295
Member Avatar for Ashley S

Hello, I am having trouble with my phpBB forum. Editing the theme widths, images etc. I am hoping someone from DaniWeb can actually help me out. My MSN - [email snipped] [Note]: I am sorry for posting in the wrong section, Just cannot find the correct place. Thank you!.

Member Avatar for Ashley S
0
73
Member Avatar for amit.hak50

I have this website and I got the script(Pdf search engine) which is licensed to all domains ,i installed on [URL snipped] and it is working fine ,but when I installed it on my other domain ,[URL snipped] and i did search ,it is saying that this script is locked …

Member Avatar for jkon
0
491
Member Avatar for fuston05

Is there a more efficient way of doing this? I am simply catching and assigning vars to a lot of $POST vars. this seem monotonous to me..lol any advise is greatly appreciated. thanks :) sorry aboout the title..wasn't sure how to title this one. lol [CODE]if(isset($_POST["submit"]) ){ if(isset($_POST["est_num"]) ){$est_num= $_POST["est_num"];} …

Member Avatar for mschroeder
0
79
Member Avatar for tomjrjones

please can somebody help me add an account to webnight commander here is the script where i add the account but i dont knwo what to do with it [CODE]/* USER ACCOUNTS. Uncomment # comments only */ $users = array(); //************* SAMPLE USER ACCOUNT - BEGIN $users[] = array( // …

0
74
Member Avatar for mrcpp

Hi, a few time ago I posted a thread about a page in ajax/js/html that didn't work correctly. At first, I thought it was solved, but now I see it is not. I am trying to make a gallery using jCarousel, and it used to be very buggy until it …

Member Avatar for mrcpp
0
121
Member Avatar for Buppy

Hi, I have a PHP script that uploads files. So far it works good with normal http connection, but when it comes to SSL ans https, the move_upload_file() function just fails and does not move the file anywhere. Any solutions? Thanks

0
54

The End.