52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DaveD3

Hello, I am a C# desktop app developer who is trying to do an asp web page. The app takes input from the user then does a search of files that reside on the server. I can run it from the development environment and everything works fine. I can not …

Member Avatar for JorgeM
0
224
Member Avatar for alyssa.wilkins.77

I am trying to style my ordered lists and unordered lists to appear the same in Firefox. I have all my text centered. In firefox, the bullets and numbers appear right next to the items. I have done some css styling but it requires for teh text to be aligned …

Web Development html-css
Member Avatar for alyssa.wilkins.77
0
190
Member Avatar for Squidge

Evening all. I am goign through my Image upload script and found it looks messy, would you recommend an cleaner way of doing this: move_uploaded_file($_FILES['file']['tmp_name'], 'photos/' . $_FILES['file']['name']); try { $fileName = $_FILES['file']['name']; $resizeObj = new resize('photos/' . $fileName); // *** Resize options: exact, portrait, landscape, auto, crop $resizeObj->resizeImage(225, 150, …

Web Development php
Member Avatar for Squidge
0
116
Member Avatar for Begginnerdev

Hello my fellow DaniWebers! I have a question for you! I have an ASP.Net website that I am currently working on. The problem that I am having is that I want to render the Master page's menu differently for the user types. Here is the catch. I can't use roles, …

Web Development asp.net seo
Member Avatar for Begginnerdev
0
349
Member Avatar for inabahtrg

Good day I’m new with JSP, here the problem, I just converting the code from SQL to PostgreSQL, but a problem occur after I change to DataSource ds = (DataSource)envCtx.lookup( "jdbc/postgres" ); and add a scheme to the query. By theory it should be ok but it produce this error …

Web Development java java-jsp postgresql
Member Avatar for LastMitch
0
2K
Member Avatar for aqr996

how can i set to the top directory (i.e. **public_html/folder**)? I have tried **$_SERVER['DOCUMENT_ROOT']** without luck. define('JPATH_BASE', dirname(realpath(__FILE__)). '/folder' );

Web Development html-css php
Member Avatar for pixelsoul
0
324
Member Avatar for dhani09

I have the following code that gets input from users on a button click and draws on a canvas but when i click the button nothing works. Here's the code: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link href="mycss.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="js.js"></script> <title>CANVAS</title> </head> <body> <canvas …

Web Development html-css javascript
Member Avatar for dhani09
0
159
Member Avatar for chr.s

In order to make my AJAX functionality a little more efficient I've added a cache component; but this has given me a huge new headache. The AJAX related code is below. It listens for a click and checks if the user has already clicked that link. If not, it'll fetch …

Member Avatar for chr.s
0
298
Member Avatar for yy886

Hello I have found a good template about PM system. http://www.webestools.com/scripts_tutorials-code-source-15-personal-message-system-in-php-mysql-pm-system-private-message-discussion.html But here is the question, is there any way to modify it to be able to send to multiple people? Like Message 1 is subject to send to a group of people. Message 2 is send to an individual …

Web Development php
Member Avatar for yy886
0
809
Member Avatar for chennaipackers

how to import the sql file in an exist database connection.. Regards

Web Development php sql
Member Avatar for IIM
0
209
Member Avatar for Wolxhound90

Hi Guys, I have a problem using the sqlsrv_connect function (in that it's failing!). I have been using mssql_connect on a server with an older verison of PHP where my connect string worked fine. But putting the information into the sqlsrv_connect doesn't let it connect. Here's my code that I …

Web Development mssql php
Member Avatar for Wolxhound90
0
427
Member Avatar for erictdavid

Hi, I've created a PHP form that has a workflow. When a user fills the first page, it sends an email to the respective department head. The department head reviews the form and adds his/her contents. I was able to develop the form, but I am looking for advice/ guidance …

Web Development email php
Member Avatar for annaharris
0
211
Member Avatar for ivanichi

$char = '3'; $string = '101131110|101131110|'; $positions = array(); $pos = -1; while (($pos = strpos($string, $char, $pos+1)) !== false) { $positions[] = $pos+1; } $result = implode(',', $positions); print_r($result); The position of '3' in our string was 5,15 I want to get a second position of '3' in position …

Web Development php
Member Avatar for annaharris
0
448
Member Avatar for haris.zia.92

i want to use insert and delete query at the same time but its not working only insert query run here is my code,every thing is working but delete query..... include("conn.php"); $a=$_GET['email']; if(isset($_POST['submit'])); $firstname=$_POST['firstname']; $lastname=$_POST['lastname']; $email=$_POST['email']; $password=$_POST['password']; $city=$_POST['city']; $address=$_POST['address']; $gender=$_POST['gender']; $degree=$_POST['degree']; $specialization=$_POST['specialization']; $experiance=$_POST['experiance']; $salary=$_POST['salary']; $designation=$_POST['designation']; $insert=mysql_query ("insert into admin (firstname, …

Web Development php
Member Avatar for pritaeas
0
482
Member Avatar for dhani09

Hi, I have the following tables **tbl_user** - id, username, password **tbl_userprofile** - id, userid, name, surname, gender, nationality,address, mobile, department, email, question, answer. userid is a foreign key in **tbl_userprofile** referencing id in **tbl_user** I'm trying insert a new user into **tbl_userprofile**. But i'm not sure how to go …

Web Development php sql
Member Avatar for dhani09
0
218
Member Avatar for ferdinandmucos

I have a text file: $string = '1 The most important feature of spiral model is: requirement analysis. risk management. quality management. configuration management 2 The worst type of coupling is: Data coupling. control coupling. stamp coupling. content coupling 3 One of the fault base testing techniques is: unit testing. …

Web Development php regex
Member Avatar for ferdinandmucos
0
460
Member Avatar for rambleon

Hi, I have a web site that was originally only in English, I wanted to make the site multilingual so that there would be copies of each page in English, Arabic and Hebrew. To do this I created a duplicate site for development, after completing the basic structure with the …

Web Development php
Member Avatar for rambleon
0
267
Member Avatar for rjony321

Hello Masters, Please help me, How can i display only how many days leave when i mention last date.my system just display *like **5 Days To Go*** compare/subtract current date.I want use it codeignitor. Best Regards, Rjony :)

Web Development mysql php php-codeigniter
Member Avatar for rjony321
0
161
Member Avatar for newrat

****** good day im new to this forum and i hope you can help me, I'm new to javascript i need to achieve a few things. my goal is to put a running timer for each text box generated ive read tutorials online and tested some codes and so far …

Web Development javascript
Member Avatar for newrat
0
197
Member Avatar for ahudson

Hi guys, basically, I've been stuck on this problem FOREVER! *When I open the webpage, I get this error.* Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND) in C:\Program Files (x86)\EasyPHP-12.1\www\Creative Landscapes\functions.php on line 83 **Line 83:** `else if (isset($_POST['submit'] && empty($_POST['username']) or empty($_POST['password']){`

Web Development php
Member Avatar for pixelsoul
0
186
Member Avatar for fusionking

On a site I am helping develop, there seems to be a problem with code executing while not logged into Sharepoint 2010. When logged in as administrator, everything works fine on the site. Code executes as it should. However, when we visit the site without logging into SharePoint or as …

Web Development client-server sharepoint
Member Avatar for LastMitch
0
255
Member Avatar for turpentyne

Quick question. I want to make a variable from just a section(substring?) of an id in javascript / or jquery. I've got four possible id names: link_north, link_south, link_east, link_west. I want to pull just the direction from the link to use as a variable, with this: var header_change = …

Web Development javascript javascript-jquery
Member Avatar for LastMitch
0
116
Member Avatar for martjojo1

Hey all, i've a form with a textinput for links, but at submit, it won't send any links started with http. for example: <form acion="result.php" method="post"> <input type="text" name="link" /> <input type="submit" name="submit" value="submit" </form> <?php //---Result.php: echo $_POST['link']; // if links start with http:// it won't be there ?> …

Web Development first-post php
Member Avatar for pixelsoul
0
456
Member Avatar for Atlanta15Braves

I am trying to have my .js file have a function that will change the color of the text within the div tag named "ID=test". I have the function (below), but I think I am missing something. I have three buttons in my HTML (red, blue, and black) that should …

Web Development javascript
Member Avatar for EvolutionFallen
0
409
Member Avatar for GTTravis

Hi Guys, I know the asp.net file upload control only allows users to select one file at a time, however i am looking for another way using asp.net to allow the users to select multiple files? Has anyone done this before?

Web Development asp asp.net
Member Avatar for darkelflemurian
0
328
Member Avatar for MasterHacker110

I program in C++/C/C#/Java but recently started in web programming. I like javascript and i am wondering if one can use it to make desktop program like one would in c++ for creating e.g. console applications... Or is it only a language that can be used in inside a browser …

Web Development javascript web-browser
Member Avatar for IIM
0
137
Member Avatar for sigvewinter

Hi guys. So I have this code for uploading pictures for TinyMce. I can't figure out how I can manage random filenames on upload. I've tried to change "$filename" and adding time() and rand(), but it don't seem to change the filename. Any ideas? define ("MAX_SIZE","200000"); $errors=0; if(isset($_POST["submit"])) { $image …

Web Development image php
Member Avatar for broj1
0
1K
Member Avatar for OsaMasw

hey there I don't know if this mentioned earlier but I want to do this sql statment $sql1 = "SELECT product FROM products WHERE cat = 2"; $sql2 = "SELECT product FROM products WHERE cat = 3"; $sql3 = "SELECT product FROM products WHERE cat = 4"; I want these …

Web Development php
Member Avatar for diafol
0
121
Member Avatar for Violet_82

Hi there, on one of my pages I am working on [url]http://www.antobbo.webspace.virginmedia.com/photography/category_1.htm[/url] I have a script which works in firefox, opera but it doesn't in chrome and IE. Now, let me explain first what the script is supposed to do. On the above page if you click on the second …

Web Development javascript javascript-jquery
Member Avatar for 1@3RaJa
0
2K
Member Avatar for akkbkht

Hello. I have a user defined function in start of an Html page. I want to add textfields in the innerHtml. Please guide me what should I do. When I enter string in the innerHtml on line 10 and 11, It show "New" in the cells. BUt i am adding …

Web Development php
Member Avatar for akkbkht
0
190
Member Avatar for davy_yg

This code works online for login. I wonder it doesn't work offline for login. I am using windows 7 and apache server. I already enter the correct username and password. It shows nothing as if nothing happens. <?php ob_start(); include('../includes/koneksi.php'); /* the files */ // username and password sent from …

Web Development apache php
Member Avatar for TonyG_cyprus
0
244
Member Avatar for shakayu

How to separate admin and frontend part in php with codeigniter? I have 3 users.. How to give them the privelges to get access on their pages ?

Web Development php php-codeigniter
Member Avatar for shakayu
0
120
Member Avatar for davy_yg

How to install XAMPP on windows 7? I have downloaded several XAMPP installer and all of them have the same errors when I try to install them. Because an activated User Account Control (UAC) on your system some functions of XAMPP are possibly restricted. With UAC please avoid to install …

Web Development
Member Avatar for akkbkht
0
289
Member Avatar for charleskoliver

I want to know that how I prepare a website in wordpress from scratch without using any premade template. What files are required and how to upload them on server that browser start showing that website.

Web Development php wordpress
Member Avatar for akkbkht
0
148
Member Avatar for harbi.dayah

I'm new to php and dymanic web applications using PHP I'm tyring to read from table Id(primary key) to other form and save othe table as forign key. I appreciat for you help

Web Development mysql php
Member Avatar for harbi.dayah
0
1K
Member Avatar for sandi009

Hello Everyone I am using 2 different database servers to retrieve my data. Some of my query retrieve data from one database server and some from other database server. I had made connection successfully, But there is one problem. The problem is that when I am retrieving data it is …

Web Development php
Member Avatar for masterjiraya
0
166
Member Avatar for yy886

I am thinking to implement a forum like Private Message into my website for those who are a registered member. (<100 Member anyway) So Member A can send a message to Member B. Member B will have a notification popup within some seconds saying that he received a new message …

Web Development php
Member Avatar for masterjiraya
0
231
Member Avatar for rexmatthew

I've been having trouble with just the map area and the calendar piece of my website. But more focused on the map piece. The map does not want to load properly or won't load at all in the second tab of my jquery tabs. I need help, I think I …

Web Development seo
Member Avatar for rexmatthew
0
162
Member Avatar for shakayu

Hello guys Am still a newbie in php in codeigniter Hmm, am creating a website..for that when a user log in...the session has to be kept..while she is browising between several page in the website. how can i include this? Header or something? I have already do the login part.. …

Web Development php php-codeigniter session
Member Avatar for shakayu
0
168
Member Avatar for red-axe

hi, i am a web and app developer. i need some help in a javascript code which belongs to a wordpress plugin - wp-imageflow2. wp-imageflow2 is a image slider with lightbox features. The slider moves from left to right and then back to the 1st image (basically image1 to last …

Web Development javascript wordpress
Member Avatar for LastMitch
0
310
Member Avatar for brood_snow

A list of courses is displayed and user has to select 1, so I used radio buttons. The course list vary from one student to another. If I have more than 1 courses displayed and user selects one, everything is ok, but if I display 1 course, the test is …

Web Development javascript
Member Avatar for LastMitch
0
361
Member Avatar for irfath

I Have a problem about display an image and a descryption to a web page. as admin or some how i need to upload photos to my web site.(only to admin). so for that i need a help to do it (PHP CODE) please! im actually new to PHP.it would …

Web Development image php
Member Avatar for masterjiraya
0
280
Member Avatar for shimira

hi, am Gilbert i developed a desktop application in java and i craeted an autorun of the application. and i made a webbased application using php. how can i run the desktop application via php?

Web Development php
Member Avatar for masterjiraya
0
194
Member Avatar for sandi009

I am working with HTTP & RTSP Protocol. For live streaming video I am using RTSP Protocol. For RTSP live streaming my URL is something like this: rtsp://www.sitename.com:554/video/exp.mp4 But it's give me error "Cannot play video". Can any one suggest how RTSP will work & is there any other setting …

Web Development http-protocol php
Member Avatar for masterjiraya
0
553
Member Avatar for Kniggles

Hi all this should be an easy one, Trying to move an input from text box1 to text box2 and return back to page1. page 1 reads, <HTML><HEAD><TITLE>php scenario move text </TITLE><META content="text/html; charset=utf-8" http-equiv=Content-Type><META name=GENERATOR content="MSHTML 9.00.8112.16457"><STYLE type=text/css>BODY { FONT-FAMILY: verdana, arial, sans-serif }</STYLE></HEAD><BODY><P> </P><P><FORM method=post action=2.php> <TABLE border=1 …

Web Development html-css php
Member Avatar for masterjiraya
0
378
Member Avatar for aritanks

I'm working on building a forum in PHP and am trying to include a feature that would log a user out after a certain amount of time. It would also direct them back to the login page after the elapsed time. I've built the forum using separate php pages for …

Web Development php session
Member Avatar for lukas.vandendijssel
0
241
Member Avatar for zebusman

Hi Friends I have just started learning Java.I am getting a problem may be a small one but i coundn't able to figure it out.so here is my Servlet code iam trying to insert data into database after submitting form iam getting **java.lang.NumberFormatException: For input string: ""** I want to …

Web Development java java-jsp
Member Avatar for zebusman
0
378
Member Avatar for shijieru

Hi guys, I am implementing a website using jsp. And I am using <input type="file"> to read files from user. I want to use the same name attribute to get an array of fileproperty, but it doesn't work. Does anybody how can I do this correctly?

Web Development file-system
Member Avatar for IIM
0
212
Member Avatar for dhani09

This is my first PHP script, to add a user to my website but i keep getting these errors Cannot send session cache limiter - headers already sent Cannot modify header information - headers already sent mysql_num_rows expects parameter 1 to be resource boolean given I have a basic understanding …

Web Development php session
Member Avatar for diafol
0
278
Member Avatar for jinxmc

hi, how to write javascript code to validate first 2 textboxes that are generated from databses without "id" "name". eg:here everything comes from databse. name:<input type="text" id="{id}" name="{id}" class="textbox"/> "+" this feilds are generated with + button from database age:<input type="text" id="{id}" name="{id}" class="textbox"/> this does not have "+" here …

Web Development javascript
Member Avatar for IIM
0
482

The End.