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.
2
votes
1answer
49 views
Handling the holding of money on a platform
We are building a platform for a client, developed in Yii, where users can top up their account on the platform with money from PayPal. Users can upload files and buy access to each other's files. ...
0
votes
0answers
80 views
Install PHP module without CPanel [closed]
How can I install a PHP module on Linux? I don't have CPanel, just ftp, a shell and PHPMyAdmin
3
votes
3answers
367 views
Hotel Reservation Request Booking Paypal PHP
I'm making a website for a small hotel in php. The hotel owners want a reservation system that uses paypal. They want people to see a calendar and choose a date to make a reservation. If the day has ...
5
votes
1answer
497 views
PHP URL Rewrite engine for small project
I use PHP. I want to setup a micro site as a prototype, where I can work with the frontend only, separated from any CMS.
URL Rewrite
I also want the URL rewrite to be correct, like ...
4
votes
2answers
188 views
Number of page requests by any Bot in 5 secs
I am writing a script that will block any bot that requests page(s) for example X times in the past 5 secs. I need to find the X here. Do you guys know some approx values I can use?
0
votes
0answers
19 views
How can I store post rankings that change with time? [closed]
I'm trying to learn how to code a website algorithm like Reddit.com where there are thousands of posts that need to be ranked. Their ranking algorithm works like this (you don't have to read it, its ...
1
vote
3answers
139 views
CMS without templates [duplicate]
Possible Duplicate:
Which Content Management System (CMS)/Wiki should I use?
I am looking for a CMS where I can layout the page from scratch using HTML/PHP/CSS and simply enter code such ...
0
votes
0answers
104 views
How to Send Custom data in ADF/XML format [closed]
I have built a lead generator form Here which will send email in ADF/XML format.But all I found in internet about ADF that there are limited tags like contact, customer, vendors, vehicle and their ...
0
votes
0answers
88 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 ...
1
vote
1answer
199 views
include() or get_file_contents() which is better? [closed]
i am developing a function which return a value on give file name
but include() in not return able which function should i use get_file_contents() is return able function or is there is any other ...
1
vote
1answer
134 views
Referrer Strings
I'm not exactly sure how to ask this, but here I go.
I work for a company that provides IT services. Our main costumer has a website developed by WebCompany.com, and I act as a maintainer/middle-man ...
2
votes
1answer
221 views
How to extract $_SERVER['REQUEST_URL'] from given url [closed]
How to extract $_SERVER['REQUEST_URL'] from given url
for example
$url = 'http://localhost/application_dir/';
extract requested url from $url;
2
votes
0answers
15 views
Hosting advice for a write-heavy dynamic website [duplicate]
Possible Duplicate:
How to find web hosting that meets my requirements?
I have built a website using PHP and MySQL and now I am looking for a hosting service. I am expecting about a 1000 ...
3
votes
2answers
334 views
Looking for full web based booking system
I've searched around here but could not find any booking system that would suit my need. I hope maybe you can help me out.
I've already seen question #11379. Solutions provided there are not helping ...
1
vote
1answer
199 views
curl to itself behind firewall
I have a server A which is configured behind a firewall and has 30.x.x.x public adress and 172.x.x.x internal address.
I'm trying to make a php Curl call from a script located on that server, to the ...
1
vote
3answers
23 views
Separating portion of website to its own server
So my job is to take the homepage (or maybe I should say "homesite" because it encompasses a few interrelated pages) and drag this onto its own Apache server. The problem I'm having right now is being ...
0
votes
0answers
63 views
How can I make this script output each categories item per category [closed]
Ok so here is the deal currently this script outputs all the products in a parent category as well as the products in the child categories. What i would like to do is seperate the output based on ...
0
votes
0answers
19 views
Free online PHP hosting [duplicate]
Possible Duplicate:
How to find web hosting that meets my requirements?
I have a PHP script that can take $_GET parameters from a URL (i.e. http://www.example.com/test.php?name=george). I'd ...
7
votes
2answers
402 views
Where to find PHP version usage stats?
My original question was: what percentage of sites are using php 5.4.x? (As it has some very interesting new features.) With secondary questions like how many of the cheap web hosting places have ...
0
votes
2answers
840 views
Open Source PHP based secure file download script?
I need a self hosted solution where I as the admin can create client areas (which can be simple folders) where I upload files and secure them with username / pass. A client page will then be ...
2
votes
0answers
248 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
2answers
87 views
sitemap for non-CMS based website
I've just finished a new version of my website but now I don't know how to generate a correct sitemap.
Now the website is based on PHP files and folder and in blog folder there is Wordpress.
This is ...
2
votes
2answers
383 views
PHP Image Gallery without javascript
I am looking for a simple PHP gallery with the following characteristics:
Pure PHP
HTML
CSS
SQL
Excludes JavaScript
Handle Subcategories
Easily customizable
I have tried to search, but I find ...
0
votes
0answers
10 views
Purchasing web hosting for PHP + PostgreSQL + Apache [duplicate]
Possible Duplicate:
How to find web hosting that meets my requirements?
thought of posting here since I know folks here are much experience in this. I spent my overnight finding some web ...
1
vote
0answers
117 views
Memcache alternative for cpanel hosting
Memcache is the best caching API for php, but it is not available on most of the hosting providers. Are there any alternatives to memcache which are available for most hosting providers(e.g. Godaddy)?
...
6
votes
3answers
151 views
Use Apache to prevent a PHP script from connecting to a specific domain
Is there a way to prevent apache from connecting to a specific domain e.g. somesite.com?
I have a PHP script that trying to connect to specific host, and I would like to prevent that.
4
votes
1answer
123 views
Apache create index for directories without one specified.
Currently, I use a PHP script to list the contents of a directory that does not have an index file, but I don't want to have to copy it to every directory without an index.
Can Apache do it ...
0
votes
0answers
200 views
PHP method for a fast live search from XML file [closed]
I have used this PHP method for a live search from XML file which uses the following functions:
DOMDocument();
getElementsByTagName('');
childNodes.
The XML file is done by me and consists ...
0
votes
0answers
26 views
I got a question about php performance [closed]
Well i'm debuging my php script, i.e:
<?php
$inic = memory_get_usage();
... code ...
echo (memory_get_usage()-$inic)/1024;
?>
and it show: about 60.578125, it mean 60kb isn't?
this ... ...
0
votes
0answers
96 views
a hashed password doesn't match the same hashed password? [closed]
maybe I have the concept of hashing wrong, but when I hash my passwords and salt them I get one string, and when I go to log in the newly signed up user I apply the same method on the password they ...
0
votes
0answers
66 views
Configuring PHP Scripts To Accept any User and Group Permissions [closed]
A client I'm doing some PHP work for has a virtual private server set up to host his website. The server admin has made every folder starting from root be non-group-writable and owned by ...
0
votes
1answer
67 views
Prevent file table from showing navigation links [closed]
I am trying to display the files in my folder, "Amir", but my table keeps displaying all of the files, "." and "..". How can I prevent my table from displaying ".." or "."? I have placed the code and ...
3
votes
1answer
158 views
Difficulty enabling caching on inherited site
I have been asked to work on a corporate website a previous employee had created.
The site is on shared GoDaddy hosting. One of the first things I noticed (after the 140KB JPEG on the front page, ...
3
votes
3answers
150 views
PHP Include meta tags
A website I'm currently working on is http://www.troubi.com . Please don't care to look at the
source code.
If I validate the website through the w3cValidator a lot of errors occur all due to ...
0
votes
0answers
17 views
Suggest free live support software with auto invite to visitors? [duplicate]
Possible Duplicate:
Live chat solutions
Please suggest free live support software with features like:
Manually invite a visitor to chat.
Visitor geo location.
I liked commetchat and ...
2
votes
1answer
175 views
Unable to print login-required images in IE
I have some images in a section of a site that require the user to be logged in in order to view. These images are served by a PHP script, which checks the user's login state and if valid, serves the ...
0
votes
0answers
14 views
FAIL Tidy::diagnose() NULL pointer dereference [closed]
While compiling libtidy I got 'FAIL Tidy::diagnose() NULL pointer dereference' on 'make test', this https://bugs.php.net/bug.php?id=54682&edit=2 page says 'This bug has been fixed in SVN.', does ...
2
votes
3answers
765 views
How to download an MP3 or ZIP file onto mobile devices [closed]
I want to be able to download digital goods to smartphone users (music in format .mp3 or .zip). But iPhone and iPad do not allow direct forced downloads.
How can I provide mobile users with digital ...
-2
votes
1answer
64 views
Emigration to UK vs English language skills [closed]
I have completed technical secondary school this year (I'm 20) in Poland. I work as freelance web developer for 4 years (PHP very good, MySQL strong basics, HTML excellent, CSS excellent, ...
8
votes
3answers
165 views
Is it worth it to change my entire user images file structure to take advantage of simple browser caching?
On one of my mobile sites, I simply store my user's profile images as '1.jpg' in their user folder, and incrementally go from there for any extra pics they upload. This means that whenever they change ...
0
votes
2answers
3k views
Am I hacked or has Google problems? [duplicate]
Possible Duplicate:
Titles in Google results contain spammy prefixes
I have a webshop online called omnivisionshop and I have some problems with redirecting from Google.
Case 1 When I ...
2
votes
2answers
423 views
Is making my PHP files read-only a useful security measure?
Up until now I've been "protecting" my website's PHP files by making them read-only with chmod.
Is this a useful security tactic? Or is it some "old wive's tale" and I'm wasting my time?
I'm ...
-1
votes
1answer
71 views
displaying a list of files [closed]
In my web application I have the user sign up for an account, then the account data is saved in a mysql database. The user can then go to "index.php" and log in with their credentials. My application ...
0
votes
0answers
135 views
Auto Login Problem [closed]
I finally found my balance in getting auto login using cookie but I encountered a problem. Whenever I test the login with auto login checked. I close the browser and reopen it to test if it works. The ...
3
votes
2answers
95 views
Subdomains and Site
didn't know how to put this into to a title. Ok my idea is to have any subdomain working on my site, and for example if I type:
what.example.com
(my site has a unique folder for every subdomain, and ...
1
vote
0answers
160 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 ...
1
vote
1answer
352 views
fsockopen() error : Network is unreachable port 43 in php [closed]
i've writed some Php code that lookup for domain (whois) but it fails !!
this is some of my code :
function checkdomain($server,$domain){
global $response;
$connection = fsockopen($server,43);
...
1
vote
1answer
138 views
Commenting System For A Website
I hope this is the right place for such a question.
I am developing a website that has no users system.
I am looking for a commenting system for the website.
Requirements:
Ajax commenting
...
0
votes
0answers
17 views
Anybody know if a free and/or open source Micro/Light CMS like Perch, Pagelime, Unify, Cushy CMS, Magicedit, etc [duplicate]
Possible Duplicate:
Which Content Management System (CMS) should I use?
I have an existing site, I just want to add a CSS class or wrap it in a tag or something and let my clients make ...
0
votes
1answer
94 views
How to correctly handle redirect after site facelift
I recently updated our site taking it from a multi-page site to a single page site.
The problem now is that when the site is searched in say Google, it displays the site as well as the indexed pages. ...
