Hi all,
I am trying to work with the program called OutSite-In to transform an online php based html site onto standalone offline version that can be installed from CD. I am having trouble getting a couple of things to work, and I wondered if anybody could shed some light?
I designed the original game (http://pressakey.net/snakes/) in Dreamweaver, and the code in the connections/SNAKES.php folder is...
<?php
FileName="Connection_php_mysql.htm"
Type="MYSQL"
HTTP="true"
$hostname_SNAKES = "localhost";
$database_SNAKES = "jdixon_signature";
$username_SNAKES = "jdixon_all";
$password_SNAKES = "XXXXXXXXX";
$SNAKES = mysql_pconnect($hostname_SNAKES, $username_SNAKES, $password_SNAKES) or trigger_error(mysql_error(),E_USER_ERROR);
?>
(I XXXXX'd out the password, but it is correctly entered in the file.)
But when this is called from the page, I get the following error...
Fatal error: Call to undefined function mysql_pconnect() in C:\Program Files\OutSite-In_Standard\OpenedProject\source\files\Connections\SNAKES.php on line 9
I trried asking the OutSite-In support team, but they are not willing to get involved in php coding. I was wondering if anybody had any ideas as to what I am doing wrong?
Also, the game involves the php file writing text files on the fly, that control the audio. Online I ust changed the CHMOD of that particular directory to 777, how can I do that offline during installation?
Many mnay thanks!
Bill.