PHP is a free server-side, general-purpose scripting language that is especially suited for web development. Originally PHP stood for Personal Home Page, now it stands for PHP: Hypertext Preprocessor.

learn more… | top users | synonyms

0
votes
1answer
100 views

How can i use the HTTP_REFERER to come from a specified domain name

I know the HTTP_REFERER method has a security loop, but it most cases it works fine. How can i use it, to limit how a user see other pages on my website, instead of just directly clicking on the link ...
0
votes
3answers
2k views

My php.ini configuration is being ignored - how can I override the error reporting level in my PHP scripts?

Just migrated to a new server, and its error reporting level for PHP is higher than the server we migrated from. It's showing warnings and notes about deprecated PHP. While obviously, the long term ...
1
vote
2answers
864 views

How to run the PHP script at scheduled time

I need a valuable suggestion that I have to run the PHP script at the scheduled time daily to update some fields in database and to send automated email. How I can do this? Is it possible to write ...
4
votes
1answer
174 views

Looking for quick and simple blogging solution [duplicate]

Possible Duplicate: Which Content Management System (CMS) should I use? I'm looking for a really quick "plug in and play" style blogging software for php. It's to be used on a website that ...
0
votes
2answers
937 views

PHP 5.3.8 does not active mysql extensions

I'm installing Apache, PHP and MySql on Windows 7 (I need to run Apache under current user instead of a service so I can't use wamp or similar). The thing is PHP does not get to load mysql extensions, ...
1
vote
2answers
3k views

How do I make SEO friendly URLs?

My url is: website.com/profile/?id=24 I want it to be: website.com/profile/kevinlee The ?id=24 will be replaced with the username of the id=24 in the database How do I convert it to that?
0
votes
3answers
106 views

Got PHP; Need Designer; How Good is this approach

So I was free for a couple of weeks and hence I wrote the php script for a website that I had in mind. To be honest; I am not the best; I am just an amateur; I have read a couple of books (o'reilly) ...
1
vote
4answers
3k views

Force all PHP Mail() to go through SMTP

Is there anyway to force everytime the PHP Mail() is used to force it to use SMTP authentication? Maybe a setting through the PHP.ini file or a server configuration?
2
votes
1answer
2k views

All Wordpress PHP Mail stuff being sent to spam

Every mail sent with the PHP Mail() is getting sent straight to spam (all providers e.g. gmail, yahoo, hotmail) My IP is not blacklisted. Here is an example of an email header that got sent to spam: ...
0
votes
2answers
843 views

Generating RSS Feeds Automatically?

I am running a static PHP website for the past 3 months. It's not a CMS but just simple PHP files (no database) in to which I add content. I am struggling to manually create RSS feeds as it is very ...
6
votes
2answers
197 views

When to upgrade your web-hosting? Advantages of VPS?

Right now I'm using shared hosting from ixwebhosting. As I've developed more websites for clients and continue to receive more visitors each month I have experienced a lot of "lag" and slow load times ...
0
votes
1answer
353 views

Web server specifications for online Text-based web game

I am developing an online text-based game similar to Mafia wars. Of course I won't expect 20 million players on my site, but I want to choose a web server that is suitable for me. I am a complete ...
2
votes
1answer
372 views

Status Dashboard

I know this question has probably been asked so many times before, but I can't find anything helpful out in the wide world. I'm looking for a status dashboard for my company's websites, that I can ...
5
votes
6answers
1k views

Adding a Forum to my site: build one from scratch or use existing open-source platform?

Note: I posted this originally to stackoverflow.com, had it closed, and was told to post it on programmers.stackexchange.com. So I posted it on programmers.stackexhange.com, had it cloased, and was ...
2
votes
1answer
209 views

Can a web-server be reached in other ways than through `HTTP` or externally?

A server hosting an application built in PHP: Can the server be reached in other ways than through HTTP or externally? Is GET and POST only populated through the HTTP protocol? Is HTTP headers, GET ...
2
votes
1answer
78 views

Generic updater for php-applications and other webapps

I administer a few servers, on some of which are a lot of users which happily deploy mediawikis and oder php-applications. This gives me headaches since there are often old versions of them lying ...
-1
votes
1answer
973 views

Alternatives to PHP [closed]

We are starting a project, which goal is to create new frontend interface to our product. Old version was created in PHP, very poorly written. We are choosing the language and frameworks that we want ...
1
vote
1answer
128 views

Extra configuration needed after installing SSL certificate?

We recently developed two rather simple PHP applications for AXA (European bank). URL's are axa.tfo.be/incentives/cipres and axa.tfo.be/incentives/zrkk (access to both sites is restricted to visitors ...
5
votes
1answer
12k views

How to pass GET parameters to rewritten URL?

I have an .htaccess rewrite rule like this: RewriteCond %{SCRIPT_FILENME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^search/(.*)$ search.php?q=$1 What this does is, if someone visits ...
0
votes
0answers
62 views

404 error out of no where on .php file [closed]

I have a website which I've built that I have gone to a bunch of times today. Out of nowhere I receive a 404 Page Not Found error, I didn't do anything. The site loads an index.html file which points ...
1
vote
2answers
503 views

Robots.txt not working because my site is still searchable

I put a robots.txt in my server This is the code that I putted in User-agent: * Disallow: / I just want my entire site won't be searchable in google. I also put in the NO INDEX, NO FOLLOW on the ...
1
vote
2answers
8k views

NginX redirect to PHP file if image does not exist on file server

This is what I am trying to do. I am not familiar with Nginx enough to create custom rewrite rules like you can with Apache. It would be greatly appreciated if someone could help me with the Nginx ...
0
votes
2answers
337 views

PHP software to detect spam? [duplicate]

Possible Duplicate: How can I prevent spam on sites which I control? I'm looking for something like spam-assassin or similar, except it only focuses on the message rather than inspecting an ...
0
votes
1answer
190 views

Looking for PHP/MySQL-based ad manager

Could you recommend based on your experience a PHP/MySQL-based admin interface for managing your website ads? In order to be really useful, such application should have: -basic CRM functionality to ...
1
vote
3answers
78 views

Comments Application SEO

I am developing a commenting application. Users will be able to integrate this application in Blogs. I am unsure how to make the comments searchable in Search Engines. What I want is all the comments ...
1
vote
1answer
881 views

php fopen => 500 Internal Server Error

I have a website hosted on a dedicated server, I noticed that Google and other search engines can't access to the most URLs on my website!! On my localhost I have made a small test : ...
-3
votes
1answer
187 views

What good Social Networking Site solutions there are? [closed]

What good and free Social Networking Site solutions there are? I tried many options but most of them are either too complicated, too simple, or just do not work... I tried: Dolphin, ...
1
vote
2answers
41 views

Blocking path scanning

I'm seeing in my access log a number of request very suspicious: /i /im /imaa /imag /image /images /images/d /images/di /images/dis They part from a known resource (in the above example ...
0
votes
3answers
345 views

Shopping cart PHP framework [duplicate]

Possible Duplicate: Which Ecommerce Script Should I Use? I am going to build a new shopping cart project for my client and I have a little confusion about shopping cart framework in php. I ...
1
vote
3answers
1k views

Symfony project on multiple servers

How can I use Symfony across multiple servers? I have a high-load project and I want to move parts of it(for example: image handlers, video handlers, registration) to other servers.
3
votes
4answers
7k views

No databases showing in phpMyAdmin

My website is hosted in shared hosting service and is working fine with updated news stored in MySQL database. To manage the database of website, I install phpMyAdmin in a sub-folder with the same ...
2
votes
1answer
3k views

What is the best currency API out there? [closed]

I may be asking an odd question, but webmasters seem like a decent place to post this. I'm in the search for an accurate, easy API (such as using JSON or XML) so I can use my web application. I've ...
1
vote
2answers
221 views

Editable block: CMS or PHP script?

I'm designing a Website for a restaurant. The site will be fairly static except for a 'specials' block which the client will need to update on a daily basis. I'm more of a designer/front-end developer ...
2
votes
2answers
65 views

Strange issue with Wordpress sites, is it PHP Memory?

This has happened to me twice with the same host and I want to know the real cause. I have multiple wordpress sites hosted on a shared server. One day when I attempt to visit any of the sites, the ...
0
votes
2answers
150 views

I'm confused about encryption and SSL

while my friends and I planning to run our own website, we're confused about the encryption where hackers can TAPPING or in social engineering it's WIRE TAPPING, but I don't know how do they call it ...
0
votes
4answers
1k views

Configure PHP and Apache in Windows 7

I installed Apache successfully on a Windows 7, 32bit system. It showed "It works" in the webpage. I also configured <?php phpinfo(); ?>file as info.php. But when I tried to open ...
0
votes
2answers
830 views

After changing web host, I get a 'file does not exist' error

I run a WordPress blog, and have recently changed web hosts. When changing web hosts, I copied all files and exported/imported the database etc as explained by lots of tutorials found easily on ...
3
votes
2answers
684 views

You don't have permission to access /index.php on this server

I made a 'login with OpenID' page and I had a error when OpenID provider return to my page: You don't have permission to access /index.php on this server. Additionally, a 404 Not Found ...
4
votes
2answers
202 views

Any chance to redirect homepage to a changing permalink without irritating search engines?

We have a php 5.3/Apache 2.2 based cartoon website that always shows the most current cartoon on the homepage (index.php). Now, a lot of people want to link directly to that cartoon (by copying the ...
1
vote
1answer
244 views

Routing and relative paths

CodeIgniter and many other PHP frameworks rout URLs, e.g. if default controller is root.php then both URLs will work website.com/ website.com/root if controller has a function 'login' then this URL ...
0
votes
1answer
185 views

Need to track the website or link from which users landing on our web pages - jS or PHP Coding

We have three fare traffic websites ( for three different brand products ) and all are well serving our internet marketing needs. recently , we are planned to promote each website on other two ...
0
votes
1answer
300 views

PHP script to send notification email via hosted ISP

I have PHP 5 running on a hosted ISP. The ISP gives me minimal configuration options via cPanel. Is there any way to use email notification to respond to some given event? I want to send from PHP ...
3
votes
1answer
3k views

Extend depth of .htaccess to all subfolders and their children

I need to be able to use .htaccess in all subfolders for full depth. E.g. I have .htaccess in public_html folder: \public_html\.htaccess How I make it to work for the folder small as well? ...
2
votes
1answer
310 views

Could you recommend a good shopping cart script? [duplicate]

Possible Duplicate: Which Ecommerce Script Should I Use? I'm looking for a PHP/MySQL script, free or not. Could you please recommend me one that can do the following: The site I'm trying ...
2
votes
2answers
309 views

Change content of page depending on Google search

A client has asked me to tailor the content of their homepage based on how the user got there from Google. His example is something like: If a user searches Google for Cars in Barcelona, then the ...
2
votes
2answers
602 views

Fix PHP Timezone warning

After installing a php application my site loads the app with a warning overlayed on the page Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. ...
0
votes
2answers
698 views

Monitoring load/resource drain of individual scripts on apache

We have a website and for some reason lately its been grinding our server to a halt. It has had a spike of traffic, but even still that spike is only possibly 1k or 2k. We installed eAccelerator PHP ...
3
votes
1answer
230 views

SEO & Multilingual: would be this a good practise?

I am currently making a bilingual website and I'd like to get nice SEO results of course. Here's my idea: The internal links would be composed of the "www" subdomain so that people can share links ...
2
votes
1answer
220 views

Put files outside of directory, so none can access it (Apache, PHP, MySQL)

I have a file structure like this: public/admin public/some folder includes/ I set up a sub-domain page.mysite.com and I pointed the directory to be mysite.com/page/public/admin. I thought that ...
1
vote
2answers
549 views

Wordpress install directory, how to change it?

I have my wordpress installation on mywebsite.com/blog I now want to turn my entire mywebsite.com site into a CMS by use of the Wordpress CMS, whilst still maintaining /blog as the blog area. ...