Re: [PHP-DB] Cookies ?

2004-02-09 Thread Chris Wright
Try using $_COOKIE['cookie_name'] - Original Message - From: "Omelin Morelos" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 10, 2004 12:55 AM Subject: [PHP-DB] Cookies ? > Friends > > Is there a way to read a cookie's with php , that were generated with > javascr

Re: [PHP-DB] PHP_SELF and parse error

2004-02-09 Thread Chris Wright
Try using $_SERVER["PHP_SELF"] instead of $PHP_SELF. I believe $PHP_SELF is only set on servers with register variables turned on. ChrisPW - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 10, 2004 12:49 AM Subject: [PHP-DB] PHP_SELF and par

[PHP-DB] mssql_bind problems

2003-07-09 Thread Chris Wright
I am running PHP 4.3.2 and MS-SQL 2000. I am trying to run some sample code to make sure all works well. The code below works fine. It simply inserts a record into a table. This is done in the stored procedure code on the SQL server. Code that works: $myServer = "192.168.200.28"; $myUser = "s

[PHP-DB] Problem loading images into MySQL

2003-01-21 Thread Chris Wright
I'm having big problems getting PHP to load images into a MySQL database. I can and have loaded images perfectly via other routes but when I try to do it via PHP the data always ends up corrupted. I don't get any errors but the binary data is always knackered. I'm using PHP 4.3.0/Apache 2.0.43 on