[PHP] XML and PHP

2005-07-06 Thread Cima
hi all, i would like to know where i could find more info on xml and working xml with php. thanks.

[PHP] problem with file download konqueror-internet explorer

2005-05-16 Thread cima
hi all, i have the following code in a script whereby i send the filename to be downloaded. there is something that´s not working properly depending on the web browser (and probably the Operating system). now im working on php4,postrgesql,apache2 an mandrake 10 with Konqueror as my web browser. t

[PHP] using require

2005-05-14 Thread Cima
hi all, i have my web site working something like this: in every php script i have require(auth.php). this auth.php has my connection to my postgresql server and database along with some other stuff i need for the user to be authenticated to my web site. when i log on, this auth.php connects t

[PHP] file uploads and sizes

2005-05-05 Thread Cima
i have the following code that works except when the file i'm trying to upload excedes the upload_max _filesize and post_max_size defined in the php.ini file. what happens when the file is smaller than the max sizes mentioned previously, the if (isset .) part of the code is executed yet when th

[PHP] file uploads and sizes

2005-05-05 Thread Cima
i have the following code that works except when the file i'm trying to upload excedes the upload_max _filesize and post_max_size defined in the php.ini file. what happens when the file is smaller than the max sizes mentioned previously, the if (isset .) part of the code is executed yet when th

[PHP] downloading files

2005-05-05 Thread Cima
hi all, i've uploaded some files into my postgresql db, via a php script, and now id like to give a user the posibility to download these files via a php script. what would be the best way to do this bearing in mind that the files are 'integrated' into the db and are referenced by an oid. the tab

[PHP] temp table : solution

2005-04-28 Thread Cima
hi, thanx for your input. i noticed that the last part of the create table query was the part that was causing the 'problem'. the on commit delete rows was deleting the values i inserted after executing the query therefore i couldnt select anything from it. i did try Richard Lynch's code and it

[PHP] temp tables

2005-04-27 Thread Cima
hi, im working with php 4 and postgresql 8 and in my php script id like to create a temp table on my database server. how do i do this? how do i verify it was created? i tried the following: $sql = "create temp table s_info(a int, b text) on commit delete rows "; pg_query($dbh,$sql); $dbh i

[PHP] converting word document to plain text file

2005-04-20 Thread Cima
hi, i need to store some files that contain text in my database. im planing to upload the file using a php script. what id like is to be able to take the info(text writen in the file) from the file and store it on a plain text file and then store it since i plan to consult the info in these plain

[PHP] error handling

2005-04-12 Thread Cima
hi, im working with php 4 and postgresql 8 and i would like to know how to handle certain errors generated. in postgresql, i've written a stored function that selects a record from a table and in case no record is found i 'raise an exception'. fine, now in my php script i call that the stored fu

[PHP] image display

2005-04-12 Thread Cima
hi, what is the best way to display an image, that is stored in a database in postgres, in a table form along with other fields that are in the same table? postgresql 8.0 e.g my_table(name varchar(15),sex character (1), picture_id oid) in a table in php, i'd like to show all the rows in my_table

[PHP] filtering uploaded files

2005-03-29 Thread Cima
hi, id like to know if there is a way to filter or specify what type of files id like uploaded to my server. for example, if i make a form to upload image files, when i click browse there are 2 fields one that'll store the file name(of the file selected) and the other filetype (usually say all

[PHP] calling stored procedures from php

2005-03-29 Thread Cima
hi , i have a stored procedure in postgresql and id like to call it or execute it from php. how do call this stored procedure with its variables or parameters? thanx

[PHP] modules

2005-03-25 Thread Cima
hi, im building a web site and i have seen some sites built using modules to facilitate further maintainance. by modules im referring to having a module for administrating the web site , another for searchs to be done, another for reports to be generated ect. i hope im explaining my self. wha

[PHP] php.ini file

2005-03-20 Thread Ruel Cima
hi, i'm experimenting with php on mandrake 10 and i'm not sure about a few things. first, where should the php.ini file go? i mean in which folder. next, i need to upload files to a database and i dont know what folder to specify as the temp folder under the file uploads section in the php.ini n