[PHP] httpd runs forever

2002-05-30 Thread Jacob Friis Larsen
I sometimes have a httpd process that when I look at top has run for more than 100 min. Can I in some way find out why it will not stop or its url? Regards Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mail() returned a strange error, what is this?

2002-05-30 Thread Magnus Hammar
I used the mail() function in php and it returned errors like these: -- Warning: Mail delivery program returned with exit code: 17152 in /www/htdocs/mail_webmaser.php on line 216 Warning: Mail delivery program returned: Undefined error: 0 in /www/htdocs/mail_webmaser.php

[PHP] Ad:

2002-05-30 Thread Tale . Berntsen
1000,- billigere enn SAS? 500,- i prisforskjell pr snute. I og for seg et OK tilbud, men datoene var litt klinkokos: 3 uker? Jeg tar rett og slett telefonen fatt og ringer Braathens... teil Informasjonssjef Studentsamskipnaden i Bergen

[PHP] Re: httpd runs forever

2002-05-30 Thread Tom Mikulecky
There's always at least one httpd process running which listens to incoming http connections. Tom Jacob Friis Larsen wrote: I sometimes have a httpd process that when I look at top has run for more than 100 min. Can I in some way find out why it will not stop or its url? Regards Jacob

[PHP] your philosophy on php-design

2002-05-30 Thread Wilbert Enserink
Hi all, I'm busy building a website. I cannot use frames. Every page can be divided in a table with 3x3 cells. The row will be my main menu. The first column wil be submenu. The middel cell will display the actual content. || --main menu--

[PHP] Global variables

2002-05-30 Thread serge gedeon
Dear sir, I would like to know if I could create using PHP, global variables that I could use in diferrent files. I don't want to use http_get_vars or post or cookies is there an other way? Thank you. Serge GEDEON _ Get your

[PHP] Global variables

2002-05-30 Thread serge gedeon
Dear sir, I would like to know if I could create using PHP, global variables that I could use in diferrent files. I don't want to use http_get_vars or post or cookies is there an other way? Thank you. Serge GEDEON _ Send and

RE: [PHP] Global variables

2002-05-30 Thread James Holden
Look at the auto-prepend or auto-append feature. -Original Message- From: serge gedeon [mailto:[EMAIL PROTECTED]] Sent: 29 May 2002 14:35 To: [EMAIL PROTECTED] Subject: [PHP] Global variables Dear sir, I would like to know if I could create using PHP, global variables that I could

[PHP] JAVA extension install

2002-05-30 Thread fincom
Hi, I have some problems with installing the java extension for php. My Config : Os : Linux (Mandrake 8.1) PHP 4.1.2 Apache 1.3.23 J2SDK.1.4.0 I had downloaded the source for php 4.1.2 from rpmfind. I compiled the extensions, i had the two necessary files : libphp_java.do and php_java.jar.

php-general Digest 30 May 2002 09:54:49 -0000 Issue 1375

2002-05-30 Thread php-general-digest-help
php-general Digest 30 May 2002 09:54:49 - Issue 1375 Topics (messages 99807 through 99866): Re: Warning: Cannot add header information - headers already sent by 99807 by: Ed Gorski 99809 by: 1LT John W. Holmes 99842 by: Miguel Cruz 99856 by: Tom Rogers

RE: [PHP] How can I remove the last character from a one line file?

2002-05-30 Thread Rea_David
Hi all, The problem is nearly solved. I need my if statement to read the last character from the file if it ends with an o, then remove the one character. My current if statement allows the action to take place if there is an o anywhere in the file. Can somebody help me with this.

RE: [PHP] How can I remove the last character from a one line file?

2002-05-30 Thread Niklas Lampén
eregi_replace(o$, , $String); Niklas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 30. toukokuuta 2002 13:05 To: [EMAIL PROTECTED] Subject: RE: [PHP] How can I remove the last character from a one line file? Hi all, The problem is nearly

RE: [PHP] How can I remove the last character from a one line file?

2002-05-30 Thread James Holden
Function StripLastChar( $file ){ $fp = fopen($file,r); if ($fp){ $contents = fread($fp,10); fclose($fp); } $contents = eregi_replace(o$,,$contents); return

[PHP] imagettfbox()

2002-05-30 Thread Roman Duriancik
How to install or configure php 4.2.1 downloaded from www.php.net on Red Hat Linux 7.0 that i used function imagettfbox(). I install php with this settings: ./configure --prefix=/usr --exec-prefix=/usr --with-config-file-path=/etc --disable-debug --enable-pic

[PHP] Can PHP thread?

2002-05-30 Thread John Simpson
Just wondering if it can thread and if there are any examples of code on the web. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: File Path - Which way is better ?

2002-05-30 Thread John Simpson
I personally use relative paths unless I am accessing a different server. I don't think there's a bad or good way for doing this. Manisha [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am using file to read / write data. When I give file path I can give it in

[PHP] user auth.. with mysql and cookies.. help

2002-05-30 Thread Anton Heryanto
sorry, bother all of you with my same question i was learn to make user auth with mysql and using cookies, i have trouble with this error message; Warning: Cannot add header information - headers already sent by (output started at ../functions.inc:54) in ../functions.inc on line 49 Warning:

[PHP] Design Problem

2002-05-30 Thread Dani
Hi everyone, I'm new to this... What is the best way to make Search Engine Crawler still index us although we are using a script (PHP) to detect the IP of the crawler to provide the keywords for a certain crawler? Any advise is welcome.. Dani -- PHP General Mailing List

RE: [PHP] user auth.. with mysql and cookies.. help

2002-05-30 Thread James Holden
It's basically saying that you are outputing stuff to the browser before you are setting the cookies which is a no go. All header requests (header() setcookie()) must be run before any text is outputted. Thus, the most common error is that after or before your php tags ? ? is empty space,

RE: [PHP] Design Problem

2002-05-30 Thread James Holden
Does it matter? The search engine doesnt know your producing dynamic content, its just requesting a page to scan, regardless of the way your producing it. - James -- W: www.londontown.com @: [EMAIL PROTECTED] -- -Original Message-

Re: [PHP] Month Values in UNIX timestamps and workaround(Newbie)

2002-05-30 Thread 1LT John W. Holmes
What are you trying to accomplish over all? ---John Holmes... - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 29, 2002 11:37 PM Subject: [PHP] Month Values in UNIX timestamps and workaround(Newbie) I began to write a function that

[PHP] Re: user auth.. with mysql and cookies.. help

2002-05-30 Thread Anton Heryanto
James Holden writes: It's basically saying that you are outputing stuff to the browser before you are setting the cookies which is a no go. All header requests (header() setcookie()) must be run before any text is outputted. sorry i'm new be in this... could you show me where is in my

[PHP] RE: your philosophy on php-design

2002-05-30 Thread Tim Ward
You can use OOP for this sort of thing - define a base class with the structure you want and override the bits you need to in each page. Class BasePage { function BasePage() { // constructor } function Header() { } function MainMenu()

[PHP] RE: Global variables

2002-05-30 Thread Tim Ward
What about storing them in database or (below root) flat files? Tim Ward www.chessish.com http://www.chessish.com -- From: serge gedeon [SMTP:[EMAIL PROTECTED]] Sent: 29 May 2002 14:35 To: [EMAIL PROTECTED] Subject: Global variables

Re: [PHP] Design Problem

2002-05-30 Thread Dani
Thanks very much for the advice! Was that actually the way to do it? If it is,where can I get list of the IPs, please... thanks again... Dani James Holden wrote: Does it matter? The search engine doesnt know your producing dynamic content, its just requesting a page to scan, regardless

[PHP] RE: Month Values in UNIX timestamps and workaround(Newbie)

2002-05-30 Thread Tim Ward
If you just want the number of seconds in each month then ... function SecondsInMonth($month, $year) { return mktime(0,0,0,$month + 1, 1, $year) - mktime(0,0,0,$month, 1, $year); } ... works, although you may need to play around with the is_dst parameter to fine tune it. Tim ward

RE: [PHP] Design Problem

2002-05-30 Thread James Holden
I do it a different way - using IP's can be a bit of a bummer since they might change but often as not the hostnames dont. I detect spiders using the HTTP_USER_AGENT which identifies them either as say kitty once hourly, GoogleBot or Lycos or some such - most of the decent spiders use the

RE: [PHP] Global variables

2002-05-30 Thread John Holmes
Sounds like a job for $_SESSION to me... http://www.php.net/manual/en/ref.session.php ---John Holmes... -Original Message- From: serge gedeon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 9:36 AM To: [EMAIL PROTECTED] Subject: [PHP] Global variables Dear sir, I

RE: [PHP] Only the last cookie is set!

2002-05-30 Thread Ford, Mike [LSS]
-Original Message- From: Jagannath Nori [mailto:[EMAIL PROTECTED]] Sent: 30 May 2002 03:40 [...snip...] To reassure, I interchanged the second cookie (currentUserEmail) the third (currentUserName) set commands. Now also only the last cookie set is available for use. This

Re: [PHP] Design Problem

2002-05-30 Thread jakob
James Holden wrote: Does it matter? The search engine doesnt know your producing dynamic content, its just requesting a page to scan, regardless of the way your producing it. search engine spiders will usually disregard the search string of a URL, i.e. everything after and including the ?

Re: [PHP] Design Problem

2002-05-30 Thread Jason Wong
On Thursday 30 May 2002 19:42, James Holden wrote: I do it a different way - using IP's can be a bit of a bummer since they might change but often as not the hostnames dont. I detect spiders using the HTTP_USER_AGENT which identifies them either as say kitty once hourly, GoogleBot or Lycos

RE: [PHP] Design Problem

2002-05-30 Thread James Holden
I dont deliver alternate content, I track when they visit which is a different thing all together. - James -- W: www.londontown.com @: [EMAIL PROTECTED] -- -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: 30 May 2002

RE: [PHP] File Upload

2002-05-30 Thread Ford, Mike [LSS]
-Original Message- From: Edward Marczak [mailto:[EMAIL PROTECTED]] Sent: 30 May 2002 03:27 OK - I've read the manual, looked at sample codeand I sadly am missing something. I'm doing (basically) this in my form: form action=someform.php ENCTYPE=multipart/form-data

RE: [PHP] Re: user auth.. with mysql and cookies.. help

2002-05-30 Thread David Freeman
sorry i'm new be in this... could you show me where is in my script bellow Did you _READ_ the error messages? Warning: Cannot add header information - headers already sent by (output started at ../functions.inc:54) in ../functions.inc on line 49 On or about line 49 of

RE: [PHP] FATAL call to undefined function pg_query()

2002-05-30 Thread Ford, Mike [LSS]
-Original Message- From: Steve G [mailto:[EMAIL PROTECTED]] Sent: 29 May 2002 13:47 To: [EMAIL PROTECTED] Subject: Re: [PHP] FATAL call to undefined function pg_query() I'm using 4.0.6. That would explain it... So how does one using 4.0.6 perform a query on a postgres

Re: [PHP] MORE Design Problem

2002-05-30 Thread Dani
Thank you...everyone! I really appriciated it. Where can I learn about all of this? Is there a tutorial website about this? thanks again. Dani [EMAIL PROTECTED] wrote: James Holden wrote: Does it matter? The search engine doesnt know your producing dynamic content, its just

RE: [PHP] MORE Design Problem

2002-05-30 Thread James Holden
http://www.phpbuilder.com/columns/tim2526.php3 - James -- W: www.londontown.com @: [EMAIL PROTECTED] -- -Original Message- From: Dani [mailto:[EMAIL PROTECTED]] Sent: 30 May 2002 16:12 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED];

Re: [PHP] Design Problem

2002-05-30 Thread Jason Wong
On Thursday 30 May 2002 20:09, James Holden wrote: I dont deliver alternate content, I track when they visit which is a different thing all together. No, but the OP was asking (if I understand correctly) how to identify search engines and deliver keywords (META I suppose) accordingly. --

Re: [PHP] Global variables

2002-05-30 Thread Ed Gorski
use a database ed At 04:35 PM 5/29/2002 +0300, serge gedeon wrote: Dear sir, I would like to know if I could create using PHP, global variables that I could use in diferrent files. I don't want to use http_get_vars or post or cookies is there an other way? Thank you. Serge GEDEON

Re: [PHP] Variable Variables

2002-05-30 Thread Ed Gorski
use isset($$key); ed At 09:29 AM 5/30/2002 +1000, David Freeman wrote: Hi All, I've been trying to figure this out based on stuff on php.net but can't seem to get a result I need. I have an array: $formarray = array (form1 = var1, form2 = var2); And now I'm using that array to create a form

Re: [PHP] your philosophy on php-design

2002-05-30 Thread Ed Gorski
well just have the add to basket link on index.php call add_to_basket.php which doesn't print out anything and redirect back to index.php?type=itemAdded when finished. On index.php you can check for $_GET['type'] and generate the appropriate table. ed At 09:50 AM 5/30/2002 +0200, Wilbert

Re: [PHP] for loops

2002-05-30 Thread Steve Buehler
it works for me just the way you have itexcept of course that you are telling it to only print to y because you are saying z Steve At 12:50 PM 5/30/2002 +0800, Jason Wong wrote: On Thursday 30 May 2002 11:46, Peter wrote: Just a query ... has any one else noticed this for($i = a; $i

RE: [PHP] MORE Design Problem

2002-05-30 Thread jakob
http://httpd.apache.org/docs/mod/mod_rewrite.html hth, Jakob. http://www.phpbuilder.com/columns/tim2526.php3 - James -- W: www.londontown.com @: [EMAIL PROTECTED] -- -Original Message- From: Dani [mailto:[EMAIL PROTECTED]]

[PHP] newbie: cron jobs

2002-05-30 Thread Edgard Berendsen
Hi, I'm new to cron jobs and I need to do one. 1- It's possible to program cron jobs in a remote server where you can't modify something, for example, a normal web-hosting? 2-Where can I find more informationa about? 3-It's there something special I should know to program one? -- PHP

[PHP] Post 4.1.0 PHP

2002-05-30 Thread Michael Hall
I've been using PHP 4.0.1 for ages now, and have decided to upgrade one of my machines to 4.2.1 and get used to working under the new security arrangements. I understand that older scripts are fully compatible with 4.1.0+, or can be made so with minimal fuss. I am assuming that scripts written

RE: [PHP] newbie: cron jobs

2002-05-30 Thread Cal Evans
1: Yes, if your host has given you permission to run cron jobs. Some hosts lock cron to only root or to a specific subset of users. If you have permission to create them, crontab -e will give you the editor to edit them. (hint: man crontab. read it. Now read it again.) 2: man cron, man

[PHP] arrays and same index

2002-05-30 Thread Victor Spång Arthursson
Hi! I want to create an array that looks like follows: $array[untitled_1.jpg][] = 0 $array[untitled_1.jpg][] = 3 $array[untitled_1.jpg][] = 4 $array[untitled_2.jpg][] = 0 $array[untitled_3.jpg][] = 1 What I'm thinking about is accessing all untitled_1.jpg values by doing the following:

[PHP] fdup Pipes?

2002-05-30 Thread Jonathan Rosenberg
It's been a long time since I've programmed on Unix, but there was a common technique used in C programs for invoking a program allowing the invoker to read write to its standard input/output. I believe it used a combination of pipes the fdup function. Is it possible to emulate this same

RE: [PHP] arrays and same index

2002-05-30 Thread Cal Evans
$array[untitled_1.jpg] = array(0,3,4,0,1) Or you could : $array[untitled_1.jpg] = array(); $array[untitled_1.jpg][0]=0 $array[untitled_1.jpg][1]=3 $array[untitled_1.jpg][2]=4 $array[untitled_1.jpg][3]=0 $array[untitled_1.jpg][4]=1 Then you can access them by using: echo

[PHP] PHP make install error on HP-UX 11.00

2002-05-30 Thread Taylor Lewick
Hi all. I am trying to install php 4.2.1 on HP-UX 11.00 I built it the following way... ./configure --with-mysql --with-apxs=/opt/apache/bin/apxs which went fine... make worked make install produced the following error... /opt/php-4.2.1/build/shtool mkdir -p /opt/apache/lib/modules

[PHP] nested if parse error

2002-05-30 Thread Miroslav Figlar
could somebody explain me please what is wrong with this piece of code? ? if (1): if (1) echo hello; else: endif; ? it gives me parse error on line 4 this works fine (no parse error): ? if (1): else: if (1) echo hello; endif; ? thank you miro -- PHP

RE: [PHP] nested if parse error

2002-05-30 Thread Cal Evans
if (1){ if (1) {echo hello;} } else { } ? * * Cal Evans * Journeyman Programmer * Techno-Mage * http://www.calevans.com * -Original Message- From: Miroslav Figlar [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 7:05 AM To: [EMAIL PROTECTED] Subject: [PHP]

[PHP] Creating IMAP accounts

2002-05-30 Thread Jackson Miller
Is there a way to create IMAP accounts using PHP? I have looked through all of the IMAP functions in PHP and do not see one for creating a new account. I would like to create a new IMAP account when a user registers for a website account. Thanks in advance. -Jaxn -- PHP General Mailing

RE: [PHP] nested if parse error

2002-05-30 Thread James Holden
I think coding without the use of brackets and line seperation will drive you mad! A working copy of your code: ? if (1): if (1): echo hello; else: endif; endif; ? This in my humble op is so much neater and you can debug this in a second. if (1){ if (1) {

Re: [PHP] arrays and same index

2002-05-30 Thread Stuart Dallas
Victor Spång Arthursson [EMAIL PROTECTED] wrote: I want to create an array that looks like follows: $array[untitled_1.jpg][] = 0 $array[untitled_1.jpg][] = 3 $array[untitled_1.jpg][] = 4 $array[untitled_2.jpg][] = 0 $array[untitled_3.jpg][] = 1 What I'm thinking about is accessing all

Re: [PHP] arrays and same index

2002-05-30 Thread Ed Gorski
Well what exactly are you trying to do? You can't name an index of an array the same thing and expect different values ed At 03:36 PM 5/30/2002 +0200, Victor Spång Arthursson wrote: Hi! I want to create an array that looks like follows: $array[untitled_1.jpg][] = 0

[PHP] sms to web

2002-05-30 Thread Deniz
can anybody advice me some source about how to channel sms messages to a webserver and parse it with php? thanks -d -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Post 4.1.0 PHP

2002-05-30 Thread Gerard Samuel
Search back in the archive about 3-4 weeks ago, there was some talks on this matter Michael Hall wrote: I've been using PHP 4.0.1 for ages now, and have decided to upgrade one of my machines to 4.2.1 and get used to working under the new security arrangements. I understand that older

[PHP] Help with Mail

2002-05-30 Thread charlesk
I am getting a Server Error when I try to send an email to a domain that we host. I dont get that error when I send mail to another domain that we host. I have checked DNS and I am able to ping the required hosts. Does anyone have any suggestions for what is causing this Server Error?

Re: [PHP] File Upload

2002-05-30 Thread Edward Marczak
On 5/29/02 10:39 PM, Gerard Samuel [EMAIL PROTECTED] pressed the keys forming the message: A guess, but is the tmp dir set in php.ini?? Yeah - sorry, I should have said that in the first place. -- Ed Marczak [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Help with Mail NEVERMIND

2002-05-30 Thread charlesk
Oops I was misspelling the recipients name. :) Charles Killmer -- Original Message -- From: charlesk [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Thu, 30 May 2002 09:09:33 -0500 I am getting a Server Error when I try to send an email to a domain

Re: [PHP] File Upload

2002-05-30 Thread Edward Marczak
On 5/30/02 8:13 AM, Ford, Mike [LSS] [EMAIL PROTECTED] pressed the keys forming the message: -Original Message- From: Edward Marczak [mailto:[EMAIL PROTECTED]] Sent: 30 May 2002 03:27 OK - I've read the manual, looked at sample codeand I sadly am missing

[PHP] RE:[PHP] Help with mail

2002-05-30 Thread r
What is this? magicians day? I have a dog, can you tell me why he barks sometimes? Show us some code dude, or is it code red classified? There could be a dozen possible reasons but if you show the code you stand a better chance of finding out what the problem is, from me or the other dudes on

Re: [PHP] your philosophy on php-design

2002-05-30 Thread Mike Gohlke
Wilbert, On one site as an experiment, I decided to put each frame (I know you don't want to use them...read on) into a single .php. It decides what to do via a switch on $act. Consequently, it's simple to keep it consistent (menu, submenu, footer, etc.). Add item link a

Re: [PHP] RE:[PHP] Help with mail

2002-05-30 Thread Ed Gorski
You know why he barks? Tell me! At 08:06 PM 5/30/2002 -0700, r wrote: What is this? magicians day? I have a dog, can you tell me why he barks sometimes? Show us some code dude, or is it code red classified? There could be a dozen possible reasons but if you show the code you stand a better

Re: [PHP] newbie: cron jobs

2002-05-30 Thread Edgard Berendsen
thanks! but how can I acces cron -e? with a php script or I have to use telnet? Cal Evans [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 1: Yes, if your host has given you permission to run cron jobs. Some hosts lock cron to only root or to a specific subset

Re: [PHP] fdup Pipes?

2002-05-30 Thread Jason Wong
On Thursday 30 May 2002 21:44, Jonathan Rosenberg wrote: It's been a long time since I've programmed on Unix, but there was a common technique used in C programs for invoking a program allowing the invoker to read write to its standard input/output. I believe it used a combination of pipes

[PHP] Was: [PHP-WIN] GD Freetype on W2K/Apache1.3.2/PHP4.2.0

2002-05-30 Thread Michael Davey
I know this is cross-posting, but I have no luck with finding a solution to this problem on PHP-WIN, and I have since tried running my code on a Linux server and have had the same problems... so here goes! -- Original Post -- Sorry if this has been posted a hundred times already - but I am

[PHP] SQL question, getting error and not sure why

2002-05-30 Thread Michael Sweeney
My following query : insert into acteursenc (nuacteur,nomacteur) (select AA, BB from (select max(nuacteur)+1 AA from acteursenc), (select 'Michael Sweeney' BB from acteursenc)) produces an ORA-1: unique constraint error. The

Re: [PHP] Creating IMAP accounts

2002-05-30 Thread Jason Wong
On Thursday 30 May 2002 21:49, Jackson Miller wrote: Is there a way to create IMAP accounts using PHP? I have looked through all of the IMAP functions in PHP and do not see one for creating a new account. I would like to create a new IMAP account when a user registers for a website account.

RE: [PHP] fdup Pipes?

2002-05-30 Thread Jonathan Rosenberg
I have no idea what you are talking about. My message was NOT a reply to a previous post. -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 10:38 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] fdup Pipes? On Thursday 30 May 2002 21:44,

[PHP] .php3 extension?

2002-05-30 Thread The Gabster
Hello all... I have Apache 2.0.35 and PHP 4.2.0 on a win2k machine... Everything works fine, etc. The question I have, how can I configure PHP (or Apache?) to support (and run) .php3 extension files? Thanks a lot, Gabi. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] fdup Pipes?

2002-05-30 Thread Rasmus Lerdorf
Yes it was. In your message you had this header: In-Reply-To: [EMAIL PROTECTED] Which means you hit 'Reply' in your crappy Outlook program, deleted the Subject line and posted your message that way. Please don't do that. Those of us with real email clients see your new message inside a thread

Re: [PHP] .php3 extension?

2002-05-30 Thread John S. Huggins
Somewhere in the apache configuration file you will find something like this... IfModule mod_php4.c AddType application/x-httpd-php .php AddType application/x-httpd-php .php4 AddType application/x-httpd-php-source .phps /IfModule To include the old .php3 extension make it

[PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Davey
insert into acteursenc (nuacteur,nomacteur) (select AA, BB from (select max(nuacteur)+1 AA from acteursenc), (select 'Michael Sweeney' BB from acteursenc)) produces an ORA-1: unique constraint error. The primary key is

Re: [PHP] Post 4.1.0 PHP

2002-05-30 Thread Kurth Bemis (List Monkey)
At 11:35 PM 5/30/2002 +0930, Michael Hall wrote: When I asked I got this response. $types_to_register = array('GET','POST','COOKIE','SESSION','SERVER'); foreach ($types_to_register as $type) { $arr = @${'HTTP_' . $type . '_VARS'}; if (@count($arr) 0) { extract($arr,

Re: [PHP] .php3 extension?

2002-05-30 Thread Nicole Lallande
If you want your home page to be a .php3 file then you must add index.php3 to your DirectoryIndex directive: DirectoryIndex index.html index.htm index.cgi index.php3 index.php --- and so on. In addition, .php3 should be added to your AddType directive AddType application/x-httpd-php .php

Re: [PHP] .php3 extension?

2002-05-30 Thread Greg Wright
*** REPLY SEPARATOR *** On 30/05/2002 at 9:45 AM The Gabster [EMAIL PROTECTED] [gregausit/phplist] wrote: Hello all... I have Apache 2.0.35 and PHP 4.2.0 on a win2k machine... Everything works fine, etc. The question I have, how can I configure PHP (or Apache?) to support

RE: [PHP] fdup Pipes?

2002-05-30 Thread Jonathan Rosenberg
Yes, I realized this after I sent my reply. And, please try hard to forgive those of us who do not use the real software approved by you the other gods. We beg your forgiveness, oh lord. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002

RE: [PHP] fdup Pipes?

2002-05-30 Thread Leotta, Natalie (NCI/IMS)
Like we have much of a choice - I'm sure my bosses would love it if I went to them and asked for a real email client. -Original Message- From: Jonathan Rosenberg [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 11:06 AM To: Rasmus Lerdorf Cc: [EMAIL PROTECTED] Subject: RE: [PHP]

RE: [PHP] nested if parse error

2002-05-30 Thread Ford, Mike [LSS]
-Original Message- From: Miroslav Figlar [mailto:[EMAIL PROTECTED]] Sent: 30 May 2002 13:05 To: [EMAIL PROTECTED] Subject: [PHP] nested if parse error could somebody explain me please what is wrong with this piece of code? ? if (1): if (1) echo hello; else:

[PHP] FW: SQL question, getting error and not sure why

2002-05-30 Thread mikey
Maybe it does in Oracle - you should check your documentation though... BTW, please post your replies to the list rather than me personally :-) -Original Message- From: Michael Sweeney [mailto:[EMAIL PROTECTED]] Sent: 30 May 2002 15:58 To: Michael Davey Subject: Re: SQL question,

[PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Sweeney
lol sorry, buttons are too close together in OE. Anyon ehave a sugestion on a different way of doing what I want to do? Should be easy but i;m starting to get a headache from this (6-7 years not doing SQL doesn't help either) [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] Why is there no OPTION EXPLICIT equivalent?

2002-05-30 Thread Yasuo Ohgaki
Go to your php.ini and turn on full error reporting.you'll get warning message if you do not initialize varsas of php4.2.1 Small correction. Most version of PHP3/4 (if not all) can raise E_NOTICE error. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To

[PHP] mail clients (was: [PHP] fdup Pipes?)

2002-05-30 Thread Julie Meloni
JR And, please try hard to forgive those of us who do not use the JR real software approved by you the other gods. We beg your JR forgiveness, oh lord. I do not believe that was the point. Everyone's free to use whatever they want (The Bat! user here), just follow the courtesy guidelines for

[PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Virnstein
the problem is, that the second sql produces more than one row. To be exactly the amount of select count(*) from acteursenc rows, with 'Michael Sweeney' as value in BB. Perhaps you have a unique key on nomacteur?! I could help further, if i know what you want to do with your query. if nuacteur

RE: [PHP] fdup Pipes?

2002-05-30 Thread Ed Gorski
Yeah that's like me going to the bigwigs and asking if we can dump the windows servers.I At 11:00 AM 5/30/2002 -0400, Leotta, Natalie (NCI/IMS) wrote: Like we have much of a choice - I'm sure my bosses would love it if I went to them and asked for a real email client. -Original

RE: [PHP] Post 4.1.0 PHP

2002-05-30 Thread Jaime Bozza
The only problem I see with any of these options is that the new arrays are superglobals (not my term) and do not require the use of the global command. For instance: function myfunc() { global $HTTP_POST_VARS; $somevar = $HTTP_POST_VARS[somevar]; ... } can now be written as: function

[PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Davey
Is the key a numeric sequence (1001, 1002, etc...)? If so, you could do a select count(*) from table and add your offset to that (1000 from the example above) Does this help? Mikey Michael Sweeney [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... lol sorry,

[PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Virnstein
with second sql i meant: (select 'Michael Sweeney' BB from acteursenc) if you want one row and you need a dummy table, use dual. Michael Michael Virnstein [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... the problem is, that the second sql produces more

Re: [PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Rouvas Stathis
I would use a trigger with a sequence, as in: CREATE SEQUENCE sequence_name_SEQ INCREMENT BY 1 START WITH -99 MAXVALUE 99 MINVALUE -9 CYCLE

[PHP] Re: make install error on HP-UX 11.00

2002-05-30 Thread Taylor Lewick
Hi all. To clarify, all of the software need for php I built, except apache. I need to know if I need to download the apache source and build it in a particular way. i.e., statically, or what... This is regarding my earlier message in which when I did a make install I received the following

[PHP] Re: Apache, html, PHP and global variables

2002-05-30 Thread Daniel Grace
This was originally sent to the httpd-users mailing list, I'm moving it to the php-general list to bring it on-topic and because I think it's something worth sharing. I'm also hoping I actually remembered the address for the php-general list since I typically post there via the newsgroup. On

[PHP] Newbie redirect problem

2002-05-30 Thread Jason Tobias
When a user submits a form, it redirects them to login if they are not logged in. Once the user logs in. I want to redirect them to the form that they originaly filled out. I can define a static redirect and that works fine, just not very practical. Is there any way to do this? -- PHP

[PHP] PHP Warning: ['xxxx']: Unable to initialize module

2002-05-30 Thread Steve G
Hello, I'm running Linux 7.2 and apache. Also PostgreSQL. After upgrading from 4.0.4 I receive all of these errors and I have no idea what API=xxx means. I followed the instructions for upgrading to 4.2.1 and everything apparently went well, but still have module errors. Also, phpinfo()

Re: [PHP] .php3 extension?

2002-05-30 Thread The Gabster
Thanks a lot to all!!! gabi. Nicole Lallande [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... If you want your home page to be a .php3 file then you must add index.php3 to your DirectoryIndex directive: DirectoryIndex index.html index.htm index.cgi

[PHP] Is there a way to keep variables between php scrits ?

2002-05-30 Thread Anne Le Bot
I need to keep the values of variables from one php page to another : is there a way to do this ? Thanks, Anne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: JAVA extension install

2002-05-30 Thread fincom
I have send before my problem about ext/java. It doesn't work until i désactive the ext/xslt. Curious the problem is mentionned in bugs.php.net ID : 13344. but it still not corriged. Hope this help some one. Just put ; before the xslt.so and all will be fine Have fun :) Fincom Fincom [EMAIL

[PHP] Array of COM objects doesn't work in PHP but does in ASP?

2002-05-30 Thread Noah
Hey guys, OK I favor PHP so far above ASP however it doesnt seem like PHP can handle an array of COM Objects. Here's the scenario: Within the 'Deal' object contains an array of 'Bonds'. I want to access each bond by doing: $comDeal-Bonds-Item[$i]; ( btw Item is part of

Re: [PHP] Is there a way to keep variables between php scrits ?

2002-05-30 Thread Analysis Solutions
On Thu, May 30, 2002 at 03:55:47PM +0200, Anne Le Bot wrote: I need to keep the values of variables from one php page to another : is there a way to do this ? Three options: sessions pass the values in hidden fields of a form pass them in the query strings of hyperlinks --Dan --

  1   2   >