14 Topics

Member Avatar for
Member Avatar for mlesniak

I am trying to connect to a Microsoft SQL server database using PHP 5.6 and am getting the error "could not find driver". I am initially attempting to use PDO but I could use the procedural version if necessary. I have downloaded the SQL server PHP driver and placed it …

Member Avatar for mlesniak
0
534
Member Avatar for patk570

Hi Guys, I would like to highlight the current day on this php script, can you help me figure out a simple way to do this? <?php $monthNames = Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); if (!isset($_GET["m"])) $_GET["m"] = date("n"); if (!isset($_GET["y"])) $_GET["y"] = …

Member Avatar for diafol
0
378
Member Avatar for judas princess

i have created a database with username,age,contact,email.now i want a column in which we can show whether the user is active or not.what sholud we do?if we create a column named as status,what sholud be type of column?boolean or binary or something else...??? i am using php to edit delete …

Member Avatar for pritaeas
0
233
Member Avatar for da(code)da

i have a list and mysql table. my goal is to make the links active if there is a game in its section: this is my code: mysql_select_db("my_db", $con); $result = mysql_query("SELECT * FROM gameChart"); $row = mysql_fetch_array($result); echo "<dl><dt>Writer's Forge</dt>"; if (!$row["secID"] == 1){ echo "<dd>Collaborated Poetry</dd>";} else { …

Member Avatar for coreyavis
0
272
Member Avatar for andy106

Hi I am trying to get the active state for my foreach loop for my magento site. I have have tried everything, but it just wont work.. here is my code: ksort($catArr); foreach($catArr as $postion=>$catId){ $_category = Mage::getModel("catalog/category")->load($catId); ?> <?php if($_category->getIsActive() ) { $caturl = $_category->getURL(); $catname = $_category->getName(); ?> …

0
136
Member Avatar for stereoworld

Hi Guys, Hope you can help me with this little conundrum I'm having currently. My company has a dedicated windows server with heart internet and for means of database interaction, we've been forced to move one of our php sites to there. Everythings great and works fine - except the …

Member Avatar for stereoworld
0
1K
Member Avatar for weasel7711

I had followed a tutorial on installing PHP on IIS 7 for Windows Server 2008 and changed the path to reflect my location of PHP. [url]http://www.howtogeek.com/50432/how-to-install-php-on-iis-7-for-windows-server-2008/[/url] I can use the command line to execute php, and I can run php files using localhost, however I cant run the troubleshooting command …

0
85
Member Avatar for rolfg

Installed Wordpress Multisite on Windows server 2008R2 and seems to be working fine EXCEPT: the update feature in WP fails or anytime when it tries to install something for you. I set up a valid / working FTP account as it sometimes asks for this, but that does not work …

Member Avatar for lasitha2005d
0
284
Member Avatar for phpdev13

My company has a IIS server which is hosting a PHP intranet application. The IIS basically authenticates the user by using Windows Integrated Authentication so once the user is logged on his/her machine he doesnt have to provide credentials again. One of the employees is using Remote Desktop to logon …

Member Avatar for sknake
0
266
Member Avatar for Josh Connerty

Hey guys, I am in the proccess of setting up my server. It is running Windows Server 2003 R, with IIS 6.0 (I think). Now the issue came when installing PHP. First off I got a IIS timeout error whilst running a PHP script containing [b]no[/b] php :@. I managed …

Member Avatar for gbarnas
0
146
Member Avatar for devat
Member Avatar for ian_422
0
118
Member Avatar for homeshow

Re: IIS & PHP configuration-PHP.ini instructions ignored My server setup: Win2k, IIS5.0, PHP 4.0.10 running as ISAPI Problem 1: PHP.ini settings ignored. Not too sure how to address this one. I've tried changing some settings in the PHP.ini file. Some just do not seem to take. Example ~ there's a …

0
144
Member Avatar for homeshow

Re: IIS & PHP Setup question-Configuring for multiple websites~ My server setup: Win2k, IIS5.0, PHP 4.0.10 running as ISAPI. Virtual servers (websites) each set up with individual IP addresses. In IIS, each site is individually set up to use PHP as opposed to having PHP set up at the top …

0
74
Member Avatar for Phaelax

I installed PHPDev5 and can run my php files no problem on localhost. However, since I'm the only who can seem them, I wanted to setup IIS so that my site could be seen by others on the internet. (until i move to an actual dedicated server) I believe the …

Member Avatar for blud
0
86