52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mmcdonald

Hi all! I'm trying to validate this form: <form action="<?php $_SERVER['PHP_SELF'] ?>" class="horizontal-form" name="settings" id="settings" method="post"> <div class="row-fluid"> <div class="span4 "> <div class="control-group"> <label class="control-label" for="firstName">First Name</label> <div class="controls"> <input type="text" id="fn" class="m-wrap span12" value="<?php echo $userInfo['fn']; ?>"> </div> </div> </div> </div> </form> I've added my validation js files.. These …

Member Avatar for LastMitch
0
164
Member Avatar for jared_1

Ok seriously this is driving me insane. I am using firefox and i cannot get this image to stay on screen. Im trying to make the image move when i press keys but any keybinding makes my image vanish. I guess i just suck idk. <html> <canvas height="480" id="gamescreen" width="640"> …

Web Development javascript
Member Avatar for LastMitch
0
134
Member Avatar for Carpetfizz

I'm trying to get [grunt-jsdoc-plugin](https://npmjs.org/package/grunt-jsdoc) to work, and I'm having a small problem. In my console, I keep getting: Running "jsdoc:dist" (jsdoc) task Warning: Cannot read property 'src' of undefined Use --force to continue. Aborted due to warnings. In the grunt-jsdoc-plugin documentation, it says: src : an array of pattern …

Web Development file-system javascript regex
Member Avatar for LastMitch
0
173
Member Avatar for persianprez

I made the following code to replace form fields in a page that I can't edit but only manipulate. However, the code does nothing. In chrome console when I print a variable it works fine. The code is below: //GET val from drop DROP DOWN var office_id = FieldIDs["OfficeName"];//Gets the …

Web Development javascript javascript-jquery
Member Avatar for LastMitch
0
192
Member Avatar for chandub

hi ... am trying to use tiles-def.xlm in JSF I have configured face-config.xml and web.xml face-config.xml <application> <view-handler>org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl</view-handler> </application> web.xml <context-param> <param-name>tiles-definitions</param-name> <param-value>/WEB-INF/tiles-def.xml</param-value> </context-param> am getting error Cannot find fully qualified class: org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl in face-config.xml please help me to find solution.

Web Development apache
Member Avatar for LastMitch
0
304
Member Avatar for Tutor_1

On selection from drop down in few cases the label above the drop down (label being attached dynamically) disappears here is the code $.ajax({ dataType: "html", url: app.util.appendParamToURL(options.url, "format", "ajax"), data: options.data, type: options.type }) .done(function(response) { // success if (options.target) { $(options.target).empty().html(response); } if (options.callback) { options.callback(response); } }) …

Web Development javascript
Member Avatar for LastMitch
0
825
Member Avatar for cmgdev

Please help. I can not figure out how to add a simple link to an image when the image is called through PHP. I have tried making it work a number of ways but I am only intermediate in HTML and still trying to learn PHP basics. The code is: …

Web Development image php
Member Avatar for JorgeM
0
861
Member Avatar for Zababa

Hello there guys! :) It's been quite a while since the last time I've been here. I am currently working on topics different from my usual, and I have found myself baffled by a problem. So, here goes: I am working on a web application which collects user fiscal data. …

Member Avatar for chrishea
0
212
Member Avatar for Eagle.Avik

hi i am new to php and mysql, i am experimenting with a script for saving data to mysql database. and fetch the data on other page, i managed to get both of them without any trouble. But Here is the one problem. I added a additional input function to …

Member Avatar for Eagle.Avik
0
437
Member Avatar for vaniranjan

Dear friends, I have no knowledge of Web Designing but want to create my own website. I have tried many software but did not succeed. Can anybody will help to find out the right software for free which can help to create a websie for myself. Regards Priyaranjan

Web Development web-design
Member Avatar for diafol
0
115
Member Avatar for yankeefan24

I have this form where I pass select values to an input field. Is it possible to pass this results in to a td instead of an input field? here is the code http://jsfiddle.net/jencinas69/ytXnC/

Web Development javascript
Member Avatar for diafol
0
175
Member Avatar for kamilacbe

i have done my web application using ffmpeg to covert my videos to mp4h264 baseline codec and everything works fine , my questions is how do i host the web application in server as my hosting server doesn't support ffmpeg with windows , Any advice would be helpful as where …

Member Avatar for geniusvishal
0
328
Member Avatar for spyros.lois

hello i try this form and script _____________________________________________________ <form action="insert.php" method="REQUEST">backend - insert new record<br> id: <input type="number" name="id"><br> manufacturer: <input type="text" name="manufacturer"><br> transferrate: <input type="text" name="transferrate"><br> cache: <input type="text" name="cache"><br> size: <input type="text" name="size"><br> RPM: <input type="text" name="RPM"><br> use: <input type="text" name="use"><br> price: <input type="text" name="price"><br> seller: <input type="text" …

Web Development mysql php
Member Avatar for diafol
0
280
Member Avatar for KingGold171

Hello fellow PHP trained monkeys :D I am trying to find a way to have a basic CMS management system but to be dynmic on one PHP page only, the most part works for the first time of selecting the username, and then from either add or minus buton. The …

Web Development cms php session
Member Avatar for diafol
0
333
Member Avatar for mhd_arif123

Hi there ! The code(in model) given below generates the list structure: function getNavigation($parent_id = 0, $show_product = 0, $flg = 0 ){ $query = $this->db->get_where('categories', array('parent_id' => $parent_id)); //var_dump($query->result()); //exit; if($query->num_rows() ){ $this->navigation .= '<ul id="browser" class="filetree">'; foreach($query->result() as $v){ $this->navigation .= '<li> <span class="folder">'; if($flg) { if($v->categories_id == …

Member Avatar for diafol
0
1K
Member Avatar for dlaverick

I am running a custom query for my recent posts, code can bee seen at: http://pastebin.com/CFZdP3c9 This code is just for my recent posts, not the actual page content. My problem is that it shows my current page post item and I cannot figure out how to pass over it. …

Web Development first-post php wordpress
Member Avatar for diafol
0
308
Member Avatar for kantigniter

I’m pretty much new to codeigniter and PHP. I need help with insertion of data in the db from multiple clone form fields(not using implode, I have used implode and managed to push data which I will post here), this from clone form fields(If I click add, it should display …

Web Development javascript-jquery php
Member Avatar for renierdbruyn
0
2K
Member Avatar for Tinnin

Just a curiosity really. I can't find a reason for it anywhere. Why doesn't php mail() mailto allow you to use a semicolon to separate the email addresses?

Web Development email php
Member Avatar for cereal
0
926
Member Avatar for prem2

Hi guys, I am struggling with regular expression.Can you please suggest the regular expression for the below patterns. I have tried many times with several patterns but still i could not resolve the below patterns. 1. Must contain at least one alpha character (i.e. a, b, c etc,) 2. Only …

Web Development javascript regex
Member Avatar for pritaeas
0
255
Member Avatar for Dani

We use `date_default_timezone_set('GMT');` and, subsequently, all timestamps are stored in our database in GMT format. Each individual community member specifies their GMT offset from a dropdown menu in their profile. Then, when we display the timestamps, we add the GMT offset to the timestamp while pretty printing it. The problem …

Web Development php
Member Avatar for pritaeas
0
137
Member Avatar for veledrom

Hi, I got "Fatal error: Call to undefined function printer_open() in C:\wamp\www\TEST\printer\index.php on line 3" when I run code below. [CODE]<?php $printer = "\\\\lukaka\\hp LaserJet 1320"; if($ph = printer_open($printer)) { // Get file contents $fh = fopen("testfile.txt", "rb"); $content = fread($fh, filesize("testfile.txt")); fclose($fh); // Set print mode to RAW and …

Web Development pdf php printer
Member Avatar for crazy_chanaka
0
2K
Member Avatar for designershiv

Hi, Can anyone tell me how to get instagram api for displaying images in website. Ex: instagram.com/miniusa //getting images of miniusa Thanks in advance

Web Development api javascript
Member Avatar for designershiv
0
149
Member Avatar for dbalas

Hi! I need help with bulk export of files from database to folder. I have upgraded a system that i made and now instead of storing files to database i store it in folder and save path to database. Now i have a problem because there are around 1500 parts …

Web Development pdf php
Member Avatar for dbalas
0
265
Member Avatar for spothao

I am doing a project using the windows azure mobile service, and i want to implement it on php page, is it possible to make it on php page instead of html? because on the tutorial only have html and they are using other localhost as well Help!!!

Web Development php
Member Avatar for veedeoo
0
373
Member Avatar for cgull

Hello, I need help with htaccess and a sub domain. I have a site I developed with ci 2.1.3 My folders structure is: c:\sites\mysite c:\sites\mysite\application c:\sites\mysite\system c:\sites\mysite\public_html\index.php c:\sites\mysite\public_html\assets In the public_html folder I have the htaccess file: RewriteEngine On RewriteCond $1 !^(index\.php|assets|images|robots\.txt|captcha) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ …

Web Development apache php php-codeigniter
Member Avatar for cereal
0
727
Member Avatar for dennishall

Hi All: I have a challenging jQuery XML task I'm trying to accomplish as follows: I have an XML structure as follows: <nav_data> <outline> <links> <slidelink slideid="_player.6LjVRsWzPla" displaytext="Scene 1" expand="true"> <links> <slidelink slideid="_player.6LjVRsWzPla.6GWiXuWmXyn" displaytext="Fundamentals" expand="true" /> <slidelink slideid="_player.6LjVRsWzPla.6gxk7XqbaT8" displaytext="Closed Captioning Example" expand="true" /> <slidelink slideid="_player.6LjVRsWzPla.5rPNkwvz8u2" displaytext="Another Cationing Example" expand="true" /> …

Web Development javascript javascript-jquery xml
Member Avatar for iamthwee
0
265
Member Avatar for numan.nomi.7186_1

I want to know the code for file handling function write(). Its should add a text in file from user input and shoe it to the screen in new window.Kindly if any one know the code reply here its urgent. Thanks.

Web Development php
Member Avatar for ryantroop
0
214
Member Avatar for renierdbruyn

Hi there, I am developing a site for a recruitment agency, and I have now come to the point where I need to develop a ranking system of some kind to pull the best candidates for a particular job out of the database and display it or notify the candidates …

Web Development php php-codeigniter seo
Member Avatar for renierdbruyn
0
513
Member Avatar for Dimansu

I have a Login user control in a Login form. I want to set the default Enter press to a button called LoginButton in my user control.How can I do it in C# using Visual studio ?

Web Development asp.net visual-studio
Member Avatar for Eduardo_2
0
196
Member Avatar for Shikha_1

* how to set random string that refresh after every 5 min itself without reloading the webpage in php ?

Web Development php
Member Avatar for diafol
0
157
Member Avatar for Shikha_1

how to implement ssl in wamp 2,apache 2.2.22,php 5.3.13 ,step by step procedure

Web Development apache php
Member Avatar for diafol
0
110
Member Avatar for PriteshP23

I am not able to insert data from CSV file with "¤" Character. Please help me to solve the problem. Thanks a lot in advanced. CSV File: FirstName¤LastName¤City¤Year |$| Bill¤Gates¤NW¤2013¤|$| David¤Beckham¤London¤2010¤|$| PHP Code: $csv_file = "Contacts.csv"; $csvfile = fopen($csv_file, 'r'); $theData = fgets($csvfile); $i = 1; do { $insert_csv = …

Web Development mysql php
Member Avatar for PriteshP23
0
928
Member Avatar for PriteshP23

How to read **550 MB** XML file in php? I couldn't put data in php file like: $xml =<<<EOT <?xml version="1.0" encoding="utf-8"?> <data> ..... ... </data> EOT; In addition, when i did from command line, it "**kill**" the process. *Any idea ?*

Web Development php xml
Member Avatar for PriteshP23
0
541
Member Avatar for LegateLucius

i want to do something like this how do you do it? <?php $meat="cow"; <script type="text/javascript"> document.write($meat); </script> ?>

Web Development javascript php
Member Avatar for mmcdonald
0
238
Member Avatar for PriteshP23

I would like to get **all** Equipment values. *I have used DOM Document.* It is reading **ONLY LAST Element**. *Equipment Id: 28*. I need all three. Thanks in advanced. XML File: <?xml version="1.0" encoding="UTF-8"?> -<Physical> <Catalog> </Catalog> -<Installed> -<Equipment> <Id>26</Id> <Ref>Tew12</Ref> -<Characteristic> <CharacteristicName>Height</CharacteristicName> <CharacteristicValue>160</CharacteristicValue> </Characteristic> -<Characteristic> <CharacteristicName>Tilt</CharacteristicName> <CharacteristicValue>30</CharacteristicValue> </Equipment> -<Equipment> …

Web Development php xml
Member Avatar for PriteshP23
0
593
Member Avatar for cgull

Hello, I am developing a site with CI 2.1.3 I have a blog module, in this blog I have a form to post a comment. I am calling this form inside a view with: `echo Modules:: run('blog/comment');` When I submit this form with ajaxForm, or refresh the page, the values …

Web Development javascript javascript-jquery php
Member Avatar for cgull
0
3K
Member Avatar for kamilacbe

Hi, can anybody help me out in where can i find ffmpeg download for windows x264 codec , am developing a website which converts any file format to mp4h264 baseline format , everythng was fine with another wrap installer called MooO ffmpeg which i found in this link http://www.moo0.com/?top=http://www.moo0.com/software/FFmpeg/ evrythng …

Web Development asp.net
Member Avatar for geniusvishal
0
290
Member Avatar for titas.datta

Hi! I am using a Datatable to maintain a shopping cart. In the gridview I have a textbox for quantity and I want that when the user changes the quantity, the subtotal field changes accordingly, and the datatable also gets updated accordingly. But my textChanged event is not firing at …

Web Development asp.net session
Member Avatar for geniusvishal
0
1K
Member Avatar for mmcdonald

Hi all, I'm currently looking at this [JSFIDDLE](http://jsfiddle.net/MH8e4/6/) and it's 50% of what I need. I have a series of Accordions on my page (a list of courses). What I would like to do is assign these accordians to categories so that when a checkbox is pressed with the id …

Web Development javascript
Member Avatar for mmcdonald
0
378
Member Avatar for techyworld

hi everyone, anyone can tell me where i can get tutorial to learn JSF framework with java? I am currently using myeclipse for spring.

Web Development java-jsp spring-framework
Member Avatar for DarkLightning7
0
178
Member Avatar for nacedo

I am searching for an e-commerce solution that integrates with paypal and wordpress wich can show the remaining balance for the payment for a customer. I sell services and sometimes my customer needs pay with multiple payments, within multiple days. For example : My typical price for my service is …

Web Development php wordpress
Member Avatar for nacedo
0
269
Member Avatar for newbie26

help. all of a sudden, UPLOADING of files in all my forms didnt work. i tried may things as i had googled it. i tested the code, $_FILES seemed to be empty. > free-up /tmp folder > check php.ini; increase post_max_size, upload_max_filesize, memory_limit > restart apache after each configuration > …

Web Development apache php
Member Avatar for newbie26
0
370
Member Avatar for veledrom

Hi, I try to do the examples in these pages but none works. When i run, it shows "Error" word on the status bar of my browser. What do you think it doesn't run? Thanks [url]http://www.w3schools.com/PHP/php_ajax_xml.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_database.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_responsexml.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_livesearch.asp[/url]

Web Development javascript php
Member Avatar for kanoy83
0
461
Member Avatar for bradly.spicer

Hi again, Using a web script to show the servers I have, which are working here: http://www.bradlyspicer.net/ServerStatus-master/index.php Trying to add it into wordpress. And this is happening: http://www.bradlyspicer.net/server-status/ Saying it is down and saying N/A etc. If I go to http://www.bradlyspicer.net/wp-content/themes/twentyeleven/index_server.php it works. If I go to http://www.bradlyspicer.net/server-status/ it doesn't. …

Web Development php wordpress
Member Avatar for bradly.spicer
0
228
Member Avatar for Shikha_1

<?php session_start(); echo 'POST: '; print_r($_POST); echo '<br />SESSION: '; print_r($_SESSION); require("DBconnect.php"); $user=$_SESSION['username']; $pass=$_POST['password']; echo $pass; $salt = dechex(mt_rand(0, 2147483647)) . dechex(mt_rand(0, 2147483647)); $password = hash('sha256', $pass . $salt); for($round = 0; $round < 65536; $round++) { $p= hash('sha256', $password . $salt); } echo $salt; echo "...."; echo $p; $qry="update …

Web Development php session
Member Avatar for Shikha_1
0
130
Member Avatar for Shikha_1

registration.html <!<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Register</title> <script type='text/javascript'> function refreshCaptcha() { var img = document.images['captchaimg']; img.src = img.src.substring(0,img.src.lastIndexOf("?"))+"?rand="+Math.random()*1000; } </script> </head> <body> <fieldset> <legend>Registration</legend> <form name="register" action="register.php" method="post"> <table width="510" border="0"> <tr> <td colspan="2"><p><strong>Registration Form</strong></p></td> </tr> <tr> <td>Username:</td> …

Web Development php session
Member Avatar for cereal
0
726
Member Avatar for harderm

I want to have a bullet precede any text typed. When an [Enter] key is pressed, a new line starts with a bullet preceding whatever new text is typed. I've seen this done at fargo.io and workflowy.com and need to know how they do it!

Web Development display javascript
Member Avatar for iamthwee
0
183
Member Avatar for thearts.beach

I am trying to update the shirtnumbers in table crew, by the ID from the .php page before. <?php include('conect.php'); $page = (isset($_GET['page'])) ? $_GET['page'] : 1; $startPoint = $page - 1; $data = "UPDATE crew SET shirtnumber=$POST['shirtnumber'] WHERE ID=<?php $_GET['ID']?>"; $query = mysql_query($data); $data2 = mysql_fetch_array($query); $rowCount = 0; …

Web Development php
Member Avatar for thearts.beach
0
161
Member Avatar for khushhappy

Dear Respected Members/Users, I Cannot add/insert mysql last insert id in the third table. Kindly please help me out in adding the para_id into the last insert query. I have demonstrated in the Image file which will help alot in getting my point. Waiting for response. thanks. ![94fea611ba93443aecd1d5f13b6b82c8](/attachments/small/2/94fea611ba93443aecd1d5f13b6b82c8.gif "align-left")

Web Development mysql php
Member Avatar for khushhappy
0
179
Member Avatar for mmcdonald

Hi all, My local development project has been working perfectly for...6 days now? I haven't even touched the login/register page for 2 days+ yet all of a sudden all JavaScript has seized up! I've been using the page to login all day and only now has it stopped working. I'm …

Web Development javascript javascript-jquery
Member Avatar for mmcdonald
0
183

The End.