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

4
votes
1answer
191 views

How to avoid html tags in Google search summary

I am using CKEditor to let people describe their organization with all the styles and fonts. So when it saves in the database its like < gets saved as &gt and rest all you know for the html ...
1
vote
1answer
56 views

PHP webpages in sub-directory cannot be accessed

I've got a university club website at thing.uni.ac.uk/meow/foobar which also has the domain foobar.co.uk. I don't have access to the config. I set up this website using HTML/CSS/JS alone and it's been ...
1
vote
1answer
99 views

How can you use Apache .htaccess to specify the location of the PHP binary on shared hosting?

I'm using shared hosting, can create .htaccess and php.ini and have access to ssh. I have PHP 5.6 installed to ~/public_html/php56 and can use this path with ssh, cron and exec() but not on the web. ...
0
votes
1answer
214 views

In CakePhP what is the recommended method for having one sub-domain that's outside the CakePhP environment?

I have a CentOS VPS with LAMP installed. I set up CakePhP and I have my httpd.conf set up with 1 virtual host which points to my CakePhP directory. I have various sub-domains in my CakePhP environment,...
0
votes
1answer
62 views

How to fix generated email from BlueSpice Media Wiki for new users to supply actual name?

I have a standard install of BlueSpice on top of Media Wiki. When a new user is created I get an email with the body: The user http://wiki.example.com/index.php/User:NameHere with real name $2 ...
0
votes
1answer
715 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 (net::...
0
votes
1answer
147 views

Creating advanced website by redirecting and replacing content from Google Sites

I would like to create a corporate website with members area. Importantly, I want many novice webadmins to be able to modify static content themselves. Therefore, I got the idea to create the site ...
0
votes
1answer
469 views

Nginx 404 not working with PHP?

I have a 404 file and it is working with nginx. However when I modify the 404 file to redirect the user it does not redirect. visiting http://site.com/404.php redirects the user. visiting http://...
2
votes
0answers
543 views

Problem with missing JSON functions on PHP 5.2.6 / Plesk 8.4

I have a vserver running openSuse 10.3, Apache 2 and Plesk 8.4. I can update/upgrade neither, as it is apparently not recommended to upgrade openSuse 10.3 (and an update to the EOL 10.4 does not seem ...
1
vote
0answers
30 views

Facebook Web app development: Storing user access token in a session variable

If i store facebook user access token in session variable , as there will be huge users (may be 10000 daily) will it cause the hosting server any issue ? EDIT 1: Server specification: 400mb disk ...
1
vote
0answers
60 views

Google reCAPTCHA “Type the Text”

I'm currently trying out Google reCAPTCHA and I want the challenges to be "Type the Text" where it will only shows digitized text/numbers and the user will just type what they see on the digitized ...
1
vote
0answers
34 views

mod_php5 as a static apache module in a cpanel environment

One source claims that apache would perform about 5% slower when using modules that are dynamically loaded (shared). Because of this, I want to be able to make PHP on the server run faster by ...
1
vote
0answers
190 views

Installing WP in Bitnami with php 7

I wanted to test possible incompatibilities of my WordPress site with php 7. So I downloaded the php 7 wamp installer and installed it without problems. Then I downloaded the WordPress module But ...
1
vote
0answers
43 views

How to debug a file called by 3rd party

I have a script that is being called by a 3rd party script, but it doesn't work. I can see in the logs that the file is in fact being called, just nothing happends. How do you debug a file called by ...
1
vote
0answers
93 views

Parallels Plesk Apache dedicated server shared IP / A Address serving default page

My Website Works when you go to it, however Google Adwords is telling me that my site is redirecting/ not showing up properly to their bots. When you put the site into a website checker like GT ...
1
vote
0answers
219 views

Trying to include a file from parent domain in subdomain?

I am trying to include a php file from a parent domain in a subdomain. In subdomain.parentdomain.com/test.php i have include ('/var/www/vhosts/parentdomain.com/website/wp-blog-header.php'); My ...
1
vote
0answers
521 views

Scheduling tasks with GoDaddy shared hosting using Plesk

How do I schedule a task in GoDaddy using Plesk? How do I set the Path to an executable file in the schedule task? I have the path as G:\PleskVhosts\[domain.tld]\[path]\[file_name] but I'm getting ...
1
vote
0answers
122 views

Clean URL using index files or mod_rewrite

Is it better to make clean URL's using index files in directories or simply using mod_rewrite rules to remove the file extensions?
1
vote
0answers
551 views

Xampp and file paths

I'm having hard time with xampp, it really getting me crazy. I have few installations of WordPress with Roots Template, which was loading without any css, js..etc. And the solution was to delete ...
1
vote
0answers
406 views

GAPI output doesn't match Google Analytics website

I have to get the main info about my Google Analytics Goals. I'm using GAPI lib, with this code: <?php require_once 'conf.inc'; require_once 'gapi.class.php'; $ga = new gapi(ga_email,ga_password)...
1
vote
0answers
152 views

Best practice for suEXEC on complex sites?

What is best practice for using suEXEC on complex sites? We've got a site running under a single vhost, and we want to be able to run different PHP web apps eg /forum /wiki /crm as their own UIDs, to ...
0
votes
0answers
16 views

Sudo mandatory for system() or exec() from PHP 5

In our enterprise we have several workers and collaborators. For the external collaborators, we have specific FTP accounts to restricted folders (test folders), and restricted access to MySQL database ...
0
votes
0answers
18 views

Why cannot I reproduce Confirm form resubmission scenario?

I have the following code, which is just a simple HTML form (POST method). I have tried to get the "Confirm form resubmission" message of the browser, by sending the form, hitting browser's back ...
0
votes
0answers
12 views

How can I Change the Domain for URLs with Dynamic Hostname & Proxy Forwarding?

We use a plugin called "Dynamic Hostname" & run a Wordpress Blog (newest version). To This Wordpress Blog we point 2 Domains: https://blog.domain1.com https://blog.domain2.com The problem is, ...
0
votes
0answers
14 views

adsense making ip report all wrong with resubmittion page and generating random ips

I have a google ad on my website, but I just found out today, that it's resubmitting the page with a random IP, that changes from time to time, mostly when submitting a form. It happens too, but ...
0
votes
0answers
80 views

Mysterious wrong encoding in Chrome/Safari

I'm trying to set up a website using grav (a php CMS) and are seeing some strange things. After setting it up, the webpage in Chrome and Safari is just looks like wrongly encoded mess. However, using ...
0
votes
0answers
20 views

Google Analytics events do not work

When I run the following (with actual IDs instead of X symbols) script from command line, the event does not appear in Google Analytics (as I see with "Real-Time / Events"). Why does it not work? <...
0
votes
0answers
17 views

Multiple touchscreen setup/display

I hope this is in the correct SE area. I have been tasked with designing a touchscreen interface for multiple display screens. I have successfully designed this using html, css & php (a simple ...
0
votes
0answers
147 views

Godaddy linux hosting The PDO extension is required for this adapter but the extension is not loaded

I'm getting following error on GoDaddy economy linux hosting. How to fix that. The PDO extension is required for this adapter but the extension is not loaded Error can be found at following ...
0
votes
0answers
11 views

ZF Tool 1.6.0 Windows 8 Permissions

I'm currently installing the Zend Framework onto a local 64bit Apache install with appropriate PHP ver. Localhost works fine and Apache Monitor is reporting correctly and identifying PHP just fine. ...
0
votes
0answers
304 views

Why is Apache 2.4.12 stop working randomly?

I have XAMPP installed on a Windows 2012 R2. We have a few Wordpress installations plus a custom LMS that is mainly java/tomcat. The site is SSL and uses openssl 1.01. The server can be up for a ...