52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Wrox

Hi All, Am fairly new to PHP but managed to successfully complete a form and all works well! However, using similar code on another site the form goes through to a dynamic page and sends email back all correctly and has the titles of the textfields ready to have the …

Web Development email php
Member Avatar for Puckdropper
0
137
Member Avatar for J_Search

JavaScripters, This question is in regards to a JavaScript script within a PHP page. I included everything in case a complete understanding is required for a correct response. Thanks in advance. ****INFO**** Rater.php has a JavaScript script, which displays an interactive rating tool. It allows a user to slide a …

Member Avatar for J_Search
0
391
Member Avatar for aparnesh

How can I redirect a page to another ? For example, if the user is registered he gets to see the members section and if he is not, he is redirected to a 'Register Now' page when he clicks on a members area link. Also how will it work if …

Web Development php
Member Avatar for Astegiano
0
290
Member Avatar for adnan1888

i need to use the variables declared in javascript in asp.net saw a thread suggesting hidden textfields but that wud help in request or query strings what if i needed to use the value of a variable declared in javascript by fulfilling some condition into an INSERT COMMAND. the page …

Web Development asp asp.net javascript
Member Avatar for tgreer
0
230
Member Avatar for Joncamp

I don't know how to configure my sendmail8 system, is sendmail a mail server? Why don't PHP send mail() through the sendmail8 system? Thanks:mrgreen:

Web Development php
Member Avatar for shaocpa
0
151
Member Avatar for kahaj

I'm getting ready to take a stab at learning JavaScript. First, I guess it would be good to find out where I can snag a decent free compiler from. :idea: Thanks!

Web Development javascript
Member Avatar for BikBen
0
109
Member Avatar for neillly77right

I have a problem entering data into my database using asp and vb scripting languages web site address = [URL="http://www.ilizarovgrp.co.uk/"]http://www.ilizarovgrp.co.uk/[/URL] i have tried adding a advobs inc file but the page will not display once this is added this may be because of my server options but i thought asp …

Member Avatar for msaqib
0
308
Member Avatar for ashneet

I am trying to get URL from address bar and store it in a variable. Anyone know how it may be done as i was looking on php.net and couldn't find any function that grab URL form the address bar.

Web Development php
Member Avatar for ashneet
0
213
Member Avatar for StrikeFreedom

I'm trying to use the following script to test password strength: [PHP]<? switch($_REQUEST['req']){ case "change_password": function CheckPasswordStrength($password) { $strength = 0; $patterns = array('#[a-z]#','#[A-Z]#','#[0-9]#','/[¬!"£$%^&*()`{}\[\]:@~;'#<>?,.\/\\-=_+\|]/'); foreach($patterns as $pattern) { if(preg_match($pattern,$password,$matches)) { $strength++; } } return $strength; // 1 - weak // 2 - not weak // 3 - acceptable // 4 …

Web Development first-post php
Member Avatar for StrikeFreedom
0
106
Member Avatar for infinity4ever

hi i want to insert the current date and time in the sql server database... but i dont know how or what is the formulla exactly..i tried several time but all failed... basicly what i want is when someone log in the site with the membership the session("Date") will be …

Web Development asp.net session sql
Member Avatar for infinity4ever
0
144
Member Avatar for Itpon

Welcome everybody, I just installed visual studio 2003 in my PC and am facing a problem while trying to open a new asp.net web application project, this is the message that i get.. [IMG]http://www.up4world.com/images/images/adb9b488e1.jpg[/IMG] can anybody helping solving the problem? Thanks

Web Development asp asp.net visual-studio
Member Avatar for Paladine
0
154
Member Avatar for grajeshmsc

HI All, i'm having a problem in authenticating the users in my application. Actually my scenario is i'm getting user name using 'httpcontext'. But this working fine in our developement.its not working in our client machine.The logged username is differ from its showing in the application.but for some users its …

Web Development asp asp.net
Member Avatar for Paladine
0
196
Member Avatar for kirankumarreddy

How to debug a stored procedure in c#.NET IDE

Web Development asp.net ide mssql
Member Avatar for Paladine
0
65
Member Avatar for Frehley

Hi! What I am trying to do is to send and recive messages throuh users. The sending part works oks, but I am having troubles reciving em. I want a label to display "Hi, you Have X new messages". The way I have to know that it is a new …

Web Development asp.net session sql
Member Avatar for Frehley
0
211
Member Avatar for j4mes_bond25

I happened to stumbled upon this website [url]http://www.tristarwebdesign.co.uk/[/url] whereby on the (near) top-left corner, the option of user being able to select text caught my attention. This could help the viewers of my website to select the tex-size they feel comfortable with. Similar JavaScript can be found in [url]http://www.dynamicdrive.com/dynamicindex9/textsizer.htm[/url] but …

Web Development javascript
Member Avatar for Gizmologic
0
188
Member Avatar for infinity4ever

hi all i write this code Protected Sub btnCreate_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCreate.Click Dim SQLCreate As New SqlCommand Dim Conn As New SqlConnection Dim DA As New SqlDataAdapter Dim DS As New Data.DataSet 'Create DB SQLCreate.CommandText = "CREATE TABLE test " SQLCreate.Connection = Conn Conn.ConnectionString …

Member Avatar for campkev
0
100
Member Avatar for Puckdropper

Hello, I installed PHP 5 on my Server 2003 machine with IIS and got that working properly. I want to connect to my school's MS-SQL student database, but PHP balks when it hits "mssql_connect" (or whatever the statement is). How can I set this up so I can actually connect …

Web Development mssql php sql web-server
Member Avatar for papa_fal
0
5K
Member Avatar for ashneet

I think is problem may be more connected to HTML rather then php. The issue I have is that I have a my sql db and in one of the colume in which there is a string like: [code]Testing 1 2 3[/code] but when I extract the variable all I …

Web Development first-post php sql
Member Avatar for Puckdropper
0
148
Member Avatar for manish812

[B]Warning[/B]: session_start(): Cannot send session cookie - headers already sent by i want to use session in my prog and this error comes every times due 2 which i cann't use session which is vry important for me. but whn i run the same prog in my computer i.e. localhost …

Member Avatar for cancer10
0
248
Member Avatar for Ries

This is my code im using for my login, but when it re-directs to the next page the $_SESSION['email'] array doesnt contain any data, what is wrong with my coding that causes this(btw to check it had no data I echoed it and nothing came onto my screen) [code]<?PHP session_start(); …

Web Development email php session
Member Avatar for cancer10
0
149
Member Avatar for j4mes_bond25

I've been trying to display a simple & short message in viewer's own language for which I'm using the following script, right at the top of their screen i.e. just above the banner (in my website on: members.lycos.co.uk/darsh25/ .................. select "contact.php" Although, in my browser, this script identifies that my …

Web Development php
Member Avatar for j4mes_bond25
0
389
Member Avatar for vjw757

ok im installing a script at [URL="http://magicalstart.com"]http://magicalstart.com[/URL] and everything looks like is up and running. but when i try to access the admin panal at [URL="http://magicalstart.com/admin/index.php"]http://magicalstart.com/admin/index.php[/URL] .... the only think that happens is the screen goes blank. .. i was getting sql errors but that was because i had the …

Web Development php sql
Member Avatar for Puckdropper
0
161
Member Avatar for scialom

Hi All, I am getting a rabdom date from the db. Now for each date that I get I have to reduct 3. For example: I get 02/12/2005 The new date supposes to be: 30/11/2005 How can I do that? Thanks, Assaf

Web Development asp
Member Avatar for oscarsierra
0
142
Member Avatar for aarya

i want to learn asp . can i use mysql database with asp.how to connect to mysql database. will u tell me the basic asp tutorials for beginners.

Web Development asp mysql
Member Avatar for oscarsierra
0
269
Member Avatar for quansah

i have a form with checkboxes and i was wondering how i could write the php code so that the choices you check can come into my email. here is the html coding for the form: [code]<form action="<?php echo $me;?>" method="post" name="form1" id="form1"> <p>Name : <input type="text" name="textfield"> </p> <p>Course: …

Web Development email first-post php
Member Avatar for JNathanson
0
1K
Member Avatar for Stewie

I keep getting this error when ever I try to update or delete a record from my site. The error that I keep getting is "The string is not closed" I have use an example straight from the book so I don't know where to go. Here is my code …

Web Development coldfusion email html-css sql
Member Avatar for Stewie
0
137
Member Avatar for bkendall

I have a website that I am using includes on to make life easier. One issue that has come up is that I am also using a flash header on the top of each page. I would like to put the object and embed tags inside my posthead file with …

Web Development coldfusion flash
Member Avatar for anardodesign
0
158
Member Avatar for Oxiegen

Hello! Now I have another problem. I have successfully implemented cross-page postback with ASP.NET 1.1 using: [code] [COLOR=#0000ff]Protected[/COLOR] [COLOR=#0000ff]Sub[/COLOR] submit_Click([COLOR=#0000ff]ByVal[/COLOR] sender [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]Object[/COLOR], [COLOR=#0000ff]ByVal[/COLOR] e [COLOR=#0000ff]As[/COLOR] System.EventArgs) [COLOR=#0000ff] For[/COLOR] [COLOR=#0000ff]Each[/COLOR] o [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]Object[/COLOR] [COLOR=#0000ff]In[/COLOR] Page.Request.Form [COLOR=#0000ff] Dim[/COLOR] ctlName [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]String[/COLOR] = o.ToString() [COLOR=#0000ff] If[/COLOR] [COLOR=#0000ff]Not[/COLOR] ctlName.StartsWith(UniqueID & [COLOR=#800000]":"[/COLOR]) [COLOR=#0000ff]Then [/COLOR][COLOR=#0000ff] …

Web Development asp asp.net
0
118
Member Avatar for ayajhane_dhagz

s there a function in php w/c determines how many dimensions an array contain? f so,may i know?..^_^ thnx...

Web Development php
Member Avatar for ayajhane_dhagz
0
172
Member Avatar for sathiya

Hi all, I hav an application running in ASP.Net using VB. I hav two textboxes which carries user's input and a button. On Click of this button, the values in the textboxes will be added and be displayed in a label in a new window. I hav declared a variable …

Web Development asp asp.net email
Member Avatar for Oxiegen
0
252
Member Avatar for Oxiegen

Hi, all! I've been trying to pass a javascript variable to an asp.net webapp through a hidden input field. All according to post [URL="http://www.daniweb.com/techtalkforums/thread26184.html"]http://www.daniweb.com/techtalkforums/thread26184.html[/URL]. But something seems to be garbled. Here's what parts of my aspx code looks like. [code] ... [COLOR=#0000ff] var[/COLOR] src = document.documentElement.outerHTML; document.getElementById([COLOR=#800000]"pSource"[/COLOR]).Value = src; } …

Web Development asp asp.net first-post javascript
Member Avatar for Oxiegen
0
137
Member Avatar for kirawr

hellooo. i've been working with this form lately, and i cant seem to figure out how to make the success/error pages redirect to another page. any tips? [PHP]/////////////////////////////////////////////////////////////////////// //Don't edit below this point if you aren't sure what you're doing! // /////////////////////////////////////////////////////////////////////// $good = "Thanks for emailing me!"; //above is …

Web Development email php
0
80
Member Avatar for cancer10

Hello, Is there any way I can prevent simultaneously multiple downloads from my site with PHP? I mean I want a user can download only 1 file at a time, the second file can be downloaded only after the first one is finished. Thanx in advance for the help.

Web Development php
Member Avatar for digital-ether
0
212
Member Avatar for j4mes_bond25

One of the page from my presently under-contruction website can be seen on [url]http://members.lycos.co.uk/darsh25/Personal%20Website/services.php[/url] As it can be seen from the HEADER (right at the top) that I've the text-size selector (which isn't working, at the moment) along with the present date (as set in user's own computer). Realising that …

Web Development php
Member Avatar for digital-ether
0
118
Member Avatar for aarya

i have gon through w3school about xml. i know what it is ext.but still not able to get idea how it is useful and anybody show the website example to show how xml is useful.thanks

Web Development xml
Member Avatar for inkrajesh
0
97
Member Avatar for Gody

Hi everybody, I have a XML file having data stored in tags as <Username>[I]User name here[/I]</Username> <Password>[I]Password here[/I]</Username> (There will be data of around 100 users) I need to display this data in a HTML file in a tabular format. Kindly help me.

Web Development html-css xml
Member Avatar for inkrajesh
0
175
Member Avatar for SeekAnswers

Good morning all, I was wondering if VBScript could do the same thing as what the below JavaScript is doing, that is to focus on a form control after the user has made some mistakes in his/her inputs... <script type="text/javascript"> function Verify_Inputs() { if(document.Testing_Form.Testing_TextBox.value == "") { alert("Please enter a …

Web Development asp javascript vbscript
Member Avatar for SeekAnswers
0
218
Member Avatar for Cas107

[B]Hi[/B] [B]I am getting this error on our website that was created by somebody else.[/B] [B]Parse error[/B]: parse error, unexpected T_STRING in [B]/var/www-virtual/www.fpis.co.nz/pages/fpis_contact.php[/B] on line [B]5[/B] [B]This is the complete code that was created and I am trying to fix it and don't have a clue what is wrong[/B] <? …

Web Development email php
Member Avatar for Cas107
0
399
Member Avatar for Slade

Hey guys, I'm using VS .NET 2003, and I am designing a web application in VB .NET, I'm just wondering, Tekmaven mentioned to me in another thread of mine that it would be a good idea to use the datalist control as a menu, how would I use it to …

Web Development asp.net vb.net
Member Avatar for LeProgrammeur
0
224
Member Avatar for infinity4ever

hi all i want to limit the input from the user in the textbox... actually i am creating a "signup" page where the user have to type his name ,password, email, etc... the problem is i want an error to be displayed on a label when the user type nothing …

Web Development asp.net email
Member Avatar for infinity4ever
0
215
Member Avatar for Zayed

<?php $SearchNo = $_POST["SearchNo"]; $host= 'localhost'; $user= 'zutransportation'; $passwd= 'password'; $database= 'dbtransport'; $table= 'STUDENT'; $table2='BUS'; $connect= mysql_connect($host, $user, $passwd); mysql_select_db($database); $squery = "select * from $table where IDNo like '".$SearchNo."'"; $run= mysql_query($squery); $num_results = mysql_num_rows($run); if (!$SearchType ) {//1 echo "You have not selected search details. Please go back and …

Web Development email php
Member Avatar for maiahost
0
107
Member Avatar for preethishivbaba

Hi all. We are into a student information system project and we want to send confirmation to student that his course is abt to start on so and so date from our website but we are unable to do so..Is it becouse of Source code problem or some connections problem …

Web Development asp.net
Member Avatar for preethishivbaba
0
173
Member Avatar for Specdro

I have been tring for a month now to figure out why I can't program my site to open field information from a link that looks like [url]http://www.blablabla.com/test.php3?ID=2[/url] I can't seem to figure out how to open just the field thats ID is = to 2. If anyone can help …

Web Development php
Member Avatar for Dani
0
341
Member Avatar for J_Search

All, Here is some JavaScript I found. It creates a small scrollbar, which allows a user to scroll though a series of 5 images. The images represent votes, and the user can then press a "Rate us" button in order to cast a vote. As you can see in the …

Web Development first-post flash image javascript php
Member Avatar for J_Search
0
213
Member Avatar for Stewie

I have a form set up with 3 select lists where a user can select the date. and from there I insert it into one field in an Access database using this query. [code] <cfquery name="CheckDate" datasource="Rumors_Forms"> INSERT INTO BusTable (Name, Req_Date, Req_Time, Address, Email, PhoneNumber, Reason) Values('#form.Name#', '#form.Month#/#form.Day#/#form.Year#' ,'#form.Req_Time#','#form.Address#','#form.Email#','#form.PhoneNumber#','#form.Reason#') …

Web Development coldfusion email
Member Avatar for Stewie
0
110
Member Avatar for neophyteprogram

Greetings, I maintain a web page for the engineering department where I work and I was trying to make a humorous tool for the web page. Basically it is a form with three categories... Good/Fast/Cheap. Good meaning - a work product that is correct/accurate/etc. Fast meaning on or ahead of …

Member Avatar for neophyteprogram
0
221
Member Avatar for campkev

Ok, I am using a datagrid with paging enabled. It works fine if number of pages is 10 or less. Where I am running into problem is if there are more than 10 pages An example: paging looks like this Pages 1 2 3 4 5 6 7 8 9 …

Web Development asp.net
Member Avatar for campkev
0
107
Member Avatar for sirfartalot

Hi, I hope you will bear with me as I am trying to create my first PHP page and I'm not having a lot of success. I am trying to create a fairly standard form mail page to send email from a webpage. I have probably downloaded up to around …

Web Development email php
Member Avatar for sirfartalot
0
143
Member Avatar for thiyag2001

Dear All, I need to hide the user control by checking a small if condition.If the condition is false then then the user control is set TRUE,else It should be FALSE.How can i do it in ASP.NET with VB.NET . Thanks, Thiyagarajan.N

Web Development asp asp.net vb.net
Member Avatar for hollystyles
0
206
Member Avatar for harisinghrajput

Please help me with this strange behaviour, Unexpectedly I get this intermediate error as Data has been flushed to the client. What is this behavior and what are the reasons?

Web Development java-jsp
Member Avatar for harisinghrajput
0
135

The End.