[PHP] C#

2002-12-05 Thread Wilmar Perez
Hello guys I'm sorry if this message disturbs anyone, I know it is completely off topic. I've been thinking about open a C# mailing list for I hadn't been able to find a good one so far. All I want to know is if there is enough people out there interested in joining such list. I posted

[PHP] Problem uploading files

2002-10-04 Thread Wilmar Perez
Hello guys This is my first post to the list, hope you can give point me to the right direction. Well, I've been trying to upload a file without much success so far. All I get is my firs error message: There is no file to send (shown in the script). This is my form: form

Re: [PHP] Problem uploading files

2002-10-04 Thread Wilmar Perez
Hello Justin, thanks for your comments. Well just to answer your questions: 1. I've got register_globals set to ON. I have never had problem before with my forms, but this is the first time I try to upload a file. 2. I'm following the sample code you recommend. They're in fact pretty

[PHP] Problem uploading PDF files

2002-10-04 Thread Wilmar Perez
Hello guys I do have a problem uploading PDF files. Whenever I try to upload a PDF file, the enviromental variable of the file field in the form gets set to none, otherwise it goes fine. Any idea? *** Wilmar Pérez

Re: [PHP] mysql_num_rows error

2002-10-08 Thread Wilmar Perez
Well, those error normaly appear when you've got something wrong in your sql statement. Make sure there is some information stored in your database, empty tables are sometimes troublesome. What do you use $link for? $sql = select USUARIO from docente where USUARIO = '$usuario'; $result =

RE: [PHP] Drop down Menu

2002-10-08 Thread Wilmar Perez
This is a function I made which covers my needs. May be of some help for you. This is a select box but I'm sure you can modify it for a combo box. $form_fiel_name is the name you want the box to have in your web form. $table is the table from you want to retrieve the information $field is the

[PHP] site path

2002-10-09 Thread Wilmar Perez
Hello guys I'm just looking for some advise: I've got a variable which I use to store my site's main path. Is it better to have it like this: $site_path = /my/web/path/ or like this: $site_path = http://my_url.com/; ? What about the trailing slash?, should I use it or not? I know these

[PHP] Confirm message box

2002-11-26 Thread Wilmar Perez
Hello guys I have an script that just shows a list of names brought from a data base as this: name 1 name 2 etc... I want to have the following: name 1 Delete name 2 Delete etc... And when the user hits the Delete link a pop up dialog box (javascript style) asks for confirmation. I guess

[PHP] Problem uploading files other than text/plain ones

2002-12-02 Thread Wilmar Perez
Hello guys I'm trying to do a simple task: upload files. However, when I try to upload files other than text/plain ones I get an empty $_FILES array. Is there anything I've got to modify in my php.ini file? I'm just following the expample in the php manual, the only thing different is that

[PHP] Weird upload problem

2002-12-02 Thread Wilmar Perez
Hello guys Well, I've been trying to upload a file without much success so far. So I'm trying to find the error but honestly this has become a real puzzle for me. I’ve got the following form: form enctype=\multipart/form-data\ name=\book_add\ method=\post\ action=.$PHP_SELF.?management=8

[PHP] Upload file thanks

2002-12-03 Thread Wilmar Perez
Hello guys My problem uploading files was solved, thanks a lot to all those that helped me in any way. Bye -- *** Wilmar Pérez Network Administrator Library System