I read here http://www.daniweb.com/code/snippet217293.html# it is possible.
What should be activated in PHP.Ini or elsewhere to make this work ? Are there any examples with Excel ?
I am having the hardest time to get a simple sendmail.php to work.
My form html is
<form action=sendmail.php id=contact-form method=post>
<p>
<label for=cf_name>Name *</label>
<input id=cf_name name=cf_name placeholder='Enter your name...' required=required title=Name type=text />
</p>
<p>
<label…
I have recently added style information to my maps script, and it stopped working.
Have I done something wrong? Guess you can tell I'm very new to this. Any help appreciated.
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="content-type" content="text/html;…
I need to display a section or another in a smarty template. My condition is simple: if a smarty value starts with a string I should display one section, otherwise the other smarty section should be displayed. I can change only the tpl files.
{php}
if (substr($url,0,4) != 'http')
{
{/php}
…
I'm new in Doctrine, I'm following the examples in the documentation. I created my entities and everything is working fine until I created a Repository. I have an entity called User and a UserRepository.
But when I try to use the User repository I get the error message: Fatal error: Class…
I am designing a map game, using PHP and MYSQL. I don't know how to make the players who sign-in to the website to see other players who are also connected to the site and be able to chat with one another.
I want to design the game in such a way that 2 players can play with each other and…
I have a website hosted on a dedicated server, I noticed that Google and other search engines can't access to the most URLs on my website!!
On my localhost I have made a small test :
var_dump(fopen('http://www.aswat.ma', 'r'));
And I got this error :
Warning:…
I am having a mobile app created for ios. The developers built the app in php. The app requires an algorithm so I found another programmer to develop it. The algorithm programmer built the algorithm in python. The developers refuse to finish the app because they say…
i have seen through other questions on the topic but most are a bit old. I looking for a good editor for developing on PHP in Linux(ubuntu). Here is my requirements
Basic editor features
Free
Light-Weight
Syntax highlighting
Code Folding…
I have read a lot about PHP login security recently, but many questions on Stack Overflow regarding security are outdated.
I understand bcrypt is one of the best ways of hashing passwords today. However, for my site, I believe sha512 will…
I know out there are a lot of excelent containers, even frameworks almost entirely DI based with good strong IoC classes. However, this doesn't help me to "define" a new pattern. (This is Php code but understandable to anyone)
Supose we…
I want to develop a PHP website feature where users sign up, get a javascript snippet code that display an image on their site, and let's me track the number of visitors, unique hits, clicks and average visitor duration on their page. Is…
So I was doing the following:
sudo apt-get install php-pear php5-dev
sudo apt-get install imagemagick libmagickwand-dev
sudo pecl install imagick
It all works till I get the error:
make: *** [imagick_class.lo] Error 1
ERROR: `make'…
I have installed apache 2.2 and php 5.3. when I run a simple php code like
<?php phpinfo();?>
instead of the simple php information page the code shows up on the screen. My php it seems is not running.
How I can enable it and…
I have following development setup for my PHP projects:
Working station running on Windows 7 with PhpStorm IDE.
GIT for version controlling.
CentOS on virtual machine (VirtualBox) with Apache and MySQL (copy of production server).
…
This is nilesh , i am newcomer in this field , i need the script for when i click the upload button then uploaded images it should preview and store into db like wise i want to upload 10 images at same page using php mysql .
…
I'm a PHP developer with familiarity with Rails and a focus on MVC development. My company is moving more and more to SharePoint and I feel I need to learn to build application within the SharePoint system.
I have some brief…
Hello,
I've started doing some research on the technologies that I will need for my website.
I'm trying to implement a really simple website with OpenID user registration. The website will store a block of text for each…
I have my lampp installed in the default /opt/lampp directory and the PHP code is in the htdocs folder. Now, to edit any of the files I have to use sudo permissions and have to type my password (or use sudo -i) which I do…
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…
I am currently contemplating the layout system for my php based game but i've run into a couple of worries. So my idea is a 9X9 grid where the center 3X3 are inner castle. The inner castle will be…
UTF8?
UTF16?
Do strings in PHP also keep track of the encoding used?
Let's look at this script for example. Say I run:
$original = "??????????????";
What actually happens?
Obviously I think…
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…
I have a server with centos 6.3 and cPanel
After the upgrade from php 5.3.16 to php 5.3.19 my site stopped working.
When I try to execute an index.php manually I'm receiving the following…