52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for goldeagle2005

Hey all A friend of mine just designed a page and added the yahoo and gmail login boxes to it. Now, it works. What I want to ask is this. If I he was to host it, and use it to login to yahoo, gmail whatever, would it be secure? …

Member Avatar for schofield
0
2K
Member Avatar for Tbusuk

Generally if we use <form action = "process.php">, this means that after the form is submitted, it will be processed to the file process.php in the directory. Mean while, in JSP, what is the meaning of <form action="<c:url value="/main"/>"> ? Because in the directory there is no main file or …

Web Development java-jsp
Member Avatar for peter_budo
0
181
Member Avatar for Infame

Hi... got a problem with this snippet... [CODE]function writeColum () { var x = document.getElementById("wc").value; var y = document.getElementById("title").value; if (event.keyCode == 32) { x=x+"&nbsp;"; } if (event.keyCode == 13) { x=x+"<br />"; } document.getElementById("passValue").innerHTML=x; }[/CODE] Any reasons why it's not working?

Web Development javascript
Member Avatar for Troy III
0
126
Member Avatar for lasano

I have a calendar and when selecting the date the date format inserted to text box is in the format ' 10/10/2010'. This is not getting inserted into oracle database. Oracle accepts only the format '10-OCT-10' . So please help me to change the format of date that getting selected …

Web Development html-css javascript oracle
0
129
Member Avatar for CasTex

Hi everyone, I am successfully creating an image with php, but I want to make it hyperlinked. But I cant do it. Here is my script: [url]http://www.forumistan.net/7tepe/olus.php?site=www.bodrumlife.com[/url] PHP Code: [code=php]<?php header("Content-type: image/png"); $yaziyaz = "Alexa: 3,493,231"; $yaziyaz1 = "Pagerank: 3"; $string = $yaziyaz; $string1 = $yaziyaz1; $im = imagecreatefrompng("resim.png"); $orange …

Web Development image perl php
Member Avatar for onlymani
0
198
Member Avatar for nyler01

Good Day, I am looking for threads here in daniweb which will contain my question but the return is not similar to my problem.. Please help me.. i don't know what to do with this. I just want to store date field in mysql database but i can't here is …

Web Development php
Member Avatar for rajvinoth
0
142
Member Avatar for sathiya

Hi all, I would like to seek for some help from you on how to create a connection to a sql server database from an asp.net application using VB codes. I appreciate if you could provide me the relevant information about that with some sample codes. Thank you.

Web Development asp asp.net sql
Member Avatar for bashirrafi
0
298
Member Avatar for shamala

hi i need a javascript code to disable print screen key in both firefox and IE

Web Development javascript
Member Avatar for Troy III
0
112
Member Avatar for rperez100508

This JavaScript is working properly when using Internet Explorer, but this Script is not working when using Mozilla Firefox or Google Chrome. Please Help me re-encode this. Thank you. Here's the Script: [CODE]<html> <head> <title>Test Tree</title> <style type="text/css"> a {text-decoration: none;} .title {position: absolute; left: 35px; width: 150px; height: 20px; …

Web Development html-css javascript
Member Avatar for Troy III
0
150
Member Avatar for daniweb-forum-u

I found a neat Flash image gallery here: [URL="http://www.hrewheels.com/"]http://www.hrewheels.com/[/URL] Where images of cars appear in a slideshow and the special effect shows the image opening up from the center. Are there any Javascript/AJAX, etc type galleries I can use to achieve this same effect? Thanks!

Web Development flash javascript
Member Avatar for Troy III
0
124
Member Avatar for diafol

Hi all. Got a bit of a problem with this. Here's my code: [CODE]<?php header('Content-Type: text/html; charset=utf-8'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php echo strtolower("TWIUBCÜ"); echo "TWIUBCÜ"; ?> </body> </html>[/CODE] OK, perhaps the header …

Web Development apache php
Member Avatar for diafol
0
5K
Member Avatar for nuttyniall

Hi My website if falling to bits around me and I cant see why!! All instances where I have used the ! operator in the php code such as [CODE]if(!isset($_POST['anything'])){[/CODE] Have stopped working and just return true which is causing nightmares with security ect. I have googled till im blue …

Web Development php
Member Avatar for nuttyniall
0
154
Member Avatar for lit108

I am having a little bit of trouble coding a registration form. The text fields are no problem, its when I have a selection of checkboxes asking why they chose to register with this particular website. There are 3 checkboxes and 3 fields in the mysql table for them, the …

Web Development mysql php
Member Avatar for lit108
0
153
Member Avatar for RGStrat

So I have a script that is processing results of a form. What I'm trying to do is to set a variable by the results of a dropdown. This variable is a filename. Here is the PHP that processes it: [CODE]if ($industry = "Coal and Power") {$link = "Coal-and-Power-portfolio.pdf";} elseif …

Web Development pdf php
Member Avatar for RGStrat
0
104
Member Avatar for AdriftUniform

Hi, I am looking for some information about using Underscores ( _ ) in usernames. I currently have a friends system where a user can become friends with another user and this is placed into a database. I then have a query to display all of the users friends, which …

Web Development mysql php
Member Avatar for AdriftUniform
0
181
Member Avatar for asusplay

I need some help with something which in theory shouldnt be complicated but really has me stumped! I'm not sure whether the answer to this lies in the php code or in the SQL statement. I am doing a bonus comparison so I am extracting 2 columns from the table: …

Web Development php sql
Member Avatar for ad7u
0
180
Member Avatar for restrictment

Hey Everyone. I recently created a game in abode director, and lost the .dir file. I currently ONLY have the .dcr, and back when I created the game, I added an obnoxious 'permanent' banner to an old affiliate who did not support me back. (So I would prefer to no …

Web Development html-css javascript
Member Avatar for restrictment
0
88
Member Avatar for DJWK

Hi, I guess it's time for my first post here :) I've managed to create a php script that can run through a MySQL table and print out OPTIONS for a HTML SELECT tag. That was Google 101. But I want to keep my php and HTML separate so i've …

Web Development mysql oop php
Member Avatar for DJWK
0
129
Member Avatar for ben.marks

Hi all, I am trying to output data from a MySQL database from the column, 'category', however what I have at the moment isnt working. Any suggestions please? [CODE]$catrow = mysql_query("SELECT category FROM tuck"); $cate=array(); while($category = mysql_fetch_assoc($catrow));{ $cate[]=$category; } echo $cate[0]; echo $cate[1];[/CODE] Thanks

Web Development mysql php
Member Avatar for ben.marks
0
176
Member Avatar for Bandit390

Ok, I'm new to asp, but not to visual studio(mainly c#). I have a webform that I want to put buttons, labels, etc on. What is the normal procedure for the layout? Do I create a bunch of divs on the form and use them? Also, when I have a …

Web Development asp.net visual-studio
Member Avatar for Fortinbra
0
189
Member Avatar for tape enterprise

I want to output my data into a list ordered like this [CODE] <ul> <li>[I]category name[/I]</li> <ul> <li>[I]category item[/I]</li> </ul> <li>[I]category name[/I]</li> <ul> <li>[I]category item[/I]</li> </ul> </ul>[/CODE] when I try a foreach loop like this [CODE]<? $previous_catagory = null; ?> <? foreach ($providers as $provider): ?> <? if ($provider['catname'] !=$previous_catagory) …

Web Development php
Member Avatar for tape enterprise
0
100
Member Avatar for PuneetSeo
Member Avatar for Sorcher
0
177
Member Avatar for bhavna_816

I have a datatable which is having n no. of rows and each row has a unique field say ID. Now I want to get a particular row for a specified ID. eg. there are 5 rows in a datatable and the id's are 1,2,3,4 and 5 and if I …

Web Development asp.net c#
Member Avatar for rickyenjohns
0
225
Member Avatar for ello

Hey guys, Im going to try and explain this the best I can, maybe a bit difficult, but here goes anyway: I have AJAX calling a php function which displays a random quote when a user clicks a link. Every 5th click a div is echoed over the quotes, that …

Web Development javascript json
Member Avatar for ello
0
315
Member Avatar for f_atencia

I have a bunch of code [CODE] var xmlDoc = new ActiveXObject("MSXML2.DOMDocument.3.0"); xmlDoc.async=false; xmlDoc.loadXML(sHTTP); var rootElement = new String(xmlDoc.documentElement.Name); Response.Write(rootElement); [/CODE] The problem is that when I try to display the rootElement Node Name, it appears as 'undefined' on my browser. I also tried xmlDoc.documentElement.NodeName. Any help will be greatly …

Web Development javascript
Member Avatar for hielo
0
83
Member Avatar for puvi

Hi ppl, I am facing this weird problem with php newline character. [CODE] <?php echo"Hello World!! \n Im new to php"; ?> [/CODE] can anyone pls point out what is wrong in the above code?? the output should be: Hello World!! Im new to php but the output goes on …

Web Development php
Member Avatar for lyrico
0
167
Member Avatar for soomro_moon

how to change the texebox properties through php? plz give syntx or any little example.

Web Development php
Member Avatar for soomro_moon
0
124
Member Avatar for samsons17

Hi, I get this code somewhere from the web and wanted to implement it on my website. This code is basicly doing something like facebook's posting time. But in the code, there is the $session_time that i need to set first. How do i do this using the PHP? Thank …

Web Development php
Member Avatar for samsons17
0
186
Member Avatar for johnt68

Hello If I have one radio button list with one required field validator and I press a submit button without making a choice I get an error message, I can make a choice and everything is fine and dandy. The problem that I am having is that if I have …

Web Development asp.net
0
82
Member Avatar for zeni16

hi ... i am working on a tool using struts, here i need ur help, for following problem while i click on one tab(monitor) and select value in a combo box and go back on other tab(admin), den again if i come back on monitor page then i need to …

Web Development java-jsp
Member Avatar for zeni16
0
112
Member Avatar for jrhitokiri

I have these strings as $remaining_time: "3h5m" "4h9m" "15m" "17h" "6d17h" What I want to do is be able to parse through them and output the results in unix format so I can add them up to my $start_time (in unix timestamp) to get the end time. Any suggestions how …

Web Development php unix
Member Avatar for jrhitokiri
0
192
Member Avatar for aparnesh

Hi I need to build a online transaction processing system using php and mySQL. Sorry to say, I am a newbie at this. One of the requirements is that when a transaction is processed, a printed bill/invoice should be generated. Can this be done in php ? If I am …

Web Development asp php printer
Member Avatar for anggwa
0
188
Member Avatar for mrlol

Hi guys, I'm new with javascript, so I need help from you guys. Please help me to change date format to yyyy-mm-dd. I've tried few ways but failed. Please download the script here [url]http://www.javascriptkit.com/script/script2/datetimepick.zip[/url] Thank you :)

Web Development javascript
Member Avatar for mrlol
0
206
Member Avatar for Ankita B

Hi..I wish to prevent users from entering the web pages of my application again using back button once they've logged out.How can i achieve this?..I do not wish to use no-cache,history() etc as they're not fool proof. Also i want to know how can i prevent users from directly entering …

Web Development java-jsp
Member Avatar for jc364
0
924
Member Avatar for Asimina

Hi guys, i have a for and lets say 4 checkboxes i want to get the values of the checkboxes that are checked & to get the values of the checkboxes that are not checked. so if someone check the A & C checkbox i will get that A&C has …

Web Development javascript
Member Avatar for essential
0
341
Member Avatar for kiranbvsn

Hi all, I am new to the deployment, Recently one of our web application (Right now we are using it as a intranet application) needs to be deployed at onsite (USA), can u please suggest what are all the necessary conditions to be full filled in general when an application …

Web Development asp asp.net
Member Avatar for Fortinbra
0
195
Member Avatar for Rpower

I'm working on a site(asp.net/VB/sql some html) that needs to have a user login that would allow the user to see pricing, special documents etc. I do not need a community type site login where users have access to directories or pages. What I need is a good way to …

Web Development asp.net
Member Avatar for Fortinbra
0
111
Member Avatar for soft_coder

Hi! I am trying to find the length of a video file using the following code: [CODE]Microsoft.DirectX.AudioVideoPlayback.Video video = new Microsoft.DirectX.AudioVideoPlayback.Video(path); StringBuilder sb = new StringBuilder(); sb.Append(video.Caption); sb.Append("\r\n"); sb.Append(video.Size.Width.ToString()); sb.Append( "\r\n"); sb.Append(video.Size.Height.ToString()); sb.Append("\r\n"); sb.Append(video.Duration.ToString()); textBox1.Text = sb.ToString(); [/CODE] But in order to use this code I need to add reference …

Web Development asp asp.net file-system
Member Avatar for Fortinbra
0
212
Member Avatar for ben.marks

Hi there, Got a javscript problem that im working on where the validation doesn't do what I think it should. From stepping through the code, when the [B]pound and pence fields on the form are blank[/B], but the [B]name is filled in[/B], it should error at "Please fill in value …

Web Development javascript
Member Avatar for hielo
0
147
Member Avatar for TJJamal

[CODE=PHP] $query = "SELECT * FROM VISITOR"; if($result = $VISITOR->query($query, SQLITE_BOTH, $error)) [/CODE] Fatal error: Call to a member function query() on a non-object in ...file path. I keep getting this error. Can anyone help? Thanks

Web Development php
Member Avatar for TJJamal
0
114
Member Avatar for Awah Mohamed

hey guys, i want to build a social network and i somehow know what i am supposed to be doing but my problem now is what color should i use for the layout ?? i am realy so stupid in colors and i never know what color exactly i can …

Web Development php
Member Avatar for mschroeder
0
62
Member Avatar for flipper828

Hello, I am fairly new to PHP and MySQL so I apologize if I am just being lazy and/or stupid on this. I searched previous threads and found this one [URL="http://www.daniweb.com/forums/thread178612.html"]Insert data into two tables using php and mysql[/URL] It helped me tremendously but only to a point. Below is …

Web Development php
Member Avatar for flipper828
0
179
Member Avatar for Awah Mohamed

hey people i am designing a website in php/mysql . well it is a social network. simple one. but i didnt know how to allow people to add friends . so i found the easiest way for me is to create a separate mysql table for each member containing all …

Web Development php
Member Avatar for mschroeder
0
107
Member Avatar for arunwrc

<?php $to="sreedevs.arun@gmail.com"; $subject="bad boy"; $message="message"; $attachment="image.jpg"; $attachment_MIME_type="image/jpeg"; $handle=fopen ($attachment,"rb"); $data=fread ($handle, filesize($attachment)); fclose ($handle); $boundary="---Multipart_Boundary----"; $headers="\nMIME-Version: 1.0\n". "Content-Type: multipart/mixed;\n". " boundary=\"".$boundary."\""; $data=chunk_split(base64_encode($data)); $text="--".$boundary."\n"; "Content-Type:text/plain\nContent-Transfer-Encoding: 7bit\n\n". $message."\n\n--".$boundary."\n". "Content-Type:".$attachment_MIME_type.";\n name=\"". $attachment."\"\nContent-Transfer-Encoding:base64\n\n". $data."\n\n--".$boundary."--\n"; $result=@mail($to,$subject,$text,$headers); if($result) { echo "the mail was sent"; } else { echo "the mail was not sent"; } ?> output …

Web Development file-stream php
Member Avatar for serverack
0
151
Member Avatar for Eneswar

Hey all, my first post in this brilliant website, got a lot of ideas from here. So I'm a student and currently we are learning a bit of php and right now I'm stuck. I have a database with URL adresses, there is 3 fields, id, name and adress. I …

Web Development mysql php
Member Avatar for Eneswar
0
162
Member Avatar for fabzster

Hi I am trying to get this function to work but having issues [CODE] // check that policy number not entered on the DB if no policy is entered skip Mysql query function validatePolicyNumber($PolicyNumber){ //Return Session Value so user does not have to retype entry return $_SESSION['PolicyNumberAdd'] = $PolicyNumber; $Connection …

Web Development php session
Member Avatar for fabzster
0
113
Member Avatar for TetuGal

Hello, I am a software engineering student going into my final year in September and would like suggestions on topics for my final year project. I would like to do a project related to the web and databases. Possibly using PHP and MySQL Any suggestions will be appreciated

Web Development engineering php
Member Avatar for mikegte
0
211
Member Avatar for Shanti C

Hello frnds... i want to send mail with attachment using mail function.. Any one can u pls give me the solution. Shanti

Web Development php
Member Avatar for Shanti C
0
239
Member Avatar for EMT

I am not getting the difference between the [B][COLOR="Red"]action and onsubmit[/COLOR][/B] tags of the form in html. [CODE] <form method=GET action="xyz.php" onsubmit="return xyz()"> [/CODE] my problem is [B][COLOR="Red"]"which will be called when"[/COLOR][/B] and [B]limitations of each tag[/B].Kindly Help....:(

Web Development javascript
Member Avatar for pritaeas
0
385
Member Avatar for ofir0803

example: [CODE]<img src="img.jpg" alt="" /> <a href="#" alt="" />[/CODE] i want to do someting if the string="alt" exist in the img tag and someting else if the alt exist in the href tag

Web Development html-css php
Member Avatar for ofir0803
0
155

The End.