52,566 Archived Topics
Remove Filter ![]() | |
Hai everybody, the string $password = $request->getParameter('password'); Contains at least 8 characters. Contains upper and lower case letters. Contains numbers or other non-alphabetic characters. What could be the reg ex for the above criteria? I am creating a check for stronger password . something like: if (len(password) >= 8 && … Web Development php | |
Sir I have a search engine on my website which get input by user and search it for the results and i am storing those keywords into seperate table name keywords, but now a days i m checking that there is a bunch of unknown characters into query strings, i … | |
Without change textarea to input the virtual keyboard is bot working Web Development javascript | |
Im using the DomNodeInserted event listener (attached to the document) and on each fire of the event I retrieve the added node within the dom using: event.relatedNode But when I try to use functions like: $(event.relatedNode).html($(event.relatedNode).html().replace(/a/g, "i")); I've also tried the above without the prefixed $ before event.relatedNode but to … Web Development javascript | |
Hi All, I am creating an "About Us" portfolio page for a company. On this page will be a small bio and a photo. The bio is not a problem, uploading and storing/calling the image is not a problem, as i already have code i can reuse. The part i … Web Development php | |
Hello, I am sharing my webserver with a few people and I am trying to create some sort of an admin panel for them. It has to be able to change Apache VirtualHosts and reload Apache. Now I can make the config-changing PHP code, but there are 2 Apache-related problems. … | |
Hi guys, I really need your help, I have scraping the data from a website that i use to read the information on my php. I have a problem, I could not be able to scraping the right data from 5 hours backward of my current time, e.g my current … Web Development php ![]() | |
Hi, I have a question about web hosting. I want to purchase a hosting package from web.com, and they have mysql database. But the web hosting package says i can only have 300mb, but the issue is theres a 25 in front of the 300mb, it looks like this 25 … Web Development mysql web-server | |
I have a function that I intended to be able to remove duplicate rows in an excel worksheet. I pass it $objPHPExcel which has gone through the following function function checkExtension($inputFileName) { if (pathinfo($inputFileName,PATHINFO_EXTENSION) == "csv") { $inputFileType = 'CSV'; $objReader = PHPExcel_IOFactory::createReader($inputFileType); return $objPHPExcel = $objReader->load($inputFileName); } else { … Web Development php | |
Firstly, I am new here so if I am postign in the wrong area I am sorry. Secondly, I am new to this so dont luagh at my stupidity I think of it as a talent for getting things messed up :) I have urgent problem, converting Html to PDF … | |
Is there any opensource classified website.I am searching it on google from morning but i did not get success. Web Development php | |
Hey Everyone, I am trying to create login page where if the user doesn't enter a value into the username and password textfields a box fades in (JQuery function) telling the user to enter info. I know I can just add the `required = "required"` to the input tag, but … Web Development javascript javascript-jquery php | |
Hi guys, If i have to give a short description about my skill set, i would say i am PHP developer. I have been coding in PHP for the past 4 years and its been an year and half that i have been using CodeIgniter. I loved it! I wanted … Web Development java java-jsp php-codeigniter | |
if i hit sumbit i get output at bottom. but if i check again than i get a error. bc number1 is null. i was thinking to have about if statment inside if statment, to text if int field is null or not. <html> <body> <!-- directive tag --> <%! … Web Development java-jsp | |
Hello every one. I am creating a form in php and trying to work with button in that. There are 3 buttons below then form. 1. Submit.(to insert data in BD) 2. Update.(to update data in table in DB) 3. Delete.(to delete data from table in DB) When I apply … | |
I want to let user to choose the colour of the border, the background and the background image. How can I do that? What I want is like the user choose blue from a dropdown list then this code below will change to the relative colour and image. .ui-widget-header { … Web Development html-css image javascript | |
I have created a elevator functionality [there are 2 floors and corresponding to each one , there is a checkbox. Depending upon which checkbox is checked, the elevator shud move to that floor. Only thing which i am not able to implement here is: Make the checkbox check automatically and … Web Development javascript javascript-jquery | |
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using System.Configuration; namespace Discussion { public partial class Reg : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Submit_Click(object sender, EventArgs e) { string Sname = TextBox4.Text; string Username = txtUse.Text; string … Web Development asp.net open-source | |
i need to create file date wise ..though folder is CREATING NOW .. but need to put date wise file in run time folder String logfile = t.FileName.ToString() + "/" + LoginID + "DateTime.ToString("yyyyMMdd").txt"; t.FileName = logfile; LoginID is value taken from database ..and changes folder on fly ..but need … | |
//$('tr[id^=system_type_] input').live('change', function() { $('tr[id^=system_type_] input').on('change', function() { alert('a'); console.log($(this).val()); }); its not the first time, but I read that live is deprecated so I want to use on. But why it does not work in this code? Web Development javascript javascript-jquery | |
hi friends i have develpoed a prog. for pay calculation for my office in php. now i want to show some thing like employee name in my pge which is currently processing or progress bar with persent if calcution has done. plz note i m useing POST methord Web Development javascript php | |
Consider you have to write some javascript/jquery which is to be run on a multitude of websites and you need to be informed on updates made to the page's content (reason is not important). For instance, everytime a few new elements are added to the page you need to be … Web Development javascript javascript-jquery ![]() | |
Hi, Need to Optimize the below Query. In database around 5,00,000 Records are there. Below query is taking around 1 min. to 1.30 min Execution Time. Need to optimize the query so that the result will be fetch in 5 to 10 Seconds. We've used full text indexing for Website … | |
I am tring to have a user click the submit buttion and the status of that row/room will become closed and the user can reserve more than 1 room at a time <html> <head> </head> <body> <?php //include database configuration include 'config_open_db.php'; //selecting records $sql="select RoomNumber, Type, Cost, Status from … | |
Can anyone help me. My code is not working this is cascading drop down list. It's connected to my database. Jquery Code: <script type="text/javascript"> $(document).ready(function () { $("#SiteId").change(function () { var idDept = $(this).val(); $.getJSON("Service/GetBuildingNameList", { id: idDept }, function (myData) { var select = $("#BuildingID"); select.empty(); $.each(myData, function (index, … Web Development asp.net html-css software-architecture ![]() | |
Hello Community, I'm having trouble receiving emails from my website. This is the email address i'm sending from "no-reply@[randoma.co](http://randoma.co)" and my website is hosted by [GoDaddy](http://godaddy.com). The email address i'm trying to send it to is a hotmail email address but i have upgraded my hotmail to an outlook account. … Web Development email ![]() | |
[Click Here](http://www.jrjinc.com/project-portfolio-retail.php) I've added 8 pictures to the existing image gallery, using the same format as the existing images. When an image is clicked the originals show but the new ones don't even though they are counted in the image totals. Is there another file I need to edit to … Web Development javascript | |
<?php $cardno = $_POST['cardno']; $c_status = $_POST['c_status']; $V_idno = $_POST['V_idno']; $c_name = $_POST['c_name']; $m_name = $_POST['m_name']; $f_name = $_POST['f_name']; $Phone = $_POST['Phone']; $email = $_POST['email']; $profession = $_POST['profession']; $age = $_POST['age']; $sex = $_POST['sex']; $m_status = $_POST['m_status']; $address = $_POST['address']; $District = $_POST['District']; if(!$con) { die ('could not connect'.mysql_error()); } … Web Development php | |
Basically I have a java application that can display the data it outputs onto a webpage. I have a div containing tables, each table representing one java object and its values, after a period of time I want AJAX to refresh that div with the new data. Problem, I'm using … Web Development javascript | |
I'm currently taking a course where I'm required to work on a Javascript/HTML5 or CSS projects. I have a month from now till the deadline. I'm thinking of making a Javascript/HTML5 simple game. Before I start on anything, I would like to hear from you, what would be the most … Web Development html-css javascript ![]() | |
Hi chaps, I wonder whether this is possible or not. Basically, I have an absolutely positioned div with a width and height and a background image (it's a little arrow) that I want to overflow its container so that it sticks out and point at something. Is it possible with … Web Development image javascript | |
[url="http://../tutorials/tutorial6028.html"]Original thread [/url]- To see why this was Updated [i] Reason for new thread is to start with a clean slate and I will also be providing a tutorial for SQL and possibly Oracle DB connections to show how easy this code is to implement regardless of the DB you … | |
After this piece of PHP code is added to my template (Wordpress) my server goes bananas. (I see lots of load peaks, it becomes unresponsive and the site won't load until I reboot the server.) The code just displays random posts from the database: [CODE] <?php $random_query = new WP_Query('posts_per_page=4&orderby=rand'); … Web Development client-server php seo | |
Hello; I am working on a project and in order to save resources, my supervisor says I should pass variables in an array. Some of which were working perfectly. However the fetching of the records from the database gives me the error below; Warning: mysql_query() expects parameter 2 to be … | |
hey there guys I need a PHP class to fetch news from different sites, I use rssphp.net class and its great if I need the **title** of article and the **short description**, but what I need is the full story somthing like ?type=rss2 in vBulletin forums the main output of … | |
Hi friends I am here to say hello to everyone. I have just completed my registration here and I would like to play role in current web world trends and updates about web development services and web design services.. Web Development web-design | |
To begin with thank everybody for any help. I am trying to convert an html site into a Joomla site for a client, but I am having trouble converting the homepage slideshow into a working Joomla module. As far as I can see I have everything that I need, but … Web Development javascript php | |
When I open the security page in my xamp (from my local host) I get this message: ***Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\security\htdocs\security.php on line 100*** Why is it that I receive this message? Web Development ![]() | |
Hey, I have been trying to create a chat with php, I keep ending up with a lot of problems, such as no refreshing, not allowing users to post. Can someone please help me create a chat? thanks! Web Development php | |
Hello I'm working on a music streaming website that uses groovesharks api to get stream urls. I made a javascript function that loads the stream url when a user clicks on it but it wont stream the url. I know it can stream it because i've manually put the url … Web Development api audio cdn html-css javascript javascript-jquery listview open-source ![]() | |
Hi, I have a problem with my project, regarging deletion of an element in an asp:ListView, which is connected to a SQL database using ODBC. I have succeeded adding and updating a row, but deleting does not work. When I try to delete nothing happens. I think the problem is … ![]() | |
I am developing a social networking site.. and implementing chat function. it worked perfectly when tested outside, but when i integrated with my site page, it causes a css class disable. i am putting Code: <script src="jquery.js"> </script> link at end of page, b4 < /body tag. following is the … Web Development html-css javascript php | |
Hi everyone, I am developing a website where users can download songs from a particular page and just wanted to know if anyone knew any existing scripts that could be used for the downloading songs feature on this page? Many thanks, Gordon Web Development php | |
In a local database: I have a field content in a table where I store numbers and symbols in the following format {1,2,1,3,1,4,1,1,1} ∪ {1,2,198,776,455,666} When I ran the query in my php code SELECT * FROM table and echo it in the web browser only {1 is displayed I … Web Development php web-browser | |
I have declared a local variable inside of getAddress. When I try to access that variable inside a local function it falls outside its scope. What am I doing wrong? function getAddress(latlon, map) { var data = ""; $("#map-canvas").gmap3({ marker: { latLng: latlon, options:{ draggable:false, }, }, getaddress:{ latLng: latlon, … Web Development javascript javascript-jquery | |
Help me look at the codes below. It has T_IF error and T_WHILE error. The errors are on line 7 and line 18. I hope anyone can teach me to repair it and the code function is still same. <?php require_once("db.php"); session_start() if (!isset($_SESSION['cart'])) { <---T_IF error $_SESSION['cart'] = array(); … Web Development ecommerce php programming-construct | |
I am working on a website and completely stuck on a paginator/editor... works perfect outside my framework... anyways... I decided to use Iframes I need to pass a var from main page to an iframe region on same page. When user is logged into wordpress: global $current_user; get_currentuserinfo(); I need … ![]() | |
how to keep same tab highlighting after refreshing the page(page is refreshed after the paging link clicked.) <script type="text/javascript"> /**this is for tab highliting*/ $(document).ready(function(){ var str=location.href.toLowerCase(); $(".navigation li a").each(function() { if (str.indexOf(this.href.toLowerCase()) > -1 ) { $("li.highlight").removeClass("highlight"); $(this).parent().addClass("highlight"); } }); }) /**this is for paging highliting*/ $(document).ready(function(){ var str=location.href.toLowerCase(); … Web Development javascript javascript-jquery ![]() | |
I have created a elevator functionality [there are 2 floors and corresponding to each one , there is a checkbox. Depending upon which checkbox is checked, the elevator shud move to that floor. Couple of things which i'm not sure how to implement are: wherever i have added class "unchecked" … Web Development javascript javascript-jquery |
The End.