Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [php]

PHP is a widely-used general-purpose scripting language that is especially suited for Web development. Questions about programming in PHP are off-topic and should be asked on Stack Overflow.

0
votes
3answers
1k views

Installed LAMP, but PHP does not seem to work

I did the yum install for apache, mysql, php, phpmyadmin. localhost/phpmyadmin displays correctly. I would assume PHP function correctly. I put my webpages in /var/www/html/test_site/index.php. ...
2
votes
2answers
38 views

Searching major search engines with text such as <%#

If I type '<%# vs <%"' into any of the major search engines, everything is stripped out except the 'vs'. I understand why they do this. I would just like to know if anyone knows of a way to ...
1
vote
3answers
781 views

Need text editor that can save locally AND via FTP for Linux - switching from EditPlus on windows

I just switched from Windows to Linux. I've been using EditPlus for many years mainly because of it's ability to save locally, and then send the file via FTP, with easy keyboard shortcuts (ctrl-s to ...
0
votes
3answers
205 views

Trying to find a duplicate version of PHP on my system. Where is it?

I have having a helluva time trying to track down which php binary my apache is using. locate bin/php returns this list /usr/bin/php /usr/bin/php-cgi /usr/bin/php-config /usr/bin/phpize /usr/local/...
2
votes
1answer
412 views

installing w3c validator on Fedora 11

On Fedora 11 i have installed w3c validator using yum install w3c-markup-validator is this installation configure each and everything including the complete website? followed this doc http://...
0
votes
1answer
560 views

Minimalistic flatfile-based “wall” PHP app with authentication and RSS?

I am looking for an open-source minimalistic "message board" PHP software. Not a forum, more something like one simple facebook wall. The only thing a user can do is post a new message. With RSS, and ...
1
vote
1answer
286 views

Norton Internet Security 2011 Beta Affecting Localhost Performance?

I don't know why, but after I installed Norton Internet Security 2011 beta, the PHP scripts that I'm working on in WampServer became painfully slow. How can I fix this?
4
votes
2answers
501 views

Can I recover a rm -rf-ed Mercurial repository?

I made the mistake of wiping out my entire project directory with a quick "rm -rf project". Of course, the .hg directory went with it. I had about 15-20 changesets, that I have not pushed to anyone, ...
9
votes
3answers
10k views

Changing HTTP_ACCEPT_LANGUAGE

Is it possible to change HTTP_ACCEPT_LANGUAGE? I'm using Firefox.
3
votes
2answers
633 views

Reverting PHP to 5.2 from 5.3 in Lucid 10.04

I recently upgraded my main development laptop to Lucid. Lucid upgraded PHP to 5.3 and as I'm mainly a PHP developer, this has caused quite a few problems. What's the easiest way to revert back to the ...
0
votes
8answers
311 views

Good text editor for OS X? [duplicate]

Possible Duplicates: Mac Text Editor (with function list) Text editor for Mac OS X I'm considering getting a Mac. I want to make sure I'll be able to get a good text editor for it. I'm ...
8
votes
9answers
183 views

Is it dangerous if I store a copy of an infected website on my local disk?

First, I'm not into HTML and PHP programming. A friend's Joomla site was hacked by some sort of html injection, and now every php and html file has an iframe which is linked to some sort of malware ...
1
vote
2answers
885 views

Installing Apache/MySQL/PHP on Mac OS X Snow Leopard without a direct internet connection

Are there any good sites that explain the process in such a way that it can be done on a Mac without internet? I would put the installers on a USB drive and move them from an internet enabled machine. ...
1
vote
3answers
378 views

How do you backup your localhost?

I have method to backup my work on localhost based on week basis. I use multipe dos command and save in on a bat file. I use command such as copy and xcopy and save my localhost to another place. ...
0
votes
1answer
254 views

Does vim have the features to be used as an IDE?

I'm learning vim right now as I use it to quickly fix something in files on a server. Recently I've been thinking of switching from my IDE to vim, but I'm interested if all the features I need are in ...
0
votes
1answer
4k views

Chrome print background images [duplicate]

Possible Duplicate: Printing background colours in Chrome I'm trying to print a PHP generated document in Chrome. On the browser it looks fine. But my printer will not print any coloured ...
2
votes
3answers
6k views

Is it true Visual Studio 2010 will support PHP for free?

I have read this here http://www.codeplex.com/php4vs but can't find any official confirmation.
1
vote
1answer
683 views

Why Netbeans 6.8 remote project (php) uploads all files by default

Hi I wanted to know if there's some option for disabling Netbeans to upload all files of a recently imported remote (php) project. I always check "Upload files on run", in the project configuration. ...
3
votes
1answer
855 views

PHP application (client) for managing my multiple email accounts

Looking for PHP application which I could use on web server instead of Thunderbird to manage my multiple email accounts* (consolidate them like in GMail). The problem is that I need web-based ...
6
votes
7answers
1k views

Mac Text Editor (with function list) [duplicate]

Possible Duplicate: Text editor for Mac OS X So I've got a Mac in the post coming to me, and will probably be doing quite a bit of development on it so I am looking for a text editor (PHP + HTML ...
2
votes
1answer
9k views

PHP 5.3.1 with IIS 6.0 returning 404 but file is really there

I installed PHP 5.3.1 VC9 for Windows x86 and selected IIS FastCGI as the target webserver. My system is a 32-bit Windows XP with IIS 6.0. Before this I installed IIS FastCGI extension. Now when I ...
3
votes
1answer
1k views

WAMP not working anymore

I had been successfully using WAMP on my PC for a year or so but after I got internet connection through LAN, I noticed that WAMP has stopped working. When I go to http://localhost or http://127.0.0.1 ...
0
votes
1answer
1k views

phpMyAdmin randomly shows blank content pages?

When using phpMyAdmin in firefox and Chrome in Ubuntu 9.10 the main content area iframe often fails to load - leaving me with a blank white content area (though the sidebar is still there). Firebug ...
3
votes
3answers
179 views

How web servers can find each other in a local network?

I would like to build a local network consisting of several computers each of which is running a web server. These web-servers should communicate with each other. But the problem is that IP addresses ...
5
votes
3answers
87k views

How can I start phpMyAdmin?

I have just installed phpMyAdmin on my Ubuntu (using sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin). I think installation went OK. So, how can I start the phpMyAdmin now? I ...
1
vote
2answers
835 views

nmap 5.21 and Python problems

What does this mean and how can I fix it? root@bt:~# rpm -vhU http://nmap.org/dist/nmap-5.21-1.i386.rpm Retrieving http://nmap.org/dist/nmap-5.21-1.i386.rpm error: Failed dependencies: /usr/bin/...
2
votes
2answers
91 views

Configure error when installing php

When installing php I configure it like so: ./configure --prefix=/wwwroot/php --with-apxs2=/wwwroot/bin/apxs --with-configure-file-path=/wwwroot/php --with-mysql --with-gd And a configure error ...
6
votes
2answers
274 views

is there any way to find out how I was hacked? What was the weak point?

one of my site hacked few times :( first I lost all databases, some tables were cleared and some of table's data had changed! than at the second hack, all tables were cleared and some php files' codes ...
1
vote
5answers
5k views

MySQL doesn't talk to PHP anymore

I've just upgraded from Windows XP to Windows 7 (64 bit) I was using EasyPHP 5.3.1 to develop my website, but since I've upgraded I can't get PHP to talk to MySQL. Even the PHPMyAdmin page doesn't ...
1
vote
2answers
168 views

protect files without encrypting

Is it possible to protect files from intruders without encrypting it? Specifically php files. Because when I try to encrypt it , it won't be readable from the localhost. Even a simple application ...
1
vote
3answers
2k views

Cannot run PHP scripts anymore

I had been running PHP script successfully for a year or so with WAMP but yesterday i noticed that scripts were not opening/running. When I go to http://localhost, the page just keeps on loading ...
1
vote
3answers
10k views

Upgrade PHP 5.1.x to 5.3.x with XAMPP for Windows

Using Windows XP SP3. I installed the xampp to d:\xampp. I started it and everything worked fine (at least the indications were good). I want to use MediaWiki and it says that it can't work with PHP5....
2
votes
2answers
505 views

How to upload multiple files to sourceforge.net?

I recently added the details of my php mvc framework to Sourceforge which can be found here: https://sourceforge.net/projects/ezphp/ I also added repository: https://ezphp.svn.sourceforge.net/...
2
votes
1answer
5k views

How to enable more php extensions on Gentoo server?

I have working apache/php/mysql on my Gentoo server. But I have to enable some extensions in php (json, exif). I did: USE="dev-lang/php json exif" emerge dev-lang/php Please, tell me what next? ...
0
votes
2answers
902 views

How to set up a connection to a MySQL-server within Dreamweaver CS4?

If you have credentials to login in via SFTP to a server that is running PHP and you can access MySQL with SSH, how do you combine these things within Dreamweaver CS4?
0
votes
3answers
1k views

PHP IDE for Ubuntu Netbook Remix 9.10

I've installed Ubuntu Netbook Remix on my netbook and I'm wondering what would be a good IDE to use for mainly PHP development. I've used Komodo Edit in past Linux distributions but it doesn't seem to ...
1
vote
1answer
532 views

How to edit and update PHP script like Wordpress?

I would like to ask if there is a software that could help me in mantaining and managing my Wordpress+Plugin modified version. The problem is that I have a certain number of hacks made to the core ...
1
vote
4answers
2k views

How can I view a Microsoft Word document (doc/docx) within Firefox?

I have a small application with a directory that holds Word documents. I want to enable the user to view the documents within the browser. To have a list of the documents and when the users clicks on ...
0
votes
2answers
289 views

Make a single page a wiki-style editable using PHP

Are there any lightweight PHP solutions out there for making a single page editable by anyone who views it? Update: and I don't mean like TiddlyWiki.
0
votes
2answers
3k views

The Problem with Installing XAMPP on Windows 7?

I just installed XAMPP 1.7.3 on Windows 7 64 bit, every things was going well but Apache ! Apache didn't start at all ! I already installed the Apache's service but it doesn't work yet. Would you ...
4
votes
7answers
232 views

Corporate site filter

Alright so my work blocks a bunch of websites for obvious reasons. They even blacklisted logmein.com so thats out. I feel that I am capable of getting all my work done AND keeping up with my warfish ...
0
votes
1answer
2k views

Installing Zend on CentOS is having dependency issues

I'm trying to install PHP's Zend Server on my CentOS VPS but it's having dependency issues that I can't seem to resolve. zend-server-php-5.2-4.0-73.noarch from Zend_noarch has depsolving problems --...
1
vote
1answer
1k views

Need a php based filemanager with support for extracting RAR/ZIP?

Is there any php based filemanager with RAR support that I can host on my server?
2
votes
1answer
6k views

How to install PHP without libxml2

When I run PHP 5.3.1 configure in my home directory, I get error message: configure: error: xml2-config not found. Please check your libxml2 installation. I don't have the root password on that ...
0
votes
1answer
624 views

Command working from terminal but not from PHP

I can successfully run an executable from the command line, but when I try to do the same thing from PHP with exec() the outcome is different. The command is: ffmpeg -i a.wav -i a.m2v a.mpeg When ...
1
vote
3answers
921 views

Set Up apache MySQL and PHP (development environment) on Mac OS X 10.5

How to tutorial or link to one please. EDIT: MAMP is a large download. Also, something a little more manual would be nice.
3
votes
4answers
6k views

why are my mails being sent to junk folder?

I am using my own domain's email address : admin@mysite.com i have a simple email sign up form, where emails entered are sent to admin@mysite.com using php's mail(). i discover it always goes into ...
2
votes
1answer
2k views

How to edit the PHPUnit library path in Zend Studio?

I'm trying to set up Zend Studio so I can use PHPUnit, but I can't figure it out. The PHPUnit library path is un-editable. What should I do?
1
vote
2answers
908 views

How to install Xdebug on Mac 10.6 Snow Leopard?

I am getting errors when trying to do this. What is the correct way to install Xdebug. From Pear? Pecl?
8
votes
4answers
12k views

Error trying to install PHPUnit from PEAR

$ sudo pear install phpunit/PHPUnit Unknown remote channel: pear.symfony-project.com phpunit/PHPUnit requires package "channel://pear.symfony-project.com/YAML" (version >= 1.0.2) phpunit/PHPUnit ...