RE: [PHP-WIN] CSS Question

2002-08-16 Thread Martin.Andrew
You can always build the entire CSS file with PHP and use standard PHP varaibles where necessary > I know this is not the specific list for this, but I figured there'd be a couple > CSS gurus here. > > Is there a way to create CONTSTANTS or variables in css? > > I have 2 colors that I need t

[PHP-WIN] Qmail Server Problems....

2002-06-19 Thread Martin.Andrew
We have recently changed our mail server from an Exchange Server to a Qmail Server for spam reasons. Since the change we have encountered problems with the mail() function - SMTP. I use 4 variables for the mail function mail($recipient, $subject, $messageBody, $headers); I have tried using the

[PHP-WIN] form Post action

2002-06-04 Thread Martin.Andrew
I have a strange Bug that only appears in Netscape 4.7* I have a set of user vaiables in a form in the menu frame, I copy these variables (using javascript) to another form in the main frame of the application, when I post this form I echo the name of the form input values. In all browsers the v

[PHP-WIN] getimagesize warnings...

2002-04-25 Thread Martin.Andrew
I'm trying to upload images to the websever I create a temp file and copy it to the webserver 95% of the time I have no problems, occasionally I get the follwoing errors.. Warning: getimagesize: Read error! When I check the web server a file with the same name of the image I tried to copy exis

[PHP-WIN] mysql_fetch_array warnings.

2002-04-23 Thread Martin.Andrew
testing locally I use the following code $query = "select * from users where UserName LIKE '$username'"; $result = mysql_query($query); if ($row = mysql_fetch_array($result)) { ... ... } works fine. On the ISP machi

RE: [PHP-WIN] Warnings...

2002-04-11 Thread Martin.Andrew
ink it's a rights issue, being a general user I'm not allowed to modify this! -Original Message- From: Daniel Reichenbach [mailto:[EMAIL PROTECTED]] Sent: 11 April 2002 16:18 To: Php-Windows Cc: 'Martin.Andrew' Subject: RE: [PHP-WIN] Warnings... Try using: allow_

RE: [PHP-WIN] Warnings...

2002-04-11 Thread Martin.Andrew
Anyone know a way of turning WARNINGS off with the ini_set() function? I can't find it in the list of changeable options! -Original Message- From: Daniel Reichenbach [mailto:[EMAIL PROTECTED]] Sent: 11 April 2002 14:26 To: Php-Windows Subject: RE: [PHP-WIN] Warnings... The only refe

[PHP-WIN] Warnings...

2002-04-11 Thread Martin.Andrew
I keep getting the following warning message on my production server (ISP hosted), but local version doesn't have this problem! I check the local INI file and can't find the "allow_call_time_pass_reference" mentioned! Any ideas? Warning: Call-time pass-by-reference has been deprecated - argument

RE: [PHP-WIN] Session errors....

2002-03-27 Thread Martin.Andrew
tory. For example: session.save_path = c:\sessions HTH Piotr --- "Martin.Andrew" <[EMAIL PROTECTED]> wrote: > Quick Question... > > I am registering a session with the session_start(), > session_register() > functions, > when I do it on our test server (UNIX,

[PHP-WIN] Session errors....

2002-03-27 Thread Martin.Andrew
Quick Question... I am registering a session with the session_start(), session_register() functions, when I do it on our test server (UNIX, Apache) I have no problems, locally (Win2K, Apache) I get the follwoing error Warning: open(/tmp\sess_0ac1a7836d05713e245d299b54528e64, O_RDWR) failed: m (2

[PHP-WIN] fputs() or fwrite()

2002-02-12 Thread Martin.Andrew
Is it possible to directly append a file with fputs ("string", 'a'); and place the string at a certain point in that file, eg. line number? Now it is always placing the string at the bottim of the file. Do I have to read to file first?

[PHP-WIN] htaccess password encryption

2002-02-11 Thread Martin.Andrew
Does anyone know how to encrypt a password for use in htaccess? I creating a secure environment using PHP, I create the directory structure and htaccess files dynamically based on php forms / sessions but I'm having problems encrypting the password for the htpasswd file for apache. I have see ma

[PHP-WIN] apache/tomcat/php configuration problems...

2002-02-06 Thread Martin.Andrew
This probably isn't a PHP problem but it does effect my php sites, so maybe someone has some ideas what I'm doing wrong. The current configuration Linux (debian) OS, Apache webserver, MySQL and PHP 4 all works fine. I would like to configure Tomcat 3.3 for JSP pages/sites on the same server, her

[PHP-WIN] password protection

2002-01-29 Thread Martin.Andrew
Part of my site is PHP based the other part is HTML. I want to certain parts of the site to only be available to users with valid passwords. The current solution uses a .htaccess file, where the user has to enter valid username and password to gain access. This is fine but pretty basic, the user

[PHP-WIN] multiple select?

2001-12-18 Thread Martin.Andrew
I want to use a combo box with multiple select enabled. Selecting one value works fine but when I select multiple values only the last value is saved in the DB. you must be able to use this function in PHP, right?

[PHP-WIN] Header() redirect

2001-11-30 Thread Martin.Andrew
Is there another function that does the same job as Header() I'm creating a forum, and when a user sends a message I call a function that checks name, password etc, then updates the DB and then calls the Header function to redirect the page. This would be fine except I am also using session lib

[PHP-WIN] MySQL question....

2001-10-19 Thread Martin.Andrew
Just a quick question maybe someone working with PHP and MySql has already come across it before. Is it possible for MySQL to store specific language characters eg, japaneese or Korean?

RE: [PHP-WIN] installing on Unix....

2001-10-15 Thread Martin.Andrew
ompile PHP with built-in MySQL support. This is described in detail in the PHP manual. Does anyone know where in the PHP manual this can be found? I'm using PHP4 with MySql on a debian linux server -Original Message- From: Martin.Andrew [mailto:[EMAIL PROTECTED]] Sent: 15 October 2

[PHP-WIN] installing on Unix....

2001-10-15 Thread Martin.Andrew
I have successfully installed php4 on windows all works fine. I have been using this version and uploading the results to a (pre installed) unix server with php3 installed. But the time has come to upgrade the server with the PHP4 etc So for testing purposes a test server was installed with