3,436 Topics

Member Avatar for
Member Avatar for sDJh

Hello folks, I just updated my homeserver to PHP 5.3.1 and I get now the following error when executing my scripts: [CODE]Cannot use string offset as an array[/CODE] The variable looks like: $bes[$a[3]][$a[4]][$a[6]], where $bes is a three-dimensional array that holds all information I need during runtime. The $a's can …

Member Avatar for ShawnCplus
0
174
Member Avatar for desiguru

I have this line added to my .htaccess which is suppose to make all .png files cacheable until end of the month. [CODE] <FilesMatch "\.(ico|flv|jpe?g|png|gif|js|css|swf)$"> ExpiresActive On ExpiresDefault "access plus 1 month" </FilesMatch> [/CODE] But when I run Google PageSpeed it still says that those images are not cacheable. What …

0
136
Member Avatar for forzadraco

i have a problem: i want redirect everything page in url: ex: [url]http://dracotech.biz[/url] to [url]http://www.dracotech.biz[/url] . want to add www. in everything request from user.. maybe with mode rewrite in apache but i didn't find way how to do it..

Member Avatar for rsleventhal
0
174
Member Avatar for heels

Hi, I am currently using xampp with all the preloaded add ons, such as tomcat, mysql and apache. When i try to connect to the database through my computer with windows xp, it works perfectly fine. But when i changed it to another OS, windows vista. It keeps giving me …

Member Avatar for peter_budo
0
98
Member Avatar for sushant.bose

hi, I am facing a similar problem. what if this 403 forbidden is inconsistent?

Member Avatar for sushant.bose
0
35
Member Avatar for komyg

Hi, I've created a Web Service application inside Jboss 4.2.2-GA and I want to set up the jboss log4j configuration so that my Web Service logs inside a custom log file (not inside the server.xml). To do this I've altered the jboss-log4j.xml file to create another appender. This file is …

Member Avatar for komyg
0
205
Member Avatar for manolisvl46

Hallo there i wan to make my ldap connect with the client pc's over ssl (like this one) [URL="http://www.openldap.org/pub/ksoper/OpenLDAP_TLS.html#4.0"]http://www.openldap.org/pub/ksoper/OpenLDAP_TLS.html#4.0[/URL] or this one [URL="http://www.madboa.com/geek/openssl/#cert-self"]http://www.madboa.com/geek/openssl/#cert-self[/URL] i have already made a self signed key and all the steps i found through the internet... but when i try to do one of the last …

Member Avatar for manolisvl46
0
182
Member Avatar for ennovy13

Hi! This is my first post here. I have this problem, IE7 opens automatically showing ads and sites saying "You've won...". I also have other web browsers- mozilla, safari and google chrome. I tried to open IE7. It opens then closes right away. Then I can't open mozilla. Nothing happens …

Member Avatar for crunchie
0
132
Member Avatar for khess

A few hours ago, I posted "[URL="http://www.daniweb.com/news/story263673.html"]Is Microsoft the New SCO?[/URL]" but now I realize, after a little research, that [URL="http://www.amazon.com"]Amazon[/URL] and [URL="http://www.microsoft.com"]Microsoft[/URL] are in this patent agreement for one reason: so that Amazon can abandon Linux on its Kindle in favor of Windows 7. Crazy? Nope. It makes perfect …

Member Avatar for khess
0
1K
Member Avatar for Jerreke

I'm trying to populate the items of a foreach-element in a JSP page. [code]<c:forEach var="request" items="${manageSchedulesBean.userController.getRequestsBySchedule[schedule.scheduleId]}">[/code] Gives me: org.apache.jasper.el.JspPropertyNotFoundException: /secure/manageSchedules.jsp(40,36) '${manageSchedulesBean.userController.getRequestsBySchedule[schedule.scheduleId]}' Property 'getRequestsBySchedule' not found on type $Proxy8 the called function exists, and when i cann manageSchedulesBean or userController, there is no error. Someone got a clue?

Member Avatar for Jerreke
0
110
Member Avatar for whitestream6

This is my PHP code (currently commented out in my templates) which is used in the project mentioned here - [url]http://www.daniweb.com/forums/thread251774.html[/url] (a currently ongoing project): [CODE] <div class="indented searchFooter" style="border-top: 1px solid rgb(207, 214, 233);"><table summary="" class="stNoMargins" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="tinyText stNoMargins"><div class="btnContainer"><ul><li><a class="smBtnSel" href="tvguide.php?page=1">1</a></li><li><a class="smBtn" href="tvguide.php?page=2">2</a></li><li><a class="smBtn" href="tvguide.php?page=2" title="Next …

Member Avatar for whitestream6
0
601
Member Avatar for fuchsia555

hi everyone is it possible to point images to another website ? i mean for example: this domain doesn't host the image > [url]http://domain1.com/image.gif[/url] this domain host the image > [url]http://domain2.com/image.gif[/url] i want when i request ( [url]http://domain1.com/image.gif[/url] ) it's point to the image on domain2 is it possible by …

Member Avatar for damnpoet
0
112
Member Avatar for talha06

Hello to all, Despite I added all necessary .jar files to project, I always take boring exception warnings that say "class not found". I added the code and exception output below. I'll be so happy if someone can help me. Thanx in advance.. With regards, T ----------------------------------------------------- [CODE]protected void doGet(HttpServletRequest …

Member Avatar for talha06
0
3K
Member Avatar for khess

Earlier this week [URL="http://www.microsoft.com"]Microsoft[/URL] and [URL="http://www.amazon.com"]Amazon[/URL] signed a [URL="http://www.microsoft.com/presspass/press/2010/feb10/02-22MSAmazonPR.mspx"]patent deal[/URL] covering Amazon's Linux-based Kindle and its use of Linux-based server systems. Amazon will pay Microsoft an undisclosed amount as a result of this deal. I know it's just me but what the hell is up with that? I don't have …

0
648
Member Avatar for fuggles

I am testing with HttpGet to simply see if it would download anything from my website, but the application crashes on startup. Anyone know why? [code=Java]package com.httptest; import java.net.URI; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import org.apache.http.client.methods.HttpRequestBase; public class httptest extends Activity { /** Called when …

Member Avatar for fuggles
0
104
Member Avatar for Deedo

I am currently getting search engine redirects with both Yahoo and Google. I have run antispyware programs and the only thing they find is fips.sys which appears to be a Microsoft file and can't be removed. Following is my HijackThis log. Any help would be appreciated. Thanks Logfile of Trend …

Member Avatar for jholland1964
0
288
Member Avatar for komyg

Hi, I am developing a small Web Service that should send and retreive a String. To do this I wrote the wsdl file below: [code=xml] <?xml version="1.0" encoding="UTF-8" standalone="no"?> <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://itautec.com.br/Sagem/WebService/Impl" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SagemWebService" targetNamespace="http://itautec.com.br/Sagem/WebService/Impl"> <wsdl:message name="WS_IdentifyRequest"> <wsdl:part name="parameters" element="xsd:string"/> </wsdl:message> <wsdl:message name="WS_IdentifyResponse"> <wsdl:part name="parameters" element="xsd:string"/> </wsdl:message> <wsdl:portType name="SagemWebService"> …

0
64
Member Avatar for bayo_84

Hi there I am very new in useing jsp but here is my first problem. I registered a bean in the applicationContext.xml with the id myBean. Now I want to call a function like this ${myBean.myFct} but the function does not exist and it should not. In PHP there exists …

Member Avatar for bayo_84
0
69
Member Avatar for eliassot

Hi guys, I'm new to this and I would appreciate some of your expertise :-) I'll let you know what I'm trying to do: I have a small website with static pages and I just want to remove the extension .php from my files. After lots of tries I came …

Member Avatar for logonchristy
0
151
Member Avatar for khess

It's my pleasure to bring you the CTO of Devil Mountain Software, Craig Barth, in this exclusive interview, his first, after the much publicized outting of [URL="http://www.infoworld.com"]InfoWorld[/URL]'s Randall Kennedy. Barth, perhaps best known for his Windows performance expertise, is also a huge Linux fan. Here now, is my interview with …

Member Avatar for Quimber
0
711
Member Avatar for somename

Hi all. Ok, i got such php script: [CODE] <?php header('Location: http://localhost/current/'); ?> [/CODE] Now i am sending GET request to this script with my C app and receiving following header: [CODE] HTTP/1.1 302 Found Date: Sat, 20 Feb 2010 18:50:17 GMT Server: Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.5 with Suhosin-Patch X-Powered-By: PHP/5.2.6-2ubuntu4.5 …

Member Avatar for somename
0
135
Member Avatar for newtojsp

Hello, How can I run a PHP file in Tomcat server? I know it works fine in Apache. Please help Thanks

Member Avatar for Ezzaral
0
66
Member Avatar for buranda

Hi, I've been doing lots of googling about building a webserver using ubuntu server 9.10 but I got notthing. I mean, a lot of info I read was helpful but it does not work under my circumstances at all. So I want some help from Ununtu geeks. Just reminder I …

Member Avatar for bbriand
0
161
Member Avatar for meridian_m

Hi, I was wondering if anyone could help. I've got a linux server with virtual hosts set up with separate ips and domain names. Everything works fine for incoming requests, but when I send an outgoing call (using curl php but am willing to change if necessary) the ip address …

Member Avatar for sheltant
0
186
Member Avatar for khess

Responses (from another site) on my recent, "[URL="http://www.daniweb.com/news/story261566.html"]Security Alert: They Should Have Used Linux[/URL]" led me to explore the conclusion that hacking is really only for those seeking the low-hanging security fruit as their prey. These folks, who tout themselves as "Linux Experts" intrigued me so much with their comments …

Member Avatar for marqueue
0
373
Member Avatar for techhelpforme

I think I've done what's necessary to install mod_php in Apache, but this code fails: ----------modtest.php <?php echo $PHP_SELF?> ------------------------ When I display modtest.php in a browser, I get: Notice: Undefined variable: PHP_SELF in C:\Program Files\Apache Group\Apache2\htdocs\modtest.php on line 1 I've read in docs that this env var doesn't exist …

Member Avatar for thinnakornzhang
0
953
Member Avatar for cwarn23

Is it just me or has Ubuntu 9.04 become broken by not allowing any software to be installed. I have done two clean installs and still the synaptic package manager does not show any items that are not installed. Also I am unable to install any software from the command …

Member Avatar for necrolin
0
151
Member Avatar for crackerjacker

my problem is simple but i have yet to find a solution. i am running apache on my vista box and have set up port forwarding on my linksys wireless router and virtual server on my US robotics broadband router (im using port 1024). i can easily access the web …

0
73
Member Avatar for jamesl22

Hi, I have apache2 running on Ubuntu 9.04. I am trying to set up vhosts. I have two files in sites-enabled there contents are: [CODE]<Directory /var/www/video> AllowOverride All Order Allow,Deny Allow from all AddType text/html .htm </Directory> <VirtualHost *:80> DocumentRoot /var/www/video ServerName jvids.co.uk Serveralias www.jvids.co.uk ServerAdmin jameslovejoy1@googlemail.com </VirtualHost> [/CODE] That …

Member Avatar for khess
0
233
Member Avatar for chu121su12

I am doing upload and download script with php. For the upload part, I store the uploaded file, for example, 'my picture.jpg' above my 'htdocs/' with a random name. e.x.: [CODE] [-] htdocs |--[+] download [-] upload |--abcdef <<-- 'my picture.jpg' stored as 'abcdef'[/CODE] The original file name and the …

Member Avatar for chu121su12
0
440
Member Avatar for venus2003
Member Avatar for Shaikh Mohsin

Hi friends, I have installed ubuntu 9.04 in that i have install DRBL package installtion is done correctly but when i run LANG=C sudo /opt/drbl/sbin/drblsrv -i it gives *****************************************************. Hint! When a "yes or no" option is available, the default value is uppercase. E.g. (y/N) the default is "N", so …

Member Avatar for ingalex
0
495
Member Avatar for NT.

Hi there, I recently added some new code to an existing jsp page, but I don't know why I ma getting this exception. I double ckecked for common errors but I am not sure the reason for this exception. Can anyone help. Thanks. Here is the exception: type Exception report …

Member Avatar for jwenting
0
113
Member Avatar for 23Zone

Hi all, I am pretty much new to Java (I've had experience in C++) and have been working on a "simple" FTP client. I pretty much ended up with the code below. Problem is I get a lot of errors mostly related to the IOException in each method. The errors …

Member Avatar for 23Zone
0
129
Member Avatar for artofmagick

Hi Peeps I have a bit of a problem with cookies showing on the homepage, will outline the problem below, well i think it is a problem. Fetching [url]http://www.reviewanygame.com[/url] ... HTTP/1.1 200 OK Date: Wed, 17 Feb 2010 04:18:03 GMT Server: Apache/2.2.3 (FH) X-Powered-By: PHP/5.2.11 Set-Cookie: [COLOR="Red"]PHPSESSID[/COLOR]=pg40edbrsljhg92rvp50h2ir85; path=/ Expires: Thu, …

0
42
Member Avatar for khess

It isn't too soon to anticipate the next major release of Ubuntu is it? I hope not. [URL="http://www.ubuntu.com"]Ubuntu[/URL] 10.04 has a few surprises up its virtual sleeve in store for you. I can't tell you everything that's in store but you'll certainly have fun discovering some of them through this …

Member Avatar for mirvine
1
641
Member Avatar for saad_sinpk

i use this script for uploading image in mysql db [CODE]<?php $db_host = 'localhost'; // don't forget to change $db_user = 'username'; $db_pwd = 'password'; $database = 'vargasfa_fake'; $table = 'ae_gallery'; // use the same name as SQL table $password = 'satan159E'; // simple upload restriction, // to disallow uploading …

Member Avatar for whiteyoh
0
164
Member Avatar for jeansss

It seems like there ought to be an easy answer to this one, but it's escaping me and I'd really appreciate some help! I want a client to enter his name and be redirected to a folder having that name. For example, on mydomain.com/clients/redirect.htm he is presented with a name …

Member Avatar for macneato
0
74
Member Avatar for versatilewt

i have a problem with my helo/ehlo records on my dedicated machine. i have multiple IPs, and a domain hosted on a non-primary machine is having the helo/ehlo issues. I'm running apache, centos, bind, cpanel11 with WHM11. For these examples, maindomain.com (xx.xxx.xxx.142) is the main domain on the machine, and …

Member Avatar for karol33
0
152
Member Avatar for LTT

Hi all... Im having some trouble inserting values to my mySQL database. I have the following installed on my local system. [B]MySQL[/B] Server: localhost via TCP/IP Server version: 5.1.43-community Protocol version: 10 User: root@localhost MySQL charset: UTF-8 Unicode (utf8) [B]Web server[/B] Apache/2.2.14 (Win32) PHP/5.2.12 MySQL client version: 5.0.51a PHP extension: …

Member Avatar for mwasif
0
228
Member Avatar for rajabhaskar525

hai all, i am working shopingcart project . i got one error[CODE]HTTP/1.1 200 OK Date: Fri, 12 Feb 2010 12:01:22 GMT Server: Apache/2.0.55 (Win32) PHP/5.1.4 X-Powered-By: PHP/5.1.4 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Keep-Alive: timeout=15, max=88 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: …

Member Avatar for whiteyoh
0
82
Member Avatar for khess

As promised yesterday, this is my potential solution to the [URL="http://www.daniweb.com/news/story249841.html"]Linux survival question[/URL]: A Linux Commercial--created by you--and it's a contest. Sound exciting? You creative types will now have a chance to create your own short film/video/commercial for Linux. Give Linux a face, a voice, a rap, a song, a …

Member Avatar for osgui
0
888
Member Avatar for harry010

Hi, I'm using WebSphere WebFacing tool to convert an old 5250 application and I am getting this error when I try to convert a particular application. I've tried increasing the java heap but this does not make any difference. Would anyone know how to allocate more memory within websphere? Thanks. …

Member Avatar for harry010
0
205
Member Avatar for torfosnaes

I have ssh, apache running on a ubuntu 9.04 home server and can access from any network connection. However, I want to be able to go onto the linux server (as I can to Windows servers) as a terminal services client; run programs on the server, check e-mails, browse, etc, …

Member Avatar for sajjad007
0
341
Member Avatar for khess

Ok, so we all know that I've been giving [URL="http://www.fedoraproject.org"]Fedora[/URL] a bit of a black eye lately with my [URL="http://www.daniweb.com/blogs/entry4448.html"]BaitNSwitch[/URL] and [URL="http://www.daniweb.com/blogs/entry4459.html"]Is Fedora Still Relevant[/URL] posts so I've decided to give them some positive press and enter their [I][URL="http://spins.fedoraproject.org"]Spins[/URL][/I] Zone. Spins are live Fedora CD images designed with a specific …

Member Avatar for murukesan.s
0
303
Member Avatar for ReDuX

If you have done a PHP based website, chances are you have dynamic content called by variables and so on. As many people use a main page (index.php) and use code within that page to dictate what content is displayed, either with if or switches or whatever. Thing is, Google …

Member Avatar for wiltekg
0
121
Member Avatar for khess

It seems that I caused quite a stir and some arguments among some of my readers with the likes of my [URL="http://www.daniweb.com/news/story254705.html"]5 *nix Myths Busted[/URL] and the ever popular [URL="http://www.daniweb.com/news/story256070.html"]Retraction: 5 *nix Myths Busted[/URL], when I referred to rebooting systems. I never thought that something so benign would cause such …

0
577
Member Avatar for vijaysoft1

Hi friends , I installed Apache Server on my Ubuntu 9.10 and it is working now . Now i can able to access the localhost using the IP Address 127.0.1.1 . I want to access my website in Apache server in Ubuntu from my Windows system through LAN . Is …

0
74
Member Avatar for foxkueh

I experience popups that slows down my processing speed of my other computer. This is my HJT log. I appreciate someone will be able to advise me on what to do. Logfile of Trend Micro HijackThis v2.0.3 (BETA) Scan saved at 7:29:39, on 2010-2-2 Platform: Windows XP SP3 (WinNT 5.01.2600) …

Member Avatar for foxkueh
0
981
Member Avatar for whitestream6

I've (partially) managed to get modaspdotnet to run on apache. This is my code: [CODE] LoadModule aspdotnet_module "modules/mod_aspdotnet.so" AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj \ licx rem resources resx soap vb vbproj vsdisco webinfo # For all virtual ASP.NET webs, we need the aspnet_client files …

0
69

The End.