3,436 Topics

Member Avatar for
Member Avatar for gymangel812

I'm trying to use php to validate my form. I would like to validate a product_name box for being not empty, a price box for being numeric and having a decimal, and a quantity box for being an integer. Right now I'm getting an error: Parse error: syntax error, unexpected …

Member Avatar for xylude
0
108
Member Avatar for aarontb

I have created a basic html form on my web server, and when submit the form i get the following message for apache: Not Found The requested URL /handle_form.php method= was not found on this server. handle_form.php is there, so it should be handling the form. heres my codes for …

Member Avatar for neilnicky017
0
155
Member Avatar for itz.aayushi

I have an application written in JSP running in Apache Tomcat Server and back end is MySQL and m having problem in my code tried many things like creating a .bat file but dint got a code to run .bat file from jsp page. Also the following code i tried …

Member Avatar for itz.aayushi
0
935
Member Avatar for johndoe444

I see that there is only source that can be downloaded. As I don't have the root privilege, I can't compile and install apache. What alternative is there that would not require compiling and installing apache?

Member Avatar for JRM
0
72
Member Avatar for talullah

I am a graphic designer and I just put a website online for a client. Please be aware I’m a novice in coding so I might have done something wrong and am asking for advise. Check on [url]http://nancyweisser.com[/url] Everything looks fine in firefox but in IE6 movement between pages gives …

0
82
Member Avatar for f.damati

I am developing a web page which retrieve data from a seperate mysql server on the same network musql_connect('192.16.1.2:3306', 'root', '123'); but ana error shows Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '192.16.1.2' (13) in /var/www/html/index.php on line 3 the 2 servers are on 2 different virtual network …

Member Avatar for f.damati
0
199
Member Avatar for Stefano Mtangoo

I want to use JDBC with apache's pooling library. I can't find easy tutorial/example to follow. Please help me get it up and running. I have it downloaded and I watch at it puzzled :)

Member Avatar for Stefano Mtangoo
0
93
Member Avatar for paycity

Hello daniweb members, How can I use gtkmm with MinGW (g++) without MSYS? Here is the story of my problem: I installed MinGW offline with all required packages (full install). I installed Apache Server and I copied all .tar.gz files and I created a website called sourceforge.org [localhost] and I …

Member Avatar for paycity
0
481
Member Avatar for RobotFX

So, I have Wordpress and Buddypress the latest installed and also other plugins and, on the same server, an osdate script. The osdate can upload files of any kind, with no problem. both have no restriction in the htaccess file, they use the same php.ini etc. However, every time I …

0
89
Member Avatar for prem2

Hi all, I have downloaded the apache-tomcat-6.0.26-src and unzip into my directory. Directory:/home/prem/Download/tomcat/apache-tomcat-6.0.26-src. I am using Red hat machine. To find where my java installed i use the following command: which java; Output: /usr/bin/java Environment Variables: export JAVA_HOME=usr/bin/java export CATALINA_HOME=/home/prem/Download/tomacat/apache-tomcat-6.0.26-src When i run the version.sh file in tomcat i received …

Member Avatar for peter_budo
0
154
Member Avatar for ceyesuma

I am having a proplem checking the stu_uid for a specified stu_password. I am not really sure what error is. When I build the db for the first time and login as a student it says that unknown user name but it is all in the table and passed to …

Member Avatar for ~s.o.s~
0
159
Member Avatar for f.damati

I am developing a web page which retrieve data from a seperate mysql server on the same network musql_connect('192.16.1.2:3306', 'root', '123'); but ana error shows Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '192.16.1.2' (13) in /var/www/html/index.php on line 3 the 2 servers are on 2 different virtual network …

Member Avatar for f.damati
0
163
Member Avatar for techie81

Am using a JSP code to upload multiple files. It is running properly in Developement system, but in the production system it is giving error : HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. …

Member Avatar for parry_kulk
0
272
Member Avatar for benkyma

Hi, I'm struggling with mod_rewrite. I need it to rewrite: [url]http://www.domain.com/C/V[/url] to: [url]http://www.domain.com/?category=C&video=V[/url] So far I have these two rules: [CODE]RewriteRule ^([^/\.]+)/?$ /index.html?category=$1 [L] RewriteRule ^([^/\.]+)/([^/\.]+)/?$ /index.html?category=$1&video=$2 [L][/CODE] but it doesn't seem to work. I'm not receiving any parameters through in my js on the other side. It also behaves …

0
99
Member Avatar for hireaprogrammer

Hello, Just need quick help in PHP + SQL SERVER 2005 DB CONNECTION ...i having problem while connection SQL SERVER 2005 WITH PHP APPLICATION WHICH WORKING PERFECTLY IN LOCALHOST AT MY PC BUT IT NOW NOT WORKING ON THE SERVER SO DON'T KNOW WHATS WRONG ? I THINK ANY SERVER …

0
86
Member Avatar for ceyesuma

Hello I am learning how to use setString() for "?" and using passwords in resultsets. my password ends up with the error [icode]java.sql.SQLException: Invalid cursor state - no current row.[/icode] Can this error be corrected? thanks. [code] run: driver tableName from xml: org.apache.derby.jdbc.EmbeddedDriver in StudentDAO.JAVA and in connect of the …

Member Avatar for ceyesuma
1
1K
Member Avatar for ceyesuma

Hello if I create newUser which is new StudentBean() why is StudentBean studentBean not equal newUser? [b] output [/b] [code] run: driver tableName from xml: org.apache.derby.jdbc.EmbeddedDriver in bCreatedTables: created table: createAdminTable created table: createPayeeTable created table: createStudentTable created table: createInstructorTable created table: createBookingTable created table: createInstrAvailableTable created table: createInstrumentTable created …

Member Avatar for stultuske
0
184
Member Avatar for ceyesuma

Hello I am recieving error [icode]java.sql.SQLException: At least one parameter to the current statement is uninitialized.[/icode] at ConnectStudentDAO.java at [icode]ResultSet rs=ps.executeQuery();[/icode] Not sure if the xml statment or the bean variables or if ps.close() is needed [b] output [/b] [code] run: driver tableName from xml: org.apache.derby.jdbc.EmbeddedDriver in bCreatedTables: created table: …

Member Avatar for ceyesuma
0
668
Member Avatar for fuggles

My Linux machine is running Fedora 10, Apache 2, PHP 5, MySQL, and VSFTPD. I don't want the public to have access to my FTP files. All I want is to be able to securely connect my Windows machine using Aptana Studio and be able to easily transfer my web …

Member Avatar for freshfitz
0
112
Member Avatar for ceyesuma

Hello Is there a way to get data from the db with ConnectStudentDAO and populate the StudentBean.java and then copy the bean over to the model (Student.java) Is this how it is done. I'm not sure how to work out the Cast error. Thanks [b]LoginInfoBean.java[/b] [code] public String loginAction(String newUser, …

Member Avatar for ceyesuma
0
127
Member Avatar for kavyarao

Hi all, here's what i need to do.. A user registration form has a resume upload requirement.. Whenever the user clicks browse and selects a file, on out of focus, the upload action (an ajax call to the apache common file upload servlet) should upload and the user then enters …

0
66
Member Avatar for johndoe444

I logged into a computer which is not mine. I know there is apache installed because when I type whereis apache it shows /etc/apache it has only a few files. I need to know where the htdocs directory is and also where http.conf file is. How do I accomplish this? …

Member Avatar for griswolf
0
266
Member Avatar for ceyesuma

Hello Could someone tell me if this code is even close to code for a login using a DAO and an embeded db? if not there is a proceedure losted below that I really don't understand the '?' and how to use the uid to query the db [b]specific question[/b] …

Member Avatar for ceyesuma
0
381
Member Avatar for pradeepktg

Hi, I have developed application in jsp and apache tomcat. How to achieve extension less url? For eg, if have [url]http://www.xxx.com/yyy.jsp[/url] as [url]http://www.xxx.com/[/url] and [url]http://www.xxx.com/user/yyy.jsp[/url] as [url]http://www.xxx.com/user/[/url]

0
59
Member Avatar for andydeans

Hi, I was wondering if some of you guys could give me some advice. I have a normally setup websites for clients on a reseller account from a hosting company. However I was looking at setting up my own PHP/MYSQL server in a new office. We are looking at business …

Member Avatar for HITMANOF44th
0
109
Member Avatar for axn

cant get this to display on webpage. Apache is setup correctly. Getting error "[COLOR="Green"]malformed header from script. Bad header=04/19/2010: date.pl[/COLOR]" where am i going wrong? [CODE]#!/usr/bin/perl use strict; use warnings; use POSIX qw(strftime); my $cur_time = strftime "%a %b %e %H:%M:%S %Y", localtime; print "$cur_time\n"; open PS, "/bin/netstat -nra 2>&1|" …

Member Avatar for scrappedcola
0
152
Member Avatar for khess

The topic of certification surfaces every so often in technical circles--especially when job seekers face tough job competition. The value of such certifications comes into question versus that of years of experience. For experienced technicians and engineers, the opinion is that experience is the most important for landing a job. …

Member Avatar for joetraff
0
537
Member Avatar for mwojtanowski

Hello, My copy of Microsoft Word 2007 doesn't Work. When I start it up, the process takes up about 4200k of RAM for 2 secs, then it cancels, no GUI appears. I did a Process Monitor scan, and it appears that a registry key is the culprit. specifically "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-21-2116093324-2522989915-1662506377-1008\Components" However …

Member Avatar for Nohemi
0
522
Member Avatar for spotlight87

hi guys >> i need ur help please >>> i ve created a login page which includes user name and password and i created a welcome page which contains the required codes for connection and verifying the username and password from oracle database .. when i run the login page …

Member Avatar for spotlight87
0
310
Member Avatar for Struggler

Hi I am new to log4j.xml which is used to log the informations. Currently, I am giving the absolute path for each log file in param tag value. eg : appender name="FA" class="org.apache.log4j.DailyRollingFileAppender"> param name="DatePattern" value="'_'yyyyMMdd"/> [COLOR="Red"][B]param name="File" value="D:/logFiles/GPreprocessor.log[/B][/COLOR]"/> layout class="com.dnb.genericpreprocessor.common.log.AppXMLLayout"/> /appender> I do not want to give "GPreprocessor.log" directly.Actually …

0
24
Member Avatar for khess

Earlier this evening, I had a conversation with a friend and colleague in the IT business. He runs his own independent computer consulting firm and we were trading war stories about customers, hardware vendors and work sharing. Work sharing, also known as "farming out" work that you can't do yourself …

Member Avatar for BestJewSinceJC
1
510
Member Avatar for capoon

Good day everyone,I want to publish a website as regard to testing because this is my first attempt. My database is mysql server located at C:\Program Files\mysql , my php at C:\php and and my apache at C:\Program Files\tomcat. please how do i gather all this into one folder so …

Member Avatar for rajarajan2017
0
98
Member Avatar for filch

Hi, I am having a hard time with a site after having to move servers because of a drive failure on the old one. I have one site that is MySQL driven, for membership, access levels etc. When I try to log in, the server hangs and never does connect. …

0
69
Member Avatar for voolvif

Hi, I'm trying to count the number of unique IP addresses present in an apache log file. I am using a text file to store the unique IP addresses as this needs to scale to large numbers of IP addresses (upwards of 100 million) so using a dictionary or any …

Member Avatar for TrustyTony
0
2K
Member Avatar for ceyesuma

Hello. Is there someone who might be able to show me how to adjust a insert for a prepared statement sent to a derby embedded db? [code] run: driver name from xml: org.apache.derby.jdbc.EmbeddedDriver in bCreatedTables: created table: createAdminTable created table: createPayeeTable created table: createStudentTable created table: createInstructorTable created table: createBookingTable …

Member Avatar for ceyesuma
0
302
Member Avatar for kripajayaraj

Hello der... can sumone please help me? i want to upload a file n form field data from a form. but since i am using multipart/form-data i am unable to get data field values.... i got codes using org.apache.commons.fileupload package... even though i downloaded n placed d respective jar in …

0
29
Member Avatar for FreddieBambino

Ok, I have been searching everywhere for solutions for charset problems I have. I have php website and backend Mysql database. In some fields I need to put in letters from the Greek alphabet. If I use a form to send info to the database and type in Greek letters, …

Member Avatar for colweb
0
267
Member Avatar for Roegadyn

Hello everyone, I have work to do on a basic assignment that requires an ATM type of program working over XMLRPC so there is a server element where the data is held in a Hashtable and retrieved by a client form. I will state I am completely lost in the …

Member Avatar for Roegadyn
0
149
Member Avatar for gymangel812

I'm getting this error and I can't figure out why: "Parse error: syntax error, unexpected $end in C:\Program Files\IndigoPerl\apache\htdocs\process_menu2.php on line 160" thanks :) [code]<?php echo '<html> <head> <title>Uploading...</title> </head> <body> <h3>Uploading file...</h3>'; // Set up the database connection. require_once ('mysqli_connect.php'); //if name selected from drop down box if (isset($_POST['product_name'])) …

Member Avatar for rajarajan2017
0
170
Member Avatar for gjames

I have two questions that are Eclipse and Mac OS X specific. Question 1: Referring to eclipse preferences > java > Installed JRE's > Execution Environment: Can someone explain the [ execution environment's ] and compatible [ JRE's ]? I'm interpretting this as the execution environment being the JVM eclipse …

Member Avatar for gjames
0
159
Member Avatar for ceyesuma

Hello Can someone get me started in the effert to fix this SQL statement to be excepted to create a table in a derby embeded db? [code] public boolean createTables(Connection conn) throws FileNotFoundException, IOException { System.out.println("in createTables:"); boolean createdTables = false; Statement stmt=null; try { String thisTable=ModelUtils.getXMLResource("createAdminTable"); System.out.println("thisTable sql String: …

Member Avatar for ceyesuma
0
338
Member Avatar for thiyagu_mca2006

Hi All, Im Thiyagu, a junior software developer(Java/J2ee). I have assigned to access Webservice (sending request and receiving response from a WSDL). can any tell me the steps involved to convert Java code from a WSDL file using Axis(with ant build script). please very urgent. Note : I already tried …

Member Avatar for MudassarNazar
0
639
Member Avatar for ceyesuma

Hello Could someone tell me what derby requiers to make this conn? [code] public boolean createDatabase() throws FileNotFoundException, IOException { boolean createdDb = false; Connection conn = null; String dbURL = getDbURL(); String user = ModelUtils.getXMLResource("user"); String password = ModelUtils.getXMLResource("password"); System.out.println("in CreateDatabase:try:dbURL FROM XML properties: " + dbURL); System.out.println("in CreateDatabase:try:dbURL …

Member Avatar for ceyesuma
0
125
Member Avatar for helpmepassclass

I'm doing a web application for one of my projects in my computer class. I have been using Apache 6.0 as my server and SQL for my database. I'm am having trouble with getting my create form which is in the view form to save with is controlled by my …

Member Avatar for ddempsey96
0
225
Member Avatar for harshareddy75

Hi guys, Do you know of any C++ libraries can can generate SOAP messages using the WSDL. I am writing a C++ client application and am looking for such a library. I however cannot use gSoap and wsdlpull. SOAP Client library (SQLData Systems) looks like another library which could help …

0
32
Member Avatar for albertkao

I want to call a C++ program from PHP with apache server on Fedora 12 linux. testprog is put in the same directory of the test php program. I see the output of exec('ls -lrt') but not exec("testprog"). Please help. The following are my php and cpp test programs. [CODE]<html> …

Member Avatar for mutirelover
0
2K
Member Avatar for ceyesuma

Hello I am trying to use the loadFromXML() load a properties file and I don't understand the example because it is not reconizing the dtd. Is the example I am using wrong? [code] public static void main(String[] args) throws IOException, FileNotFoundException, PropertyVetoException, ProfileException, LoginException { LoadXMLProperties lp =new LoadXMLProperties(); [B]lp.loadXML("ModelResources_1.properties");[/B] …

0
59
Member Avatar for niths

[QUOTE]hi all, i had a upload page and a down load page. so when we upload a file that wil get displayed in a table and a download link wil be beside that file. everything is fine wit upload but wen i click on download link i am getting an …

Member Avatar for colweb
0
145
Member Avatar for aman_preetji

sir , i have created a jsp page . inbetween which i write javascript code . code is acessing xml file(i attached also the xml file and i placed that file in apache .i m entering the path of xml in text bob of jsp page) using ajax and parsing …

0
52
Member Avatar for khess

Just when you thought it couldn't get any worse in the world of software patents, a reliable source sent me this response from Steve Jobs about a patent pool that's forming and aiming to nail the open source codecs projects. It's enough to make the weak at heart go weak …

Member Avatar for Chromatix
0
710

The End.