52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for developer707

Hello, Recently I am trying to make a php file than when it is opened it should backup a database and promt the user to save the .sql file... This is a feaure that has phpmyadmin but I want something very simple, just clicking http://mywebsite.com/backup.php and the file should be …

Web Development mysql php
Member Avatar for broj1
0
205
Member Avatar for techxaidz

Hi! I'm a newbie in PHP. I'm currently looking for a debugging tool for PHP, does DreamWeaver CS6 provides this? Or is there any debugging tool, easy to install? BTW, I tried downloading xDebug but i can't figure out how to install it into eclipse Juno. I downloaded a DLL …

Web Development php
Member Avatar for veedeoo
0
151
Member Avatar for rithish

can some one post a good tutorial link for kendo ui??

Web Development javascript
Member Avatar for ericbpower
0
118
Member Avatar for travis.holt.921_2

I am working on a form that will redirect users based on a form. The form asks for a zipcode. If the zipcode is correct (one of the zipcodes in the service area) then I want to redirect to an order page. If the zip code is incorrect, not in …

Web Development php
Member Avatar for EvolutionFallen
0
218
Member Avatar for my3h

0 down vote favorite I have a table in database like this: ID, features, Values : ID will be 1, 2, 3.... features will be color, size, material.... values will be red, 13inch, silicon... I stored it like this: ID 1 1 1 Features color size material values red 13in …

Web Development display php
Member Avatar for my3h
0
138
Member Avatar for Burhan_1

I am creating a flight/hotel reservation system like farecompare.com Farecompare parse values to other sites and create sessions other sites too. Anyone tell me how they create sesssions in it. I can parse url but i am not able to create sessions. public function flight($depart, $return, $from, $to, $type, $class, …

Web Development php session
Member Avatar for broj1
0
193
Member Avatar for dyea.marcello

I am running a PHP script, and keep getting errors like: *Notice: Undefined variable: result2 in D:\xampp-win32\htdocs\sites\bookstore\result_page.php on line 200 *warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in D:\xampp-win32\htdocs\sites\bookstore\result_page.php on line 200 Line 200 looks like this: `<?php while($row = mysqli_fetch_array($result2))` What do they mean?

Web Development php
Member Avatar for pzuurveen
0
165
Member Avatar for dannybarh

Hi all, i have a table in db which contain some pdf and docx files. Am trying to display it in a way, so that when the user click on it, it will load the pdf and/or docx file from db in another/same window. this is what i have done …

Web Development mysql pdf php
Member Avatar for pzuurveen
0
3K
Member Avatar for weeraa

I'm developing a web appication using ASP.NET and VB.NET. In my application im using ajax control tool kit. this is what happned to me... I load data to my AJAX combo box. But when it dropped down, there is a gap between combo box and dropped down list. I search …

Web Development asp.net javascript wordpress
Member Avatar for JorgeM
0
966
Member Avatar for gahhon

protected void subString() { SqlConnection conSplit = new SqlConnection(ConfigurationManager.ConnectionStrings["connMSJ"].ConnectionString); SqlCommand cmdSplit = new SqlCommand("SELECT Password FROM Member WHERE (Username=@username AND Email=@email)", conSplit); cmdSplit.Parameters.AddWithValue("@username", txtUsername.Text); cmdSplit.Parameters.AddWithValue("@email", txtEmail.Text); conSplit.Open(); SqlDataReader dtrSplit = cmdSplit.ExecuteReader(); if (dtrSplit.Read()) finalString = dtrSplit["Password"].ToString().Substring(0, 5); dtrSplit.Close(); conSplit.Close(); } protected void sendResetPass() { MailMessage mailMessage = new MailMessage(); mailMessage.To.Add(txtEmail.Text); …

Web Development asp.net email
Member Avatar for gahhon
0
236
Member Avatar for NardCake

Everything below is currently a concept I'm working on and beginning to write, asking for thoughts or suggestions. Hello! Recently I've been brain storming tons, my mind went back to web development this time around. So I thought about some issues or annoyances, and I thought of a few that …

Web Development css-bootstrap html-css
Member Avatar for NardCake
0
247
Member Avatar for praba_web

how can i fix the width of layout for different resolutions.and also how it works on different browsers such mozilla,ie,safari,chrome

Web Development
Member Avatar for LastMitch
0
93
Member Avatar for siva28

I need javascript for automatic city display when i click one state from list box. for example one list box i fetch karnataka, then automatically cities display whatever cities there in karnataka in another list box . Please reply..am newbee of script writing....

Web Development display javascript
Member Avatar for sameer.javed.10690
0
445
Member Avatar for bavenbabu

I cant install cakephp.I had wamp installed me.But when i try to install cakephp i got the following errors CakePHP: the rapid development php framework Release Notes for CakePHP 2.1.1. Read the changelog Notice (1024): Please change the value of 'Security.salt' in app/Config/core.php to a salt value specific to your …

Member Avatar for kevinpatel
0
2K
Member Avatar for kevinyu

Since I am just experimenting on this, (only localhost) I may like to ask for some ideas(since nothing is really coming out of my mind) about letting a user, who is going to, for example, register to a mini-social-networking site, with a corresponding username/password, personal details, etc. I would upload …

Web Development file-system image php
Member Avatar for kevinpatel
0
242
Member Avatar for kshahnazari

I have a ajax fucntion that gets a json array from the php , 8 numbers formed like this ["0","0","0","0","0","0","0","1"] , As I get this in a var called data , data[0] and this kind doesen't work , how can I access this numbers ?

Web Development javascript-jquery json php
Member Avatar for Bachu
0
355
Member Avatar for logicslab

Dear friends, I am using the XML-RPC Server to implement a simple login authentication as a web service . So I wrote a function in wp-includes\class-wp-xmlrpc-server.php like function web_auth($host, $db, $dbuser, $dbpass, $username, $password) { $dbhandle = mysql_connect($host, $dbuser, $dbpass) or die("Unable to connect to MySQL"); $selected = mysql_select_db($db,$dbhandle) or …

Web Development php wordpress xml
Member Avatar for LastMitch
0
287
Member Avatar for ncis_sg1

I have an assignment that I have been working on for the past few days that is making me go crazy. The instructions are as follows: Write a PHP script that tests whether an e-mail address is input correctly. Verify that the input begins with series of characters, followed by …

Web Development dns html-css php
Member Avatar for ncis_sg1
0
1K
Member Avatar for Kleon

I want to writ a jscript code that asks user to type (example) his name and than that name to be stored in variable x. this is what i have done so far, i am very new on jscript se please somebody can correct me with this. var x = …

Web Development javascript
Member Avatar for JorgeM
0
154
Member Avatar for mmcdonald

Hi all, I'm using AJAX to reload a div within my script. However it frequently causes the browser to crash. It's happened on two different local environments and I've only been able to test using chrome. Chrome presents this screen: http://i.imgur.com/wq2v7SJ.png The code used to reload the div is: <script …

Web Development javascript javascript-jquery
Member Avatar for mmcdonald
0
210
Member Avatar for vinojai

Hi I did one php application. In that application on clicking the download button.The datas from database have to convert into excel sheet and download. Can anyone please help me to do..

Web Development php
Member Avatar for layman114
0
571
Member Avatar for davy_yg

Hello, I wonder if it is possible to run php in IIS ? Thanks before.

Web Development php
Member Avatar for JorgeM
0
84
Member Avatar for AndrisP

How I can passing quantifier as variable in this regexp `str.match(/^(\-)?\d+( (\-)?\d+){3}$/)`

Web Development javascript regex
Member Avatar for AndrisP
0
184
Member Avatar for Persi

I have two tables in one form and a button in another form. So the two tables must be displayed first and then the button. But for me the button is displayed between the two tables. Can anyone help me?? This is my code [CODE]<form action="choirEvedit.php5" method="post"> <?php $con = …

Web Development display php
Member Avatar for whiteyoh
0
99
Member Avatar for hwoarang69

$count = 0; $Q = "SELECT (SELECT image_short_name FROM user WHERE username = '$user') as `image_short_name`" .",`image_id`,`image`" ." FROM `image`" ." ORDER BY RAND()" ." LIMIT 30"; $R = mysql_query($Q); echo " <div id ='bg'> <div id='context'> <table> <tr> "; while($row = mysql_fetch_assoc($R)) { echo "<td>"; $image_db = $row['image']; $src …

Web Development php
Member Avatar for whiteyoh
0
109
Member Avatar for patk570

Hello, I have a login script that I created and for some weird reason when it is in plaintext it works, but as soon as I put md5() it errors out and will not let me log in at all. <?php session_start(); error_reporting(E_ALL); ini_set("display_errors", 1); include("config.php"); if($_SERVER["REQUEST_METHOD"] == "POST") { …

Web Development php
Member Avatar for patk570
0
223
Member Avatar for dschuett

Hi, I am a complete newbie when it comes to php. I have been searching google for a way to upload multiple pictures to a directory at one time, and at the SAME time store each pictures path into a table in the database. I have found several examples of …

Web Development file-system mysql php
Member Avatar for Gloak
0
2K
Member Avatar for Dhiraj_1

How to retrive image which store on database in BLOB form ??

Web Development php
Member Avatar for diafol
0
88
Member Avatar for dyea.marcello

I am trying to display a list of my book However I can't select the database: this is a piece of my code: <?php $mysql_hostname = "localhost"; $mysql_user = ""; $mysql_password = ""; $mysql_database = "mag_rocket"; $prefix = ""; $bd = mysql_connect($mysql_hostname) or die("Could not connect database"); mysql_select_db($mysql_database, $bd) or …

Web Development php
Member Avatar for diafol
0
510
Member Avatar for 68thorby68

I am very very confused about encrypting form values when posting a form to submit payment. Please don't turn off when I mention PayPal. I am genuinely confused. I have to submit form values via an HTTPS connection to PayPal and PayPal have advised me to encrypt my form fields …

Web Development php
Member Avatar for paulkd
0
200
Member Avatar for Szabi Zsoldos

Hey guys, I'm having difficulties with a problem. I iterate over an array of data with X rows And i have the positions of each row incremented, i would like that when i found an exception i shift all the position id's so after each exception the next ID has …

Web Development php programming-construct
Member Avatar for Szabi Zsoldos
0
229
Member Avatar for saadi06

Hi, I am using html Mime Mail5 class to send emails from my system and I want the attachment files to be send as encrypted in smime format. Is there any way I can send the email with attachment made in smime encrypted format through the htmlmimemail5 class. Thanks in …

Web Development html-css php
Member Avatar for pritaeas
0
187
Member Avatar for grafic.web

Hi there, this is my question : I would like to make te first page with a list coming from database (how to do?); Ex <p><a "href:secondpage.aspx">Record text</a</p> etc. etc. and from this list choosing one of the record, using the id of the record, and open the second page …

Web Development asp.net
Member Avatar for JorgeM
0
335
Member Avatar for grafic.web

Hi there, i tryed to use the authentication with forms... I only added this code to my web.config but that give me an error.. ** <authentication mode="Forms"> <forms name=".myCookieSuffix" loginurl="Login.aspx"/> </authentication> ** do i need to add some more code or something else to my website? Another question, ho can …

Web Development asp.net
Member Avatar for grafic.web
0
223
Member Avatar for grafic.web

Hi there, Once i am on my second page where i have open the record from the database with my id record, how can i populate my textboxes with the values of my record? And ho can i populate a select with another table containig the type of user by …

Web Development asp.net client-server sql
Member Avatar for grafic.web
0
243
Member Avatar for Maideen

Hi. I have developed project using visual studio 2012 in vb code. Application is running fine in my local machine. But In server it will show the error once excuting report. server is MS Server 2008 R2 with SP2. Here is the error . This is my senario Database: MSSQL …

Web Development asp.net mssql visual-studio
Member Avatar for Alvin_2
0
289
Member Avatar for johndohmen1963

Hi hope someone can help me with the folowing i have a string with a few words i want to delete some words before the string and uppercase the first letter from the string that over. $achternaam = "van der hurk"; $common_words = array("van", "der", "de"); $achternaam = str_replace($common_words, "", …

Web Development php
Member Avatar for johndohmen1963
0
189
Member Avatar for tusharbhatia

Hi, I am trying to create an application which utilizes the distance finder. I want to be able to calculate the distance between two points. I have managed to (with the aid of a lot of tutorials) be able to calculate the distances between two points. Now, in the application, …

Member Avatar for Ravi_10
0
5K
Member Avatar for saravananosiz

I need to store stock market data and stock graph datas for my site . so i am selecting two db's mongo and cassandra and i finalize cassandra db, i am using windows 7 , Xampp and i need to use this in yii. i am installing data stack it …

Web Development php windows-vista-7-8
Member Avatar for saravananosiz
0
690
Member Avatar for Siberian

Hi, I want a script that can automatically based on a schedule, run cPanel backup tool and backup cPanel and all directories on a server, hopefully one exists ?

Web Development cpanel php
Member Avatar for Siberian
0
98
Member Avatar for <M/>

I am trying to create a table that I can customize completely with php. I will admit, i have forgotten some of the materials due to lack of practice and "accidentally" deleting my original files that "should" answer my question. Well anyways, how do you create a table that (by …

Web Development php
Member Avatar for <M/>
0
736
Member Avatar for amrita111

I have tried an application in which user can extend his session to further 7 mins when there are only 5 mins left for session to get over by use of a button click.but my code is not working...Kindly help...Here is my code <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> …

Web Development asp.net session
Member Avatar for LastMitch
0
216
Member Avatar for jayreis

I am hoping someone can help me fix the issue I am having with a php script that sends a email with a attachement. The script does generate a email that goes out. However when I recieve it the email has a attachment correctly named but when I open it, …

Web Development email pdf php
Member Avatar for LastMitch
0
234
Member Avatar for davy_yg

csolution.php public function netsolution(){ $data = array( 'networklarge' => base_url().'assets/images/network-large.jpg', 'productcss' => base_url().'assets/images/product.css ); $this->load->view('netsolution', $data); } public function systemsolution(){ $data = array( 'systemsolution'=>'Type your connection content here', 'productcss' => base_url().'assets/images/product.css ); $this->load->view('systemsolution', $data); } Hi, I receive error in this line: Parse error: syntax error, unexpected 'netsolution' (T_STRING), expecting …

Web Development php
Member Avatar for LastMitch
0
112
Member Avatar for dyea.marcello

I am trying to display a list of the book which category but is not running. this is a piece of my code: <?php require_once('auth.php'); $con=mysqli_connect("localhost","mag_install","mag123","mag_rocket"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $result = mysqli_query($con,"SELECT * FROM category"); ?> <!DOCTYPE …

Web Development html-css php
Member Avatar for dyea.marcello
0
151
Member Avatar for lewashby

$userEmail = $db->query("SELECT email FROM users WHERE email='$email'"); $userPsswd = $db->query("SELECT password FROM users WHERE email='$email'"); Can someone tell me what I've done wrong in teh two lines above? I'm getting the following errors. PHP Warning: SQLite3::query(): Unable to prepare statement: 1, near &quot;@hotmail&quot;: syntax error in /var/www/ET/password/accounts.php on line …

Web Development php
Member Avatar for Atli
0
2K
Member Avatar for mmcdonald

Hi all, the following PHP MysSQLi query works in XAMPP but not in WAMP: <?php include('../../inc/config.php'); $mysqli = mysqli_connect($config['host'], $config['user'], $config['pass'], $config['db']); $responseQuery = "SELECT tr.id as trid,tr.topicid,tr.usersid,DATE_FORMAT(tr.date_added,'%b %d, %Y %H:%i') AS format_date_added,tr.date_added,tr.response,tr.status, t.id, t.usersid as creatorid, u.id, u.authuser, u.memtype, u.fn,u.ln,u.avatar FROM topic_response tr LEFT OUTER JOIN topic t ON …

Web Development mysql php
Member Avatar for Atli
0
893
Member Avatar for patk570

Hello everyone, I am trying to update a database as well as insert information into the database and this is what I created to do so. Only, I am getting the email and its not updateding the database...any ideas? <?php if ($_POST['submit']) //if the Submit button pressed { $con = …

Web Development email php
Member Avatar for patk570
0
141
Member Avatar for Sandra_1

Hello, How can I pass a root directory to variables? I am working between two servers (dev, and live) and would like an dynamic solution. I tried several flavors of this (below), but keep getting errors (unexpected T_VAR...). class myClass { var $currentDir = __DIR__; var $my_xml_file = $currentDir."data/my.xml"; . …

Web Development php
Member Avatar for diafol
0
130
Member Avatar for gahhon

![8965e33b862782a1757e7cad4f7205c7](/attachments/large/3/8965e33b862782a1757e7cad4f7205c7.jpg "8965e33b862782a1757e7cad4f7205c7") On this morning, i am still using this database, but now my database seem like crashed, and display this error to me. how can i solve this problem other than recreate the database?

Web Development asp.net
Member Avatar for gahhon
0
160

The End.