PHP is often paired with the MySQL relational database. PHP also includes great database support for PostgreSQL, SQLite, Microsoft SQL Server (API ref), Oracle, IBM DB2 & Cloudscape, Apache Derby and even ODBC. All modern versions of PHP include PDO, a built-in data-access abstraction library ...
-1
votes
0answers
15 views
account activation in codeigniter [closed]
In native php, I could send a link to newly created account user's email address an email to confirm his registration like this
$acc="Click the following URL to activate your account :<br/>
...
-1
votes
0answers
10 views
GET and POST method with previous page [closed]
<input type="submit" value="Edit" onclick="window.location.replace('http://localhost/?username=<?=$_POST['username']?>&email=<?=$_POST['email']?>');return true;">
I would like ...
-2
votes
0answers
14 views
PHP based CMS that runs on apache on Windows [closed]
Our client is running PHP on apache on a windows server and has mssql-2005 server as the database.
Do you know of some reliable CMS's that run on this kind of a hybrid setup?
Any feedback is very ...
1
vote
0answers
21 views
Mounting truecrypt volume under PHP
I would like to mount a trucrypt volume using PHP, but I'm getting the following return value from the exec command: Enter keyfile [none]:
This is how i tried:
First try:
truecrypt -p password ...
1
vote
2answers
27 views
All-in-one PHP solution to share files?
I have enough hard-disk space on a PHP-capable hosted site so I can host the files there instead of my work PC at home.
I was wondering if someone knew of a good, light PHP server application that ...
1
vote
1answer
31 views
In PHP is it ok to use ?> TEXT <?php instead of echo() [closed]
For example:
I have a php file like this:
<?php
if ($var == true)
{
?>
<p>Some text here</p>
<?php
}
else
{
?>
<p>Some different text</p>
...
0
votes
1answer
33 views
How to connect to localhost port from android?
I have one problem. I have EasyPHP server on my local computer. I am making program that is connecting to PHP scripts and returns me result to my local PC. Everything works nice I am using ...
-1
votes
0answers
74 views
How do I Upgrade PHP 5.1.6 to 5.3.10 on CentOS?
I am running CentOS5.6 64bit and want to upgrade PHP on my virtual server to 5.3.10. I have spent hours reading through Google but people have different ways of doing it and different modules ...
3
votes
1answer
20 views
Yum update on Fedora with option
is possible to install PHP with option --enable-pcntl (compile flag) with yum on Fedora 14?
I would like turn on pcntl support for my php scripts but I don't want to compile PHP.
Update:
Thats it, ...
1
vote
1answer
37 views
Set php mail() function to use smtp authentication
So, how can I set php's mail() function to use smtp authentication?
I have a web server and then an mail server. All company's email, incoming or outgoing, passes through the mail server and I was ...
0
votes
1answer
146 views
Fix for php 5.3.9 libxsl security “bug” fix
just this morning i updated my debian server to php 5.3.9 , change log (last item in list) has a fix for this bug and now when running any hosted site using XSL transforms i get:
Warning: ...
0
votes
0answers
8 views
How to change background color of line highlighting during debug process in Netbeans?
how to change background color of line highlighting during debug process in Netbeans?
Tried to change "Highlight Caret Row". No success. It only changes bg color of line where cursor blinks, but ...
0
votes
0answers
26 views
PHP/Javascript: Apart from the UserAgent, what system info is readily available to webmasters and how is it accessed? [closed]
I know it's possible to get things like the operating system a user is on, and the system language they use.... You can also get their time zone, right? Is it possible to get some other system info? ...
-2
votes
1answer
44 views
How to get x/y of small graph? [closed]
We have two graphics, big and small, we know x/y of the big graphic.
How to get the coords x/y of a small graphic?
<?php
$graph1_x = 100;
$graph1_y = 50;
$coords_graph1_x = 30;
...
0
votes
0answers
6 views
Using CURL to pass a specific POST variable [migrated]
I'm trying to automate the retrieval of some reports. You know what? To make it more fun let's say they are reports about sexy clowns on rocket ships instead of reports on affiliate marketing ...
0
votes
0answers
9 views
3 Table, SQL Query [migrated]
I am trying to write a SQL query that pulls from 3 tables and haven't been able to achieve the results I need. I want to return all the property names (labels) that are paired with a particular ...
0
votes
1answer
57 views
Simple searching of one directory of HTML files [closed]
I have a directory of files like so:
accordance-temporary-downloads
accordance-temporary-downloads.md
add-to-dock-from-commandline
add-to-dock-from-commandline.md
dock-settings-via-defaults-write
...
1
vote
1answer
33 views
How can I get the PHP linter output right in vim on Windows?
I'm using PHP linter to check syntax errors in PHP , right from vim
with that command :
:!PHP -l "%"
when I do that, ( I'm on Windows ) , Windows open another CMD and the result of the parsing is ...
1
vote
1answer
35 views
Finding where a variable or object was declared Netbeans
In Netbeans PHP if you control + mouse1 click on an object or variable it will go to the initial declaration, if it's in the same script.
But is there any way to make it go to the initial declaration ...
-3
votes
0answers
94 views
How to upload files to a WWW server?
I want to change my WWW pages.
I have a user name and a password on our FTP server for accessing my WWW space. I logged in with those and I created some directories; but I can't copy files into ...
2
votes
0answers
64 views
Invoicing system with API to add invoicing data remotely? [closed]
I have checked few systems and I realized I may ask you where to find php based open source invoicing system where I can do more groups of invoices like "ABC-1", "ABC-2", "DCB-1","DCB-2" with support ...
0
votes
0answers
15 views
How can I run a PHP CLI program in the console in Eclipse PDT?
I can only open PHP Command-line Interface programs in browsers in Eclipse PDT. I want to run it in the command line so that I can get the user's keyboard input.
1
vote
0answers
67 views
Couldn't start apache
I've installed xampp 1.7.7 on windows 7 x64 and imported configuration files from 1.7.7.
With default php.ini which is shipped in 1.7.7, apache start, but the web pages are browsed white pages and at ...
0
votes
1answer
28 views
Diffing a PHP class file
I'm looking for a program that can diff/merge code files, and be aware of method names.
Currently, I'm diffing two files in WinMerge - one is a class called Core_Search, the other is a class called ...
0
votes
0answers
58 views
How to load XDebug extension by Apache on Fedora?
I have installed PHP on Fedora and when I ran a command line php -v, I saw XDebug is installed with it.
PHP 5.3.8 (cli) (built: Sep 28 2011 15:50:24)
Copyright (c) 1997-2011 The PHP Group
...
0
votes
2answers
100 views
PHP ssh extension
I'm trying to install the ssh extension of PHP following this article.
My machine is a Linux mpriki 2.6.26-2-686 #1 SMP Mon Jun 21 05:58:44 UTC 2010 i686 GNU/Linux (lenny13 distrubition
When I type ...
0
votes
0answers
23 views
Share files on a Linux server to the Gnutella network?
I want to be able to store sample photos (Jpeg) on a server and share them with the Gnutella network. It's sort of an unobtrusive advertising scheme I have. There doesn't seem to be a lot of google ...
0
votes
2answers
39 views
Undo saved file after close
I've lost a very important file, because when I'm working on it, and I decide to test something there, I've deleted a very important part in it, and then my PC shuts down, so now I have missing a very ...
0
votes
0answers
21 views
Apache/Lion not serving up site in local testing environment
Moved to serverfault: http://serverfault.com/questions/344271/apache-lion-not-serving-up-site-in-local-testing-environment
Ive configured Apache for Name-based Virtual Hosting but I can't seem to get ...
0
votes
2answers
29 views
Panic - Coda. Code navigator doesn't recognize PHP
So, its simply began to be too lazy to parse my php code and it doesn't show anything. Only comments. No functions, no classes. How can i fix it?
Syntax-mode is correct: PHP-HTML.
0
votes
1answer
81 views
Very simple private videos script? [closed]
I'm in the process of searching for a PHP/MySQL script for a site where the admin could upload videos and asign them to users. This is for a training site.
Do you know of such a PHP/MySQL script? Or ...
0
votes
0answers
43 views
2
votes
1answer
76 views
How to completely remove MySQL files from my windows computer
I have recently installed apache, php, and mysql. Apache and php are configured properly, but when I tried to configure mysql it shows that there is already a security file for mysql that is setup and ...
0
votes
1answer
82 views
Can't install Gearman on Red Hat
I'm having problems installing Gearman from Red Hat on Amazon. I couldn't find a repo so I downloaded Gearman version .25, installed it and installed drizzle from their repo using:
yum install ...
0
votes
1answer
28 views
Disabling a root password for a PHP website
I have transferred a PHP/mySQL site to a different ISP. The clients want to protect access. I don't really want to change the Admin login - that is programmed using salt.
I was thinking of creating a ...
0
votes
1answer
106 views
Code Completion using CodeIgniter on Espresso
I have downloaded Espresso to use as a PHP (CodeIgniter) IDE, but it appears that Espresso doesn't have code completion for CodeIgniter.
Is there anyway that I can enable the code completion in ...
0
votes
1answer
42 views
How to keep PHP and MySQL of ampps as default in MacOSX?
I'm using MacOS X 10.6.2. I want to use AMPPS http://www.ampps.com/ as my local development server so my question is how do I keep my AMPPS PHP & MySQL default?
0
votes
1answer
99 views
Error message: sudo: mysql_secure_installation: command not found
I'm trying to learn PHP and I'm just in the process of installing apache,msql and PHP.
I'm on a mac osx 10.7.2
Processor 2.26 GHz intel core 2 due
I downloaded: mysql-5.5.18-osx10.6-x86_64.dmg
...
0
votes
1answer
18 views
Allow Verified Users Only To View Directories
I want to upload some websites I have worked on to an Apache server. What I would like to do though is to use an .htaccess file or something similar to redirect the user to a login page if they go ...
1
vote
1answer
59 views
How to access virtual serial port using PHP?
I'm trying to send an SMS via a 3G Modem with php, but I can only access com1. I can't access com3 (the 3G modem) because it's a virtual serial port.
Does anyone know how to access a virtual serial ...
1
vote
1answer
55 views
Enable PHP extensions on Windows system
I'm using Apache 2.2 along with Windows 7. I just need to enable MySQL extension to work. Its okay when I'm using windows binary (.msi). But when I'm trying with .ZIP file, MySQL extension is not ...
0
votes
0answers
98 views
Zend Server Cannot restart PHP: permission denied for user
When I click "Restart PHP" in Zend Server web interface, I get this error in the logs:
PHP Warning: Cannot restart PHP: permission denied for user IIS APPPOOL\DefaultAppPool. in C:\Program Files ...
1
vote
1answer
148 views
http://localhost:8080 is not working on running apacher Server through XAMPP
I am unable to configure a PHP/MySQL/Apache environment on my local machine using XAMPP.
In my xampp control panel the Apache and MySQL status is shown as started, but localhost URL is not working.
...
1
vote
1answer
91 views
Amazon EC2 (Linux) + RDS (MySQL) + PHP + pdflatex = LaTeX to PDF online
I would like to have a website capable of converting LaTeX documents to PDF online. So for example user types in some raw LaTeX (document), I'm saving it into my MySQL database and I'm able to convert ...
0
votes
2answers
49 views
In Vim, I'm trying to have all class methods fold automatically when I open a file
When I open a PHP file that contains a class, how can I have Vim automatically fold the document up like this?:
0
votes
1answer
36 views
PHP on IIS7 not showing pages
I have a PHP website on a Windows 7 machine I'm working with and it cannot be viewed by any browser - IE, Chrome, Firefox. When navigating to the root of the website (default index.php) the browser ...
0
votes
0answers
33 views
How do I do Scribe log analysis?
I have decided to use scribe to log all the error and request details in my site for analysis.
How can I use the scribe log data to analyze the data. Is there any tool for this or scribe server ...
0
votes
0answers
120 views
403 Forbidden Access to SugarSync folder in Sites under Mac OS Lion
Edit: If anyone has any comments or any idea whatsoever, please feel free to add your two cents. I would really appreciate any help on this matter, or any alternatives either. All I really need is a ...
0
votes
0answers
17 views
How to enable targeting by US/Canada Postal code using Openx UI?
I am new to Openx and not finding the appropriate documentation of Openx 2.6, which we are using. I just want to be able to target by US/Canada Postal codes. There is a plugin for "geo targeting" ...
0
votes
0answers
20 views
Windows Server 2003: Install PHP, mySQL etc
At my workplace there is a Windows Server 2003 machine that we use to host file servers and an existing (legacy) .net web application. I would like to install a wiki and some other php/mySQL backed ...