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.
0
votes
1answer
9 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 ...
0
votes
0answers
13 views
How do some websites deliver different images with the same page? [closed]
I've noticed that some websites are able to use a PHP page to serve images, for example:
http://forums.ubi.com/image.php?type=
compared to:
http://forums.ubi.com/image.php?type=sigpic
Image 1 is ...
1
vote
1answer
17 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 ...
2
votes
2answers
253 views
htaccess preventing sqlite database being downloaded
I have a VPS, running apache2 on Debian 6.
Created a file called .htaccess on the web root, which included:
<Files ~ "\.db$">
Order allow,deny
Deny from all
</Files>
...
1
vote
1answer
84 views
Joomla: Cross site link boxes
I am currently evaluating Joomla for use on the the rebuild of our corporate website.
One of the features our designs have is spaces for what we've been calling widgets.
These widgets include common ...
5
votes
3answers
90 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
19 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) ...
0
votes
0answers
7 views
“Content-Type” in header is not changing [migrated]
I'm trying to call Rest web service with cURL that does next:
generate certificate
download this certificate
Every one of those functions is working alone, but when gathering them in one service ...
2
votes
2answers
49 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
3answers
58 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 ...
0
votes
1answer
65 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
1answer
60 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
1answer
28 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 ...
0
votes
1answer
23 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
464 views
Swift Mailer SMTP Mailer for PHP alternative
I'm trying to find a replacement for Swift Mailer as my website is on Dreamhost. They do not allow fsockopen() which apparently Swift Mailer uses.
Does anyone know of a good alternative, or can point ...
0
votes
2answers
25 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
0answers
14 views
Code revision/inspection companies [closed]
My friend would like to hire a team of php developers. He doesn't know coding so he can not check if the team is producing a quality code. He would like to hire a company who would make a short ...
1
vote
1answer
284 views
Webmatrix fails to connect PHP website to MySQL
I downloaded the latest versions of Webmatrix and MySQL.
I downloaded a PHP-MySQL Connector:
http://dev.mysql.com/downloads/connector/php-mysqlnd/
In the "Databases" Workspace I pressed "New ...
1
vote
4answers
69 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 ...
1
vote
2answers
171 views
Cookie manager PHP
I own a Joomla commerce store and although I use Google Analytics in order to track visitors, I need to install a cookie manager in order to be able to track cookies that were installed on customer ...
0
votes
0answers
8 views
How to make POST request in Restler Client ? [migrated]
I'm using Restler 3 library and I want to make a post request from php .
I tried this way :
POSTing JSON Data With PHP cURL
$data=array('name'=>'ddddd','email'=>'sdfsdf@sdgdsg'); ...
1
vote
6answers
3k views
SEO .html, .php or nothing [duplicate]
Possible Duplicate:
Should I use a file extension or not?
Hi Guys,
When I make a site, should I use the .php extension, rewrite it to .html or just remove it (.htaccess)? What's your ...
1
vote
2answers
232 views
.htaccess remove index.php/url/ from URL
.htaccess is not working.
/index.php/user -- is working
http://www.example.com/user is not working
Current .htaccess file:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond ...
0
votes
1answer
85 views
codesniffer command not being recognized after several installs and upgrades
I've tried to install codesniffer using pear but my mac is not recognizing the phpcs command.
pear config
Configuration (channel pear.php.net):
=====================================
Auto-discover ...
1
vote
2answers
84 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
43 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
votes
0answers
13 views
Secure upload in php [closed]
I have flash games website. In my panel I already made the "upload game" page, that you can insert the data about the game. Now, I have to upload image, and swf file, how should I do that secure?
...
1
vote
0answers
37 views
Top commentators widget compatible with Facebook comments [closed]
I created a project on freelancer.com but then I was wondering if this thing is possible knowing Facebook comments has its own restrictions and limitations.
"Hi,
I want a widget on the sidebar that ...
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
15 views
Initiating a download with php, is there a way to view the download link [closed]
I am trying to hide the location of my product files, so I am initiating downloads server side with PHP after a purchase has been made. Is there a way that the url of the file can be discovered?
0
votes
1answer
46 views
Turning openbase_dir off using .htaccess
Im 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 dont have access ...
1
vote
4answers
85 views
Restrict webserver access to specific set of URLS only
Is there any possible way to setup and restrict access web server to specific set of URLs only. I want my web server only respond to www.abc.com, www.abc.com/videos, www.abc.com/videos/vandor-1, ...
5
votes
2answers
126 views
Separating static/uploaded content from the site
I have a site where I anticipate to have a large amount of users. I've heard that it is a good idea to separate user content (uploaded images) and place them on a separate static server where lighttpd ...
0
votes
0answers
11 views
Quizz + Webinar + marketplace solution for a website [duplicate]
I am making a website in which students can take up quizz tests, attend webinars, sell their stuffs online (e-commerce portal) and see some information on it (like news).
Wwhat would be best solution ...
-1
votes
0answers
19 views
Detect Google Ads width and height [closed]
I want to create a JavaScript which detect Google Ads width and height when someone click on them like statcounter is there any way I can do this.
If I have created a script which parse width and ...
1
vote
1answer
116 views
PHP accessible shared content between two websites on the same VPS on different domains/IPs
I have two ecommerce websites, selling music digital downloads, on the same VPS, currently using cPanel/WHM (but thinking of switching to Virtualmin). They have separate domains and IPs of course. ...
0
votes
1answer
28 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 ...
1
vote
1answer
86 views
Php form to email software?
I have used PHP Form Wizard software, its really very good but I don't know why it starts throwing run-time error 91 and not working on my system any more.
I am looking for its alternative:
...
3
votes
1answer
55 views
Reverse proxy with no httpd access
I'll outline my requirement, proposed solution and if anyone has a better idea please feel free to suggest.
Requirements / Desires - I want multiple clients to be connectible to an address ...
1
vote
1answer
232 views
Bulletin Board System with tagging, email notification
I am looking for nice BBS system, Bulletin Board System, Discussion Board, or nice in-company communication platform.
There are lots of people, about 30 people, joining in our project.
We would like ...
0
votes
2answers
431 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.
...
0
votes
2answers
419 views
Copy website content from WebsiteA.com/file.html to WebsiteB/file.com every time interval
I want to copy a website from Website A to Website B every 10 minutes. Then with purple-include I want to do a transclusion and display it on mywebsite.com/page.html
So the task is download ...
0
votes
1answer
57 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
117 views
Links don't work on new server
I've recently moved from server with php4 to php5. Now I cant open content in my page. Links look like this "page.com/news-it-is-rainy-day-1.html". But when I try to open link I just get the archive ...
0
votes
2answers
34 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: ...
-1
votes
1answer
32 views
One CSV file is there split and upload the data into two tables using PHP [closed]
I have one CSV file I want to upload that file in MySQL table the CSV file contains 10 columns the first five columns stored in one table another five columns stored in another table in PHP.
0
votes
0answers
157 views
Cannot send email to Google Apps alias from PHP
I'm using Wordpress and sending email via Gmail SMTP:
server: smtp.gmail.com
port: 465
I created Google Apps main domain called domain.com and email info@domain.com.
Then I registered domain ...
0
votes
0answers
25 views
Looking for a gallery script with multi-file upload [closed]
I'm looking for a very particular script. Not just any gallery script. What I'm hoping for is the following:
Upload images without using the POST method or can POST within an iframe but cannot ...
-2
votes
1answer
26 views
SSI Navigation indication on a static site [closed]
I have a static website, with persistent navigation in a side bar. This navigation is added to the page using SSI. How can I differentiate the link, using bold, or a coloured background, of the page ...
2
votes
0answers
39 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 ...



