[PHP-DB] php doesn't work

2001-08-23 Thread Wilmar Pérez

Hello guys

My server was running php4.0 just fine, but I needed to use some new
features, so I decided to upgrade to the latest one (php4.06).  I followed
the normal procedure:

./configure \
  --with-apxs=/usr/local/apache/bin/apxs
  --enable-ftp \
  --with-mysql \
  --with-dbase \
  --with-imap  \
  --with-yp

and then:  make
and finally: make install

I didn't get any error message during the process, however my php pages
don't work at all.

Any idea?

Thanks for your help
---
Wilmar Pérez
 IT Manager - Central Library
 University of Antioquia
   Medellín - Colombia
  tel: ++57(4)2105145
---


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] A newbie question

2001-08-15 Thread Wilmar Pérez

Hi guys

This may sound a bit silly but don't know how to do it.  I've got the
following print statements, I would like them to be links, how do I do that?

  print(liComunicaciones/libr);
  print(liInvidentes/libr);
  print(liCirculación/libr);
  print(liReferencia/libr);
  print(liHemerotecas/libr);
  print(liCentro Referencial/libr);
  print(liPatrimonio Cultural/libr);
  print(liCapacitación/libr);
  print(liProcesos Técnicos/libr);

Thanks a lot

Pd:  The a href=whateverpage.phpLink/a  gives me an error on loading
the page

---
Wilmar Pérez
 IT Manager - Central Library
 University of Antioquia
   Medellín - Colombia
  tel: ++57(4)2105145
---


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] Valid resource

2001-08-06 Thread Wilmar Pérez

Hi guys.

I'm getting the following error and have no idea what the hell it means:
**
Warning: Supplied argument is not a valid File-Handle resource in common.php
on line 425

Warning: Supplied argument is not a valid File-Handle resource in common.php
on line 426

Warning: Supplied argument is not a valid File-Handle resource in common.php
on line 427
**

the mentioned lines are:

**
  fputs ( $file, /channel\n);
  fputs ( $file, /rss\n);
  fclose( $file );
**

I guess many of you will ask for the full common.php file, as it is quite a
long one I will send it at request.

Any help will be highly appreciated!

Thanks
---
Wilmar Pérez
 IT Manager - Central Library
 University of Antioquia
   Medellín - Colombia
  tel: ++57(4)2105145
---


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] Warning messages

2001-07-19 Thread Wilmar Pérez

Hi guys

I've got a form in my web site which is working just fine, that is, it does
everything I want, however whenever I load the page I get the following
warning messages:


Warning: Unable to open '' for reading: No such file or directory in
/home/thesis/public_html/thesis/php_pages/InputTesis2.php on line 137

Warning: Unlink failed (No such file or directory) in
/home/thesis/public_html/thesis/php_pages/InputTesis2.php on line 138

Warning: Unable to open '' for reading: No such file or directory in
/home/thesis/public_html/thesis/php_pages/InputTesis2.php on line 144

Warning: Unlink failed (No such file or directory) in
/home/thesis/public_html/thesis/php_pages/InputTesis2.php on line 145
***

Anyone knows what it means?  Any help will be highly appreciated

---
Wilmar Pérez
 IT Manager - Central Library
 University of Antioquia
   Medellín - Colombia
  tel: ++57(4)2105145
---


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] Authomatic Sorting

2001-07-04 Thread Wilmar Pérez

Hello guys

I have the following two problems:

I've got a table with an autoincrement field which is the registry's ID,
everything goes well until I delete any registry.  MySQL doesn't re-sorts
the information.  That is, I have the following:

001  user1
002  user2
003  user3

If I delete user2, I would like to have something as shown next:

001  user1
002  user3

But instead I end up with the following:

001  user1
003  user3

Any idea or comment?
---
Wilmar Pérez
 IT Manager - Central Library
 University of Antioquia
   Medellín - Colombia
  tel: ++57(4)2105145
---


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] sorting a field

2001-07-04 Thread Wilmar Pérez

Hello guys

I've got a quite silly question:  is there any way to sort up a field with
missing values in it?
---
Wilmar Pérez
 IT Manager - Central Library
 University of Antioquia
   Medellín - Colombia
  tel: ++57(4)2105145
---


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] Header error

2001-06-29 Thread Wilmar Pérez

Hello guys

Thanks very much for your help on the ADODB error, I have already fix it.
Now I've got another weird message.   When I send data to the DataBase from
a form, it does store the data but sends me back the following response:
***
Warning: Cannot add header information - headers already sent by (output
started at /home/thesis/public_html/registro.php:2) in
/home/thesis/public_html/registro.php on line 80
***
I checked line 80 and there is a closing parenthesis in there.

Any idea?

Thanks a lot for your help.
---
Wilmar Pérez
 IT Manager - Central Library
 University of Antioquia
   Medellín - Colombia
  tel: ++57(4)2105145
---


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]