2,128 Topics

Member Avatar for
Member Avatar for manolisvl46

Hallo there everyone, i am using a command on the server (kinit)and after that a password is required to type in the thing is that i would like that to be done automaticaly from the php code! i found that one [URL="http://stackoverflow.com/questions/187736/command-line-password-prompt-in-php"]http://stackoverflow.com/questions/187736/command-line-password-prompt-in-php[/URL] but is not what i want(and is not …

Member Avatar for manolisvl46
0
204
Member Avatar for smartness

I know this may be a apache related question, but can anyone help me on this issue... I need help on paginating my script, so the and I want to use [U]search[/U].html for the first page (without page number) [U]search[/U]-[B]2[/B].html for the second page [U]search[/U]-[B]3[/B].html for the third page and …

0
67
Member Avatar for 6pandn21

Hello guys! I am trying to implmenent a jQuery library and it worked fine when I ran it out of server. When I tried to run from a XAMPP based web server at home; the images doesn't show and keeps giving this error: 'You don't have permission to access the …

Member Avatar for 6pandn21
0
19K
Member Avatar for Member #564028

I am kind of new to php. However, I created a form in html and the form action is linked to a php which all on the localhost. When I run the html file enter in information and hit submit. A window pops up and asks me if I want …

Member Avatar for Member #564028
0
147
Member Avatar for s_kanika

I've LAN in my office . We work on local server there but.... is it possible for me to access localhost from my home situated far away from office? Plz help me?????????

Member Avatar for pritaeas
0
63
Member Avatar for edy_sze

Hey Guys I'm gonna start on a eleave system for a business soon and I was wondering which language should I use to write it in ? Can someone give a few suggestions as I'll be using MySQL database and Apache but server side script is not yet decided. Personally …

Member Avatar for drjohn
0
100
Member Avatar for frida.kiriakos

hello, i want to run a ruby on rails application through apache web server via phusion passenger, i followed everything written in the guide and every guide and im still having a problem i really could use help, i spent two days on it and i am getting frustrated, when …

0
135
Member Avatar for assaf

Hi I'm trying to create tag pages based on one php page that will be re-written to the tag/[tag].html I'm not a programmer so my question is pretty basic. What I have done until now is to create the tagdetail.php and a call to the tag pages that have this …

0
96
Member Avatar for niths

hi i am new to php. i am getting the following error. ------Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\login\login.php:23)----------- <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> <td bgcolor="aqua"><h2>Login</h2></td> </tr></table> <table align="right" style="width:40%"> <br> <tr> <td>username:</td> <td><input …

Member Avatar for niths
0
128
Member Avatar for CapFish

Hello all! I'm trying to restart a service in my fedora installation, from a php local file. So i discovered the shell_exec command, and tried: [CODE]shell_exec('service nagios restart')[/CODE] I also tried shell_exec('sudo restart.sh') where restart.sh has the line "service nagios restart" in it. The first time i did it, i …

Member Avatar for CapFish
0
354
Member Avatar for xylude

I am building a website locally and I have a crazy problem. If I enter a path to the file in my browser like: file:///home/jcrider/public_html/site/assets/5182/sound/r_Fantasia_Chopin_44.mp3 It will play the mp3, but when I try to run it through localhost like: [url]http://localhost/site/assets/5182/sound/r_Fantasia_Chopin_44.mp3[/url] It does nothing. It did work once, but I …

Member Avatar for xylude
0
145
Member Avatar for deepak.marur

Hi all, I want to configure Tomcat behind an SSL enabled Apache httpd server. Could anybody show me how to do this ?? I have successfully configured apache and tomcat for http requests. Thanks.

Member Avatar for masijade
0
69
Member Avatar for steven2

The web server is Apache. I want to rewrite URL so a user won't know the actual directory. For example: The original URL: [url]www.mydomainname.com/en/piecework/piecework.php?piecework_id=11[/url] Expected URL: piecework.mydomainname.com/en/11 I added the following statements in .htaccess: [CODE]RewriteCond %{HTTP_HOST} ^(?!www)([^.]+)\.mydomainname\.com$ [NC] RewriteRule ^(w+)/(\d+)$ /$1/%1/%1.php?%1_id=$2 [L][/CODE] Of course I replaced mydomainname with my domain …

0
101
Member Avatar for web2works

Hi, I have a Virtual machine at xxx.co.uk with Debian Lenny and Apache2. I am trying to install SVN and have been following this guide: [URL="http://wiki.slicehost.com/doku.php?id=install_and_setup_apache_with_ssl_and_subversion"]http://wiki.slicehost.com/doku.php?id=install_and_setup_apache_with_ssl_and_subversion[/URL] The part where I get stuck is the virtual hosts. I have tried reading loads of guides/posts on this but everybody seems to do …

Member Avatar for abhisek.sanyal
0
533
Member Avatar for steven2

The website is running on a web hosting where we don't have access on htaccess file.The web server is Apache. I want to rewrite URL. For example: The original URL: [url]www.mydomainname.com/en/piecework/piecework.php?piecework_id=11[/url] Expected URL:piecework.mydomainname.com/en/11 How to do it?

Member Avatar for steven2
0
95
Member Avatar for askjake

Hi All, I am testing the web services I have deployed on my glassfish but upon clicking the "test" button, an exception occured. For reference, pls see exception below. javax.servlet.ServletException: javax.xml.ws.WebServiceException: {http://services.wet.webservice.ngin.smart.com/}AccountManagementService is not a valid service. Valid services are: {http://services.lawak.webservice.ngin.smart.com/}AccountManagementService at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.initializePort(WebServiceTesterServlet.java:569) at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.doGet(WebServiceTesterServlet.java:184) at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.invoke(WebServiceTesterServlet.java:119) at com.sun.enterprise.webservice.JAXWSServlet.doGet(JAXWSServlet.java:237) at …

0
93
Member Avatar for mossman

Good Morning Everyone! I'm trying o turn my machine into a development station. I would like to install CF Server, with Apache and IIS. I'm Using widows 7 on a 64bit machine. Is here any certain order on what need to be installed first? Can someone walk me through the …

Member Avatar for utdream
0
161
Member Avatar for fungurudel

If you are looking to host hundreds of small websites out of which most of them are static, then which would u consider as your server Intel Xeon 3040 (Dual Core) 1 GB DDR Memory 250 GB Hard Drive 1,500 GB Bandwidth or Intel Xeon 3110 (Dual Core) 4 GB …

Member Avatar for rch1231
0
137
Member Avatar for colweb

I want to upload files through a web application and it works as long as the files are under 8 mb. But anything greater gives the following error in the Apache error log: [INDENT]POST Content-Length of 8593520 bytes exceeds the limit of 8388608 bytes[/INDENT] In php.ini I have: [INDENT]file_uploads = …

Member Avatar for colweb
0
116
Member Avatar for rukshilag

i installed wampserver yday and it worked fine when i typed in localhost in the browser. but today when i type localhost to see if apache was running without a problem - it displays the root directory that is the folders contained inside the www directory in a page named …

Member Avatar for rukshilag
0
111
Member Avatar for donnidore

Beethink ip blocker blocks IP addresses with Apache's .htaccess file. And the blocking rules are based on IP address, port and protocol.

0
31
Member Avatar for dstrout

Hi all! After a recent upgrade to PHP 5.3.1, I cannot get my apache http server to start. The only way I can seem to get it started is by commenting out the lines that make PHP work. Thinking, naturally, that the recent PHP was at fault, I reinstalled it. …

Member Avatar for samarudge
0
219
Member Avatar for maverick_ymca

Hi, Here at my organization we'd been using an app which worked perfectly fine on the current 5.5 tomcat. But now we wished to upgrade our server to version 6.0 . The problem is that the application almost refuses to start up. I had this web.xml modified to comment out …

Member Avatar for ~s.o.s~
0
111
Member Avatar for ahmksssv

hi, how can i access the .htaccess file. i have been created a .htaccess file and write the code wat i want. this is working fine when i should type url with correct formate which i mention in the .htaccess file. i want to redirect page automatically.. plz give me …

Member Avatar for maba001
0
149
Member Avatar for jaque322

a friend of mine have instaled apache in other machine and i have stored my php scripts in htdocs but i dont know how connect remotely from other computer please if someone can help me

Member Avatar for i-hate-blue
0
104
Member Avatar for xen0r

I wan to host my own content, but I can't figure out where to put my files. I'm using WAMP, [url]http://www.98.163.121.220.com/cgi-sys/defaultwebpage.cgi[/url] That's my site. How can I just host my own files?

Member Avatar for drjohn
0
83
Member Avatar for tiger86

I'm very curious if there is a certain time in the day when people are on social networks more, or any site for that matter and I was hoping someone could point me to a site that shows you hour by hour traffic for websites. I know that in the …

Member Avatar for tiger86
0
97
Member Avatar for grisha83

Hello there I am trying to enable php and apache on my mac and i think, i mixed up my settings. Is anyway i could reset my web settings, in particular the line "LoadModule php5_module modules/libphp5.so" is missing. Thank you for your input

0
101
Member Avatar for manolisvl46

Hallo everyone... i have set up a twiki app on my server but i face a problem that i cant deal with... i want to replace this one: [url]http://10.0.0.12/twiki/bin/view/TWiki/WebHome[/url] with those ... [url]http://10.0.0.12/WebHome[/url] OR [url]http://10.0.0.12/TWiki/WebHome[/url] what should i change at the rewrite rule on the apache's config? + there are …

0
108
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
192
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
144
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
194
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
46
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
215
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
620
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
125
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
169
Member Avatar for tunde011

I will like to change a url from [CODE]http://www.mysite.com/doc1/doc2/index.php?name=username[/CODE] to [CODE]http://www.mysite.com/user[/CODE] I have tried using htaccess [CODE] Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^mysite.com [NC] RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301] RewriteRule ^/[_a-z0-9-]+(\.[_a-z0-9-]+)$/doc1/doc2/ index.php?name=$1 [/CODE] But i seem stuck. Any help will be appreciated. been on google for about 7 hours

0
101
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
72
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
192
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
194
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
405
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
973
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
177
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
264
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
524
Member Avatar for venus2003
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
119
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
80
Member Avatar for OmniX

Hi People I have a url, [url]http://www.domain.com.au/domain1/domain2.php[/url] . Now I would like to remove the middle man aka folder from ever being seen so the url changes to, [url]http://www.domain.com.au/domain2.php[/url] . I have done some research and mod_rewrite looks to be the go in the htaccess file. So can anyone give …

Member Avatar for OmniX
0
115

The End.