52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Rhamises

[url]http://ouraubie.com[/url] try logging in my site using (username: user password: user). the script do not redirect. my code is: [CODE]header('Location: ../index.php');[/CODE] i tried using my "Location: ".URL."" but stil it doesn't work here.

Web Development php
Member Avatar for diafol
0
161
Member Avatar for Virangya

how to automatically redirect to a fullscreen page? i googled it but everything ifound don't work for me.. don't know why. all of those codes just open a popup with half a page width and height. And i need it compelety like when u click F11. no any other detail. …

Web Development javascript javascript-jquery
Member Avatar for Virangya
0
251
Member Avatar for thepales

I have a simple php script that starts sessions. On every page, I include : if(isset($_SESSION['sessionname'])){ //The rest of the page } else { die("Not logged in"); } I always include the session start and always regenerate the session id after <?php. The code works fine withevery browser except for …

Web Development php session
Member Avatar for fenixZ
0
294
Member Avatar for fenixZ

Hi guys, I am experienced in PHP or at least until today I was thinking so. I am not sure what is it all about exactly. In my opinion the following code should not echo anything BUT IT DOES. [CODE] $cache = 'all'; if($cache == 0) { echo 'Execute something'; …

Web Development php
Member Avatar for fenixZ
0
130
Member Avatar for WhYuLoOkIn

Having trouble with a simple database command I keep getting the error invalid column name and I cant seem to figure it out. Please help me figure out some possible problems Thanks. [CODE=VB] Dim ConnString As String ConnString = "Data Source=.\SQLEXPRESS;AttachDbFilename= C:\inetpub\wwwroot\KiKoGraphics\App_Data\aspnetdb.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" Dim sqlConn As New SqlConnection(ConnString) …

Web Development asp.net open-source
Member Avatar for jasminvictoria
0
342
Member Avatar for GrinShady

Hi Guys. I'm still a php newbie. In our class, we have just discussed creating PHP functions. As expected, we were given some exercises. Unfortunately I was not able to make my self-made function. There were actually two files, namely; functions.php and max_of_3.php the 'functions.php' is where the function is …

Web Development php
Member Avatar for GrinShady
0
127
Member Avatar for Pankaj18

Hi, Need some help with an problem that bugging me.. I have to open a .doc file at the client side when the user clicks a button. Opening is not a problem.. I am able to do it using the following code which is executed when the user clicks on …

Web Development asp.net file-stream pdf
Member Avatar for LaxLoafer
0
1K
Member Avatar for SolImages

Sorry I"m a bit of a newbie but I'm trying to set up a form on my website and when I click the submit form I get an error that reads: [COLOR="Red"]Warning: mail() [function.mail]: SMTP server response: 554 The message was rejected because it contains prohibited virus or spam content …

Web Development html-css php
Member Avatar for fenixZ
0
271
Member Avatar for pinkygirl

This is my code to hash [CODE]class hashing { private static $algo='$2a'; private static $cost='$10'; public static function unique_salt() { return substr(sha1(mt_rand()),0,22); } function hash($password) { return crypt($password,self::$algo.self::$cost.'$'.self::unique_salt()); } public static function check_password($hash,$password) { $full_salt=substr($hash,0,29); $new_hash=crypt($password,$full_salt); return ($hash==$new_hash); } }[/CODE] This is my login page [CODE]require("hashing.php"); $password=hashing::hash($_POST['txtPassword']); $checkPassword=mysql_query("SELECT * from …

Web Development mysql php
Member Avatar for diafol
0
289
Member Avatar for mshdpotato

I'm completely new to PHP and I'm using dreamweaver. I'll be displaying a list of names but I want its background to stretch as long as the list of names. Something like the middle portion of this site - [url]http://library-online.org.uk[/url] I can't really describe it well and I don't know …

Web Development php
Member Avatar for diafol
0
128
Member Avatar for gava11

Hello, I know nothing about PHP and this error has come up and I've been researching for days and have tried just about everything. Hopefully, I've given you enough information, but can you tell me why this line: $row2 = mysql_fetch_assoc($res); is the one called up in the following error? …

Web Development mysql php
Member Avatar for diafol
0
56
Member Avatar for anand01

Hi all I need to send form data to email .. Can any one share some sample code .. Thanks in advance

Web Development email java-jsp
Member Avatar for anand01
0
80
Member Avatar for wenbnet

I m getting this three warning when i m opening my website. [B]Can any one explain me what is this errors and how it comes[/B] any help will be very much appreciated. Warning: require(Non-permanent posts) [function.require]: failed to open stream: No such file or directory in C:\Inetpub\vhosts\kcd.co.in\httpdocs\index.php on line 17 …

Web Development file-stream php
Member Avatar for wenbnet
0
146
Member Avatar for pinkygirl

I want to upload images that will be saved in a folder. That folder is inside my website folder. eg: mywebsite(website folder). myimage(image folder). And the path of image should be saved in mysql. I tried the following but it is giving error "path not found." This is my path:- …

Web Development mysql php
Member Avatar for pinkygirl
0
122
Member Avatar for kaizokupuffball

Hi! I got this messaging system on my website up and running now. But there is something i need to do when the user click the message they got. All the new messages are flagged as New! when they get the message. When they click on it, i got this …

Web Development javascript-jquery mysql php
Member Avatar for karthik_ppts
0
491
Member Avatar for eduard77

I have this function and when I load the page in the browser I keep on receiving an error that the last'}' shouldn't be there and I don't know why because everything seems right to me. Anyone could tell me where could be the problem? [CODE] function PageCompTopRated($w,$h) { global …

Web Development php
Member Avatar for karthik_ppts
0
75
Member Avatar for gilgil2

Hi I have around 2500 pages that I need to link to various pages on my site. Each of these 2500 pages contains stock and share information, and I want to link them to pages according the the first letter of the company's name. So BP would be under B, …

Web Development apple php
Member Avatar for hankmeyer
0
146
Member Avatar for dimasalang

hello.. just want to ask if it's possible to save html form field values in an xml file without using any server side script like ajax or php. i just want to use javascript and i want to do it offline witthout using any server like tomcat. is it possible? …

Web Development html-css javascript xml
Member Avatar for dimasalang
0
2K
Member Avatar for bobbywe

hello I am asking if someone can be kind and make who is next live scipit for me please I will be greatfully with any ideas or tips a friend of my owner of a radio station called liverbird radio

Web Development php
Member Avatar for Ezzaral
0
120
Member Avatar for sensei punk

ok i got a assignment to do for college, i gotta create a form, a simple form with just 2 textboxes for input of title & password, this is simple & i know how to do this, the next part of my assignment is to create a page with the …

Web Development php
Member Avatar for sensei punk
0
92
Member Avatar for cgull

Hello, Does anyone know about a good tutorial for a user login system? I searched the net for a day and a half now, downloaded few scripts, tutorials and classes, but each one had a problem in it. I need a simple and secure user login script. Any help? Thanks

Web Development php
Member Avatar for cgull
0
136
Member Avatar for fradiavolo

Why is it saying "Notice: Undefined variable: cnt in C:\Wamp\www\librarie\cos.php on line 24". Here is the code: [CODE]<?php session_start(); include("conectare.php"); include("page_top.php"); include("meniu.php"); if (isset($_GET['actiune']) && ($_GET['actiune'] == "adauga")) { if (!isset($_SESSION['cnt']) || !$_SESSION['cnt']) $_SESSION['cnt'] = '0'; $cnt = $_SESSION['cnt']; $cnt++; $_SESSION['cnt'] = $cnt; $_SESSION['nr_buc'][] = 1; $_SESSION['pret'][] = $_POST['pret']; $_SESSION['titlu'][] …

Web Development php session
Member Avatar for fradiavolo
0
192
Member Avatar for sun-tzu

I couldn't decide where would be the right place to post this, so I decided to try php since Wordpress is at least built in php. I need to find a way to duplicate my Wordpress installation on a subdomain. I want to create a mobile version of my site …

Web Development php wordpress
Member Avatar for MagicMedia
0
168
Member Avatar for himerus

This script will display a previous next script that will look like this: << prev 1 2 [b]3[/b] 4 5 next >> It is clean, and avoids large numbers of pages in the prev/next links [code=php] $server = "localhost"; $user = "username"; $pass = "password"; $databasename = "yourDBname"; $db = …

Web Development display mysql php sql
Member Avatar for Ezzaral
0
2K
Member Avatar for tapuwa2002

I have created form where the values are taken from the form. I still get and an error when I put my form value in the statement. But when I run the statement separately it works but now when I combine it doesn't. [CODE] <cfif not isdefined("Form.frmpricerange")> <cfset Form.frmpricerange = …

Web Development coldfusion
Member Avatar for arrgh
0
107
Member Avatar for LittleMissChoco

I want to calculate the age of a person, when he/she inputted his/her brthdy on the form, it will shows his/her bday in year/month/day format Example, the user chooses February 11 1994 on the drop down list. when he/she click submit, it will display his/her age Output must be like …

Web Development html-css php
Member Avatar for diafol
0
215
Member Avatar for prof php

I want to add rss to my site that checks information about the url the user has posted then returns the image from the site, and brief describtion of what the site does.....just like the way facebook does it when user posts a url. Any ideas how it's done or …

Web Development php
Member Avatar for gotboots
0
185
Member Avatar for LittleMissChoco

[CODE]<html> <head> <title>Web Development</title> </head> <body> <h2 style="text-align: center">Personal Information</h2> <?php // FOR PERSONAL INFORMATION PHP //text area First name if(empty($_POST['name'])) { echo "<p>You didn't enter your name.</p>\n"; } else { echo "Your Name: <b>" . $_POST['name'] . "</b><br />\n"; } // function get_Age_difference($start_date,$end_date){ list($start_year,$start_month,$start_date) = explode(‘-’, $start_date); list($current_year,$current_month,$current_date) = …

Web Development php
Member Avatar for cereal
0
414
Member Avatar for newboi

Hi Guys, Can't seem to get my head around this one. I need to send a bunch of variables to php so that i can store the values in a database, but i just can't figure out a way to do that. Pls help. here's a little code [code] $( …

Web Development javascript javascript-jquery php
Member Avatar for F-3000
0
254
Member Avatar for dhimmar

Hello Highlly Tinker Guys, I want XPath of Each Node in XMlFile in Vb.net Below Is my Code on button click event [CODE] Dim szXMLDoc As XmlDocument=New XmlDocument() szXMLDoc.Load(Server.MapPath("ChurchFolders.xml")) '------Code to find xpath for each node----------- [/CODE] The ChurchFolers.xml file is As below [code=xml] <xml version="1.0"> <folder id="parent" path="~/MyChurch"> <folder …

Web Development asp.net vb.net xml
Member Avatar for vijay_myl
0
150
Member Avatar for Rhamises

[url]http://ouraubie.com[/url] please check out my site. the link is located at the first line of my post. that's my error. and then the line 44 contains: [CODE]include ("/view/login.php");[/CODE] it worked here using xampp but after uploading it, that warnings comes out. i figured out some RULES that a "session_start();" must …

Web Development php
Member Avatar for karthik_ppts
0
190
Member Avatar for ahasan_al_rabbi

I am using a image slider in my page. but sliders moves to fast. I want it's will be move slowly. so help me.

Web Development javascript
Member Avatar for ahasan_al_rabbi
0
172
Member Avatar for tapuwa2002

Hi guys Is there a way, where i can get two values from a option tag. I have form that needs to have values for it to display e.g My form looks like the following. [CODE] <form method="post" name="frmone" action="Result.cfm" enctype="multipart/form-data"> <select name="selvalues" id="selvalues" class="input_style-1" id="selvalues" style="height:19px"> <option value="1">Select Result</option> …

Web Development coldfusion
Member Avatar for tapuwa2002
0
155
Member Avatar for NeoNe

Hi to everyone I’m wondering how to make some simple checkbox for multiple data delete from mysql I found some tutorial on net but don’t work. I tested it without changing anything and doesn’t work. I’m wondering did programmer test it before he posted that tutorial ? Here is a …

Web Development cms mysql php wordpress
Member Avatar for sammry
0
877
Member Avatar for mwenyenia07

Hi all, I want to create an application to send an sms message to multiple clients. can somebody help how to go about it or send a php code that can do so.

Web Development php
Member Avatar for MooGeek
0
142
Member Avatar for SolImages

Can someone please help with some coding. I'm not terribly familiar with PHP but I can't figure out why it won't take. I'm making a contact form and this is what I get when I press the submit button. Parse error: syntax error, unexpected $end in D:\Hosting\8304515\html\contact\contactformprocess.php on line 52\ …

Web Development php
Member Avatar for karthik_ppts
0
129
Member Avatar for JennyK

Hi, *I need to randomize a multidimensional array so that the order of questions in a questionnaire is different for each participant. I have limited php skills, and am modifying an old script someone else wrote. Currently, questions are presented in the same order that they are listed in the …

Web Development php
Member Avatar for cgi.net
0
3K
Member Avatar for GeoffC

Example 1 The button is a blob of colour (.jpg) with text over the top. I want two things to happen: first, when the cursor is rolled over the .jpg and then the text, I want the text to change colour. This works ok. Second, I want to link to …

Web Development javascript
Member Avatar for AffineMesh
0
190
Member Avatar for vampshay

how to change the value of a button? for example "Add" then change to "Edit"? tnx.

Web Development php
Member Avatar for vampshay
0
91
Member Avatar for dwlamb

Good day, I am getting an error on a log-in script: mysql_query(): 4 is not a valid MySQL-Link resource I've done some research on this and followed such advice as: [LIST] [*]ensuring the mysql connection is closed after the results have been returned [*]testing any sql strings I define in …

Web Development ide mysql php session
Member Avatar for Zexsz
0
181
Member Avatar for Zexsz

I have a webpage that builds an html table if there is any data in a mySQL table. That works fine, the html table is populated with data from the mySQL table. My problem is when there is data it populates the html table but lists the first mySQL table …

Web Development php sql
Member Avatar for Zexsz
0
255
Member Avatar for tanhc

Hi there, I am a newbie to MSSQL. I apologise first as I know that my question might have been asked by others elsewhere but unfortunately I couldn't find it. I will really appreciate if someone can shed some light into my question. I have two tables with the following …

Web Development asp.net mssql
Member Avatar for poojaabora
0
137
Member Avatar for jorjah

hi, i just want to know if there are codes : 1. that will create list box? please give me sample codes. 2. that will hide the helpful link when you click HOME for example; i just want to appear first the login before the others

Web Development php
Member Avatar for diafol
0
67
Member Avatar for meisjen

Hey guys complete noob/novice here, Looking to join multiple tables identical in structure. It's meant for a search box in my school project. [COLOR="Red"]If I have table 1 and table 2 identical in structure, when the user searches for "keyword" it will search through both table 1 and table 2 …

Web Development mysql php
Member Avatar for diafol
0
183
Member Avatar for jakizak

I am having trouble returning things from this function. Below is the function. [CODE] function switchframeAQUA(v) { if (v == "0") { document.getElementById("picframe").src = "/frames/cod-liver-oil_pic.html"; document.getElementById("blurbframe").src = "/frames/cod-liver-oil_blurb.html"; } else if (v == "1") { document.getElementById("picframe").src = "/frames/fish-oil_pic.html"; document.getElementById("blurbframe").src = "/frames/fish-oil_blurb.html"; } else if (v == "2") { } else …

Web Development javascript
Member Avatar for Airshow
0
120
Member Avatar for gganeriwal

Hi, I am currently trying to plan the Explorer layout for adding some GIF images. I am able to query the height and width of the explorer using JS, below commands: [B]HEIGHT:[/B] [CODE]$height = '<script type="text/javascript"> if (window.innerHeight) //if browser supports window.innerWidth document.write(window.innerHeight) else if (document.all) //else if browser supports …

Web Development php
Member Avatar for gganeriwal
0
114
Member Avatar for kaizokupuffball

Hi! I am currently building a "social" website where people can send messages to eachother. When they are on their profile page they have this menu, one of the items are "Inbox". This is where the user can send personal messages to other users by typing the other users name, …

Web Development php
Member Avatar for kaizokupuffball
0
151
Member Avatar for vlowe

Hi, I cant get my around this.. I want to store some config details in config.php like so.. [CODE] $conf['audio'] = "play"; $conf['email'] = "send"; .. .. .. [/CODE] how can i use a form to edit the variables by writing to the file. The form will have the option …

Web Development audio php
Member Avatar for diafol
0
141
Member Avatar for Aksel

I've got a variable which contains a string which can contain html. I'm trying to find a way to check the string if it contains a <img>-tag, and if so..validate that it has a valid file.exstension. (jpg | png | gif). If an img tag is located and HAS a …

Web Development php
Member Avatar for diafol
0
4K
Member Avatar for vizz

I am not getting how to display stored database in MLM format? I have attached problem and desired answer images Database fields are : id new_id, name I want to display all members under member 1 all or one of that may be having member under itself.

Web Development display php
Member Avatar for ravikc
0
163

The End.