[PHP-DB] Can't connect to local MySQL

2003-11-20 Thread Jose
gt;mysql -h localhost -u bm_user -ppassword Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 29 to server version: 4.0.16-standard Type 'help;' or '\h' for help. Type '\c' to clear the buffer. What is the problem? Thank yo

[PHP-DB] MySQL and PHP

2003-11-20 Thread Jose
I'm trying to work with MySQL 4.0.16-standard and PHP php-4.3.4 I'm getting the folowing error: Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/db_fns.php on line 5 Any Ideas what I am missing in the configuration. If I run phpinfo() I get: System Linux stripples

[PHP-DB] MySQL and PHP

2003-11-20 Thread Jose
I'm trying to connect to a MySQL database. I'm able to do it from mysql, I can see my databases and tables. When I try to see it from php I get the error: Fatal error: Call to undefined function: mysql_connect() in /var/www/html/test2.php on line 3 What I'm missing in the configuration? When I'm

Re: [PHP-DB] Query syntax error?

2011-01-13 Thread jose
you have renamed places_data table to 'a' 2011/1/13 Harvey : > Hello, > > I have a query on a page that used to work fine, but is now generating an > error. > > I assume that the version of php or mysql was updated on the webhost server > or something like that? > > Here is the query: > > select c

[PHP-DB] reading dbfs from remote server

2001-02-09 Thread Guridi, Jose
I have an NT web server with php an I'm trying to read dbf files that are in an other NT server, but I get an error saying I have no permission to the files. looking at the files they have reading writing permission for everione so there should be no problem Any Idea? Jose Guridi --

[PHP-DB] presentation to the list

2001-02-12 Thread alejandro . jose
Hello, I'm new to the list and I would like to present myself. My name is Alejandro and I'm a 25 years old engineer in computer science from Alicante (Spain). In my current job, in my city council, I'm programming (or trying to do so) an Intranet application under PHP+Apache+Informix. This is the

[PHP-DB] RV: Warning in ifx_connect() with PHP and Informix

2001-02-12 Thread alejandro . jose
> Hello, > > I'm working in an intranet application with PHP and Informix. > My problem comes when I obtain a WARNING from PHP like that: > > Warning: E [SQLSTATE=IX 000 SQLCODE=-439] > in ../funcionesBD.inc on line 64 > > The line shown above (64) includes an ifx_connect() statement fr

[PHP-DB] PHP + INFORMIX: Problems with dates

2001-02-13 Thread alejandro . jose
Hi, My problem is about working with dates. When I store dates on Informix (field of type "date") this date is correctly stored on the DB according with my current locale (spanish, es_ES). The format is dd/mm/. The problem comes when I "just" retrieve this date from the DB and show it in a p

[PHP-DB] Re: php_mysql.dll fails to load

2004-10-27 Thread Jose Stefan
It appears as if the "php_mysql.dll" module has problems loading the "libmysql.dll" file. Setting the PHP dir to the system path var did NOT work for me. However, these options did: a) copy the bundled libmysql.dll to the windows system32 folder. b) OR, copy the bundled libmysql.dll to apache's B

[PHP-DB] Re: php_mysql.dll fails to load

2004-10-27 Thread Jose Stefan
It appears as if the "php_mysql.dll" module has problems loading the "libmysql.dll" file. Setting the PHP dir to the system %path% var did NOT work for me. However, these options did: a) copy the bundled libmysql.dll to the windows system32 folder. b) OR, copy the bundled libmysql.dll to apache's

RE: RE: [PHP-DB] how is it possible to read data from an excel workbook ?

2002-06-13 Thread Jose Moreira
thanks for your attention the question is that im 'working' on a software to automate a weekly employee task that resumes to import a excel file that comes in zip format from the mother-company with new prices and products, to update an accounting software that uses M$ access db. there are alr

[PHP-DB] FW:

2002-06-21 Thread Jose Moreira
> Dennean > > >>> > > Denise > > >>> > > Deolinda > > >>> > > Diana* > > >>> > > Diane > > >>> > > Dilbert > > >>> > > Diogo** > > >>>

[PHP-DB] configuration

2002-09-18 Thread roslyn jose
hi, could u guys help me on how i should configure postgresql support in php. thanks. roslyn - Do you Yahoo!? Yahoo! News - Today's headlines

[PHP-DB] more on config

2002-09-18 Thread roslyn jose
hi, thanks for that reply, but the other_options, i need to configure it for gd, apache, postgresql and a few others and also each of these have differnt versions, so whats the exact command i need to follow. thanks roslyn - Do you Yahoo!? Yahoo! News - Toda

[PHP-DB] unicode with postgresql

2002-09-19 Thread roslyn jose
hello, when im creating the postgres database how do i set the character set to utf-8, i want to work with unicode, could u give me the syntax. thanks alot. regards, roslyn - Do you Yahoo!? New DSL Internet Access from SBC & Yahoo!

RE: [PHP-DB]opening and reading from file

2002-09-22 Thread roslyn jose
HI,IVE BEEN TRYING TO PRINT THIS CODE, BUT KEEP GETTING AN ERROR: THE ERROR I GOT WAS THIS:Parse error: parse error in /var/www/html/learn/frames.php COULD SOMEONE PLS HELP ME OUT EHRE, I JUST WANT TO PRINT THIS FILE, THATS ALL. THANKSREGARDS ROSLYN John Holmes wrote:Try $_POST['field_1']

RE: [PHP-DB]opening and reading from file

2002-09-22 Thread roslyn jose
le-slashes $contents = join('', file($filename)); echo $contents; ?> should work. your parse error is probably because of the "\" in your filename, you need to escape them with another "\". HTH Beau // -Original Message- // From: roslyn jose [mailto:[EMAIL PROTEC

RE: [PHP-DB]opening and reading from file

2002-09-22 Thread roslyn jose
hi, the error is on line5. the error is: Parse error: parse error in /var/www/html/learn/frames.php html regards, roslyn Beau Lebens wrote:what exact error are you getting, and what line is it on etc? beau // -Original Message- // From: roslyn jose [mailto:[EMAIL

[PHP-DB] advancing file pointer

2002-09-22 Thread roslyn jose
hi, i was able to read from the file, thanks for your help, but one problem it gives me the first 2 chars as garbage values and then proceeds to print out the enter file. so how can i proceed to advance the file pointer. any suggestions. regards, roslyn - D

[PHP-DB] arrays

2002-09-23 Thread roslyn jose
hello, im not sure of how to create a 1-d array. i want to read a text file and put each line into an array, i wrote the following piece of code but got errors, "; } fclose($fp); ?> basically i need to store the txt file data into the posgresql database. the output of the above code is: ar

[PHP-DB] string concatenattion

2002-09-23 Thread roslyn jose
hi, i have an array of strings and would like to create a single string from the array but starting somewhere in the middle of the array index and not from the start, is there any function for me to do a string concatenation. ive gone thro the manula and didnt find any, but if u have any brig

[PHP-DB] unicode in php{PLS HELP URGENT}

2002-09-23 Thread roslyn jose
hello, ive saved a text file-note.txt with unicode encoding, and would like to print the file, how could i do so?? ive written the following piece of code, pls tell me where ive gone wrong. - Do you Yahoo!? New DSL Internet Access from SBC & Yahoo!

[PHP-DB] unicode in php

2002-09-23 Thread roslyn jose
hi, thanks for the code, but i had tried it but got a fatal error: call to undefined function utf8_encode(). i saved my text file as unicode encoding..going thro the php.net site though...pls help if any ideas. thanks alot for the help. also am i sposed to encode or decode, as the text file i

Re: [PHP-DB] unicode in php{PLS HELP URGENT}

2002-09-23 Thread roslyn jose
s $line ) echo $line; ?> I got all of this code right from www.php.net. You should spend some time there. It is the best doc site I've ever seen for any programming language. --Dave roslyn jose wrote: >hello, > >ive saved a text file-note.txt with unicode encoding, and would lik

[PHP-DB] renaming uploaded files

2002-01-31 Thread Jose Maria Sala
Hi php developers: I have created a website for a house renting company with an administration tool. Using this tool, managers can add, modify and delete data in a mysql database. They can also upload some pictures of the houses they rent. The way i do this is by taking them to the list of house

[PHP-DB] Resizing images stored in a mysql db

2002-03-21 Thread Jose Miguel Selman
I made a script for retrieving the data of some jpeg images stored in a mysql database.I can get the image and print it on the screen... I have to resize some of them according to their size in order to create thumbnails on the fly. The GetImageSize function receives the image's path or url. As I

[PHP-DB] PHP Error

2001-08-20 Thread Jose L. Benito
I'm using this script for connect to a mysql database but it only works in php3 not in php4, any ideas? $servidor = "localhost"; $usuario = "user"; $clave= "pass"; $base = "database"; $id = mysql_connect($servidor,$usuario,$clave); $conexion = mysql_select_db($base, $id); $consulta

Re: [PHP-DB] how to upgrade php in linux

2010-05-03 Thread jose javier parra sanchez
php 5.3.2 is availabe in remi repository, so go to http://blog.famillecollet.com/ and read or go directly to http://blog.famillecollet.com/pages/Config-en 2010/5/3 Chaitanya Yanamadala : > hai kesavan >  the latest rpm is what i have installed already. > but i require the php 5.3.2 to be installed