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
9 views

E-Commerce Component List [on hold]

I am going to be building public facing "get a quote" form on a website which encompasses website design and e-commerce development. We will use the form internally as well to build quotes for call-in ...
0
votes
0answers
12 views

How to start mainteance scripts made by MediaWiki on 000webhost [on hold]

i need to start update.php scrypt using MediaWiki on 000webhost, and noone has shell access, so i dont know how. How to do it? I need easyest solution, like another PHP file, or something else?
0
votes
1answer
42 views

Dokuwiki: Moving Just the data directory on other server

I have installed dokuwiki on IIS7. As per my teams requirement we have to move just the Data directory to other server location. e.g - IIS7 installed Dokuwiki location: ...
0
votes
2answers
73 views

Using a front controller design pattern doesn't allow images to be served

I am currently using a front controller. All requests for my website go through it. I have a problem with image links like: <img src="img/image.jpg" /> Then my front controller will try to ...
-1
votes
0answers
12 views

Need PHP Script required for Group Cash Management [on hold]

Pls anyone help me get a suitable php script based on below requirements, Manage Personal deposit on a common fund show person wise profile like total deposit, personal profit share Show common fund ...
0
votes
0answers
11 views

Convert from htacces url rewrite to php routing [on hold]

i'm administrating a php/mysql based website with a complex (at least for me...) site structure: each subcategory of the main menu corresponds to a folder on the shared hosting. The posts on the site ...
1
vote
3answers
161 views

How to setup a fully functional “mirror” of a website? [on hold]

PREMISES: I have a wordpress website hosted in a shared-hosting Since it's a shared hosting, I share the same ip with other GoDaddy customers A couple of times, some other customer got malware on ...
-1
votes
1answer
29 views

simple database edit webpage recommendations [on hold]

It's been a long time since I've made something like this, I'm just wondering if I'm not re-inventing the wheel. My client currently has a bunch of data in an excel file and wants this to be on the ...
1
vote
1answer
16 views

Google pre-rendering causing double and triple events [duplicate]

Is it possible to detect google chrome and firefox prerendering on the server side, or in .htaccess, and defer the prerendering for the purpose of monitoring traffic and website events, or do I need ...
0
votes
1answer
22 views

Fatal PDO Error - But PDO is enabled?

I recently switched website hosts, however with the new hosts, we are encountering some PDO problems. Everything indicates that PDO is enabled on my server, however, when I test it through php, with a ...
-2
votes
0answers
16 views

Making STL viewer to render a STL file automatically [closed]

I wrote a STL viewer which will be loaded in browser and we should upload a STL file manually by clicking a button and inputting a STL file. But I don't want that to happen. I want STL viewer to ...
0
votes
0answers
4 views

Accessing files outside root directory [migrated]

I've installed magento and cakephp in my development server. I built a STL viewer by using cake php and gave path like this to upload files to STL viewer: $mystlpath = ...
0
votes
0answers
3 views

Passing array in add_option() in WordPress custom theme [migrated]

I have to create a option page in my custom theme wordpress. here is is a sample of code <?php function bguru_register_settings(){ $default_options=array( ...
0
votes
0answers
17 views

Building a Website using user informating to send emails. Should I use a CMS or PHP? (Beginner) [closed]

I am developing a site for a client and want to make a membership site that sends emails to customers about different vendors. I will store and pull vendor data (i.e flavors, menu items) in MySQL ...
4
votes
2answers
231 views

Redirect page to symlink

So I have 2 URLs that basically link to the main url using a symlink maindomain.com englishdomain.com -> symlink to maindomain.com frenchdomain.com - > symlink to maindomain.com/fr ...
0
votes
2answers
51 views

Cannot add DataTables.net javascript into Joomla 1.5

I've been having this problem where i couldn't add Datatables.net javascript into my Joomla article. I have been trying to include it through Jumi. To say that my editor strips of the tag is ...
4
votes
6answers
2k views

How to tell Google that I have changed my website URLs?

I have done major updates to my website, and renamed all my URLs. How can I tell Google that I have renamed these URLs and let Google refresh its index? My website URL: http://www.pndmasr.com/ My ...
1
vote
1answer
40 views

The word “logo” is appearing in all my SERP, but it's not in my page titles

When I search for my website in Google, the word "logo" is being displayed in all the results, but I didn't specify the word "logo" in the titles of my HTML pages. See the following screenshot: ...
2
votes
1answer
253 views

Trouble with images in phppgAdmin on my Nginx VPS

this is my first time using Nginx or phppgAdmin, and after placing the phppgadmin folder into my public_html folder I find that the resources for the phppgadmin page are broken, images and css ...
0
votes
1answer
152 views

Uploading a file automatically for speed test?

I am building a Web UI for a device for internet connection and one of the requirements in it is a speed test. I know the basic concept of how speed test works. A file is downloaded for a limited time ...
0
votes
0answers
18 views

Error while migrating a Joomla website from version 1.5 to 2.5 [migrated]

I have tried to migrate a website in Joomla from version 1.5 to 2.5 using jUpgrade but I received an "undefined migrating" error: Fatal error: Uncaught exception 'Exception' with message 'Unknown ...
1
vote
1answer
141 views

Is there any way to prevent Googlebar from breaking Friendly 404s

This might be considered a continuation of this question. If I output HTML after my 404 header, It displays properly in IE and FF unless the user has Google bar instaled. If I try header('HTTP/1.x ...
0
votes
0answers
34 views

Saving a Google API-generated dynamic map to a static image

I have a series of coordinates data which I plot onto an API-generated heatmap visualization using Google Maps API. The data changes daily, and I'd like to capture the heatmap and save it as a PNG or ...
0
votes
0answers
14 views

CodeIgniter and Postgresql: inserting intger

I've this codeigniter statement: // CREATE public function AddContact($nome, $number) { $data = array( 'nome' => $nome, 'number' => $number); ); ...
0
votes
2answers
234 views

WHMCS Fatal error: Out of memory while View Invoice PDF

I can log into WHMCS & can access everything I should be able to access, but if i try to click View PDF Invoice, the following error will occur, Fatal error: Out of memory (allocated 67633152) ...
0
votes
2answers
28 views

Is using URL parameters bad for SEO? [duplicate]

I recently noticed that my web page have problems with Google and good search results. Many of the existing SEO tools suggests that my website uses bad URLs for SEO. I'm using a single PHP file that ...
2
votes
1answer
28 views

Problem with htaccess rewrite condition

I needed to redirect site.com/var1/var2/var3/... to site.com/index.php?myvars=var1/var2/var3/... This is the code I wrote myself: RewriteEngine On RewriteCond %{REQUEST_URI} !=/index.php ...
2
votes
2answers
92 views

WordPress keeps redirecting my users to install.php, Is it caused by an injection hack?

I don't really know how to express my problem, so bear with me. This is a bit hard to explain. I have a Wordpress installation, the latest, and often (once a day) my site redirects users to the ...
1
vote
2answers
29 views

Redirect to an affiliate using PHP or JavaScript redirect?

I was asked to introduce a unified self hosted URL-Shortener/Forwarder/Tracking Service for an website that earns money from affiliates. One example I found was one of the bigger german sites for ...
0
votes
1answer
118 views

Clicks counting and crawler bots

I am currently running a small affiliate-program for Facebook users. We use an auto-poster to publish links to fan pages. Every hit is stored in our database and we have included a 24 hour reload ...
0
votes
1answer
31 views

Using an external mail sending provider for my websites?

Let's say I have made 20-30 websites, that send emails such as contact form responses, welcome emails, forgotten password reminders, and similar transactional emails. What is the benefit of using a ...
0
votes
0answers
4 views

How do I load a page from mysql database when clicked on link in a menu [migrated]

This is the code from index.php <?php include("header.php"); $page = isset($_GET['page']) ? trim(strtolower($_GET['page'])) : "home"; $allowedPages = array( 'home' => ...
1
vote
1answer
51 views

How Google ads add a pageview?

I'm having a trouble on my site. I have my own script which counts how many times the ads display in a page using PHP script, which always run every page refresh without any condition and it sums up ...
2
votes
1answer
30 views

Codeigniter not working after moving direcories

I just starting trying to learn CodeIgniter. From the user guide it suggests to move the application and system folder for security reasons. I now have this structure: ./public/index.php ./app/ ...
1
vote
3answers
165 views

File upload through webform failed, server config?

I'm in the process of moving my sites from a shared hosting to a VPS (running CentOS with Plesk 10). When testing on my VPS I noticed that all of the sudden I couldn't upload files through a webform ...
1
vote
2answers
36 views

should I learn html/css before php even for using database? [closed]

I saw lots of question about this topic and all of them were talking if someone want to use php for "building web pages", should learn html first or not. and most of them said yes, because most of ...
2
votes
0answers
21 views

Store a formula in a table and use the formula in a javascript/PHP function [closed]

I have a MySql database where part of it handles instrument's depth of water. Each instrument has its own formula of calculation how depth the water when the operator collect the reading I stored the ...
1
vote
1answer
30 views

wordpress woocommerce php variable usage %1$s

I am using wordpress with woocommerce and I am trying to manipulate a copy of myaccount.php The default code uses some variables of some sort that I am not familiar with nor have I been able to find ...
0
votes
2answers
64 views

Do PHP-FPM (and other PHP handlers) need execute permissions on the PHP files they're serving?

I read in a post at Server Fault that PHP-FPM needs execute permissions. However, the answer in When creating a website, what permissions and directory structure? only grants read and write ...
5
votes
2answers
4k views

best way to import 500MB csv file into mysql database?

I have a 500MB csv file that needs to be imported into my mysql database. I've made a php file where i can upload the csv file and it analyses the fields n stuff and does the actual importing. but it ...
1
vote
1answer
28 views

SEO-meta description crawling issue [duplicate]

i have following code where i m including my title and description for the page But google crawled only title not the meta description from the code. Where as meta description was read from the ...
0
votes
1answer
74 views

Good links somehow being converted to ones with a PHP redirect (not a virus)

This has happened to links we put on web pages and in emails. We might put www.oursite.org/work/ but when I view source it shows up as ...
1
vote
1answer
29 views

How to edit thousands of html pages at once? [closed]

I need to edit thousands of pages for a website with dynamic content added manually by the owner throughout 3 years, it has thousands of pages and I'm sure there is a better way to edit them without ...
1
vote
1answer
16 views

How to set site specific Error Log files in PHP under IIS

On Apache, vhosts can be configured with their own error log file, like so: ErrorLog "my-site-log-dir/error_log.log" How would this be done when hosting PHP under IIS?
2
votes
1answer
56 views

Laravel Detailed Error Page Lost

I want to see all problems when a file can't loaded e.g. I used to do it but now I can't. The only thing I get when a problem occurs is Whoops, looks like something went wrong. How can I change ...
1
vote
1answer
35 views

Where to place php libraries/extensions?

I am new to a lot of server configurations and options. I want to add extra php libraries/extensions to my server. Where do I add them? (I am on a CENTOS 6.5 VPS) For example, I want to add the ...
1
vote
1answer
44 views

SEO impact when using php include

I always make a footer and a header and include them in my php pages but I am not sure the impact of doing this for SEO. The header has only a main banner and the navigation menu, all the metatags ...
3
votes
2answers
246 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
4answers
63 views

Redirect example.com:81 to example.com

I need to redirect www.example.com:81/site/ to www.example.com. I have used mod_rewrite a few times, is it possible to solve this in a similar way?
0
votes
0answers
5 views

What Webserver Do I Need For A Social App [duplicate]

I am making a social application that its base work is like twitter. When user opens app,it fetches data(texts and images) from server and listitems will be filled and users can be followed and etc. ...