xampp

i have xampp mysql server running, how do i run code?

i need run code that will create a database and populate tables. i am using windows. how can i run this code? localhost/phpmyadmin shows nothing, it's a blank page could it be because i installed the lite version? ...

Internet Explorer not showing PHP files while directory browsing. Help me

I am sure i created a php file into a folder named web in htdocs folder. But while directory browsing it shows only html, css files inside that folder. But the php files are not shown. Help me ...

xampp redirects

Hi guys, does anyone has an example how to do a rule in .httpaccess in xampp? I m trying to redirect from localhost/test/company.php?name=Abc to localhost/test/company/Abc and I cant seem to find the solution. I followed some examples that I found on the web but none seems to work. I'm putting the .htacces file in the same folder where I...

cannot change the php.ini file!

Hello I have changed the php.ini file in the location (C:\xampp\apache\bin\php.ini) for Xampp and restart the server I am sure it is the real php.ini file because I have checked with phpinfo() however my changes does not take effect! why? update: I have PHP Version 5.2.8 I have changed the file C:\xampp\php\php5.ini but the pr...

xampp server (How to get up and running)

Hello all. I've been developing locally on a little ubuntu netbook with xampp for about 7 months. Two weeks ago I got a computer I'd like to use as a server. I've installed the latest Ubuntu distribution and xampp, moved all my files over, and forwarded port 80. I've also got a domain name from dyndns.com which is being updated by a clie...

First time use of Tomcat and the Stripes framework

I recently decided to try some java web development, so I installed xampp, the tomcat add-on, and java. I have looked at some of the JSP page examples that came with it, so I know that tomcat is at least working. However when I threw the stripes folder into the same examples directory and tried to access the files I received the followin...

FTP Upload in PHP

hi All, I have installed XAMPP vrsion 1.7.2 on my Mac OS 10.5.7 ? I am using the following code to upload a file , but i am getting few errors <? $host = 'localhost'; $usr = 'nobody'; $pwd = 'xampp'; // connect to FTP server (port 21) $conn_id = ftp_connect($host, 21) or die ("Cannot connect to host"); // send access parameters ftp...

cakePHP and mail component: Connection refused: 61

Greetings! I'm trying to add simple mail functionality to a little web app and I'm stuck. I'm able to send email from the terminal to myself on local machine just fine, but when I try to run the app I get "Connection refused: 61" At first I thought my setting are messed up, I kept playing with them for a while and for now decided to giv...

How to make port 2196 as incoming port in xampp mac

"Feedback works now - open incoming port 2196 Sep 26, 2009 6:57 AM Be sure that your server has port 2196 open for INCOMING data, not just outgoing. This was after I had my server support guy open 2196 for incoming data. This works - I un-installed the app, sent a push to it, and then checked feedback:" It's feedback on appleforum. S...

Mismatching JVM versions in deploying web-app between Eclipse and Tomcat

Hi, I have a web-app, built and compiled in Eclipse, which I want to deploy to my Tomcat 6 (I want to do it manually) and I get a UnsupportedClassVersionError exception which means the JVM tomcat is running is older than the one my eclipse is running. After some checking I see that in the tomcat manager window it says: JVM Version-1.5.0_...

xdebug install problem on xampp -> xubuntu

Greetings! I've been trying to install xdebug on xampp (running on xubuntu) to use with NetBeans 6.7, but after several attemps I'm really stuck. When I try to verify installation with this script: <?php $address = '127.0.0.1'; $port = 9000; $sock = socket_create(AF_INET, SOCK_STREAM, 0); socket_bind($sock, $address, $port) or die('...

Eclipse for PHP

EDIT: To answer some of the comments - the file extension is .php, the perspective is PHP, and it is in a PHP project. I can't use different tools because this is a school project I have Eclipse with Web Tools (so I can do web projects with JSP). I also have to use Eclipse for my PHP development (I am using it with XAMPP, if that mat...

xampp server and java client/server application

hiho, i intend to develop just a litte network application, something like a chat. so i downloaded xampp for windows and installed it (also as service), mysql included. well, i started the apache (and mysql) as service and just wrote the short line in java: try { Socket sock = new Socket("127.0.0.1", 21); System.out.println...

Copying live sites to local

Recently I've been getting more and more into web development and as such have a few questions. I have a few websites that are on a production LAMP server and I've been trying to copy them to my local computer running xampp 1.7.1 on XP Pro. The problem I've been having is mostly path issues. I mainly develop for wordpress, joomla, magent...

Alternative conditional syntax (if-else) failing on PHP 5.3.0 (xampp)

Hello, I recently upgraded to xampp v1.7.2 which dumped PHP 5.3 on me. Along with that all my httpd.confs and php.ini's got wiped out (I had taken it for granted that this release will be an upgrade like all the earlier xampp releases). Anyway, it took me a while to reconfigure all the services - but now I've run into a funny problem....

Setting up development server references

What would you guys recommend as good references for setting up a testing server (xampp on xp pro), a staging server and a production server while also having svn? I'm a noob to "hardcore" development but want to start off on the right foot and set up my environments like the pros do. I have several projects coming up and want to take tw...

Is a cgi different from a console application?

I am having some problems in running cgi on my Apache (Windows, XAMPP), but the exe runs smoothly on the command prompt. Reading the logs on Apache folder it gives no information about the error. Any ideas about this? ...

is there some special setting for servers to run jQuery ?

i had an html page that run some jQuery scripts and that works ok. but once i use the same scripts in php page then tries to run it using local server (xampp) it doesnt working .. then i tried to upload files on linux server over the internet but neither the html nor the php pages worked right ! so did i miss something ? is there some ...

Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\

Hi I keep getting this error, and I changed the sendmail in the php.ini to: sendmail_from = [email protected] $to='[email protected]';//assigns the email address to the reciever part of the script $subject='User Comments OHBS.com'; $header='test'; $name=($_POST['Name']); $email=($_POST['Email']); $Question=($_POST['MessageTi...

Installing Moodle using XAMPP on Windows Server 2008 Enterprise edition

Hi, I am trying to install Moodle 1.9 using XAMPP on a virtual machine running Windows Server 2008 Enterprise edition. I can initially access the install.php installer script fine but after I progress past the third page the webpage times out. If I go to http://localhost/, no webpage is downloaded and the browser just times out. I ...