39,323 Topics
| |
This is my normal file upload code. [B] HTML[/B] [CODE]<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1"> <input name="theFile" type="file" /> <input name="Submit" type="submit" value="Upload"> </form>[/CODE] [B]PHP Variables to receive file[/B] [CODE] $fileName = $_FILES['theFile']['name']; $fileTempName = $_FILES['theFile']['tmp_name']; [/CODE] Now i would like to use remote upload. So i created a form … | |
Hi, I am having the table of the following details. [B]rollno subject standard[/B] reg01 maths III reg01 physics III reg01 english III This reg01 student has registered this courses. He can make changes this registered courses. How can i find the "updation"(or differences) of my table as the previous using … | |
Hello every body; i hope you all are fine, i need help on my project where i got stuck; i have a page where user browse and then upload the swf file, i want to extract all the existing images from that swf file when user click on upload button..... … | |
i have a php file where user browse and then upload swf file, now in that swf file i have 3 variables i want to first get those variables and then update those variables with new value...... i don't have any idea about flash. Any suggestions or solutions please Much … | |
[CODE]<form method="post" action="check.php" onsubmit="return validate()"> <table width="200" border="0"> <tr> <td>Username</td> <td><input type="text" name="uname" id="u"/></td> </tr> <tr> <td>Password</td> <td><input type="password" name="paswd" id="p"/></td> </tr> <tr> <tr> <td>Select Location</td> <td><a href="http://maps.google.co.in/">Click Here</a></td> </tr> <tr> <td><input type="submit" value="Submit" /></td> </tr> </table> </form>[/CODE] Hello friends, how can i implement this form using joomla mvc architecture?? … | |
Hey I have a slight problem here, I got my php login script, But it doesn't do what I want it, anyways when I enter details into the login box, if it is invalid I want it to refresh the page and say invalid login, but all it does, is … | |
Hello there, I'm trying to create a rewrite condition for a set of rewrite rules. Currently this is what I have: HTML and CSS Syntax (Toggle Plain Text) [CODE]RewriteCond %{HTTP_HOST} ^/?forum [NC] RewriteRule ^([\w]+)/([\w]+)/?$ index.php?p=$1&s=$2 [NC,L,C] RewriteRule ^([\w]+)/?$ index.php?p=$1 [NC,L][/CODE] What I want is to have the following uri, [url]http://www.mywebsite.com/page1/page2[/url], … | |
Hi, I have made a script to search my database. But when I execute it, it shows only one result. I even checked the database but there were many entries like this. here's the code... [CODE]<?php // Made by Shahbaz Singh July 2011. All Rights Reserved. Webdhaba.in $q = $_GET["q"]; … | |
Hi I would be greatfull is somebody could help me. Ok vut a long story short I am trying to create a website which has the facility of a database driven banner system, on either left and right hand side of any page. the purpose of this is so that … | |
Hello all, I have a problem. I need to make a php application with manual licensing not using any software for it but I didn't find anywhere a tutorial or a book about this. I have only found some tutorial about different types of licensing but could not find any … | |
How to check browsers javascript and cookies are enabled or not? And How to redirect on error page for each condition separately ? | |
[CODE]<?php $login = $_POST['login']; $nickname = $_POST['nickname']; $senha = $_POST['senha']; $email = $_POST['email']; $conexao = mysql_pconnect("localhost","rodrigue_incub","xxx24df") or die (mysql_error()); $banco = mysql_select_db("rodrigue_incubadora"); //Utilizando o mysql_real_escape_string voce se protege o seu codigo contra SQL Injection. $login = mysql_real_escape_string($login); $nickname = mysql_real_escape_string($nickname); $senha = mysql_real_escape_string($senha); $email = mysql_real_escape_string($email); $consulta = mysql_query("SELECT * … | |
Hi I have 3 image placeholders taken from a recordset. If the image URL is in the database table column then the image shows as you would expect. However if no image exists I want to force the code to pick up a blank image from location: propertyimages/dot.gif Current code … | |
I'm working on small PHP project. i have data in following text COMPANYgreenwayLOCATIONmumbaiPHONENO2222457sÿû)wÕ !$&),.0368:=@BEHJMORTWY\_acgikmqsux{}€‚…‡ŠŒ’”—šœž¡¤¦¨«®°²µ¸º½ÀÂÅÇÊÍÏÑÔ×ÙÛßáãæéëíðóõ6r¯€$ÀF€CwÕ_âT useful values i want to get from text COMPANYgreenway LOCATIONmumbai PHONENO2222457 remaining text is useless for me i want to store those values in database so what i need to do to get those values..? | |
hi guys, I am developing a website, and it needs people to upload images. I can write code for single upload but not multiple, please help. Thanking you in advance! | |
Hi Team, I have 2.6 years of exp in PHP tech(complete exp on core php,mysql,javascript)... 8 months back i resigned my job due to marriage.. now i am trying to get job on PHP...but now without any CMS/ZEND there is no calls for core php. so.. i m trying to … | |
Hi, I'm in the process of making a forum system for my clan website. I'm currently making a function that convert bbcode tags to html tags ready for echoing in the div. Additionally, it will check all the images posted in forum post to see if they are over a … | |
I am making what I call a PM (Preventive Maintenance) Kit list. My users will use this list to generate a printable sheet to tell me what they used out of there kit. The list includes pricing per part and I would like the list to calculate the costing as … | |
Hi, i'm trying to update a mysql table with values, and i get this error: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE StockID= 23' at line 1. Here is my … | |
I am a VB.net programmer and I am very new to PHP HTML and Java Scripts I am doing a project for my company using PHP HTML and Java Scripts and I want to Know how to make readonly a text box after it gets the input This text box … | |
Can anyone help. Im trying to create 2 drop down lists (using the select tag). Based on the choice of the first drop down list the second list is populated. Thanks, | |
hi, I am facing parser error while embedding php tag in text box value. print "<tr><td><font color=\"#0080FF\" face=\"sans-serif\" size=\"2\"><b>emp :$nbsp</b><input type='text' name='txt1' size='10' style=text-transform:uppercase maxlength='7' [B]value="<?php echo $_POST[txt1];?> >[/B]</font></td></tr>"; please help me out. | |
hi guys i want to use php websockets... i made a web socket but it didnt work i hope you guys know some javascript couz the client page is made with javascript and html5 this is the server's code: [CODE] <?php error_reporting(-1); $host = "127.0.0.1"; $port = 8000; $socket = … | |
Hi please help me on php form to pdf conversion and at the same time it should save to database visit this [URL="http://servunity.in/form_classII.php"]http://servunity.in/form_classII.php[/URL] I want pdf to look like as in the url [CODE] <form id="form_pdf" action="classII.php" method="POST"> <input type="text" class="f_input input1" style="width:200px;" name="surname" maxlength="30" value="Surname" onBlur="if(this.value=='') this.value='Surname'" onFocus="if(this.value =='Surname' … | |
hi I'm need changes in my code. I'm display records by search. but i want to export those search records into excel, PDF, and word format. I'm creating only export to excel format. but it exports all rows in entire table. i need only that searching records to export. See … | |
I am storing PHP variables in DB like [CODE]Dear $name, You are now member of TL, and your address is $address, $city.[/CODE] If I echo variables they are showing as it is.. The variables have values and I want to send there values into an email.. How this can be … | |
I wrote this function in PHP. It divides each variable $votesX, where X is a politic party name, for 1,2,3... to the value of $seats. Now I've to search the the biggest values of the array and replace them with a zero. How can I do it? [CODE]function hondt ($votesA,$votesB,$votesC,$votesD,$votesE,$seats){ … | |
Hi I'm developing a web application and needs to Integrate it with Authorize.NET AIM. I have tested the code provided by Authorize.NET it works fine for Single product. This code has an option to use for line items and is commented by default. I uncommented it and then used it … | |
.hello, i just want to ask if there is a code for linking all the forms that i made in php? | |
Hello All, I want to integrate a map in php like in this website. [url]http://hotpads.com/[/url] If anybody have solution for this.please reply me as early as possibly. Thank You. |
The End.