39,402 Topics
![]() | |
For example , As i registered in daniweb.com , a mail was sent to my email id and after clicking on that link , i could complete my registration . i want to develop a similar module in php , where the users after signing in , i sent this … ![]() | |
The code below is my insert statement to get values into my database. However, I now have an update page where users can update their information. I thus have a form in which their initial info is inserted and now they can change it and submit again thereby updating the … | |
I am using php mail to send a confirmation email from a web page. It all works absolutely fine until the email address is in the format [email]xxx.yyy@zzz.com[/email] That is to say there is a . in the local part of the address. I have tested the code and had … | |
I need help with the following query, i will be so thankful if anyone can help me please. I have two tables in database: Table1: [CODE] Column1 Column2 Status smith john 1 jack smith 0 julia rob 1[/CODE] Table 2: [CODE] Column1 Column2 thomas lewis scott smith john evans lopez … | |
Hi, I having problem to fix this problem. Already search for related thread, but cannot find a solution. The case is like this. I have 2 system that intergrate each other. Let assume as system A and B. User need to login from system A and can use system B … | |
hi all.. I just want to ask,is it correct,in a class that we have built,PHP will first execute the constructor function before the others?? to make it clear is this is example : [CODE] <?php class database { public function __construct() { $this->open_connection(); } public $connection; public function open_connection() { … | |
Hello, I have this part of php code... [CODE] <?php $dom = new DomDocument(); $dom->load("anna.xml"); $xp = new domxpath($dom); $unitid = $xp->query("/ead/archdesc/dsc/c01/did/unitid"); foreach ($unitid as $check) { print '<a href="#" onClick="displayResult2(' . $check->textContent . ')">' . $check->textContent . ' </a>'; // I presented the unitid's of a xml file and … | |
hi, i have a php file that perform a query with the data that he receive form post information. what i need to do is detect from where the data is coming is is same domain or not and block when is not from the same domain. thanks a lot … | |
Hello there, i got a problem uploading Mp3 files, i use this Form: [code=html]<form enctype="multipart/form-data" method="post" name="carica" action="car1.php"><tr> <td><font color="#990000">Nome Canzone: </td><td><input type="text" name="use"></td></tr> <tr><td><font color="#990000">Nome Artista: </td><td><input type="text" name="art"></td> <tr> <td> <input name="uploaded" type="file" /></td><td><input type="submit" value="Caricare canzone" name="car"></td></tr> </form> [/code] and this Php : [code=php]$target = ""; $target … | |
Hi! i know you already experience to use this two cms software. I only want to know which of this two is the best. I have planned to create a site and then i am hesitate. I want your opinion or suggestions. please help me! | |
hi, I am php programmer and i want to develop website in Gujrati (Indian Language). Can any one Help me how i can do this. thanks... | |
To all experts, I am trying create a page that allows users to view and reuse images returned from mysql. In the mysql database I have two columns "image_path" (which stores the path and name of an image stored in the file system) and "image_name" (a text name that the … | |
can any1 suggest a nice method to pass an array in php? thanx in advance. ![]() | |
hi all i want to show the user 2 forms together. mail and password(which means the user will have 2 submit buttons, one for the mail form and one for the password form). the purpose is to let the user change his mail/password but he wont have to change both … | |
Is there a way to attach multiple files to email using php? ![]() | |
Really I am a PHP beginner, I am working on this code and I need help, kinda stuck. I have a database with 3 fields(id, date and venue). This is simply what I want to do; I want my script to go into the database fetch the date and compare … | |
At first, hello everybody! I want to make a php script which autofollow other users on twitter. The userinformation like the twitter username password or the search tearm will be saved in a database and read out. Here are is my code so far, but won't work correct: Autfollow.php [CODE] … | |
Hi all, I'm sorry my bad english. If don't understanding something, please ask. I have a problem with my calendar. Can somebody tell me why I can't mark day cell in my calendar. Do I miss something what I can't see or is my code failed? My calendar is full … | |
[CODE] <?php include('connect.php'); $type=$_POST['type']; $seat=$_POST['seat']; $no = $_POST[chkno];//number of checkbox checked $i=0; while($i<=$no) { $sql2="insert into bookinglist (type,seat) values('$type[i]','$seat[i]')"; $i++; } if (!mysql_query($sql2,$con)) { die('Error: ' . mysql_error()); } echo "1 record added"; mysql_close($con); ?> [/CODE] | |
What I mean by this is when a person move over the main menu item that the menu shows the menu items with out clicking.. I guess like flash would.. Like the menu items above on this page.. ? | |
To get to the brunt of it, I have a link list on the left sidebar of my site, each link is just a recordset table value and I used a repeating region to repeat down. Therefore the list of links is essentially a list of recordset table values from … | |
Hey all, I have a php query to calculate numbers and fix them. Say I have the following set of numbers: 2.38 3.4 3.45 10.3 8.1 5.07 4.8 I want all the numbers to be aligned, so the numbers that are 3.4, 8.1, 4.8 etc should have an attached 0 … | |
Hello, I'm the volunteer webmaster for my church and tried to integrate a WordPress blog into my CSS-HTML site. It was going well following the tutorial at [url]http://www.burnseo.com/blog/2009/10/integrate-wordpress-into-existing-website-tutorial/[/url] until I edited the index.php file with the tutorial's code shown below. Then I got syntax errors in the browser, starting with … | |
I am planning to use preg_replace to remove some unwanted stuff from dynamic string $mystring: <ul><li><a href="http://www.url.com/wiki/How_to_fix_erection_problems_after_prostate_surgery&diff=335&oldid=prev">How to fix erection problems after prostate surgery</a></li> <li><a href="http://www.url.com/wiki/Wikipenis:Community_Portal&diff=334&oldid=prev">Wikipenis:Community Portal</a></li> </ul> This string is generated from an RSS reader. (The url has obviously been replaced to make sure no one thinks this is … | |
hii i am trying to write code for Login but its not working.. i have used this code for my another loginpage there its working dont knw y its not on working on my new page. when ever i click on Login button it goes in else statement that open … | |
Ok here's the situation; I have these tables setup in MySQL; [B]Table name[/B] - Users UserID - INT Primary key Auto increment Email - VARCHAR Password - VARCHAR Firstname - VARCHAR [B]Table name[/B] - WallPosts PostID - INT Primary key Auto increment UserID - INT Foreign key Email - VARCHAR … | |
how do i get the thumbnail of a video form a video server like YouTube.com | |
Hi, is there any source or tutorial i can use to build a voice chat application, it is just for test purpose want to build my skills on php. i searched google and came up with using ajaz and zend framework. but i want your opinion on this ? thanks | |
it should display in the textarea "car1>>car2" instead it displays "car1>>car2" try this code... it doesn't work. put your mouseover "test". [code]<?php $sumz= "car1>>car2"; $textsearch = array('&lt;','&gt;'); $textreplace = array ('<','>'); $textareatext = "$sumz"; echo "<div style='display:none;' id='1'>".str_replace($textsearch,$textreplace,htmlentities($textareatext))."</div>"; echo "<table><tr><td onmouseover='Test(1);'>test </td></tr></table>"; echo "<br /><br /><textarea name='reply' id='reply' style='color: #000000; … | |
hey guys am also doing online voting wanted to be help with codes for voters login am doing online voting system for our university | |
Hello everyone, I used session and the id of the selected checkbox are passed to another page currently. now I do another query based on the ID of the selected checkbox. I want to display the fields from the selected result in columns like this [url]http://www.bluenile.co.uk/diamond_co...OMPARISON_STEP[/url] I did this [CODE] … | |
I have developed PHP application having Visitor management system i would like to match information (Visitor profile names ) from orkut application to my application ? If i suppose type a visitor name on my application form, so that at the same time it should get existing orkut profiles autolisted … | |
I have a drop down menu and i'm also using an iframe. how do i get the value of the drop down selected value if the url doesn't change at all? it is always the main page's url that is shown. HELP!:) thanks! | |
i am trying to connect client access databae file from remote php code fetch record from access and update to remort mysql databaset anyone help me.... how to do this.. | |
I have uploaded all my files on the Apache/2.2.3 (Red Hat) live server. There is htaccess file on the root of website for converting php to html. But it is not working and getting "Internal Server Error". If i blank that htaccess code then it works. I don't know what … | |
Hi there, I have been scratching my head for a few days now! with this problem: I am trying to echo out some data from a mysql table. I have a column name Country which has the following Countries: India, Malaysia Austaralia etc. I also have a column name Town … | |
Hi geeks, I am working on a query string but I am kinda stuck with the code, I guess this is so cos am a PHP beginner. I want my script to display members list from a table in my db and attach a hyperlink to it so that when … ![]() | |
Hello, have a page where I am going to be doing multiple queries on different databases. However I thought my below code would work but it does not seem to resurn any error message nore any result set. Here is my common database connection file <?php //database username and pass … ![]() | |
am getting an error wen i run the following code am saving it as welcome.php and using wammp Welcome <?php echo $_GET["fname"]; ?>!<br /> You are <?php echo $_GET["age"]; ?> years old. ERROR Welcome Notice: Undefined index: fname in C:\wamp\www\welcome.php on line 4 ! You are Notice: Undefined index: age … ![]() | |
Hi, On this site I found a lot of cool examples of PHP OOP. Maybe you know where to find complete examples? Guest books, registration forms, blog... When I look at the full model is much easier to understand OOP PHP. As different classes interacting with each other, exchange data … ![]() | |
This problem is on AWS linux instance,in local its working perfact. Here is my flow: this file is:test.php [CODE] require_once('system/config.php'); $_SESSION['name']='test'; echo 'session -name- is:'.$_SESSION['name']; exit; [/CODE] Expected Output: session -name- is:test (its coming.OK) here i have set session value to test. so in page session is now live and … | |
I am working on a PHP application and there is a link by which Invoice Preview can be seen and it is dynamically generated. There will be an option in this preview to convert it into PDF. I am trying to find a php class or script which will easily … | |
Hi, Can we retain multiple checkbox selection upon refresh or using pagination for few hundred records? There is a page where user sees all the items which has search box on the field column to perform searches and select items using checkbox besides those items. While searching the items page … | |
I has been developing Visitor Management system this facilited service Digital Sigmnature , Webcvam photo capture and thumb impresion but thumb impresion not succesen in php i am trying ot intigreat thumb impresion capture and save to mysql database but not success. [B]i need thump impresion code [/B] please help … | |
Below is [B][U]SOME[/U][/B] code from my [U]drop down box class[/U]. I would like to make the drop down box sticky so that when a user fills out the form and makes a mistake, or leave out a certain field, the values he/she selected from the drop down box remain intact … | |
hi all, iam using a php web services from xignite iam not able to use it properly [CODE]$xignite_header = new SoapHeader('http://www.xignite.com/services/', 'Header',"Tracer" => "1")); $wsdl = new soapclient('http://www.xignite.com/xMetals.asmx?WSDL'); // attach SOAP header $wsdl->__setSoapHeaders(array($xignite_header)); // call the service: pass the parameters and name of the operation $input_params = array('Types' => "XAU", … | |
Hey, i was wondering if it was possible to find the sum of all the values in certain row and than find the max value of all of them. I have the following code, but it only grabs the largest value from all the rows, is it possible to sum … | |
Hi, I am new in this site. I'm a computer science graduating student and trying to get some information regarding online voting system. Unfortunately, I don't have any idea using PHP language. I really need brilliant ideas in building this system. Any idea that you would send would be highly … | |
Hi, I am using substr to bring back only the first few lines of text from a database field - For example: $message_contents = substr($message_contents, 0, 43); How can I protect against the substr to deliver the next full word ? so, if my 44th,45th,46th charachters were (com) currently the … |
The End.