3,436 Topics

Member Avatar for
Member Avatar for geezus

i went to college to be an engineer, came out 6 years later with a degree in discrete mathematics, & have since worked as a software developer in a corporate IT shop. i'm considering retooling once again, this time towards something like what i suppose people mean by industrial engineering. …

Member Avatar for sukda
0
217
Member Avatar for fuggles

I'm setting up my server to host 2 domains. In the VirtualHosts section I have it set up as they do on the Apache website. But line 280 or so asks for a DocumentRoot, well I have 2, what should I do here?

Member Avatar for rch1231
0
117
Member Avatar for sci-kode

Hello all! I just wonder if it's posible to rewrite index.php, index.php?variable=some and the root to same rewrite in htaccess. If so how? Here's an example that don't work, but maybe you get the idea. [CODE]RewriteEngine On RewriteCond %{HTTP_HOST} !^myexample.com$ RewriteRule (.*) http://myexample.com/$1 [R=301,L] RewriteRule ^another-variable-in-url$ /index.php [L] RewriteRule ^another-variable-in-url$ …

0
82
Member Avatar for khess

It was exactly one year ago today that I published my original "[URL="http://www.daniweb.com/news/story219749.html"]The 10 Best Linux Distributions[/URL]" and it's time to put forth a new list for this year's best. Without looking at the old list, I've decided to compile this one from scratch. This 2009 list takes several factors …

Member Avatar for sameer5151
1
4K
Member Avatar for khess

Today, June 22, 2010, The [URL="http://www.openinventionnetwork.com"]Open Invention Network[/URL] (OIN) [URL="http://www.openinventionnetwork.com/press_release06_22_10.php"]announced[/URL] that [URL="http://www.canonical.com"]Canonical[/URL], the company that owns and produces the [URL="http://www.ubuntu.com"]Ubuntu[/URL] Linux distribution, joins its ranks as the first Associate Member. Florian Mueller, founder and former director of the NoSoftwarePatents campaign and the founder of the [URL="http://fosspatents.blogspot.com"]FOSS Patents Blog[/URL] had this …

Member Avatar for finito
0
2K
Member Avatar for hondros

Okay, so I'm sitting here bashing my head against the desk. I've been googling this for what seems the past hour. I cannot find any relative good links for making Python work with WAMP server. Yes, I understand how CGI scripts work. Unfortunately, I have no idea how to configure …

Member Avatar for satishvis
0
576
Member Avatar for cwarn23

Hi all, I have ubuntu and just installed sqlite then edit the php.ini file accordingly but for some reason the class named ¨SQLiteDatabase()¨ reports as undefined. The error is as follows: [CODE]Fatal error: Uncaught exception 'SQLiteException' with message 'SQLiteDatabase::__construct() [<a href='sqlitedatabase.--construct'>sqlitedatabase.--construct</a>]: unable to open database: /var/www/vhosts/cwarn23/base' in /var/www/vhosts/cwarn23/php.php:3 Stack trace: …

Member Avatar for cwarn23
0
517
Member Avatar for valuba

hello all, i just joined this forum. i actually joined because i am having a serious problem with my program which i believe u can help me solve. i am designing a web based application that authenticates user login using MySql as database, java as programming language and NetBeans 6.5 …

Member Avatar for ashalatha6
-1
125
Member Avatar for rara_diamond

hi i want to publish an asp.net website via oracle database .i install iis on windows serever that run the oracle server and move the publish folder website on it . but i can't open website in browser please guide me i think that port number of apache web server …

0
57
Member Avatar for smi ensi

hi! I have prbleme is that how can apache recieve email and how I can add session it mean that the person can not add or delete or do any evenement before he login . [CODE] <?PHP session_start(); include("connexion.php"); if (isset($_POST['login'])and isset($_POST['password'])) { extract($_POST); if (empty($login) or empty($password)) { echo …

Member Avatar for smi ensi
0
124
Member Avatar for SoulMazer

Ugh, this is quite frustrating. I am writing a series of CGI scripts with Python that all work perfectly until I add in a stylesheet reference. Interestingly, if I put the styling rules inside the CGI script, it runs perfectly; it only throws an error when it is in an …

0
123
Member Avatar for MarkBloomfield

I am using php mail to send a confirmation email from a web page. It all works absolutely fine until the email address is in the format [email]xxx.yyy@zzz.com[/email] That is to say there is a . in the local part of the address. I have tested the code and had …

0
88
Member Avatar for newbeejava

Hi, I want to do Chi-square test, to find the weather two distribution are same or not. I want to use some statistical function to do that. i found common math library to that test. But I don't know how to use that library. Math - Commons-Math: The Apache Commons …

Member Avatar for NormR1
0
94
Member Avatar for vibhaJ

I have uploaded all my files on the Apache/2.2.3 (Red Hat) live server. There is htaccess file on the root of website for converting php to html. But it is not working and getting "Internal Server Error". If i blank that htaccess code then it works. I don't know what …

Member Avatar for pritaeas
0
206
Member Avatar for choris

hi, i would like to know more about this "apache with mail function"? we've just started using this xampp, and i wanna make a web mail too. so can anyone help me how using apache? thanks.

Member Avatar for nileshgr
-1
40
Member Avatar for samarudge

Hi, I want to get the user and group that APACHE is running in through PHP. Like APACHE normally has the user 'apache' and group 'apache' but it can sometimes be 'httpd' for both or it may have been changed by the server admin. How do I find out the …

Member Avatar for SikoSoft
0
191
Member Avatar for ceyesuma

Hello: listed below is the order for the creation of tables and execution of ALTER TABLE resources in an Apache Derby Embedded db; Note the error at: alterInstructor. I create the instructor table then the booking table. The instructor table has book_num FK. After the booking table is created I …

Member Avatar for tesuji
0
263
Member Avatar for Lapixx

Hi, I'm using a simple .htaccess file to use a custom 404 error page: ErrorDocument 404 /errors/404.php Inside this 'errors' folder, there is the 404.php file, and an image, which I want to include in the 404 page. Anyway, when I request a non-existing page from the root folder, everything …

Member Avatar for bigtalk
0
262
Member Avatar for knkk

I have 2 sites, example.co.in and example.com, hosted on 2 different servers (I have all access details for both). When someone accesses example.co.in/a/b.php?c=d, I want it to show the HTML of example.com/a/b.php?c=d This site has to be search-engine-friendly, so I do not want to use an iframe, or even AJAX, …

Member Avatar for knkk
0
106
Member Avatar for fankoff

Hi guys, I`m new to web-developing. Curruntly I`m battling with JSP and Databases. I `m using Eclipse as developing environment and I started receiving following error, which doesn`t tell me anythnig: HTTP Status 500 - type Exception report description The server encountered an internal error () that prevented it from …

Member Avatar for stephen84s
0
174
Member Avatar for prem2

Hi Daniweb team, I am developing the sample servlet program.This is my sample program. Servlet Code: [code] package org; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class HelloWorld extends HttpServlet{ public void doGet(HttpServletRequest req,HttpServletResponse rsp)throws ServletException,IOException{ PrintWriter out=rsp.getWriter(); String type=req.getParameter("type"); if(type==null){ out.print("success"); } else{ out.println("Not a Null value"); } } …

Member Avatar for stephen84s
0
99
Member Avatar for therest

Hi! I try to write my thumbnail creator script, no trouble with image load, resize cut, watermark, etc, but memory handling! File is submitted by simple file form. [CODE]function makeLog($logthis) // this is only for tracking mem usage { $handler=fopen("log.txt","a"); fwrite($handler,$logthis . " \r\n"); fclose($handler); } function handleImgUpload() { $fTName=$_FILES["Filedata"]["tmp_name"]; …

Member Avatar for therest
0
229
Member Avatar for Dani

I'm going through the list of forums we have and giving them an overhaul. Technologies change, trends change, what was popular 5 years ago might not be so today. So far, I've revamped Windows, Mac, Linux, Hardware and Networking. Biggest changes to make note of => The Linux Servers and …

0
93
Member Avatar for oldSoftDev

Hi Guys does anyone here ever used apache Ivy. I need help here, I am a newbie in Ivy and trying to set up local repository and apache website is not useful at all.

Member Avatar for iceandrews
0
91
Member Avatar for sreekanthvasire

Hi all, I am having trouble with including a jsp page with <jsp:include> tag. This is what is happening. I making changes to a portlet application running on Websphere 7 server. This is the hierarchy of the jsp pages. blankPage.jsp -->bookingViewTabs.jsp --> availableRooms.jsp meaning blankPage is included in bookingViewTabs which …

0
49
Member Avatar for SoN9ne

I have no issues with setting up the mod_rewrite and having it create the clean URLs. My question is for more experienced htaccess users and I am wondering if there is a simple solution to my dilemma. My URLs without the cleanup look like: index.php?ctrl=portal&mode=main or index.php?ctrl=portal&mode=edit&id=2 I want my …

Member Avatar for djcodesa
0
239
Member Avatar for /\/\ongoose

Hello Everyone, First off I just joined the forum! I've been looking for a good web developer community to join, hopefully I have found it! Anyways, to get to the point, I am building an application for my client's website (which I also built) which will consist of a user …

Member Avatar for SerjSagan
0
98
Member Avatar for therest

Hi! I try to write my thumbnail creator script, no trouble with image load, resize cut, watermark, etc, but memory handling! Simple upload form used to submit file. [CODE]function makeLog($logthis) // this is only for tracking mem usage { $handler=fopen("log.txt","a"); fwrite($handler,$logthis . " \r\n"); fclose($handler); } function handleImgUpload() { $fTName=$_FILES["Filedata"]["tmp_name"]; …

0
61
Member Avatar for manmeet khanuja

Hi all, I am trying to create a website project having multiple pages showing data from database. I am using Netbeans IDE 6.7 and Apache Tomcat Server and Microsoft SQL Server 2005. I was developing this site using JSP,Servlets,JavaBeans to fetch data using MVC Architecture but since i needed some …

0
47
Member Avatar for victorxstc

Hi guys and sorry for poor English I'm about to implement a program in C++ that according to the algorithm, will parse a text file and do further processes on it. I have previous implementations that could read ASCII characters from a plain text file. I need to extend it …

0
52
Member Avatar for ceyesuma

Hello: Soon I will need to have my foriegn keys working. I have tried to set them up with no luck. Could someone show me how to set the payee_uid below? I am using an Apache Derby Embbeded Db 10.5.3. Thanks [code] stu_uid VARCHAR(11) PRIMARY KEY, stu_password VARCHAR(11), stu_lname VARCHAR(20), …

Member Avatar for ceyesuma
0
1K
Member Avatar for ceyesuma

Hello: Soon I will need to have my foriegn keys working. I have tried to set them up with no luck. Could someone show me how to set the payee_uid below? I am using an Apache Derby Embbeded Db 10.5.3. Thanks [code] <entry key="createStudentTable"> CREATE TABLE student ( stu_uid VARCHAR(11) …

Member Avatar for ceyesuma
0
93
Member Avatar for ceyesuma

I can't seem to find the correct way to add an alias in a select statement. Is there a way to do this using an embedded Apache derby database? The usual way will not work. ex: [icode] SELECT uid AS User,fName AS First,lName AS Last FROM table[/icode]

Member Avatar for ceyesuma
0
718
Member Avatar for jaydeebee84

I'm really really new to this, and have worked a lot of things out myself, but basically I have quite a few rules, all of which work, but now I'm getting into deeper stuff with more variables and my lack of knowledge is starting to show through this! First quick …

Member Avatar for nileshgr
0
142
Member Avatar for jralexander137

I'm having an issue in figuring out how to connect to the website in question. This is just a copy of the original site that is being hosted on a VM on one of our servers. This is merely a development server to test the changes to the website. It's …

Member Avatar for rch1231
0
197
Member Avatar for IsaB

Hi, I am new at this... I am trying to display data from a text file to a JSP file and I'm using BufferedReader to do this but having problems getting to the file. Which directory should I put the text file? Should I add anything to web.xml to reference …

Member Avatar for parry_kulk
0
565
Member Avatar for omol

Hi everyone, I am having a bit of an issue with multiple outbound connections. I have set up 2 open vpn servers on the same IP address. Server 1: Port 500 dev tap0 ip 10.8.2.1 Server 2: Port 501 dev tap0 ip 10.8.3.1 On the client side I have. Client …

Member Avatar for omol
0
151
Member Avatar for manishanibhwani

hiii, i want to ask .. why do we basically use servers.. wat is the basic requirement for making of servers and wat r the mainly used servers and their advantage.... sry if my question is tooo easy but i m unable to get a satisfactory answer for this questio.. …

Member Avatar for servertoday
0
91
Member Avatar for Froger93

Hello all, I am having trouble as I am on a shared server where obviously someone has been abusing the SMTP server as Hotmail has blacklisted it, I have contacted my host and they are working with microsoft to resolve the issue BUT in the mean time my customers are …

Member Avatar for servertoday
0
99
Member Avatar for manmeet khanuja

Hi all, I am a new developer in J2EE Field working on a web project. My Requirement is to fetch records from database and display on webpages depends on the scenario. The Server i am using is Apache Tomcat 5.5 and Database as SQL Server 2005 and IDE as Netbeans …

Member Avatar for peter_budo
0
118
Member Avatar for cthoes

i am using mac os x 10.5 with apache php and mysql. i tried below program but end up with following message.. Upload: insurance1.jpg Type: image/jpeg Size: 845.189453125 Kb Temp file: /private/var/tmp/php0Vueol Warning: move_uploaded_file(uploads/insurance1.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /Library/WebServer/Documents/php/upload_file.php on line 25 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable …

Member Avatar for cthoes
0
2K
Member Avatar for slyme

I want to send an email and I am using the code below. It always works on my test server and my production server which are both IIS on Windows. It sometimes works the client's server. Once or twice in ten it sends. The client's server is running Apache on …

Member Avatar for slyme
0
158
Member Avatar for ep2002

Ok, here are the issues I'm having & yes I run a lot of anti programs including Advanced System Care which some say they love & a few people say caused problems. Honestly I can't remember when the problems started, at least 4-6 months ago & it may have started …

Member Avatar for jholland1964
0
1K
Member Avatar for RaulGonzales

How i can Rewrite URL JSP in Apache tomcat same MOD Rewrite in PHP [U][B]EX.[/B][/U] [CODE]test.jsp?id=1 as test/1[/CODE] Thank You.

Member Avatar for RaulGonzales
0
113
Member Avatar for nihao

Hello all: I find that the tag "<error-page>" could not be executed in my struts project. It could not be forwarded to the "error.jsp" when I try to access a not exist page or a wrong url.Why? The web.xml is like this: [code] <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="[URL="http://java.sun.com/xml/ns/j2ee"]http://java.sun.com/xml/ns/j2ee[/URL]" xmlns:xsi="[URL="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/URL]" xsi:schemaLocation="[URL="http://java.sun.com/xml/ns/j2ee"]http://java.sun.com/xml/ns/j2ee[/URL] …

Member Avatar for lawrence_o
0
182
Member Avatar for khess

To you, my loyal readers, I must offer up a sincere apology for my recent post, [URL="http://www.daniweb.com/news/story254705.html"]Five *nix Myths Busted[/URL], and am posting this full retraction for that post. To fully drive home my retraction and refute any myths about my competence with Linux or Unix, I am going to …

Member Avatar for jonkx
0
1K
Member Avatar for potatoe

Hello there, As described in my thread's title.. Here's the situation: On this CRM I am currently developing to migrate a desktop CRM. I have planned to separate the database for my core and still use the current desktop CRM database to prevent any more file size increase the CRM …

Member Avatar for james.newell
0
84
Member Avatar for Hanshi1971

Hello all, I have a laptop running XP Pro. Also using web software called Front Accounting to handle my paperwork for small business. I installed by myself all the necessary software and have some experience using Apache / PHP / Mysql. Brief description of problem: I installed all the components …

Member Avatar for Hanshi1971
0
274
Member Avatar for ceyesuma

Hello I am using : [icode] conn = ddf.getConnection(); setConn(conn); ps = (PreparedStatement) conn.prepareStatement( ModelUtils.getXMLResource("selectAdmin"),ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); ps.setString(1, thisUser); rs = ps.executeQuery(); [/icode] and [icode] public int getRowCount() { try { rs.last(); return rs.getRow(); } catch (SQLException ex) { Logger.getLogger(AdminPanel.class.getName()).log(Level.SEVERE, null, ex); ex.printStackTrace(); return 0; } } [/icode] and it is …

Member Avatar for ceyesuma
0
262
Member Avatar for RobotFX

So, I have 2-3 php scripts that I run as crons calling them using wget: [I]/usr/bin/wget -o /dev/null [url]http://example.com/cronrss.php[/url][/I] These files (cronrss.php) are getting copied in the example.com directory every time the cron runs, every new file having a new number (/home/example/cronrss.php1, ...cronrss.php2 etc) So, what could be the reason …

Member Avatar for RobotFX
0
165

The End.