1,520 Topics
| |
My issue is that this: [CODE]mysql -u root -p newdb -e "UPDATE newdb_users SET user_login='newuser', user_pass='$P$BJ7HEXzUXBqB74hw0H9KD2QvdnlwGv1' WHERE user_login='admin';"[/CODE] does not update the "user_pass" field, but entering this: [CODE]UPDATE newdb_users SET user_login='newuser', user_pass='$P$BJ7HEXzUXBqB74hw0H9KD2QvdnlwGv1' WHERE user_login='admin';[/CODE] directly in the MySQL console does. What am I missing? | |
I'm no sure if this is the best forum to ask this question. It doesn't seem to fit in any of the categories. I've set up a password protected directory using htaccess. The client now is asking for customizable error messages if the user enters the wrong user name or … | |
Ok guys, here's the story: my server in configured so it would parse all the html request as php, did this so I can insert php code in to html files... and is working. But, I have 2 html pages that I'd like for the server to parse as html, … | |
hi guys..I am new to this site.... im john IT Student... anyone could help how to generate code for counting fines in the library management system from the excess of his / her due date.. tnx.. | |
I want to make my own web-site, and I know HTML (everyone knows it :D) and some PHP. I have a lot of experience with Windows and Linux (Particularly Ubuntu) but I never had my own server, except WAMP that I used for learning PHP. My web-site is not a … | |
Hi everyone! I have to do a school project "Hosting": 1. I have a php site with some form. 2. Client select for example space, domain and some other options. 3. Apache creates needed folders and confuguration 4. Client get his email account 5. Client can put his own php … | |
i came to know tomcat is primarily used as JSP/SERVLET container where u can run java codes on that web server .. my doubt is why cant apache http server itself serve as JSP/servlet container with some modules attached ??? and one more thing --> can apache http server used … | |
I have Xampp as my server. Apache server from my Laptop works here on my netbook by replacing the "localhost" in to it's IPv4 address. On my netbook. it has WebMatrix which runs on an IIS. what I want to see is an IIS working to view on my Laptop. … | |
Hello. I have no idea how, so i'll ask you. I need /s/index.php?i=123 to be /s/123 any direction or tips would be appreciated! cheers, Sorcher | |
How will I run the below code in the background while I sign off or forget about it till is done? [CODE]for file in *; do `ffmpeg -i $file -ab 192k -ar 44100 -acodec libmp3lame /home/afrispot/audios /converted/$file.mp3`; done[/CODE] | |
i'm building a website free for download but i want to limit bandwidth per user !!!. Maybe user A cant download 2Gb per day etc.... :eek: :eek: And suggest me I have to use Apache download or FTP download !! I think Apache is not good for user management !!! … | |
Having trouble with this Mod_Rewrite line: [CODE]RewriteRule ^user/(.*)/faves/page([0-9]*)$ user/faves.php?user=$1&p=$2 [NC,L][/CODE] This works successfully for, say /user/someuser/faves/page2, giving user = someuser and page = 2 It also works for /user/someuser/faves/ - with or without the ending slash, but it does not work with /user/someuser/faves/page1. First thought is that it's down to … | |
I am getting the 500 Server Error message when I try to run my captcha script. The script is as follows: [CODE] <?php //Start the session so we can store what the security code actually is session_start(); //Send a generated image to the browser create_image(); exit(); function create_image() { /*//Let's … | |
hi everyone, i write data from database to the csv file,but i face problem how to print the csv file with multiple colors background for example first line is green then second line must be blue, please help me how can i do this in php | |
Hi guys, This will probably be very easy for some of you but I failed even I had a website examples. I want [COLOR="Red"]http://s12345.webspace.info/http/myapp/[/COLOR] to bew replaced with [COLOR="Green"]http://portal.myapp.co.uk/[/COLOR] How can I do this with htaccess? Thanks in advance | |
Hi, I am rebuilding a new website for a company and they already have a .htaccess file with the following code in it: [CODE]RewriteEngine on RewriteCond %{REQUEST_URI} !(/liens_photos/20091111|images/olympique07/) [NC] RewriteRule (.*)\.html? /$1\.php [L][/CODE] Unfortunately I am very new with this and I want to know what this code does exactly... … | |
Can anyone tell me, How can i restart the apache server through php code? if i view a specific page,my apache server should be automatically restart. How can i perform this? Anybody Please help me. | |
how YOU HELP ON MY QUESTION [COLOR="Red"][B][U]What is 'inode'?[/U][/B][/COLOR] | |
hi there. i have this rule on my .htacces... it works but give me errors in errors_log. [CODE] RewriteRule ^([0-9]+)-([^\/]+)/article.html$ article.php?id=$1 [nc,qsa] [/CODE] so ... the url is localhost/8000-article-title/article.html and it work. goes to the right article but the error_log show me [CODE][Tue Jul 12 14:18:14 2011] [error] [client xxx.xxx.xxx.x] … | |
Hi, I've not been successful looking for a solution to my problem. What I need is to password protect a directory. I could use htaccess, but the user doesn't want a pop-up login window. He wants to start on a page with a form with the username and password fields. … | |
On the 11th September a customer of the [URL="http://www.pcworld.co.uk"]PC World[/URL] computer superstore in Colliers Wood, London took his laptop back for an under warranty repair. The computer was only a few months old, and a crack had appeared near the left hinge which is indicative of an internal joint failing. … | |
Decided I want to use python for web programming. I am a fan of Lighttpd, but when it came to python, just seemed like apache had some better options. I am currently setup with Apache2 and mod_python. I use VirtualHost site configurations to serve a few websites, and do per-site … | |
I am in the process of trying to customize my site's URLs and I'm running into an issue with my htaccess file, specifically the newest one I am trying to add. Here's the file -- [CODE]RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ $1.php [L,QSA] RewriteRule ^/retail/(.*)$ retail.php?id=$1[/CODE] … | |
I'm looking for a good vanity url for my website... i wish to have the following type of url for my website:- [B][url]http://www.myweb.com/topic_name/123[/url][/B] where the original query string is [B][url]http://www.myweb.com/topics.php?title=topic_name&id=123[/url][/B] I tried to get the scripting from many websites, but none gave me want I wanted... So i've approached daniweb. … | |
I've been having a reoccurring issue with my VPS since I moved to a new company and I'm trying to figure out what the issue is. There are a few different things going on (I believe they are all connected) -- [LIST=1] [*]When you visit a page that doesn't exist, … | |
Hi, I'm trying to add a condition to my htaccess file but it seems to only match if I use [ICODE]%{REQUEST_URI} !^/?.+$[/ICODE]. If however I add [ICODE]%{REQUEST_URI} !^/?B.+$[/ICODE] it will never match. Also the full code showing what I am trying to achieve is as follows: [CODE][B]RewriteEngine On[/B] [B]RewriteRule[/B] ^$ … | |
This is actually not related to jsp.... Its related to the Apache tomcat server..... :icon_rolleyes: I run the startup.bat file where is located in bin folder.. than tomcat was started...it use 8080 port ([url]http://localhost:8080):icon_lol:[/url] after that I created the jsp page using netbeans & rut it.tomcat was started & run..... … | |
I’ve created a dynamic page ([I]page.php[/I]) who’s content changes based on the incoming link, specifically by calling a GET on the ID in the URL. So, for example, someone visits [I][url]www.domain.com/page.php?id=310[/url][/I] and the content on the page changes queries the database and returns results for item 310. I’m in the … | |
I'm working on ubuntu 10.10 , n have installed php5 and apache 2 but when I try to open a .php file by giving the complete url in the browser it pops up the window( refer thumbnail).Please help.I'm a beginner and I'm stuck on this god knows since when. | |
Have downloaded apache 2 in ubuntu 10.10 through terminal screen and also php5 but when I type the server address in the browser, it asks for a username and password .I tried giving the login username and password( the one with which I created my ubuntu login) but that wont … |
The End.