52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Vijaysurya

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
Member Avatar for masterjiraya
0
206
Member Avatar for 4fridi

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 …

Web Development mysql php
Member Avatar for 4fridi
0
1K
Member Avatar for rajhoq12

Without change textarea to input the virtual keyboard is bot working

Web Development javascript
Member Avatar for JorgeM
0
130
Member Avatar for asif49

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
Member Avatar for Troy III
0
236
Member Avatar for Squidge

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
Member Avatar for Squidge
0
176
Member Avatar for lukas.vandendijssel

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. …

Web Development apache debian php unix
Member Avatar for lukas.vandendijssel
0
302
Member Avatar for mark103

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
Member Avatar for LastMitch
0
128
Member Avatar for garyjohnson

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
Member Avatar for garyjohnson
0
223
Member Avatar for Tinnin

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
Member Avatar for Tinnin
0
4K
Member Avatar for MikeOxley

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 …

Web Development html-css pdf php
Member Avatar for tkdchamp
0
238
Member Avatar for daniel36

Is there any opensource classified website.I am searching it on google from morning but i did not get success.

Web Development php
Member Avatar for TonyG_cyprus
0
143
Member Avatar for milkman93

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
Member Avatar for milkman93
0
8K
Member Avatar for unikorndesigns

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
Member Avatar for stultuske
0
203
Member Avatar for game06

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
Member Avatar for game06
0
343
Member Avatar for akkbkht

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 …

Web Development gui php
Member Avatar for akkbkht
0
227
Member Avatar for yap.junjie.7

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
Member Avatar for JorgeM
0
320
Member Avatar for Amit_15

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
Member Avatar for theHop
0
268
Member Avatar for Neethaa

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
Member Avatar for Neethaa
0
118
Member Avatar for erum

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 …

Web Development asp asp.net
Member Avatar for erum
0
206
Member Avatar for McLaren

//$('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
Member Avatar for paulkd
0
152
Member Avatar for amit.chaudhari.71

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
Member Avatar for amit.chaudhari.71
0
386
Member Avatar for asif49

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
Member Avatar for stbuchok
0
167
Member Avatar for Naga14

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 …

Web Development mysql php
Member Avatar for masterjiraya
0
164
Member Avatar for frankie.bailey.14

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 …

Web Development mysql php
Member Avatar for masterjiraya
0
429
Member Avatar for ryan311

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, …

Member Avatar for LastMitch
0
445
Member Avatar for joshl_1995

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
Member Avatar for LastMitch
0
302
Member Avatar for mlowe

[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
Member Avatar for mlowe
0
328
Member Avatar for sumon_ahona

<?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
Member Avatar for broj1
0
184
Member Avatar for Valten1992

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
Member Avatar for darshit9u
0
707
Member Avatar for sobias

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
Member Avatar for stbuchok
0
308
Member Avatar for Violet_82

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
Member Avatar for Violet_82
0
186
Member Avatar for Paladine

[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 …

Member Avatar for maqbul
0
7K
Member Avatar for zglows

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
Member Avatar for gabrielcastillo
0
230
Member Avatar for Webville312

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 …

Web Development mysql php session
Member Avatar for Webville312
0
351
Member Avatar for OsaMasw

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 …

Web Development php vbulletin xml
Member Avatar for OsaMasw
0
304
Member Avatar for creativePUNDITS

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
Member Avatar for <M/>
0
118
Member Avatar for lwschjang

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
Member Avatar for lwschjang
0
301
Member Avatar for <M/>

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
Member Avatar for LastMitch
0
131
Member Avatar for firelife12

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
Member Avatar for masterjiraya
0
225
Member Avatar for natehome

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 …

Member Avatar for LastMitch
0
337
Member Avatar for andika.kurniawan.121
Member Avatar for masterjiraya
0
141
Member Avatar for Goshutu

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 …

Web Development asp asp.net listview
Member Avatar for LastMitch
0
254
Member Avatar for thebhatt

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
Member Avatar for masterjiraya
0
164
Member Avatar for GordonUK

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
Member Avatar for masterjiraya
0
115
Member Avatar for kyriacos1986

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
Member Avatar for masterjiraya
0
186
Member Avatar for singularity~

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
Member Avatar for singularity~
0
278
Member Avatar for yap.junjie.7

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(); …

Member Avatar for TonyG_cyprus
0
396
Member Avatar for FreePuppy

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 …

Web Development html-css php wordpress
Member Avatar for LastMitch
0
3K
Member Avatar for samith.dilhara

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
Member Avatar for LastMitch
0
138
Member Avatar for Amit_15

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
Member Avatar for Amit_15
0
230

The End.