[PHP-DB] ErrorDocument

2003-09-03 Thread Lars Jedinski
I'm not sure if I'm right here, but I've got the following problem: I was going to set up my own errordocument using a .htaccess file which has: ErrorDocument 404 /error404.php It works quit fine for .html files but has no effect in php files. Any clue for me? Lars -- PHP Database Mailing

[PHP-DB] copy files (ftp?)

2003-09-04 Thread Lars Jedinski
I have to copy files created with php on www.aaa.com to another domain, e.g. www.bbb.com Is and if how is this possible with PHP? Lars -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

AW: [PHP-DB] Need to Run a PHP script using CRON or ?

2003-09-15 Thread Lars Jedinski
;-) [my English isn't fine - i know :-( ] Lars Jedinski -Ursprüngliche Nachricht- Von: Jonathan Villa [mailto:[EMAIL PROTECTED] Gesendet: Montag, 15. September 2003 21:41 An: [EMAIL PROTECTED] Betreff: [PHP-DB] Need to Run a PHP script using CRON or ? I have an application

AW: [PHP-DB] query problem

2003-10-02 Thread Lars Jedinski
I'm not sure if you mean that, but try: SELECT DISTINCT(contents_.company_id), companies.* FROM contents_, companies WHERE (contents_.Products LIKE '%heating%' OR contents_.Manufacturer LIKE '%heating%') AND contents_.company_id = companies.id Lars -Ursprüngliche Nachricht- Von: Doug

AW: [PHP-DB] selecting and updating fields

2003-10-12 Thread Lars Jedinski
You could do: mysql_query(update url set nrviews=nrviews+1 where url='$url'); if(mysql_affected_rows()==0) mysql_query(insert into url (urn, nrviews) values ('$url',1)); Lars -Ursprüngliche Nachricht- Von: Claudiu Bandac [mailto:[EMAIL PROTECTED] Gesendet: Montag, 13. Oktober 2003

AW: [PHP-DB] Can i add mysql_array into a session?

2004-02-01 Thread Lars Jedinski
There's no need to pass the data to the other page. As you passed $PUBIN_NUM you can (re)load the data easily: select ... where product_code=$PUBLIN_NUM Lars Jedinski -Ursprüngliche Nachricht- Von: Louie Miranda [mailto:[EMAIL PROTECTED] Gesendet: Montag, 2. Februar 2004 04:33