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
0answers
331 views

PHP5-FPM reload from web browser: Internal server error 500 [closed]

I am creating a free shared hosting service for fun and learning. I made a simple form where the user enters the subdomain and ftp password. When the user hits submit, a script generates a linux user ...
1
vote
1answer
122 views

How to Trigger GA Event for Every Single Pageview (of a certain type)

Thanks, edited my question. I need a reliable way to capture a GA event whenever the GA tracking code fires for a particular page only. Doing so because we want to assign a dollar value to simply ...
1
vote
1answer
40 views

Not able to see databases in symlinked folder

I created a folder on my Dropbox and then symlinked it to both of my computers that I use for development. The folder is working correctly and I can see all the files in it from both computers. The ...
0
votes
1answer
138 views

Issue in Google Analytics tracking code. [Status: Tracking Not Installed] [closed]

i am using Google Analytics tracking code for tracking site views but it shows Status: Tracking Not Installed here is my tracking code . <script> ...
1
vote
1answer
63 views

SEO consideration for downloadable files

I used to serve PDF files as static file: http://domain.com/pdf/file1.pdf and PDF files perfectly indexed by Google and other search engines. Then I decided to change my structure to place pdf ...
0
votes
1answer
124 views

Removing “Dirty URLs”

I have a site that apparently has "dirty URLs". For example a URL that I have goes something like this: www.website.com/article?articleID=2 or something along the lines of that. This, to me, seems to ...
2
votes
1answer
1k views

Problems using PHP on a Plesk Windows dedicated server

I'm having a few issues with my dedicated Windows server that has a Plesk panel: 1.) I can't send e-mail via PHP's mail() function, it always returns the following error: SMTP server response: ...
2
votes
2answers
225 views

How to do a JavaScript redirection to the same page without hurting my SEO?

I did something that does that when people land on my page for the first time, they get a JavaScript redirection to the same page, but with PHP $_GET URL queries, then this page redirect back to the ...
1
vote
2answers
233 views

HREF link for Excel Files Generated using PHP

I would like to get your inputs on the "preferred" way of linking to dynamically generated excel files using PHP. Using PHPExcel (or any other Excel writer for that matter) I have to generate a ...
3
votes
1answer
246 views

MediaWiki Error: Lua error: Internal error: The interpreter has terminated with signal “11”

I have a MediaWiki deployement at: http://wiki.tankpedia.org/ I have been importing templates from Wikipedia and am receiving a Lua error for the Convert template; the error is: Lua error: ...
1
vote
1answer
57 views

CMS fails at finishing setup with PHP-FPM and Apache, but why?

I have installed Apache and PHP-FPM by following this tutorial. Unfortunately when I try to set up Drupal or PHP-Fusion it simply fails at the end of the setup. I mean it accepts everything and at ...
1
vote
1answer
32 views

How to make an apDiv show up in same spot on all browsers

I'm pretty new to the whole webmaster stuff and am just trying to format a slideshow on my homepage to be in a certain area with an apDiv, but as soon as I use another browser it's in a different ...
2
votes
1answer
414 views

Site hack… but what is this?

My site have been hacked (i think) here is the code... the question, how to find what it does... <?php $zend_framework="\x63\162\x65\141\x74\145\x5f\146\x75\156\x63\164\x69\157\x6e"; ...
2
votes
1answer
802 views

Connecting to my local WampServer from mobile?

I want to make an app for file transfer between mobile and a web server. I don't have web space yet and want to simulate that. The mobile part is ok. I have the PHP code too, Is there anyway I can run ...
1
vote
1answer
87 views

How to add button on each MediaWiki article?

I would like a button to appear on each article on my MediaWiki site, to make it easy to flag articles that should be reviewed. When the button is clicked it should add the category "review", and if ...
5
votes
3answers
903 views

Do I really need to remove special characters in a URL?

I have an FTP account shared with friends where we upload underground music albums and then we use the links to share the downloads in a music forum. The problem is that the album names are in french ...
1
vote
1answer
56 views

PHP framework for this specific use case [closed]

I have to develop a site like http://www.monster.com with these standard set of features: Users should be able to register, login, create their profile, upload their resume and photo. Site Admin(s) ...
2
votes
1answer
352 views

Will Google crawl session based website

I have a website, it is split into 3 categories but using PHP its an all-in one kind of style. When a user chooses a category on the home page a session is set, this is then used to set the style and ...
1
vote
1answer
181 views

Getting the masked URL values in Mediawiki

I have successfully masked the URL in Mediawiki. By using the following scripts in .htaccess and localsettings.php files in Mediawiki, i.e.: .htaccess: Options +FollowSymLinks RewriteEngine on ...
1
vote
2answers
86 views

HTML: Images always getting reloaded from server

I am finding that my web pages' images are always getting loaded from my server, even though they never change. Since these are images, not pages, I can't include an expiration date for them... How ...
1
vote
4answers
541 views

Setting up a LAMP VM server for Development and Testing?

Info: I would like to set up a VM server on my local computer which will serve pages in the exact same way as my current hosting (but only to me on my local computer). I currently pay a big web ...
0
votes
1answer
68 views

Google Webmaster Stats

Google Webmaster Stats I'd want to show some stats much like the Google Webmaster Tools with the following things: crawl stats, links to your site, structured data, etc. What is the way to get ...
0
votes
2answers
177 views

How to double protect admin access in PyroCMS

I have read how to protect admin folder with .htaccess and .htpasswd file but in PyroCMS admin login (ex: example.com/admin) just only routing system (no admin folder yet). So, how can I double ...
0
votes
2answers
257 views

Issues with Apache and loading PHP files [ubuntu]

I just installed PHP and Apache2 on my laptop (ubuntu 12.04), but I can't get my PHP files to load. I have followed this tutorial: ...
3
votes
2answers
188 views

Track exit link and ads with PHP

I want to track exit links on my website and also exit ads like Google Adsense etc. I mean by exit ads is that when click on add I get ads dimension and ads type like Google or other ads. In short I ...
2
votes
0answers
59 views

Good security practice for writing a php/mysql web app [closed]

I'm about to create a web app that is php/mysql based. It should contain multiple users and two levels of admin accounts. It will most likely not be very likely to be attacked in any way. Still I am ...
2
votes
3answers
359 views

How to determine which files are used by website

I recently became responsible for a PHP / HTML / MySQL website. The document structure is full of duplicate files and folders making the site appear more complex than it is. Is there any tool I can ...
1
vote
1answer
69 views

SEO effects of intermix of WP blog, custom PHP site and FB app game

We're a melbourne tech company in the process of building a custom site in PHP. We plan to launch a "pre-launch" page which is also custom coded (CSS3 on twitter bootstrap framework + HTML5 front end ...
1
vote
1answer
12k views

Set the “servername” directive globally to suppress this message

I am setting up PHP for the first time and I am getting this error from the Apache server: Set the "servername" directive globally to suppress this message. This is the content of my httpd.conf ...
3
votes
2answers
256 views

Can the .htaccess file slow down a website to a crawl? If so, are there better ways to solve these problems with different rewrite rules and such?

here is my htaccess file...... RewriteCond %{REQUEST_URI} ^/patients/billing/FAQ_billing\.html$ [OR] RewriteCond %{REQUEST_URI} ^/patients/billing/getintouch\.html$ RewriteRule ...
2
votes
1answer
190 views

How Do I Make A Dynamic PHP Link 'No-Follow'?

I want to make the Footer links on my website 'No Follow'. How would I do it on these dynamic PHP links? <ul> <li><a ...
0
votes
1answer
564 views

SSL / https login from a non-secure (http) page

I am setting up a login page, and I have some security questions / concerns. I have a login form (username, password) on a NON-secure page, let's say: http://www.example.com/login.php When the ...
1
vote
1answer
58 views

Redirecting previous domain subfolder links

I've recently bought a domain that was unregistered. After looking in Google webmaster tools, Google is trying to crawl random pages that don't exist. Turns out it did have a previous owner. The ...
-1
votes
1answer
47 views

Create partial php.ini files [closed]

I want to two split php.ini into two files so that I can move important entries to a new file. I think it is a .ini file so, any rule for creating partial .ini files will also apply to it. Is it ...
0
votes
1answer
136 views

Private forum /guestbook to coordinate rides for PHP password protected wedding website [duplicate]

I created a simple private PHP website for my wedding guests. The website is a single PHP page that prompts the user for a password that was snail-mailed to them with our invitations. If the correct ...
-1
votes
1answer
175 views

Can I sell a php website on a condition that the code is not resold by the client? [closed]

What if I write my client a website using LAMP. Suppose that clients starts selling my code to other people, can I perhaps do something about it because I have already asked them not to sell it more ...
2
votes
1answer
49 views

How to Show apache error on shared hosting?

I have tried to show the errors on the server by adding this : ini_set('display_startup_errors',1) ini_set('display_errors', 1); ini_set('log_errors', 1); ini_set('error_log', ...
4
votes
2answers
68 views

Slow Migration is it possible with a PHP/SQL Driven site

I have a Joomla site that is operating on www.mysite.com, I want to migrate to WordPress but heres the thing, I have hundreds of pages and simply moving migrating them to a test site isn't ideal since ...
-1
votes
1answer
257 views

What's the double semicolon (::) for in PHP? [closed]

I'm working with NetSuite's PHP toolkit and i get the error T_PAAMAYIM_NEKUDOTAYIM from this line $classname = get_class($object); $typesmap = $classname::$paramtypesmap; <--- I just want to ...
0
votes
0answers
510 views

PHP not working while selecting multiple columns from a table with MySQL

I am using Apache 2.2. When I am trying to run it my browser is failing to run it, it's showing: This webpage is not available The connection to localhost was interrupted. Error 101 ...
0
votes
1answer
2k views

Turning openbase_dir off using .htaccess

I'm trying to run a script on my shared hosting account, I keep getting an error relating to open_basedir, which I understand would normally be turned off in the php.ini file, which I don't have ...
0
votes
2answers
438 views

POST data to another form with php

I want to create a form on my page to get information this is easily done and the problem. I want to 'POST' information to my own php-page, creating a new id and saving the information to my ...
0
votes
0answers
18 views

SSL Hosting Support for site with existing SSL certificate [duplicate]

I would like to know if there are any hosts that host PHP sites with SSL support for free, if I have an existing SSL certificate for my domain. I checked out many questions here(about 10) but none of ...
1
vote
1answer
517 views

Site got hacked while many / all security leaks have been removed [closed]

I've got a website with this code appended to my php document : <? #8f4d8e# ...
1
vote
1answer
29 views

Organizing main page with detailed content

I need to develop a structure like the one that appears in the following site: http://www.autoic2.com Clicking an image, showing the related content Clicking in that new content, showing the ...
3
votes
2answers
102 views

Installing a PHP framework to a host without public_html or www folders (ftp is DocumentRoot)

I've developed a PHP framework that operates with the directory structure of / /classes/ /templates/ /.../ /www/ (public_html) But I've come across a host that only allows ftp to the ...
2
votes
1answer
109 views

New to website form validation

I'm new to form validation and I have been lucky over the years. I would like to update my method of form creation in my sites. I was curious to know what is standard and if there is a preexisting ...
1
vote
1answer
369 views

Don't $_GET value on link rewrite with .htaccess

I config enable htaccess on my server (i enable mod_rewrite and do like this: http://stackoverflow.com/questions/11064005/enable-htacess-error-on-ubuntu-12-04-with-apache2) But on localhost is run ...
1
vote
1answer
347 views

Move the DokuWiki data directory somewhere else?

I need to move the DokuWiki data directory away from its default location (because I keep the installation and configuration in version control, but data needs to kept elsewhere, in order to be ...
0
votes
1answer
59 views

PHP and Javascript [closed]

I am a good C programmer. I have recently studied a bit of JavaScript and I plan on developing my skills by also learning PHP. Can I learn both these language in 3 months and after that build a site ...