Re: [PHP] html mail

2003-03-10 Thread Frank Keessen
Hi, I found this one and it's quite handy; http://phpmailer.sourceforge.net/ Regards, Frank - Original Message - From: "Ian A. Gray" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 2:47 PM Subject: [PHP] html mail > Hi, > I am quite new to php and I am trying

[PHP] php.ini - PHP version 4.3.1 - CGI Error....

2003-03-10 Thread Scott Fletcher
I'm a little baffled and I'm wondering if anyone here can help me out on this one... I just upgraded the PHP from 4.0.6 to 4.3.1, yes I know the upgrade is long overdue Anyway, I just upgraded and update the php scripts to work with newer versions but here is on part that I have not figured o

Re: [PHP] ob_start -- output buffer problem

2003-03-10 Thread Jim Lucas
because the flush happens after everything is done, including the fputs thingy. you have to call ob_get_contents() or something like that. I always to this ob_start(); do something $data = ob_get_contents(); ob_end_clean(); then I work with the $data later. but if you don't use the ob_get_co

Re: [PHP] ob_start -- output buffer problem

2003-03-10 Thread Ernest E Vogelsinger
At 11:22 09.03.2003, Alex Lance said: [snip] >here's my example: > > >$x = new test(); > >echo "hey"; > >// IF next line is uncommented so it manually flushes >// then the finish method WILL get called. But I need >// get around calling anything at the *end*

Re: [PHP] header function

2003-03-10 Thread Barry Gould
I have session auto start on. Plus, like I said, it works fine if it's at the top of the page, not in the include file. Thanks, Barry At 05:19 PM 3/7/2003, Jim Lucas wrote: if you put this at the very to of the page, I am guessing then that you haven't ran session_start() ?? if you are trying t

[PHP] Redirect...

2003-03-10 Thread Doug Coning
Hi all, I'm running the below code to download a text file. After the save as window comes up, I can correctly save the document. However, the browser goes to a "Action Cancelled" error page. Here's my code: Am I suppose to redirect the page after it saves the file, and if so how would I do

Re: [PHP] header function

2003-03-10 Thread Barry Gould
I'm starting to think this is a BUG. Can anyone else test this and confirm or contradict? Thanks, Barry At 03:35 PM 3/7/2003, you wrote: I am having a hard time with the header("Location:") function inside an include file with PHP 4.3.1 (Linux, running as a module w/ Apache 1.3.27). At the VERY

Re: [PHP] header function

2003-03-10 Thread CPT John W. Holmes
Use INCLUDE(), not virtual(). virtual() isn't supposed to be used with PHP files. ---John Holmes... - Original Message - From: "Barry Gould" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 4:26 PM Subject: Re: [PHP] header function > I'm starting to think this i

Re: [PHP] auto_increment $value

2003-03-10 Thread John Taylor-Johnston
Necessary, or at least cleaner, if there are less than 5 records in your database. > Why don't you just use "select * from table order by id DESC limit 0,5"? > > I don't see any necessary to get the auto_increment value. > > Anyone know how to get the auto_increment $value out of a mysql table.

[PHP] Help Needed

2003-03-10 Thread Pushpinder Singh Garcha
Hey All My Php App is trying to fopen() and fread() a File that is located in the Web Server. This works if the file is a simple html file. However the complicated part is that the file is not displayed correctly i.e. it has missing gifs if, it was created using Fireworks and then subsequentl

RE: [PHP] Help Needed

2003-03-10 Thread Michael Roger C. Bianan
Garcha, Kindly check your file paths. When you export it, it may not point to what really is the real path online. May I ask what are you trying to achieve? -Original Message- From: Pushpinder Singh Garcha [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 1:45 PM To: [EMAIL PROTEC

RE: [PHP] auto_increment $value

2003-03-10 Thread Michael Roger C. Bianan
I think this is facing a bigger issue when it comes to Concurrency. When two or more apps in a given time pops the auto_increment or mysql_insert_id (they will get THE SAME ID assuming no other transaction issued an INSERT sql to the table while retrieving the ID). Now, I don't know if this has

RE: [PHP] arrray

2003-03-10 Thread Michael Roger C. Bianan
you can 'serialize' it and pass it as POST or GET variable too, then deserialize it again. Check out these PHP functions : serialize() and deserialize() Hope this helps, Miches:) -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 9:39 AM To:

Re: [PHP] header function

2003-03-10 Thread Barry Gould
AHA! Thank you! Barry At 01:38 PM 3/10/2003, you wrote: Use INCLUDE(), not virtual(). virtual() isn't supposed to be used with PHP files. ---John Holmes... - Original Message - From: "Barry Gould" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 4:26 PM Subject:

Re: [PHP] Help Needed

2003-03-10 Thread Pushpinder Singh Garcha
Thanks for the prompt reply Michael I am trying to protect files on the site, my script checks for a valid session ID and fopens() a File. This file is located in a different Dir from the php script. When the file is a simple html file , I can easily fopen() the file (Even though it contains g

Re: [PHP] auto_increment $value

2003-03-10 Thread John Taylor-Johnston
Sounds better. Thanks Jimmy Brake wrote: > hmm > > > i could be misunderstanding but > > select max(your_autoincrment_column) from your_table -- John Taylor-Johnston - "If it's not open-source, it's Murphy's Law." ' '

RE: [PHP] Help Needed

2003-03-10 Thread Michael Roger C. Bianan
I agree with the security on files especially on case of downloadable files. I suggest you use absolute paths for retrieving your files. say ( http://www.a.com/pathofyourfile/ or simply the platform /home/user/htdocs/files/pathtoyourfile/) Also, it's neat to have sorta config file on your scri

RE: [PHP] Automatically Save Image?

2003-03-10 Thread Boaz Yahav
How to let a user download a picture by clicking on it instead of needing to right click and Save-As. http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1562 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message

[PHP] PHP Online Store

2003-03-10 Thread Pag
Hi, I have to write a PHP/MySQL online store with product catalogs, prices, descriptions, and ordering (no payment) etc, but i have a big doubt when it comes to updating. How is it usually done? I mean, i never did a project like this, with a big amount of products to update. What

[PHP] .htaccess Help

2003-03-10 Thread Pushpinder Singh Garcha
Hello All I need to allow users to be able to access ONLY non-html files in a Secret Dir. Can anyone suggest a .htaccess method to do just that. I have a .htaccess script which will prevent anybody from viewing the contents of a Dir via http, but this time , I need to allow users to view the P

RE: [PHP] Automatically Save Image?

2003-03-10 Thread Michael Roger C. Bianan
Hi, You can read the file via fopen() and fread(), and then pass the resulting data to the client browser... Thanks, Miches;) -Original Message- From: Boaz Yahav [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 2:44 PM To: Doug Coning; [EMAIL PROTECTED] Subject: RE: [PHP] Automa

RE: [PHP] PHP Online Store

2003-03-10 Thread Michael Roger C. Bianan
Hi Pag, In my experience, I usually have two database systems. I have the Live DB which is currently the one used by the website which is the one on the hosting server, and I also have a local DB on our local server just here. What I do is I create the back-end applications for the administra

[PHP] Enabling HTTP_REFERER

2003-03-10 Thread Stephen
For some reason my webhost doesn't allow the HTTP_REFERER variable. I call it up and it's empty, so I did a print_r($HTTP_SERVER_VARS); and there wasn't a variable called HTTP_REFERER. I've heard that some servers disable it. Since I have a dedicated server, how can I enable this variable again?

Re: [PHP] Enabling HTTP_REFERER

2003-03-10 Thread Sebastian
What php version? For older php version: $HTTP_SERVER_VARS['HTTP_REFERER']; Newer: $_SERVER['HTTP_REFERER']; Or you can usually do: echo $HTTP_REFERER; I don't think there is even a way of disabling it in the php.ini warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com -

[PHP] Removing a Blank line from a text file

2003-03-10 Thread Richard Kurth
This function removes a line from a text file list. It has one problem if it removes a line from the beginning or middle of the text file list it leaves a blank line. How can I make it remove the blank line also? function remove_email($email){ global $members,$datadir,$email; $recordsarray = file

Re: [PHP] Enabling HTTP_REFERER

2003-03-10 Thread Stephen
I've tried both. I think the server has 4.2.3. Thanks, Stephen Craton http://www.melchior.us - Original Message - From: "Sebastian" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 8:02 PM Subject: Re: [PHP] Enabling HTTP_

[PHP] How to set a timeout limit for a call of a connection?

2003-03-10 Thread Alex Shi
Hi, I have a script in which there is a call to open a remote file: fopen ("http://www.somewhere.com/file.php?foo=bar";, "r"); Sometimes if www.somewhere.com is down, it will stuck at the function for very long a time. I hope to setup a timeout limit for this function (just this), so that it won

Re: [PHP] Enabling HTTP_REFERER

2003-03-10 Thread James
It will be something like Norton Firewalling - Enabled, norton will disable the referer val. jim. "Stephen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I've tried both. I think the server has 4.2.3. > > Thanks, > Stephen Craton > http://www.melchior.us > > > - Original Mess

RE: [PHP] Enabling HTTP_REFERER

2003-03-10 Thread John W. Holmes
> For some reason my webhost doesn't allow the HTTP_REFERER variable. I call > it up and it's empty, so I did a print_r($HTTP_SERVER_VARS); and there > wasn't a variable called HTTP_REFERER. I've heard that some servers > disable it. Since I have a dedicated server, how can I enable this > variable

RE: [PHP] How to set a timeout limit for a call of a connection?

2003-03-10 Thread John W. Holmes
> I have a script in which there is a call to open a remote file: > > fopen ("http://www.somewhere.com/file.php?foo=bar";, "r"); > > Sometimes if www.somewhere.com is down, it will stuck at the function > for very long a time. I hope to setup a timeout limit for this function > (just > this), so

Re: [PHP] How to set a timeout limit for a call of a connection?

2003-03-10 Thread Alex Shi
> > I have a script in which there is a call to open a remote file: > > > > fopen ("http://www.somewhere.com/file.php?foo=bar";, "r"); > > > > Sometimes if www.somewhere.com is down, it will stuck at the function > > for very long a time. I hope to setup a timeout limit for this > function > > (j

RE: [PHP] arrray

2003-03-10 Thread John W. Holmes
> you can 'serialize' it and pass it as POST or GET > variable too, then deserialize it again. > > Check out these PHP functions : > > serialize() and deserialize() unserialize(). ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://ww

Re: [PHP] How to set a timeout limit for a call of a connection?

2003-03-10 Thread Alex Shi
> > I have a script in which there is a call to open a remote file: > > > > fopen ("http://www.somewhere.com/file.php?foo=bar";, "r"); > > > > Sometimes if www.somewhere.com is down, it will stuck at the function > > for very long a time. I hope to setup a timeout limit for this > function > > (j

RE: [PHP] quick question

2003-03-10 Thread John W. Holmes
> >>I'm sending credit card info to a 3rd party credit card processing site. > >> I would like to keep the inputted values and, after the approval, have > >>them appear in the value part of the form so that they don't have to > >>re-input the same values they had just put in for the credit card. h

[PHP] cURL & PHP compile error

2003-03-10 Thread Bryan Brannigan
Trying to setup PHP with cURL support... I run this configure command: ./configure --with-mysql --with-apxs --with-openssl=/usr/local/ssl --with-curl --with-mcrypt --enable-sockets and receive this error: /usr/local/lib/libcurl.so: undefined reference to `UI_OpenSSL' Help!! -- PHP General

Re: [PHP] Enabling HTTP_REFERER

2003-03-10 Thread Stephen
But it works on other websites I've made, esspecially on my local server. Thanks, Stephen Craton http://www.melchior.us - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> To: "'Stephen'" <[EMAIL PROTECTED]>; "'PHP List'" <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 8:16

Re: [PHP] PHP Online Store

2003-03-10 Thread Justin French
You only have two options really... either they manually change each product themselves via a web based form, or the process is managed by a CSV file. The first thing you need to ensure is that every product in the catalogue has a unique key (identifier / product number / barcode number / whatever)

Re: [PHP] Re: sessions terminating randomly please help

2003-03-10 Thread Justin French
Check if your server is using files or shared memory to save the sessions... My ISP was using mm (memory), and it was buggy... when they changed back to files, all was well. Justin on 11/03/03 7:40 AM, David Chamberlin ([EMAIL PROTECTED]) wrote: > It's possible you're being afflicted with the s

Re: [PHP] sessions terminating randomly please help

2003-03-10 Thread Lowell Allen
> From: "freaky deaky" <[EMAIL PROTECTED]> > > i am experiencing a major problem with sessions expiring randomly in some of > my > apps. i will log in and start clicking around and then i will eventually > arrive at a page that tells me that i'm not logged in anymore. this happens > apparently ra

Re: [PHP] .htaccess Help

2003-03-10 Thread Justin French
Get on the Apache list, not the PHP one :) Justin on 11/03/03 10:39 AM, Pushpinder Singh Garcha ([EMAIL PROTECTED]) wrote: > Hello All > > I need to allow users to be able to access ONLY non-html files in a > Secret Dir. > Can anyone suggest a .htaccess method to do just that. > > I have a .ht

[PHP] Re: Persistent values between executions

2003-03-10 Thread chris
On Mon, 10 Mar 2003 11:30:25 -0500, Mike Mannakee <[EMAIL PROTECTED]> wrote: I have some sets of values that I have stored in several tables in a mySQL database. These don't often change, but are referenced on every single page view. While each call is quick, as a gross the load on the server

RE: [PHP] sessions terminating randomly please help

2003-03-10 Thread John W. Holmes
> Is your session.save_path set to /tmp? It's my understanding that you > should > specify a directory for saving session data -- or use a database -- that > /tmp is subject to garbage collection, and specifying a directory prevents > that. I made this change to a site recently. In tests prior to t

[PHP] Re: Persistent values between executions

2003-03-10 Thread Mike Mannakee
Yeah, it's on linux. I had a similar thought. I figured, if no other solutions came from the post, I could hard code the variables into a file, and if I needed to update it, make it self updating. Like do a string replace to add the new variables I need in the include file itself. Bit of a pain

[PHP] newbie: contents will not output

2003-03-10 Thread Anthony Ritter
I'm trying to test the following script to display the contents of the following URL but it will not output. Any advice will be greatly appreciated. Thank you. Tony Ritter ... http://www.weather.com";, "r"); $contents = fread($file_handl

Re: [PHP] newbie: contents will not output

2003-03-10 Thread Justin French
I've never opened a URL with fopen. Have you looked for examples in the manual? http://php.net/fopen ??? however, I can see one problem... filesize($file) -- where is $file Justin French on 11/03/03 2:22 PM, Anthony Ritter ([EMAIL PROTECTED]) wrote: > I'm trying to test the following s

[PHP] fopen and PHP 4.3.x

2003-03-10 Thread CDitty
I seem to be having a problem with fopen on apache 1.3.27/php 4.3 servers. Scripts that worked before and on other servers do not work on this one. The web host recently upgraded both php and apache. Below is the error. Warning: fopen(XX) [function.fopen]: failed to

RE: [PHP] newbie: contents will not output

2003-03-10 Thread John W. Holmes
> I'm trying to test the following script to display the contents of the > following URL but it will not output. > > Any advice will be greatly appreciated. > Thank you. > Tony Ritter > ... > > > > > > $file_handler = fopen("http://www.w

Re: [PHP] fopen and PHP 4.3.x

2003-03-10 Thread Liam Gibbs
> This is the code around line 30. > $local_file = $feed; > $fp = fopen($local_file, "r"); > > Anyone have any ideas? I have looked over the manual and the only thing I > could find similar to this is in the comments. Apache was restarted. I get the same thing so I'm working through it. But

Re: [PHP] fopen and PHP 4.3.x

2003-03-10 Thread CDitty
At 09:42 PM 3/10/2003, Liam Gibbs wrote: > This is the code around line 30. > $local_file = $feed; > $fp = fopen($local_file, "r"); > > Anyone have any ideas? I have looked over the manual and the only thing I > could find similar to this is in the comments. Apache was restarted. I get the sa

[PHP] Error in $_POST

2003-03-10 Thread Aspire Something
Hi guys , I am getting this error in php ___What I am doing; 1. I am posting data from one form and collecting it for execution as follows $_POST['cust_id[0]']; // cust_id is an array of length 1 which is selected form an drop down menu 2. register_globals is off 3. Also when i try to call

[PHP] Subtracting two dates

2003-03-10 Thread Ben C.
There are a lot of artlicles on this but I need a simple solution. I need to subtract two dates as follows: $date = date("Y-m-d"); $date1 = "2003-03-03"; $differencedate = ($date - $date1); echo $differencedate; When I do this I get 0. Please help!

[PHP] md5 encrypt problem

2003-03-10 Thread CF High
Hey all. Having a wee bit o' trouble with a simple md5 script: for ($x=1 ; $x <62 ; $x++) { $mypass = "sports" . $x; $mypass = md5($mypass); dbConnect("UPDATE user_login SET password = '$mypass' WHERE school_id = $x"); } For some reason, when I attempt to login with my m

Re: [PHP] Subtracting two dates

2003-03-10 Thread Justin French
Then you need to decide if you want to show days, or hours, or years difference... I'll show you hours and days: You then need to round the number using round(). Justin on 11/03/03 3:02 PM, Ben C. ([EMAIL PROTECTED]) wrote: > There are a lot of artlicles on this but I need a simple solu

[PHP] Forms & Session variables

2003-03-10 Thread Ashley M. Kirchner
I'm trying to build a multi-step form and using sessions to register the field values, but having serious issues. This is what I'd like to do: step 1 (first page): ask for name, address, email. [submit] step 2 (second page): ask for more personal information [submit] step 3 (last pag

RE: [PHP] Subtracting two dates

2003-03-10 Thread Ben C.
Thanks, Justin. It works. -Original Message- From: Justin French [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 8:27 PM To: Ben C.; [EMAIL PROTECTED] Subject: Re: [PHP] Subtracting two dates Then you need to decide if you want to show days, or hours, or years difference... I'

[PHP] RE: tricky exec problem

2003-03-10 Thread daniel
hi guys i am having a problem getting certain command line output bak to php i am using the time binary to show the ammount of time it takes for the php script to be compiled using the command line php although i am not getting any output exec("/usr/bin/time php -q /www/sbsmain/worldarts/index.p

Re: [PHP] newbie: contents will not output

2003-03-10 Thread Hugh Danaher
Anthony, Try: $file_to_open="http://www.weather.com";; $fp=fopen($file_to_open,"r"); $contents=fread($fp,1); //reads to eof or ~10K whichever comes first print $contents; Hope this helps. Hugh - Original Message - From: "Anthony Ritter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED

Re: [PHP] Subtracting two dates

2003-03-10 Thread Justin French
on 11/03/03 5:04 PM, Ben C. ([EMAIL PROTECTED]) wrote: > Thanks, Justin. It works. Of course it does :P HTH Justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] newbie: contents will not output

2003-03-10 Thread Hugh Danaher
Anthony, Oh, I forgot to close the file, and it's an important step! fclose($fp); Hugh - Original Message - From: "Anthony Ritter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 7:22 PM Subject: [PHP] newbie: contents will not output > I'm trying to test the

Re: [PHP] Forms & Session variables

2003-03-10 Thread Justin French
You need to slow down and think things through. My recommendation would be to get a SINGLE PAGE form to work how you want first, then assess the logic needed to move onto multiple forms. Also, this was asked a while back, so here was my answer & sample code last time: http://marc.theaimsgroup.co

[PHP] help needed with code!!

2003-03-10 Thread Karl James
Can anyone give me some pointers on why im note seeing Any output to the browser. Thanks Karl my link http://66.12.3.67/webdb/webdb13/assignment_1.php my code http://nopaste.php-q.net/7560 ultimatefootballleague.com/index.php [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php

[PHP] Re: Error in $_POST

2003-03-10 Thread chris
On Sun, 9 Mar 2003 20:01:33 +0530, Aspire Something <[EMAIL PROTECTED]> wrote: Hi guys , I am getting this error in php ___What I am doing; 1. I am posting data from one form and collecting it for execution as follows $_POST['cust_id[0]']; // cust_id is an array of length 1 which is selected f

[PHP] Re: help needed with code!!

2003-03-10 Thread chris
On Tue, 11 Mar 2003 01:14:09 -0500, Karl James <[EMAIL PROTECTED]> wrote: Can anyone give me some pointers on why im note seeing Any output to the browser. Thanks Karl my link http://66.12.3.67/webdb/webdb13/assignment_1.php my code http://nopaste.php-q.net/7560 ultimatefootballleague.com/inde

[PHP] Re: html mail

2003-03-10 Thread Manuel Lemos
Hello, On 03/10/2003 10:47 AM, Ian a. gray wrote: I am quite new to php and I am trying to find a way of sending details of a web form over e-mail in both text and html format. There are numerous sites on the web that try and explain how to do this but they are worded very complicated and to be h

[PHP] Re: Persistent values between executions

2003-03-10 Thread Manuel Lemos
Hello, On 03/10/2003 01:30 PM, Mike Mannakee wrote: I have some sets of values that I have stored in several tables in a mySQL database. These don't often change, but are referenced on every single page view. While each call is quick, as a gross the load on the server is too high. I would like

Re: [PHP] help needed with code!!

2003-03-10 Thread Hugh Danaher
You might try changing to php?> something about short tags hugh - Original Message - From: "Karl James" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 10:14 PM Subject: [PHP] help needed with code!! > Can anyone give me some pointers on why im note seeing > An

[PHP] Re: Form input security

2003-03-10 Thread Manuel Lemos
Hello, On 03/09/2003 04:18 PM, Chris Cook wrote: When using forms, when do I have to worry about cleaning up user data? I know to use escapeshellarg() when using system functions, but how about when using the user data for database inserts? Also, if I do not insert the data into the database or

[PHP] Calling all values of variables into one variable

2003-03-10 Thread Rahul.Brenda
What the following script does is that it gives a result of 4 rows, from the database, and generates 4 variables (newsbits0, newsbits1, newsbits2, newsbits3), and inserts result data into each of these variables. What i want is a final 5th variable which contains all the data of the first 4 varia

[PHP] Maths on variables - please help

2003-03-10 Thread Adriaan Nel
Hi every1, I would like some help on multiplication/division of variables on 1 anotherI have looked at the bcmath() function, but it doesn't seem to work. Could any1 pls assist. Adriaan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session

2003-03-10 Thread Shaun van den Berg
Hi, What should the probability of your garbadge collector be ? is a 100% bad , and how long must the max lifetime of your session variables be , the default is 1440 secs(24 min) , is 24 hours to much ? Thanks Shaun -- Novtel Consulting Tel: +27 21 9822373 Fax: +27 21 9815846 Please visit our we

[PHP] Re: Cannot connect PostgreSQL 7.3.1. Using PHP thru...

2003-03-10 Thread H. Etzel
-BEGIN PGP SIGNED MESSAGE- I think the problem is the username. you have a user "administrator"? At postresql the administratzor is the user postgres. Perhaps you try first with 'reateuser' to create a new user, peraps with all rights, and then you can try to connect with this usernam

<    1   2