52,566 Archived Topics
Remove Filter ![]() | |
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 … Web Development asp asp.net publishing visual-studio | |
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 | |
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 | |
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, … | |
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 ![]() | |
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' ); | |
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 | |
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 … Web Development caching javascript javascript-jquery | |
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 | |
how to import the sql file in an exist database connection.. Regards | |
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 … | |
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 … | |
$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 | |
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 | |
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 … | |
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. … | |
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 | |
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 | |
****** 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 | |
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 | |
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 ![]() | |
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 ![]() | |
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 | |
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 | |
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? | |
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 | |
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 … | |
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 ![]() | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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. | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 ![]() | |
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 ![]() | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
![]() | 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 … ![]() |
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 | |
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 … ![]() | |
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 |
The End.