Dear All,
I'm using :
- Apache 2.2.3
- PHP 5.2
- On Windows XP SP2
Executing a simple code :
On Execution I Got :
Fatal error: Call to undefined function imagecreate() ..
In php.ini :
extension_dir = "c:\php\ext"
;php_gd2 extension uncommented
extension=php_gd2.dll
Restarted many time
Hi Alf
> Is this the correct method to use in Windows?
No, it's not the correct method on ANY platform. Before asking a
question on these lists, it's wise to check the documentation first.
> Note: HTTP/1.1 requires an absolute URI as argument to Location: including
> the scheme, hostname and a
I have upgraded my Windows XP server with Apache 2.0.54 and PHP 5.0.3
and now find that I cannot get the php code:-
header("location: index.shtml");
to work.
What I want to do is to switch to another shtml on successful completion
of this script.
Is this the correct method to use in Windows?
--
R
Bruce Cowin wrote:
> Strange. Do you know it's the password causing the problem? What if you
> pass an empty string for the password and see if the insert works?
>
>
Good suggestion Bruce, thank you. Did the blank password and still get
the same error therefore possibly I am misunderstanding
I am using $_SESSION["usrname"]=$_POST["username"] construct to set
$_SESSION variables.
My question re Apache is that the SSI variables are not getting
displayed in php scripts and the $_SESSION data is not appearing in shtml.
The $_SESSION data works fine in php scripts and the server side
includ
The following works fine:-
INSERT INTO Users (FirstName, LastName, Usrname, Passwrd, AccessLevel,
last_login, UserID)
values ('Alfred', 'Stockton', 'alf', 0xd8cc7e40d17aaefd27cd324f7ba91079,
'9', '2006/10/03 13:09:28', '0' )
Therefore problem solved but thanks for the assistance and suggestion