52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for chrispaul8676

hi, there, i came up with thisd login page. i came up with username , password and result textbox. i have included the C# behind code. i want to use roles and membership, but don't know how. i am not suppose to come up with any dropdownlist or textbox for …

Web Development asp.net web-server
Member Avatar for chrispaul8676
0
169
Member Avatar for ablitz

Hi Everyone! I'm currently working on MySQL/PHP/JavaScript project using AJAX. I came across some weird abnormality and wanted to share with you and hopefully find a solution to this problem. for some reason alert(textarea2); shows nothing but if I place another alert(textarea2); right after the first one it works, second …

Web Development javascript
Member Avatar for ablitz
0
296
Member Avatar for drjay1627

What are names starting with the ":", are they variables, constants or something else? drjay

Web Development ruby
Member Avatar for Kevin_poison
0
112
Member Avatar for dnanetwork

so far i've implemented virtual terminal & Hosted order page module.. remaining is silent post, Legacy SCMP api, Simple order API, Soap toolkit api... my question is it necessary to implement Legacy SCMP api, Soap toolkit api....if yes then why...?

Web Development api asp.net
Member Avatar for DangerDev
0
140
Member Avatar for mbirame

Hi folks, I am brand new to PHP, but I am trying to learn from an online tutorial. I'm using this one: [url]http://inpics.net/tutorials/php/variables24.html[/url] I'm sure there are many others, but that's where I'm at now. I am on the variables section, and they present this code: [CODE]<?php # This script …

Web Development php
Member Avatar for humbug
0
140
Member Avatar for HughLa

Hi everyone I am having a problem with displaying an image from mysql with base64_decode. my image viewer looks like this: [code] <?php require_once($_SERVER['DOCUMENT_ROOT'].'/site/dbconnect.php'); $result=mysql_query("SELECT * FROM images WHERE p_id='".$_GET['p_id']."'"); $table_returns=mysql_fetch_array($result); $encoded=$table_returns['data']; $image_name=$table_returns['image_name']; $the_date=$table_returns['date']; mysql_close($connect); echo base64_decode($encoded); echo $image_name; echo $the_date; ?> [/code] I don't know what I am doing …

Web Development php
Member Avatar for Banderson
0
331
Member Avatar for borneo

hello everybody..can someone help me to find out the script for testimonial...i have been searching but i can't found it..please everybody..i really need it for my last year project...really need help from the pro....

Web Development php
Member Avatar for borneo
0
97
Member Avatar for bobocheez

Is there a way to send a streaming url such as mms or asx through mysql or a php file so that it does not appear in the source code?

Web Development mysql php video
Member Avatar for bobocheez
0
100
Member Avatar for sparf

hey all, been a while since i was this stumped. i have main.php which calls in an iframe child.php child.php is only a table it has lots of TDs in it. now what i want to do is to have a button on main.php that when pressed creates an XLS …

Web Development php
Member Avatar for sparf
0
88
Member Avatar for nathanpacker

Hey, I need help getting that ugly yyyy-mm-dd format to change to something prettier. I would prefer being able to output it in the form like January 01, 2007. Something easy to read for the average user. I can leave it stored in yyyy-mm-dd in my database, but in my …

Web Development mysql php
Member Avatar for kblenman
0
264
Member Avatar for karin21

hi, i have a script here which display an item name from database into textfield based on the combo box selection, i cn display the item name but my problem is i dont know how to display the item information into the textbox? i'm required to use php but i …

Web Development apple display php
Member Avatar for karin21
0
2K
Member Avatar for Toxikr3

Hi guys, I have been working on a site and have managed to add a login script. I made an "status" script myself which tells people if a user is online or not. I did that by using database(easiest way I could think of), when person logs in it changes …

Web Development php
Member Avatar for Toxikr3
0
241
Member Avatar for 0TheFace

Hi, I've been trying to set up a webserver for a while now, but with no luck. Here is the problem:- After I installed PHP,Apache,MySQL into a folder named 'server' on my local machine and followed the relevant steps to set them up; I used the following script to check …

Member Avatar for 0TheFace
0
260
Member Avatar for leviathan185

Hi, I am trying to write an upload script and everytime i try and upload a file it will give me an error. Warning: move_uploaded_file(/home/******/public_html/dw/uploads) [function.move-uploaded-file]: failed to open stream: Is a directory in /home/******/public_html/dw/upload2.php on line 3 I have checked that the folder is there as the error suggests …

Web Development file-stream php
Member Avatar for leviathan185
0
176
Member Avatar for jbd4d

I am trying to create a csv file from a table in a mysql database using the following code. No errors come up, but nothing happens either... I know that i am connected to the database properly because earlier in my code a number of tables from the database are …

Web Development php
Member Avatar for jbd4d
0
101
Member Avatar for codemaker

Hi guys, I'm wondering, web-sites like facebook and myspace, which MYSQL engines would be better to use?

Web Development php
Member Avatar for dsherwin
0
124
Member Avatar for mheidi

Hi, I have installed the Google Analytics code on static HTML pages, but I have never done it on a Coldfusion (cfm) website. Is there a big difference between putting the tracking code for Google Analytics on an HTML site vs. a Coldfusion site?? If anyone could help me with …

Web Development coldfusion google
Member Avatar for westonjeff
0
562
Member Avatar for goodnohello

This used to post data to mysql database: [icode]<form name="form1" method="post" action="<?=$_SERVER['PHP_SELF']?>">[/icode] Now the data does not post. Am I doing something wrong, or is this a server issue? How do I correct this?

Web Development first-post mysql php
Member Avatar for tunkara
0
160
Member Avatar for fabzster

Hi I have an xml file which i get data from using the simplexml_load_file function I then grab values and store them in variables now the thing is that the amount of games displayed will be different I need to grab the values from them with a while loop or …

Web Development php qt xml
Member Avatar for ShawnCplus
0
194
Member Avatar for bioTIN

my class in php contains an array -> mysql_fields. How do i go about extracting the info from the array? giving a [icode]print_r($sub_details->mysql_fields)[/icode] works as expected while, [code] but foreach($sub_details->mysql_fields as $key -> $value) { echo $key."->".$value; } [/code] doesnt work. How do i got about iterating through the arrary?

Web Development php
Member Avatar for ShawnCplus
0
83
Member Avatar for jensenvembil

i am trying to make a simple login form using OleDb i am getting a single error that the "dr" does not have a constructor default.aspx.vb [code] Imports System.data Imports System.Data.OleDb Partial Class _Default Inherits System.Web.UI.Page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cn …

Web Development asp.net open-source
Member Avatar for sknake
0
361
Member Avatar for mrcniceguy

the code below i`m using to send emails to members in my site. but in yahoo they are saved in the Spam folder also hotmail in junk folder. [code=php] $from="From:mysite@mysite.com\r\n"; $to="$email"; $subject="$user left you a Profile Comment on mysite.Com "; $content="$user left you a profile comment on mysite.Com to view …

Web Development php
Member Avatar for mrcniceguy
0
148
Member Avatar for Matsui

i know that there is a mailto: script to use but it is unsecure and all that, so what would be the best way to go about sending form information to an email address in javascript?

Web Development email javascript
Member Avatar for essential
0
160
Member Avatar for NoID

Hello Guys, I want to delete a record from my saved.php which has a code, [code] <td><a href=\"delete.php?id=$ID\">delete</a></td> [/code] Which gets the link as [url]http://localhost/delete.php?id=8022[/url] I then have a delete.php file, which has this code, [code] <?php if(isset $_GET['id'])) { $id = $_GET['ID']; $con = mysql_connect("localhost","t","123456"); if (!$con) { die('Could …

Web Development php
Member Avatar for spthorn
0
148
Member Avatar for headedtomexico

anyone have a link to a good auction script. Something simple, no frills. I'm running phpbb2 and want to add an auction area. I looked at that phpbb-auction.com site, and it seems pretty delapidated, and I'm not so sure I want it as a phpbb add-on. Whatever script I do …

Web Development php phpbb
Member Avatar for diafol
0
141
Member Avatar for alokshri67

Hi, In asp.net I am using ODBC connection with dsn. I have some experience on VB6. In VB we used to append records in database with command; connection.addnew databasefieldname=somvalue connection.update my query is - can we do something like this in asp.net? Alok

Web Development asp.net
Member Avatar for dnanetwork
0
268
Member Avatar for nccsbim071

I have been developing a asp.net application in which i have to mail to large number of user an email. I used the classes in System.Net . Every thing is fine, there are no errors in the page. But while sending mail i get an exception: as follows: [B][COLOR="Red"]SPAM Score …

Web Development asp asp.net email
Member Avatar for dnanetwork
0
117
Member Avatar for tulipputih

Hi. How could we unlock the locked textbox whenever users click a button -say ' customise button'. Then users are able to customise the boxes and save it as a set of new data with new ID? Help is much appreciated.

Web Development php
Member Avatar for tulipputih
0
170
Member Avatar for ersubhajit

I am getting this problem whenever I login from index.php to admin_area.php. I am giving the codes of the two files. Please help. Index.php [code=php]<?php session_start(); include("../lib/globals.php"); if(isset($_REQUEST['submit'])) { $u_name=$_REQUEST['username']; $pass=$_REQUEST['password']; $sql="select * from `user_table_master` where `user_name`='$u_name' and `password`='$pass'"; $result=mysql_query($sql); $row=mysql_fetch_array($result); $num_of_rows=mysql_num_rows($result); if($num_of_rows>0) { $_SESSION['logged_in']='y'; $_SESSION['user_type']=$row['user_type']; $_SESSION['user_formation']=$row['formation']; $_SESSION['user_name']=$row['user_name']; $_SESSION['name']=$row['name']; $_SESSION['user_id']=$row['user_id']; …

Web Development html-css php session
Member Avatar for guru12
0
154
Member Avatar for sanjaypandit

i made this code but it shows result Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\VertrigoServ\www\sanjay\rlc\closing.php on line 14 [code]<? include("admin/include/conn.php"); $today=date("Y-m-d H:i:s",strtotime("+5 hours, +30 minutes")); $c_closing="select * from member_information where child >=2"; $c_closing_query=mysql_query($c_closing); while ($c_row=mysql_fetch_array($c_closing_query)) { $c1_query="select * from member_information where Mem_sponsor_id=".$c_row['Id']." limit …

Web Development mysql php
Member Avatar for Manuz
0
144
Member Avatar for gromamatej

I have XAMPP installed on my computer and started all features. When I type to browser on PC in my lan IP adress of my computer it shows me xamp welcome screen with everything working. But when I start demos which uses mysql databases (CD Collection or Phone Book) it …

Web Development mysql php
Member Avatar for gromamatej
0
71
Member Avatar for danielc

My question is simple: i wrote a program that will allow my user to enter some text and it will produce a wav file based on the input and allow them to download it. I am now in the stage that writting the redirect code to redirect the user to …

Web Development asp.net web-browser web-server
Member Avatar for dnanetwork
0
238
Member Avatar for phant0m67

hi im trying to parce a XML that is generated by a php page, the problem is that when i try to get the elements on that XML, the browser says that my variables (dado) are undefined.... any idea how to solve this? [code] function leValorXML(xmldoc, tag){ var dado = …

Web Development javascript xml
Member Avatar for essential
0
124
Member Avatar for khr2003

Hi I am trying to add multiple file upload feature to a form. I am wondering if there is a way to upload the files before submitting the form and them when the form is submitted and the data inserted into the database, the files get uploaded to the designated …

Web Development first-post php
Member Avatar for khr2003
0
97
Member Avatar for VinayRok

Hi Friends ........ how to popup a browser window when pageload event occurs.

Web Development asp.net
Member Avatar for almostbob
0
276
Member Avatar for Thirusha

Hi I have set up an example web app which was already written by a third party company. My problem comes in when i enter the app name like [B][url]http://localhost:8080/app1/[/url] [/B] it redirects to the correct page that was used in the <welcome-file> tag in the web.xml but the js …

Web Development java-jsp xml
Member Avatar for Banderson
0
105
Member Avatar for nccsbim071

Hi I have been developing a website. I need to hide the page extension of the pages while user is browsing my site. for example: Home.aspx should be displayed as Home only. How can i do this. Please help Thanks

Web Development asp asp.net
Member Avatar for dnanetwork
0
246
Member Avatar for praveen_dusari

hi all, i am using codeigniter for a shopping cart for my admin panel i created a first method mentioned [URL="http://philsturgeon.co.uk/news/2009/07/Create-an-Admin-panel-with-CodeIgniter"]here [/URL] for this iam getting error failed to open stream 'D:\wamp\www\codeigniter\admin/system/codeigniter/CodeIgniter.php’ i need to add ../ in this line [code=php]require_once BASEPATH.'codeigniter/CodeIgniter'.EXT;[/code] how to do this i am getting error …

Web Development php php-codeigniter
Member Avatar for Banderson
0
105
Member Avatar for tulipputih

Hello, anybody can suggest me on how to do exact match in php ( for search purpose). From my reading I understand that we need to use " ". What is the correct syntax for this? Is preg-match important here. Thank you.

Web Development php
Member Avatar for praghna
0
91
Member Avatar for cali_dotcom

i'm parsing a csv file with ajax and php, although i think i did everything right, nothing happens when i click on the link. here is the code: [code] here is the html: <div id="brandContainer"> <ul id="brandNav"> <li class="categorypage" id="face"><a href="javascript:showCD('a','brandPage')">A</a></li> </ul> <div id="brandPage"></div> </div> here is the ajax/javascript: var …

Web Development php
Member Avatar for Banderson
0
179
Member Avatar for xuexue

hi guys, i want to include the icon of the type of file am uploading, is that possible????

Web Development php
Member Avatar for diafol
0
106
Member Avatar for saivemuri

This is about jsp, beans with struts. The problem is, I am using one jsp which is containing some select boxes. I ll be populating the select boxes from DB thru beans and action class. It’s working properly. The problem is with the data insertion from JSP to DB. The …

Web Development java-jsp
Member Avatar for peter_budo
0
319
Member Avatar for xuexue

the question is that, what if i have a separate folder wherein the files i wanted to replace the name is located? example, the uploads folder contain all the uploaded file, now the user can edit the file's information, let's say the filename, how about that?

Web Development php
Member Avatar for diafol
0
78
Member Avatar for CoSIS1

Hi everyone; I’ve written the following for some purpose : [CODE] <% Vector v1,v2; String sql; String sqlvsp; sqlvsp= "select distinct(question_text) from question where type = 'UStudent' "; Vector vc=database.jdbcOneRowQuery(sqlvsp); for(int n=0;n<vc.size();n++){ %> <table border="0" width="100%"> <tr> <td colspan="6"><font size="2"><b><% out.print(n+1); %>)<% out.print(vc.get(n)); %></b></font> </td> </tr> <tr> <td></td> <td align="center" …

Web Development java-jsp session
Member Avatar for peter_budo
0
124
Member Avatar for xuexue

i could get the size of the file i uploaded, however, i want to convert it to MB, i dont want to make some computations, is there any easy way to do that????

Web Development php
Member Avatar for xuexue
0
80
Member Avatar for tones1986

I have created a drop down list from a SQL query as follows: [code=php] <?php echo '<form action ="boat_info.php" method="POST">'; $query = "select SHIP_NAME from SHIP"; $result = mysql_query($query, $link); if (mysql_num_rows($result)) { echo "<select name='boat' value='bname'>Ship Name: </option>"; while ($row = mysql_fetch_row($result)) { print("<option value=\"$row[0]\" name =\"bname[]\">$row[0]</option>"); } } …

Web Development php sql
Member Avatar for cybersat
0
982
Member Avatar for borntowin_786

//php file [code=php]$strSheetName = 'test'; $objXLApp = new COM( "excel.application" ) or die( "unable to start MSExcel" ); $objXLApp->Workbooks->Open( "path/test.xls" ); $objXLSheet = $objXLApp->ActiveWorkBook->WorkSheets( $strSheetName ); $i=3; do { $strCellName = 'B'.$i; $objXLCell = $objXLSheet->Range( $strCellName); $i++; echo $objXLCell->Value()."<br>"; }while($objXLCell->Value()); echo $i; //print $objXLCell->Value(); //objXLsheet.Range("A1:A100") //print "Cell $strCellName in $strSheetName: …

Web Development php
Member Avatar for borntowin_786
0
140
Member Avatar for Pankaj18

Hi, I am using below code to hide a column in Gridview. But it display an error. My code:: [code]protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { e.Row.Cells[7].Visible =false;//error generated on this line }[/code] Error:: Specified argument was out of the range of valid values Parameter name: index Please help me. …

Web Development asp.net
Member Avatar for Pankaj18
0
678
Member Avatar for Matsui

I have need of some help...i am working on a form in javascript and am wanting to create a function to total the value of checkboxes when they are checked. i have found many examples, and have a little bit done but it won't total up the values. this is …

Web Development asp.net
Member Avatar for kvprajapati
0
97
Member Avatar for ashkan3030

Here is the scenario: I have pages that we can add items to "shopping cart",here is the code: [code]List<string> shopingCart = (List<string>)Session["shopingCart"]; if (shopingCart == null) { shopingCart = new List<string>(); Session["shopingCart"] = shopingCart; } shopingCart.Add(Request.QueryString["ID"]);[/code] I store the ID of each product in Session state(which is unique), then I …

Web Development asp.net session
Member Avatar for kvprajapati
0
327

The End.