52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for logicslab

Dear friends, I am using Wordpress 3.6 for my current development . But my client need a system which has independent layers i.e 3 layers such as * Service Layer * DB Layer * View Layer from my analysis I can found that Wordpress has a **Theme ---- View+DB layer …

Web Development php wordpress
Member Avatar for gusano79
0
420
Member Avatar for lewashby

PHP Parse error: syntax error, unexpected end of file in /var/www/ET/password/changepassword.php on line 27 Can someone please tell me what I'm doing wrong in the following code to get the error above? <?php $db = new SQLite3('./users.db', SQLITE3_OPEN_READWRITE); if(!$db) { echo "Could not open/access DB"; } else { $userPsswd1 = …

Web Development php
Member Avatar for lewashby
0
525
Member Avatar for kenleycapps

Ever feel the default session handling is insecure? Or do you just want some originality to show off? Well, here you are. A custom, MySQL-based session handler. It supports base64_encoding and MySQL storage. Note: I haven't tested this thing in months so I don't know how well it'll work : …

Web Development php session storage
Member Avatar for pritaeas
0
456
Member Avatar for mmcdonald

Hey hey! I'm about 70% into completing a web application that will allow our clients to white label our service. They can then in turn resell the service to their audiences without any involvement from me or my colleagues. Now, something I need to figure out is how to allow …

Web Development api open-source php
Member Avatar for JorgeM
0
301
Member Avatar for maxpaine69

Hi all im having problem publishing the project to the server. The problem its some instruction ot giving Cant "find part of the path", other work fine. Any ideas what can it be?? Best Regards

Web Development asp.net publishing
Member Avatar for maxpaine69
0
110
Member Avatar for logicslab

Dear pals, I am using the tutorial code of "xmlrpc in wordpress" in URL [Click Here](http://wp.tutsplus.com/tutorials/creative-coding/xml-rpc-in-wordpress/) , but it shows result as blank in my local wamp but it work fine on another local pc. I attach the code and preview of the problem. Please check and help me. code …

Web Development php wordpress xml
Member Avatar for logicslab
0
364
Member Avatar for gil857

Howdy All, I have a wordpress website where the featured image is being used as a thumbnail on the front index page. Here is the code I'm using: <?php the_post_thumbnail( array(100,75), array('class' => 'alignleft' ) ); ?> It works fine on a specified category post where I'm using the same …

Web Development perl php wordpress
Member Avatar for bradly.spicer
0
211
Member Avatar for kosar latif

can any one show the complete code for uploading video files in php.

Web Development file-system php video
Member Avatar for pritaeas
0
8K
Member Avatar for Priti_P

Hello, I have done code for scheduling the event in php. As I schedule it, it goes to user's calender as an invitation. If I reschedule it, then new invitation goes with same matter with new values. But I found it is not overwriting the previous one. How can I …

Web Development php
Member Avatar for Priti_P
0
120
Member Avatar for Donima4u

Please help, i get this error when i run my script on my testing server Notice: Undefined index: id in index.php on line 5 Notice: Undefined offset: 1 in index.php on line 8 but on my actual website, it displays a blank page, with the background colour, how do i …

Web Development php
Member Avatar for cereal
0
525
Member Avatar for abinmathews

hey i want to create two *buttons* namely** submit** and **update** button in one page,but i need to knw wheather both the actions of the button can be performed in the same page or in diffrent page,if it is to be performed in diffrent page,how do i do it??

Web Development gui java-jsp
Member Avatar for stultuske
0
271
Member Avatar for dannybarh

Is the error i get trying to connect to my db. Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2005): Unknown MySQL server host 'http://www.fleethabari.com/' (1) in /home/www/fleethabari.com/inc/config.php on line 2 Unable to select database: Unknown MySQL server host 'http://www.fleethabari.com/' (1) Warning: mysqli_close() expects parameter 1 to be mysqli, boolean given in /home/www/fleethabari.com/inc/config.php on line …

Web Development mysql php
Member Avatar for pritaeas
0
678
Member Avatar for chrisschristou

hello fiend i need help i have create a lot of pages with same methode and work fine on local but never work online i want know if oder way exist when i have data in form and i clic on submit data insert into table and users directly navigate …

Web Development php
Member Avatar for broj1
0
399
Member Avatar for NitsPatel

hello, How I can not display Uncategorised category from post when not select any category in Wordpress Thanks in Advance nits**

Web Development php wordpress
Member Avatar for NitsPatel
0
299
Member Avatar for AK777

Greetings, I am looking for suggestions and feedback about needed bandwidth from a Web hosting company (thinking of VPS or Dedicated) for my websites. Earlier I had asked about how to insert thumbnail (live) images, if possible, of other websites so that users can see a preview (live) of the …

Web Development html-css javascript web-design
Member Avatar for AK777
0
170
Member Avatar for boney

Hello, My HTML+JS : <head> <script type="text/javascript"> function passList() { var p=[]; $('input.first').each( function() { if($(this).attr('checked')) { p.push($(this).attr('rel')); } } ); $.ajax( { url:'process.php', type:'POST', data: {list:p}, success: function(res) { $("#result").html(res); } }); } function passType() { var q=[]; $('input.second').each( function() { if($(this).attr('checked')) { q.push($(this).attr('rel')); } } ); $.ajax( { …

Web Development javascript php
Member Avatar for boney
0
225
Member Avatar for gogs85

I have problem with css when use this htacces code RewriteEngine On RewriteRule ^([^/]*)/([^/]*)$ /index.php?id=$1&page=$2 [L] mode_rewrite work ok but css is not :( How to fix?

Web Development html-css php
Member Avatar for cereal
0
3K
Member Avatar for shasta90

What option for cURL needs to be changed in order to retrieve the XML content, as I have added the curlopt option for xml content but all that happens is the JS error of "no data received" <?php $agent = $_SERVER["HTTP_USER_AGENT"]; $timeout = 5; // set to zero for no …

Web Development javascript php xml
Member Avatar for shasta90
0
410
Member Avatar for lewashby

In the following program the first strpos() function is working just just fine when searching for a matching email address in the text file as long as it's on the first line but the second entry it jumps streight to the else clause and echos "Unknown user name" even though …

Web Development php
Member Avatar for pixelsoul
0
176
Member Avatar for lewashby

(Linux) In the following program I'm trying to process the file accounts.txt line by line searching for a match to the form supplied variable '$email'. The function fgets() is stepping though the file line by line correctly but my attempts at using preg_match() and or strpos() to determine if that …

Web Development file-system php
Member Avatar for lewashby
0
159
Member Avatar for YakuzaJevin

Can someone help me with my codes about the log in using javascript, everytime i log in it opens a new window for the homepage, but i want it to be in the same window, thank you :D <html> <head> <title> Login page </title> </head> <body background="black_background_metal_hole_very_small-wallpaper-2560x1600.jpg"> <h1 style="font-family:Comic Sans …

Web Development javascript
Member Avatar for YakuzaJevin
0
235
Member Avatar for alex.plouff

needing help with homework - calculator using javascript i need to grab the text from the <input> and use that number in the equation. <script> function runMe(){ var x == document.getElementById('input1').value; document.write(x); } </script> <body> <form> Enter number <input type="text" id="input1" value=""> <input type="submit" onClick="runMe"> </form> </body>

Web Development javascript
Member Avatar for AndrisP
0
124
Member Avatar for cussel

hy all, how to compute eigenvector from array bellow? I am confused in make nested loop and temporary for compute eigenvector please help me!!! $data = array( array(1,-0.52836,0), array(-0.52836,1,-0.19845), array(0,-0.19845,1) ); $data2 = array( array(1), array(1), array(1) ); echo "<pre>"; //print_r($data2); echo "</pre>"; for ($i=0;$i<count($data);$i++) { for ($j=0;$j<count($data[$i]);$j++) { $R2[$i][$j] …

Web Development php
Member Avatar for cussel
0
252
Member Avatar for Violet_82

Chaps, I run into a strange problem today for the first time. Basically I have a web page that users can print using a print button on the page itself, but what I want is them to be able to print a print-only version of this page. So, I wrote …

Web Development html-css javascript
Member Avatar for Violet_82
0
263
Member Avatar for lewashby

(Linux) In the following code all I'm trying to do is open a file but evertime I run this script the fopen function jumps right to the die() function. Any ideas? The file accounts.txt does exist in the same directory, and I also tried refrencing the file via ./accounts.txt . …

Web Development php
Member Avatar for lewashby
0
167
Member Avatar for shrikanthnk

hi kindly help me here..... i have written code like this to display **hi** when page gets loaded. please correct it this code so as to display message. <html> <head> <script type="text/javascript" src="jquery-2.0.3.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#b").load(function(){ alert("hi"); }); }); </script> </head> <body> ......... ...... .... </body> </html>

Web Development javascript-jquery php
Member Avatar for JorgeM
0
128
Member Avatar for PerplexedB

Consider my method : static public function mysqldate($c,$f = 'd-M-y'){ // date is supposed to be in dd/MMM/yyyy format. // returns a date in mysql form try { $result = "'" . DateTime::createFromFormat($f,$c)->format('Y-m-d') . "'"; } catch (Exception $e){ $error = "error in mysqldate <br />" ; $error .= "date …

Web Development php
Member Avatar for PerplexedB
0
133
Member Avatar for chrisschristou

hello my Daniweb friend i'm trying to get data from database where only users is connect so i user this code i get a errot on navigator i got this errot on navigator : Parse error: syntax error, unexpected '=', expecting ',' or ')' in /homepages/0/*/htdocs/domainname.com/*/*.php on line 145 this …

Web Development php
Member Avatar for chrisschristou
0
105
Member Avatar for chrisschristou

hello Dear friend i can't explain cause i dont' know why, i'm using the code below to insert data into a myql table but i work fine ust today i get a error colum subtotal can't be null... i' have try too much thing but still same i delete the …

Web Development mysql php
Member Avatar for chrisschristou
0
223
Member Avatar for patk570

I have a database and I have 3 different values that I want to count, to say that You have x amount of tickets open. I am created an array $array = array( 'Pending', 'Waiting on parts', 'Waiting for customer response' ); and a query string $result = mysql_query("SELECT COUNT(*) …

Web Development mysql php sql
Member Avatar for diafol
0
184
Member Avatar for shrikanthnk

Hi All, Below code gives me exact result which I want.. output gets displayed at div # result which is as per design. Now i wouldlike to know is there any method to display result in textbox? if so please help me. <html> <head> <script type="text/javascript" src="jquery-2.0.3.min.js"></script> <script type="text/javascript"> { …

Web Development html-css javascript-jquery php
Member Avatar for diafol
0
585
Member Avatar for venkyb47

The following code used in productlist.php // some code manipulation to generate new values $filetodownload = 'DoubleClick to run.txt'; $filehandler=fopen($filetodownload,"w"); fwrite($filehandler,$generatedValue); fclose($filehandler); header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename='.$filetodownload); header('Content-Transfer-Encoding: binary'); header('Expires: 0'); header('Cache-Control: must-revalidate'); header('Pragma: public'); header('Content-Length: ' . filesize($filetodownload)); ob_clean(); flush(); readfile($filetodownload); header('Location:druglist.php'); After file downloaded page …

Web Development file-stream php
Member Avatar for venkyb47
0
3K
Member Avatar for Adzz

have to create a number of controls equal to a number entered in a textbox by the user. I created a web user control, which has a radio button list. Then when the user press a Submit button, I want to check the selected values of the controls created dynamically, …

Web Development asp asp.net first-post
Member Avatar for vivek07088
0
3K
Member Avatar for PriteshP23

Hello, I would like to solve form validation and filename problem. Here is my code: /************************** Step 1: Select Cell************************************/ if(isset($_POST['SmartPhone'])) $checked1=$_POST['SmartPhone']; $form->add_checkbox('SmartPhone','SmartPhone',$checked1); if(isset($_POST['Apple'])) $checked2=$_POST['Apple']; $form->add_checkbox('Apple','Apple',$checked2); /************************** Step 2: Select Model************************************/ if($_POST['SmartPhone']==false and $_POST['Apple']==false) { $this->add(new error('<span style="color:red">Select your cell..!!</span>')); $this->step1(); return; } if(isset($_POST['S4'])) $tech2=$_POST['S4']; $form->add_checkbox('S4','S4',$tech2); if(isset($_POST['iPhone 5'])) $tech3=$_POST['iPhone 5']; …

Web Development apple iphone mysql php smartphone
Member Avatar for andreiviziru
0
421
Member Avatar for anup.maverick

Hi, I want the vb.net code(asp.net 2.0) for validating multiple email address in a textbox(multiline). Life is the only God....OSHO Thanx - Anup

Web Development asp asp.net email vb.net
Member Avatar for bru moses
0
1K
Member Avatar for HunainHafeez

what's the difference between these two actually ? Requesting page for the first time (or hitting enter in address bar) gives Ispostback = fasle but when i refresh my page then it sets isPostback = true, why ? it should not do like this for refreshing ?

Web Development asp asp.net
Member Avatar for JorgeM
0
172
Member Avatar for prateek_chandra

Hello, I am just a beginner and I need some help. Can anyone please provide me an article on PHP.

Web Development php
Member Avatar for veedeoo
0
83
Member Avatar for shrikanthnk

<?php SESSION_start(); if(!isset($_SESSION['email'])) { echo"access denied"; exit; } else{ $email=$_SESSION['email']; include("menu.php"); $num=$_SESSION['num']; $date=date("Y/m/d"); } ?> <html> <head> </head> <body> <div style="position:absolute; top:143px; left:292px; width:999px; height:244px; background-color:pink; border-radius:15px;"> <table> <form enctype="multipart/form-data" action="" method= "POST"> <tr><td>Document Type:</td><td><select name="doc_type" > <option value="police report" selected="true">Police report file</option> <option value="medical report">Medical report file</option> <option value="purchase …

Web Development php
Member Avatar for shrikanthnk
0
171
Member Avatar for klemme

Hi all, I am trying to lay out a plan for my classes, and havent godt the most experience in oop yet. I am using an abstract class, to be able to have a more clear overview and keep the project easier to manage. SO: I have created two abstract …

Web Development oop php
Member Avatar for diafol
0
330
Member Avatar for devianleong

This is my code : for($i = 0;$i<$count1;$i++){ echo '<select name="attribute['.$i.']">'; while($parent = mysql_fetch_array($query)){ //echo $parent['Name']; echo '<option value="'.$parent['ID'].'">'.$parent['Name'].'</option>'; }//while $parent echo '</select>'; }//for loop My problem is why the output like this?: <select name="attribute[0]"> <option value="2">Colour</option> <option value="3">Size</option></select> <select name="attribute[1]"></select> Why this line does not contain the both option …

Web Development php
Member Avatar for devianleong
0
237
Member Avatar for johmny

hello to all the members which one is better php or asp.net to create the dynamic website

Web Development asp asp.net php
Member Avatar for diafol
0
152
Member Avatar for mmcdonald

I've focused my night on better grapsing authentication security and believe I have made good progress. To date I have simply relied on SHA1 hashing and prepared statements - not much, right... So I knew it was time to pick up some new skills. What I came across was very …

Web Development php
Member Avatar for diafol
0
294
Member Avatar for giovannitao_1

Hello, I'm working to cellphones spec script. Now I want to create a sidebar with several checkboxes that filter result using ajax. Someone can help me to create this?

Web Development javascript mysql
Member Avatar for giovannitao_1
0
110
Member Avatar for gahhon

How do i compare the months from database where my database records are stored in date format (12/12/2013) Ignoring the days. For example This Month `12/08/2013` Next Month `12/09/2013` if both are match, i will return my true else false? protected void renewCurrentBudget() { Boolean renew = true; DateTime nextMonth; …

Web Development asp.net
Member Avatar for gahhon
0
429
Member Avatar for terrymodular

I want to make a call list for sales person from the companies table. Want to start with a certain companyid = say 1002 and add 50 records to call. Stumped as to assign companyid as firstrow? and lastrow=companyid + 50 ? I know how to assign it to the …

Web Development coldfusion
Member Avatar for danarashad
0
221
Member Avatar for leokuz

For some reasone everytime I enter either correct mine or someone else's valid email and password, I get message: Sorry, your credentials are not valid, Please try again. What is wrong with this form?

Web Development php
Member Avatar for tpunt
0
411
Member Avatar for vijaykumar_b

I hava created one table with columns in html in which i had customername and some columns, now myrequirement is when i click on any customer name of the customerName column from my created table i want to get particular customer details in new jsp page plz help me,Thanks in …

Web Development java-jsp
Member Avatar for silvercats
0
121
Member Avatar for HunainHafeez

ok we know that .net app cannot be directly converted to machine code, first it si compiled to MSIl which is converted to machine specific code by JIT on request, once but what about asp.net app ? e.g. i decelop a web page and put it on my laptop (working …

Web Development asp asp.net web-server
Member Avatar for HunainHafeez
0
181
Member Avatar for venkyb47

When I type URL file://///server01\PUBLIC\PEG\ in browser address bar, browser redirecting to that location and shows the documents available. But when I use same url in href browser not redirecting to the href location. <?php echo '<a href="file://///server01\PUBLIC\PEG\">click here</a>'; echo '<a href="file://///server01/PUBLIC/PEG/">click here</a>'; ?> php code is not working. When …

Web Development php
Member Avatar for cwarn23
0
278
Member Avatar for HunainHafeez

can i host a website from my laptop ? like i have developed a lot of web sites and few are online on servers via free hosting sevice but if i want to serve it from a laptop, so it possible ? i mean making my laptop a live server …

Member Avatar for HunainHafeez
0
370

The End.