52,566 Archived Topics
Remove Filter ![]() | |
Hi, I want to create a log file so when someone logs in or when someone gets their password wrong or someone tries to log in to the admin account and gets it wrong, like ip address. date|Time etc The script I am using is this one http://angry-frog.com/downloads-page/ PHP Login … Web Development php | |
`Inline Code Example Here`hello everyone, i am working on a project , in this as all other project we have a login required so i designed a login panel but when i run the project the textboxes of username and password are having its value as "admin",i tried a lot … | |
i have a table in Mysql's database, tblStudents, which has 1,000 stdents, from different departments, e.g 500 from IIT, 300 from IMS, 100 from Medical, 100 from Engineering. and on fornt end in, i have 2 dropdown boxes, one drpdwnDown box is filled with values, IMS, IIT, MEDICAL, ENGINEERING. now … Web Development engineering mysql php | |
I am working in php along with Mysql in backend, why this query is giving error : You have some problem in mysql syntax, check manual, this is that query: $Userid= $_SESSION['userid']; echo $Userid; $Dep = "select departmentName from department where userid='$Userid' "; $qry ="select registrationNo,name,fatherName,cnic,gender,discipline,department,admissionSession,email,password,address,domicile,contactNo,status,currentEmployer,designation,salaryInfo,totalExperience,lastOrganizationname,organizationAdd,organizationPhno,organizationEmail,Remarks from students where registrationNo='$RegNo' … | |
I know little bit of php-mysql and web programming. For my project work, i made one login module, it contains two pages but it has some errors. I use WAMP for project, whenever i feed data and press login it does not go to profile.php page and session does not … | |
Okay this is strange. I'm new to AJAX and I'm trying to use it with php to check a variable from my database before a form is submitted. It works almost fine. The strange part is that it seems to be saving anything I enter into the text field. var … Web Development caching first-post javascript | |
i have 2 tables as follow sales (table1) sales_id, userid(buyerid), product id, productname, orderid, status users (table2) userid, username, pass Now, I need to display the top customer who makes regular purchase on my shopping site. How can I achieve this? I tried as SELECT A.(*), B.username FROM sales A, … | |
Hi I have a log in script that if successful starts a session. When you enter the correct info it days that you are logged in, but when you try to acces a restricted file it says that you are not logged in. If you then log in again it … | |
my text is to show on webpage is- Comment ça marche Tu es bloqué par une question, ou par un exercice de mathématique, ou par un chapitre de chimie que tu n’arrives pas à comprendre ? But my website is not showing some french charachter of this type of text … Web Development php | |
hi everyone. I have just started to program in php. I tried to develop a php code to retrieve data from a form and insert into a table created in Mysql. Here is my php code. This code gets executed when the user submits the form. <html> <body> <?php $con … Web Development php | |
Hi Everyone! My question is on Pagination (as it is called). I have a php program that accesses a database and shows the result list with HTML. Well, if my result list is quite long how do i code so that only say 10 rows show per page. I know … | |
I have problem with external links, where users add additional characters to the end of a variable. The links should be something like "page.asp?ID=261", however I see many external links to the page with malformed additional characters, like "page.asp?ID=261FTR223". These are mostly from social networking sites. I need to clean … Web Development asp | |
I have a domain registered. I've uploaded my pages in httpdocs of my webspace. Other html pages are working fine, but my asp.net pages are not working properly. when i try to load those pages i am getting error as below : Server Error in '/' Application. -------------------------------------------------------------------------------- Runtime Error … | |
Hi, I have the below code to block the view source but its not working for me. Someone pls take a look and let me know. Thanks. [CODE]<html> <head> <script language="javascript"> function onKeyDown() { // current pressed key var pressedKey = String.fromCharCode(event.keyCode).toLowerCase(); if (event.ctrlKey && (pressedKey == "c" || pressedKey … Web Development javascript | |
How to detect end of video and redirect to another page using php for dynamic url? I have, <video autoplay> <source src=videos/poke.avi type='video/mp4; codecs="theora, vorbis, avc1.42E01E, mp4a.40"' > <p>Your browser doesn’t support video.</p> </video> I want to do this, video.onended = { // do stuff (redirect to show content) } | |
![]() | I want to make include file with a function, which among other things creates a link to the page itself, with an querystring variable added, how can i get the name of the current php file thus avoiding to have it as a string constant that has to be changed … Web Development file-system php |
Hello, I have got the following array string through URL. http://www.xmeniafitnessclub.com/1024768/enquiry.php?fname=hgg&sex=female&facility=weightloss&facility=weightgain&facility=yoga&facility=danceclass&phone=363636&email=anuradha.jo1shi%40cognizant.com&feedback=%0D%0Ayuy&submit=Submit I need to seprate out following values.. I am trying this array but with no luck.. # **&facility=weightloss&facility=weightgain&facility=yoga&facility=danceclass** # HTML code for same is - <tr> <td><label>Facility *:</label> </td> <td> <input type="checkbox" name="facility" value="gym"/> Gym<br /> <input type="checkbox" name="facility" … Web Development php | |
Two years ago Airshow helped me with a Vertical Slider Zoom feature for a project of mine. Now I have a need to do the same but with a Horizontal Slider to zoom a photo. I need the slider in this example, [http://bbhs69.com/senior_class_photo_copy(1).htm](http://bbhs69.com/senior_class_photo_copy(1).htm), to be horizontal and at the very … Web Development html-css javascript | |
Hi can anyone tell me how I can write data to the main www.example.com from mobile.example.com i keep getting a http write error when i try to mkdir or a file on the main domain from the subdomain?? Web Development php | |
This is my html page, which takes in an input by the user and the searches the database for the word, also there is a function which is suppose to display the results here is the html code <?php require_once ( 'browsing.php' ); ?> <!DOCTYPE html> <html lang="en"> <head> <title>Browse</title> … ![]() | |
I have two files, slideshow2.html and getimages2.php. The first contains a variable, js_var, with the name of a directory. This will ultimately come from a database. I want to pass js_var to the php file, which creates an array (galleryarray) out of the images in the directory and sends it … Web Development javascript javascript-jquery php | |
I have an html form which brings up an input box, which is this <!DOCTYPE html> <html lang="en"> <head> <title>Browse</title> <meta charset="utf-8"/> <link rel="STYLESHEET" type="text/css" href="../../style/Browse.css"> </head> <body> <form> <form name="input" action="Browsing.php" method="post"> Search <input type="text" name="search" /> <input type="submit" value="Submit" /> </form> </form> </body> </html> Then I have a … | |
please could someone help me for a code to validate DOB i got this code on the web but doesnt work i want to validate dd/mm/yyyy or any other format is fine by me. if(preg_match("/dob/i",$field)) { if(!preg_match("“/^([0-9]{2})\/([0-9]{2})\/([0-9]{4})$/”",$value)) code from web { $errors[]="$value is not a valid dob please enter only … Web Development php ![]() | |
http://localhost/Project.html?ProjectId=P6610C32F-7C54-4221-A190-A9E7E08F8B08 This is my weburl. I want to retreive query string value of variable "ProjectId" How i can do this using vbscript and html page Web Development javascript vbscript | |
Okay so here it is. The code below is my player counter for a game called Minecraft. It connects to a server and brings back 2 values. 1) The number of current online players and 2) the maximum number of player slots. Then it stores these two variables in to … Web Development php | |
Hey everyone i have a database for a plumbing site i am working on. They would like some way for customers to send in a ticket to there system and they need it up right now. I am building a ticketing system for them right now but i need a … Web Development php | |
if(@$_GET['action'] == "Search"){ $result = mysql_query ("SELECT * FROM students where idnum = '$_GET[mysearch]' or fname = '$_GET[mysearch]' or lname = '$_GET[mysearch]' or midin = '$_GET[mysearch]' or gender = '$_GET[mysearch]' or bdate = '$_GET[mysearch]' or course = '$_GET[mysearch]' or year = '$_GET[mysearch]' or address = '$_GET[mysearch]' or cnum ='$_GET[mysearch]'"); $rows … Web Development php | |
<form id="form1" name="form1" method="post" action=" <?php include("connect.php"); require("search2.php"); $username = $_SESSION['email']; ?> "> <p> <input type="text" name="search" id="search" value=""/> <input type="submit" name="btnSearch" id="btnSearch" value="SEARCH" /> </p></form> search2.php <?php include("connect.php"); $username = $_SESSION['email']; $name=$_POST['search']; $query = mysql_query ("Select * from confirm_members where email = '$name'"); if(mysql_num_rows($query)==0) die ("User not found"); else … | |
How to add video or image ads before opening next page? When video is completed or image is seen for 10 seconds after that goto page clicked for. I want to add my own videos and images for advertising before going to next pages selected for displaying ads Web Development advertising image php video | |
I am making a page which allows the user to edit a specific row based on the querystring value. What is the best way to load data into the textboxes and to reflect the changes back to the database. **Example:** Request -> example.com/editpage.aspx?id=123 The page should display data from row … | |
Hi All!!! im currently at a roadblock in my knowledge of using mysql and php date/time functions. the program i am trying to write, needs to incoporate the current date in the mysql query to pull the correct information to display in real-time.. currently the server is on east coast … Web Development php | |
How many pages of pdf can view as images by imagick.i need it in my project to view all pdf file as images.Is it possible by imagick. | |
Hi i got a script from some website, it is an alternative for marquee so its cross browser. i put an iframe for it to scroll endlessly but after it scrolls the iframe, it keeps scrolling until it disappears off the screen, leaving behind a transparency until it starts anew. … Web Development javascript legal | |
Hi all, I have an issue with a loop as it contains communication between my server and a remote one. If the remote server has an issue then it takes forever to complete the loop and the execution times out. What it currently is: $servers = mysql_query("SELECT * FROM server_tab;e … Web Development php | |
I have a website that runs fully on PHP. The footer is contained in footer.php. Is there a way to make the footer customizable via Wordpress? | |
Hi All, I would like to know the differences between Sessions and Viewstates. And best uses of Sessions and Viewstates. Thanks and with regards, Madhusudhan | |
I have a dropdown list on each cell of table row. Now what I need is dynamically add more dropdownlist on a particular cells with pressing the add button. Any code snippet to help on this? Thank you. Web Development javascript | |
Hello all! My problem is: I have 2 web php pages, in a online server. 1 is listing database content, the other is to "download" the 1º but in html... I'm doing this by getting the content of 1º page, in a link like http:\\mysite.com\page.php, to make the page run … | |
Hello, Cek this web: [Click Here](http://www.jsutama.com/)] It's not me who created it. I must modify it. How to make the animation speed goes slower. <html> <head> <title>::: PT JS Utama :::</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="shortcut icon" href="favicon.ico"> <script src="Scripts/swfobject_modified.js" type="text/javascript"></script> <script type="text/javascript"> <!-- function MM_swapImgRestore() { //v3.0 var … Web Development html-amp html-css javascript multimedia pdf web-design | |
Hello, I have a made a forum like page where a user can submit a thread and the information gets stored in a database. However, when I try to output the data it outputs it without any line breaks in it, example: The user inputs: Hello, This a paragraph It … Web Development php | |
I need in my project to view pdf files such that no one can save the pdf file.Is it Possible.IF it is please tell me the way. | |
I am rewriting an internal Coldfusion app that stores passwords in the database using Encrypt and Decrypt into C#. My Coldfusion code is using two parameters like this: `<cfset strDecrypted = decrypt(ToString(toBinary(strBase64Value)),"keycode") />` Where strDecrypted is the decrypted string returned, strBase64Value is the encrypted string in the database and "keycode" … Web Development algorithm c# coldfusion | |
I am creating the Simple Blog from PHP for absolute beginners book. I have worked through the book and my only error now occurs when I am logged in as the admin and try to Post a Blog. The errors I get are: Warning: array_push() expects parameter 1 to be … | |
Hi all, I want to get a cookies value from one .aspx.vb page to another .aspx.vb page.but i can not get it. i give the code bellow: This is in:(webForm2.aspx.vb):in this page I set the Cookies value webForm2.aspx.vb (code): Protected Sub ImageButton1_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles … Web Development asp.net web-browser | |
why does my jquery didnt shown? this is my header code, i'm using CI to code it. <html> <meta charset="utf-8"> <head> <link rel="stylesheet" type="text/css" href="<?=base_url()?>assets/css/style1.css"> <link rel="stylesheet" type="text/css" href="<?=base_url()?>assets/css/jquery-ui-1.8.23.custom.css"> <script src="<?=base_url()?>assets/js/jquery-1.8.1.js"></script> <script src="<?=base_url()?>assets/js/jquery.js"></script> <script src="<?=base_url()?>assets/js/jquery-1.8.0.min.js"></script> <script type="text/javascript"> $(function() { $("#tabs").tabs(); }); </script> </head> <title><?php echo $title?></title> <body class="colAbs"> <div id="header"></div> … Web Development html-css javascript javascript-jquery | |
Hi I am developing an image hosting website.I want images uploaded to go to another server , not the one where the script is hosted.For e.g i want images to be uploaded to http://i1.mysite.com instead of http://mysite.com/uploads Suppose i have this code to upload file to server <form action="http://mysite.com/upload" method="post" … Web Development file-system php storage | |
Hello guys or girls. I have copied from http://davidwalsh.name/backup-mysql-database-php and i have the next error: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/a6704458/public_html/backup_cr.php on line 18 And this is the code: <?php include("/home/a6704458/public_html/password_protect.php"); ?> <?php include("database/database.php"); backup_tables($mysql_host,$mysql_user,$mysql_password,'*'); /* backup the db OR just a table … Web Development php | |
What's your recommendation for PHP MVC frameworks?? i tested Codeigniter and it seem easy to use.... I am not a full time developer, but I do have some customers with backends, etc…My intention is to migrate some of old php code to PDO but I am now wondering if I … Web Development php php-codeigniter software-architecture | |
[CODE]<html> <script> function startEQ() { quake=5; parent.moveBy(0,quake); parent.moveBy(0,-quake); parent.moveBy(quake,0); parent.moveBy(-quake,0); timer=setTimeout("startEQ()",10); } function stopEQ() { clearTimeout(timer); } </script> </head> <body> DEMO IT HERE <form> <input type="button" onclick="startEQ()" value="Start an earthquake"> <input type="button" onclick="stopEQ()" value="Stop the earthquake"> </form> </body> </html>[/CODE] Web Development html-css javascript web-design | |
hi all, I have a scrap working but it also brings the restred trade mark. I have permission from the company to do this. How do i strip these out? // get simple_html_dom from http://simplehtmldom.sourceforge.net/ include_once('simple_html_dom.php'); // @todo change $url for form input $url = ""; $html = file_get_html($url); // … Web Development php |
The End.