52,566 Archived Topics
Remove Filter ![]() | |
Hi, my website svnnews.in is hacked yesterday. Now its showing some hackers messages. I need my website back.Need suggestion to make my website hack free. Web Development php ![]() | |
when i click in the search button it must display whatever i type in | |
Hello Everyone, I need your help please, using htaccess, I like to know how to deny access to an index.php file from all visitors except me. I have tried the following; <files index.php> order allow,deny deny from all </files> That works denying all access to that file. I would like … Web Development apache cybersecurity php | |
Hi I am trying to write a password reset script. An email with a link is sent to the user, and then if the username and a 32 character string in the link match the info in the database they can change the password for that account. Here is what … Web Development php ![]() | |
hi i wont to change the activatet value of user log in in database example:when i log in in the page the value must change from 0 to 1 any idea Web Development php | |
I am trying to build a Web Application using Visual Studio 2005 and C# 2005. I need to accept a date in a particular textbox. I tried to use AJAX Calendar Extender for the purpose. I have added AJAX Script Manager and CalendarExtender controls to the webpage and set the … Web Development asp.net javascript visual-studio | |
Currently all the images got no extension after I upload and mysql store the images with no extension too. Any solution? This is the code: <?php if(!empty($_POST['Name'])){ if(!empty($_POST['SellPrice'])){ if(!empty($_POST['RentPrice'])){ if(!empty($_POST['Quantity'])){ if(!empty($_POST['CostPrice'])){ $name = $_POST["Name"]; $SellPrice = $_POST["SellPrice"]; $RentPrice = $_POST["RentPrice"]; $Quantity = $_POST["Quantity"]; $CostPrice = $_POST["CostPrice"]; $Category = $_POST["Category"]; $name … | |
i have an issue , when i click on YES or NO (radio button) to enable/disable DIV section (EmployerInfo), it causes the whole page to refresh and scrolls back to the top of firefox every browser. i set Autopostback to true and i put MaintainScrollPositionOnPostback="True" in page directive but still … Web Development asp.net first-post | |
i knwo that validation controls actually validates asp:net contols but the thing that confuses me is that "Wheter it validates at server side or client side " ? i heard that it validates at client side so what does it have an attribute "Runat=server" ? plz elaborate Web Development asp.net | |
I have Table named Product Have Fields as Prod_ID int Prod_Name varchar(50) Price int Image varchar(50)----save as url I have form which have one DropDownList Having Boung To Prod_ID Coloum it shows all the data from prod_Id coloumn and have one gridview... if user selects prod_ID from dropdown then it … Web Development asp.net image open-source | |
Hiii Alll I need to display a message to the user after clicking the button control. How to do this in c#.net? I could not find Msgbox() option as we hav in vb.net. can any one help me | |
Hi I have a menu that is included in all my pages. When the menu item is clicked it opens a new page and the clicked item changes his color to magenta this, is perfect. Each Item has a submenu the problem starts when i open one of the submenu … Web Development php | |
what if i have two dropdown lists.....which has list items with same values ? is it harmful ? mean list item with same values of 2 different drp dwn lists ? and what does it mean actually ? usage ? Web Development asp.net | |
I wrote a slider that fades... but how do i get it to display randomly... but still fades :) Thanks Will post my code if needed!!! Web Development javascript javascript-jquery | |
I have found the program ffmpeg and have been looking into it, and I can see that you can use php to convert the videos that are being uploaded but I want to know where I need to start with this program to get it working. Web Development file-system php video ![]() | |
Here is a basic join code for two database tables, I want it to compare the two tables with a users email, it would have to be the current user logged on. How do i do so with php? SELECT column_name(s) FROM table_name1 INNER JOIN table_name2 ON table_name1.column_name=table_name2.column_name | |
Hello I have made a php file upload for the visitors of my site to upload small videos too, now I want the users that are logged into their account to have the videos they upload be linked to their user id, so anyone vewing the small video can know … Web Development file-system mysql php | |
<head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>Upload photo 1</title> <form method="post" action="upload.php" enctype="multipart/form-data"> <p> Photo name: </p> <input type="text" name="Name"/> <p> Category : ---> Choose Between Animals, Cars , Landscapes , People </p> <input type="text" name="Category"/> <p> Creator </p> <input type="text" name="Creator"/> <p> Upload your photo : <input type="file" name="photo"> … Web Development php | |
Please could someone tell me the best way to wrtite this in PHP i am validating gender in a text box i do not want to use radio button. at present my code is like this but not working if(preg_match("/gender/i",$field)) { if(!preg_match("/^M,F $/",$value)) { $errors[] = "$value is not a … Web Development php ![]() | |
I have a xampp database user log in with username and password, but i want to send each user an ID after registration and this ID should auto increment in my database. at the moment i can only achieve this if i include a field on the registration form, but … Web Development php ![]() | |
Hi, Please can someone tell me how to upload images to my database table images. I would like to be able to link to these images eventually from a link on my webpage. I would need to be able to upload more than one image at a time. Web Development php ![]() | |
HI, can anyone pls help me regarding the following context..suppose i hv 3 form in javascript..when user give valid info in the first form then only the 2nd one will enable..after validation of 2nd one the 3rd one will enable ..not only that say 1st form has a title when … Web Development javascript | |
I'm making a B2B portal that can see just loggedin business customers that I add to base, I finished almost all, but there is one problem. When customer add some goods to his cart, goes to checkout and confirm his order he will have a link to invoice.php?ids=156 and that … | |
Hi, I am Developing one website.There is textrea box where i need to fetch the datafrom database and need display it in textarea box using java script.The text contains special charectars like single quotes and double quotes. how to escape quotes please help me am using **mysql_real_escape_string();**but the query results … Web Development php | |
Hi People, Got an issue with css in php. Actually I'm trying to create and send a html email. My front-end form consists of To(textbox where recipients email address will be entered) and then I've embedded ckeditor in place of Textarea where I will be typing the message... Now this … | |
Hello guys, do you have an idea how to add rows in php? Like datagridview in which you can add rows when you want to. Any idea what should I do? Thank You. Web Development php | |
I really need this WYSIWYG editor here on DaniWeb, with the smileys and rich text editing, does anyone know where to get it? Thanks, jon Web Development javascript | |
Hello guys, i want to populate a textbox based on the selected index of a combobox. For example, the textbox will only be displayed if the selected index is "5". But the problem is, i generate a series of comboboxes through a loop which is based on the number of … Web Development php | |
We'll got stuck my self in adding row using javascript, It seemed doesn;t work at a time I click on the button "tambah Barang" do I missed something..??please help.. Thanks <?php include_once "config.php";?> <script type="text/javascript" src="../jquery/jquery.min.js"></script> <script type="text/javascript"> var idrow = 2; function tambah() { var x=document.getElementById('datatabel'); var td1=x.insertCell(0); var … Web Development javascript javascript-jquery | |
I am really in mess as I am unable to solve problem with Smarty Multi Dimension array. Below is the way I want to execute Smarty. First of all I will list all customers. Than I want list of all items purchased by that customer. I have two tables inside … | |
how can i let image overwriting when uploading? and if uploading an image titeld different how can i make it to change to specific file tite?im trying to make an image replacement to change images on the web page like for example logo. how can i make the file name … | |
Hi everyone. I have not done any type of coding in some years and can use some help with a simple yet frustrating task. I am trying to allow registered users to upload a "profile" photo to the server and insert the path into the database. I would like to … Web Development coldfusion file-system image | |
i have tow tables, posts and sections, i want to get the last 10 posts WHERE section = 1, but use the 10 results in different places, i make a function function sectionposts($section_id){ mysql_set_charset('utf8'); $maxpost1 ="SELECT max(id) from posts WHERE section_id = $section_id ORDER BY ID DESC LIMIT 10"; $maxpost10 … | |
<?php include("connection.php"); $sql="UPDATE detail SET 'user_name'='".$_POST['user_name']."','password'='".$_POST['password']."' WHERE 'id'='".$_GET['id']."'"; $result=mysql_query($sql); mysql_fetch_array($result); ?> <html> <head> <title>login</title> </head> <body> <form method="post" action="index.php?id=<?php $_GET['id']; ?>"> id:<input type="text" name="id" value="<?php echo $_POST['id']; ?>" /><br/> user_name:<input type="text" name="user_name" value="<?php echo $_POST['user_name']; ?>" /><br/> password:<input type="password" name="password" value="<?php echo $_POST['password']; ?>"/><br/> <input type="submit" value="submit" /> </form> </body> … Web Development php ![]() | |
Hi everybody, I created form.the form fields records are saved in database.if select <div id="privacy_create" > this field add some datas in another table [PrivacyProfilePlanpeople] i have no issue.but records store only in first table. privacyprofileplanpeople table no records are added. what is the problem. anybody plz help me. public … Web Development php ![]() | |
i have a signup form which needs user to submit his academic information also. academic info table in database is like this : tbl_acadinfo  now how would i fill this table via asp.net (as a part of signup form with title ACADEMIC INFO) ? bcz educationlevels are many … | |
Hi everyone, I just found something interesting in my code but I ain't sure why JavaScript. var input= 0; // But in my case, the input variable is getting the value from a field in a form if(!Number(input)){ document.write('it is not a ZERO'); } This is something similar to my … Web Development javascript | |
I am getting Copying issue with my code, when i use only one single url it works but if i get multi url from explode function and call them it gives me an error please help me i have a problem in my copy() function let me show my code. … Web Development client-server php | |
I am having trouble with this page: <?php session_start(); // LOGIN PAGE... include('/mods/core/core_login.php'); // SQL stuff. mysql_connect('SQL host','Username','Password'); mysql_select_db('DB_NAME'); $ci = rand(1, 10); if ($ci == "1"){ $img = "http://images.awsomechat.comuv.com/cap_1.png"; // URL of image. $ans = "LoIs DDiO"; // Answer to image. }elseif ($ci == "2"){ $img = "http://images.domain.com/cap_2.png"; // … Web Development php | |
I have got a parse error inside my php script, involving T_String error on line 22 Parse error: syntax error, unexpected 'toys' (T_STRING) in C:\xampp\htdocs\registrationform.php on line 22 <?php $toys = array('digicam' => 'Digital Camera', 'mp3' => 'MP3 Player', 'wlan' => 'Wireless LAN'); $errors = array(); if ($_SERVER['REQUEST_METHOD'] == 'POST') … Web Development digital-publishing html-css php publishing | |
Warning: include(funck.inc.php): failed to open stream: No such file or directory in C:\xampp\htdocs\search\index.php on line 2 Warning: include(): Failed opening 'funck.inc.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\search\index.php on line 2 help plz what i have to change Web Development file-stream file-system php | |
I just launched my first website I fully wrote myself in php/mysql - [www.TomPaineToday.com](http://www.TomPaineToday.com). After testing it on my own computer for a while, I decided I might as well launch it and see what problems I run into. The first issue I came across was that my link redirect … | |
hi i have 30 pages with the same design, the text appears always in the same div so i have 30 different texts with the same div id. Is it possible to include all the text in an external php file not database and call them to appear one by … Web Development database-design php ![]() | |
how can we make Function in php this is the line to be read = 'i am going to [USA]' only required the USA to be print nothing else Please help Web Development php ![]() | |
i wonder if it is possible to fetch images using [PHP Simple HTML DOM Parser](http://simplehtmldom.sourceforge.net/) and obtain it in a specific URL. Suppose it fetched a Image in a variable like $img = 'http://www.example.com/some_image_address.JPEG'; Now is it possible to get this image in my own domain path, like $new_img = … ![]() | |
i have been given an assignment, to find frequencies of all words in a large text file. I have tried a program which finds the same in a sample string. Done by taking that string in an array. But in case of a text file spanning many pages with thousands … Web Development php | |
hello guys.. im new in creating websites.. my problem is how to auto update the dropdownlist then the combobox is change/click? example: i have 2 combobox which **cbo1** contains the list of genre of songs like *pop, opm, love songs* etc. and **cbo2** contains the list of *artists/singers etc* about … ![]() | |
Hi, I have a wordpress site but really I'm looking for a plugin that will allow one word captcha. I have been searching for this but it doesn't appear to be the right name for it. What I want it to do is say "Please type the word frog" and … Web Development javascript wordpress | |
Hello, I have all my php documents in one folder to handle my form creating, and i have all my html files in one directory as well. but in my php code i want when a user click on the hyperlink in php page it shoud yake the user to … ![]() |
The End.