52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Rizi004

Hello everone, I have a webpage that have a form in iframe now the form submit in iframe and check from database and if found the username and password it start session and when i go to another page the session is lost, now how i can maintain session in …

Web Development php session
Member Avatar for LastMitch
0
1K
Member Avatar for fheppell

I need to make a forgotten password system, which works like this * User puts email in * Email sent to user with a link * Link goes to a one time page which allows the user to change their password I understand about php mail() but haven't got the …

Web Development php
Member Avatar for Squidge
0
195
Member Avatar for <M/>

I am creating a blog and i am what are some things i must know and should look at so i can create my blog. I am trying to create my blog without using anything like Drupal, Wordpress, Joomla, etc. I am creating EVERYTHING. So, what are some sites, books, …

Web Development cms wordpress
Member Avatar for pritaeas
0
158
Member Avatar for NoMansLand_MFGC

Hello Daniweb, I hae built a time/date counter for a private ticketing/support system, but I have run into a bug. After submitting a ticket it's fine, the counter starts counting, Perfect. Update the ticket to Closed/Answered/Anything else that changes the Status of the ticket, it "resets" the counter. It pulls …

Web Development daniweb-bug php
Member Avatar for diafol
0
297
Member Avatar for Pluribus

Hi everyone I was wondering if it was possible to update two tables in an access database with the same data input from a single form without doing anything to the actual database itself ie linking tables etc? I have asked this in other forums but have been shouted down …

Web Development asp microsoft-access
Member Avatar for Pluribus
0
483
Member Avatar for shehnaz1991

<html> <title> </title> <body bgcolor="99ccff"> <TABLE BORDER="1" cellpadding="0" CELLSPACING="0" align="center"> <TR> <TD WIDTH="900" HEIGHT="87" BACKGROUND="title.jpg" VALIGN="middle"> <FONT SIZE="+1" COLOR="orange" align="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Online Examination Results System</b></FONT></TD> </TR> </TABLE> <TABLE BORDER="0" cellpadding="0" CELLSPACING="0" align="center"> <TR> <TD WIDTH="180" HEIGHT="40" BACKGROUND="but1.jpg" VALIGN="bottom"> <FONT SIZE="+1" COLOR="yellow"><a href="ind.html" style="color: rgb(255,255,0)">Home</a></FONT></TD> <TD WIDTH="180" HEIGHT="40" BACKGROUND="but2.jpg" VALIGN="bottom"> <FONT SIZE="+1" COLOR="yellow"><a …

Web Development display
Member Avatar for LastMitch
0
215
Member Avatar for joshl_1995

Hello Community, I was making a commenting system for my website and i was wondering if it would be a good or bad idea if i just let anyone comment by anyone i mean non members or should i make it so only members can comment?

Web Development
Member Avatar for joshl_1995
0
276
Member Avatar for minitauros

Hello there, I would like to know if anyone knows a solution for excluding a group within a group in a regular expression. For example: /(name|(?:last[ ])name|(?:first[ ])name)/i I would only like the word "name" to be returned (this is just an example), but when I take match number 1 …

Web Development php regex
Member Avatar for minitauros
0
344
Member Avatar for natehome

I'm working on a music streaming website for iPads and iPhones the website is programmed mostly with php and html. The website uses the website layout iwebkit (http://snippetspace.com/portfolio/iwebkit/). My question is how do I make box appear at the bottom of the screen that is always on the screen even …

Web Development audio javascript
Member Avatar for natehome
0
345
Member Avatar for dinhunzvi

i am working on web application and i'm looking for a way to create and display reports. tried Crystal Reports but the reports are not being displayed. what other options do i have?

Web Development php
Member Avatar for dinhunzvi
0
135
Member Avatar for shakayu

`** login form Hello Guys, am actually working on a website... I want a login on the top left corner...login..then when the user click on this ..a modal form would appear asking them for their user-name & password.. I have a already do the login form controller ?php function index() …

Web Development html-css php-codeigniter session
Member Avatar for shakayu
0
963
Member Avatar for beginnerpals

I wanted to give my admin the power to search professors by name and provide them with a corresponding checkbox for each search result returned to help them select entries that he wants to delete (like we have in phpmyadmin for example). I'm posting the prof_name from a form that …

Web Development mysql php
Member Avatar for beginnerpals
0
254
Member Avatar for fheppell

I've written this code that takes two variables via POST. Some file and a checkbox to say whether the image can be downloaded. I then have this processing code to upload multiple files: <?php require_once('Connections/koding1.php'); if(isset($_FILES['file']['tmp_name'])) { // Number of uploaded files $num_files = count($_FILES['file']['tmp_name']); /** loop through the array …

Web Development file-system php
Member Avatar for fheppell
0
195
Member Avatar for edensigauke

I know apache exists, and the WAMPP, but i would like to know the handler settings for PHP on Windows 8 IIS, it would really be helpful. I was thinking it might be the same as with windows 7, but i am not getting the mapping parts.

Web Development apache php windows-vista-7-8
Member Avatar for edensigauke
0
254
Member Avatar for ringo_tech

Hi there, I have a database which contains the paths of different files, what I want to do is to store the paths in an array to create an array of paths then download these files with one click. How to do that? please help

Web Development asp.net
Member Avatar for pritaeas
0
124
Member Avatar for daniel36

I am working on a cms type project.In this project when i uses get variable to fetch data from database and display.The layout of website shifted to left.and i am unable to solve this problem.please help me.

Web Development cms php
Member Avatar for daniel36
0
114
Member Avatar for <M/>

How do I create a pop up effect that appears when you click on a link? I am looking at some web tutorials and I can't find a tutorial where I can create a link that if you select it a pop up shows up but it keeps you on …

Web Development javascript
Member Avatar for <M/>
0
165
Member Avatar for TMacFarlane

This is a very complicated problem. I have an existing web page with multiple drop-down fields-- now I want to add a keyword search text field. I have managed to create a page with the text input only, and that works fine. The trouble comes when I try to add …

Web Development mysql php
Member Avatar for pritaeas
0
370
Member Avatar for ACRDepos

Hello everyone, If you haven't seen my form code so far here it is: <?php $host = "xxxxxx"; $username = "xxxxxxx"; $password = "xxxxxxxx"; $database ="xxxxxxxx"; $conn = mysql_connect ($host, $username, $password) or die ("could not connect"); $db = mysql_select_db($database, $conn) or die ("could not select DB"); $id=mysql_real_escape_string($_POST['id']); //This value …

Web Development php
Member Avatar for ACRDepos
0
142
Member Avatar for l.worboyz

I need help reducing my JavaScript code down to between 4 - 7 lines of code. The idea of this program is to include the number 1-9 in a 3x3 table. I have included both my JavaScript code and the HTML code that creates the table. The javascript code that …

Web Development html-css javascript
Member Avatar for JorgeM
0
2K
Member Avatar for l.worboyz

I am trying to create a JavaScript program that displays a different face of the dice depending on whether the user has entered a number between 1 and 6. I am using this in conjunction with HTML which is supplied to me in a learning interface online. The different faces …

Member Avatar for JorgeM
0
352
Member Avatar for turpentyne

I have some javascript in an svg file to change class, on click, so the opacity remains 1. But the change is applying to the items in the group - not the group itself? How can I apply this to the group class? I tried adding in ".parentnode" but it …

Web Development javascript
Member Avatar for turpentyne
0
170
Member Avatar for richosr

Can anyone tell me why echo intVal($_REQUEST["CustID"]) where $_REQUEST["CustID"] value is 62013300111, produces 62013300111 on one php Server but on another it produces 2147483647. I cannot find any logical reason. regards Steve

Web Development php
Member Avatar for richosr
0
204
Member Avatar for kakalahori

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> <!--[if lt IE 7 ]> <html class="no-js loading ie6 oldie" dir="ltr" lang="en-US"> <![endif]--> <!--[if IE 7 ]> <html class="no-js loading ie7 oldie" dir="ltr" lang="en-US"> <![endif]--> <!--[if IE 8 ]> <html class="no-js loading ie8 oldie" dir="ltr" lang="en-US"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> <html …

Member Avatar for annaharris
0
309
Member Avatar for fheppell

I've run this code to generate two encrypted passwords from a plaintext password echo crypt("TestingTesting123"); echo "<br />"; echo crypt("TestingTesting123"); The two strings are identical but when I run it I get this output $1$/PGpeshL$UhmiaU/jlaJTWZV8g7Ze4/ $1$MnRnzohZ$zh9VpHPOwYejI.XR76vmC/ Some people have reccomended crypt() as a good password encryptor, but how are you …

Web Development encryption php
Member Avatar for annaharris
0
185
Member Avatar for delta_frost

I hate to sound redundant,but can anyone point out step by step how to configure my localhost WAMP server installation to send e-mail.I do have a GMail a/c. It would be highly appreciated if anyone explained every step of the process.Tried to configure PEAR,PHPMailer,sendmail but with no luck.

Web Development email php
Member Avatar for delta_frost
0
205
Member Avatar for Evil_genius82

Guys Ive spent some time trying to see whats wrong but im getting nowhere.... Let me explin what I want to do. Firstly I want to obtain the whole size of a directory (foldersize function). Secondly, i want to pass that number (in bytes) to the foldersize_formatted function to show …

Web Development php
Member Avatar for delta_frost
0
132
Member Avatar for kijiko

functions of each code in php..i fail to understand. am a begginer and i need help

Web Development php
Member Avatar for Webville312
0
92
Member Avatar for gogs85
Member Avatar for gogs85
0
150
Member Avatar for erum

I am using nlog and while running code ..its giving me an error Parser Error Message: Unrecognized configuration section log4net. rvice" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> </sectionGroup> </sectionGroup> </sectionGroup> </configSections> <appSettings/> <connectionStrings/> <system.web> <!-- Set compilation debug="true" to insert …

Web Development assembly javascript web-design
Member Avatar for erum
0
4K
Member Avatar for sandeepek

I want to send a confirmation mail to users given email id aftre his/her registration. I am trying this in codeIgniter framework only. But I didn't get the exact output. Please help me, what is the correct code I can use here? Please not: I am using Xaamp server. Thanks …

Web Development php
Member Avatar for sandeepek
0
2K
Member Avatar for vingan

Hi, I have a input text field and a submit button. On placing a value in the input file and clicking on submit button, should take me to a url that verifies the value and if correct redirects to a different page and if wrong, responses back with an error …

Web Development javascript-jquery
Member Avatar for IIM
0
114
Member Avatar for coder91

I have a formview which holds a form with an edit and insert modes. On the insert I would like a custom validator set against the userid text box that on the insert will check the database and see if it already exists, if it does it won't insert if …

Web Development asp.net
Member Avatar for LastMitch
0
234
Member Avatar for kakalahori

<?php session_start(); define( “USERNAME”, “john” ); define( “PASSWORD”, “secret” ); if ( isset( $_POST[“login”] ) ) { login(); } elseif ( isset( $_GET[“action”] ) and $_GET[“action”] == “logout” ) { logout(); } elseif ( isset( $_SESSION[“username”] ) ) { displayPage(); } else { displayLoginForm(); } function login() { if (isset( …

Web Development html-css php
Member Avatar for IIM
0
370
Member Avatar for showman13

Good afternoon All. I'm running into difficulties trying to get a random selection from a subset in a query. Basically what I have is a table with a record for every New Active referral, that contains the date(active_date) the member ID(mem_id) and the referrer ID(ref_id)... What I need to do …

Web Development php
Member Avatar for showman13
0
199
Member Avatar for daniel36

I am trying to convert 08 and 09 to 8 and 9 respectively, but they are not getting converted. I tried 08+0 , 09+0 but the result I obtained in both the cases is 0. The above method is working for 01 to 07 and I am obtaining results as …

Web Development php
Member Avatar for masterjiraya
0
170
Member Avatar for dlaverick

I am running a check from my Db to see if a grade exists, if it does then spit out the grade inside a link. If not then spit out another link. The bit that includes the grade where a grade exists works a treat, it just does not like …

Web Development php
Member Avatar for dlaverick
0
144
Member Avatar for hanan-kh

I want to introduce categories in Jump menu These categories are stored in the database is the way to do it I have tried but this does not work <?php session_start(); include("myclass.class.php"); function genRandomString() { $length = 10; $characters = '0123456789abcdefghijklmnopqrstuvwxyz'; $string = ""; for ($p = 0; $p < …

Web Development php
Member Avatar for masterjiraya
0
172
Member Avatar for davidjennings

Hi All I am trying to implement implement a coherent, extendable object oriented solution in PHP. I am not sure where to start to solve this problem. (Not home work) The Problem • I need to use a basic command line program that when called will retrieve and store a …

Web Development api json php social-media
Member Avatar for pritaeas
0
237
Member Avatar for himerus

This script will generate a thumbnail image of any JPEG image that is sent to it... This file is independant, and mine is named resize.php you can send an image to the php file, and then return the thumbnail for viewing. It does require some work, but WELL worth the …

Web Development display image php
Member Avatar for gpcodelibrary
0
1K
Member Avatar for games1124u

Hello, i want to change te result of showing in the browser, now it shows this when i click 2 3 4 or next. Search+source+code&page=36 Search+source+code&page=72 Search+source+code&page=108 and i want to change it to this, Search+source+code&page=2 Search+source+code&page=3 Search+source+code&page=4 If i change $per_page = 36; to $per_page = 1; than works …

Web Development php seo ui-ux
Member Avatar for LastMitch
0
276
Member Avatar for New-Reign

I am writing some code that will have several functions. I need the functions to have my database connection, is there a way that I can include the connection variable in all functions? Thanks

Web Development php
Member Avatar for pritaeas
0
139
Member Avatar for dottomm

Hello and thanks in advance for taking the time to look at this. I have an issue validating a Mailing Address form field. The problems is when users enter an address that has two sets of numerals. For instance; "12345 ABC Street Suite 200" will result in a validation error. …

Web Development php
Member Avatar for pritaeas
0
171
Member Avatar for RaeesIqbal

I'm completely a newbie and I have this problem drilling into my head. Any fast help will be highly appriciated. I have a table "peoplebase" and there's a column "alias_switch". Now I want a script to act as a switch, if "alias_switch" is "1" then it should make it "2", …

Web Development mysql php
Member Avatar for minitauros
0
142
Member Avatar for bradly.spicer

hey all, Just a quick one (I hope). I've only ever really done this as a button from something simple like a drop down box. I have a table which is populated by a mysql db: echo "<table class=\"gridtable\" cellpadding=\"0\" cellspacing=\"0\"> <tr> <th>Employer</th> <th>Vacancy</th> <th>Vacancy Type</th> <th>NoVacancies</th> <th>Learning Provider</th> <th>Contact …

Web Development perl php
Member Avatar for bradly.spicer
0
159
Member Avatar for RaeesIqbal

I have this code in PHP: $sql = mysql_query("select * from peoplebase where FName like '%$fname%' AND MName like '%$mname%' AND LName like '%$lname%' AND street like '%$street%' AND city like '%$city%' AND state like '%$state%' and zip like '%$zip%' and ssn like '%$ssn%'"); while ($row = mysql_fetch_array($sql)){ echo "<div …

Web Development php
Member Avatar for RaeesIqbal
0
284
Member Avatar for aaloo

I am building a chat application based on websocket protocol.I am uploading this on an apache server and i am getting this error : "Warning: socket_bind() [function.socket-bind]: unable to bind address [98]: Address already in use" I am using port no. 12346. When i checked this port's status i got …

Web Development apache php websocket
Member Avatar for dorco
0
1K
Member Avatar for B0716L

I was wondering if there was a way to make a "remember me" button for a login form. I am working on a javascript only login box, that is pretty secure, but I just need to know how to make that remember me checkbox! Please help! Here is the current …

Web Development html-css javascript
Member Avatar for pritaeas
0
1K
Member Avatar for hanan-kh

hi... i have this error in my code Fatal error: Call to undefined method myclass::addCat() in G:\AppServ\www\society\Admin\addCat.php on line 23 this is aclass function function addCat($t1) { mysql_query("insert into categories (Categoriesname)values ('$t1')") or die(mysql_error());} and this aline have a error if (isset($_POST['but1'])) { $t1=$_POST['txt1']; $m= new myclass(); $m->addCat($t1); } I …

Web Development php
Member Avatar for hanan-kh
0
369
Member Avatar for arunpawar

I tried to run this code on xampp and also on codepad and it seems it is not compiling at all. <?php class MyName{ public $name="johnh"; public $lastname="doe"; public function setProperty($var_name,$var_lastname){ $this->name=$var_name; $this->lastname=$var_lastname; } public function getProperty(){ return $this->name. " ". $this->lastname; } } $obj=new MyName(); $obj->setProperty("jane","doe"); $obj->getProperty(); ?> Is …

Web Development php
Member Avatar for masterjiraya
0
135

The End.