Re: [PHP] Pop-up message

2005-03-01 Thread Lester Caine
Richard Lynch wrote: Lester Caine wrote: At the risk of being shouted at because *I* know it's not a PHP problem! Actually, it's a client problem :-) Yep - but with so many different ways of doing it, which client method would be best ;) I have a page that is being refreshed every 30 seconds or

Re: [PHP] How to handle actions that may take a long time?

2005-03-01 Thread [EMAIL PROTECTED]
You can send a piece of HTML defining some little thing like a div layer with your "please wait, bla bla bla" So the visitor can read something. When the process is finished, you can write another piece of HTML containing some _javascript_ lines, changing the text (and icons or images) so

Re: [PHP] _POST not working (using mini_httpd) - 2 attachments

2005-03-01 Thread overbored
$ php --version PHP 4.3.10-2 (cli) (built: Dec 19 2004 03:41:45) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies [EMAIL PROTECTED] (Burhan Khalid) wrote in news:[EMAIL PROTECTED]: overbored wrote: Hi all, I'm learning PHP and I'd need to

Re: [PHP] How to handle actions that may take a long time?

2005-03-01 Thread Cajus Pollmeier
Am Dienstag, 1. März 2005 01:24 schrieb Richard Lynch: Cajus Pollmeier wrote: I'd like to know your opinion about how to handle events that may take more than a minute to finish in PHP. In this case, the code is performing a recursive action on a large LDAP tree where I'd like to present

Re: [PHP] How to handle actions that may take a long time?

2005-03-01 Thread Cajus Pollmeier
Am Dienstag, 1. März 2005 09:14 schrieb [EMAIL PROTECTED]: You can send a piece of HTML defining some little thing like a div layer with your please wait, bla bla bla So the visitor can read something. When the process is finished, you can write another piece of HTML containing some

Re: [PHP] HTTP Include Error

2005-03-01 Thread AdamT
On Mon, 28 Feb 2005 15:35:36 -0700, Suhas [EMAIL PROTECTED] wrote: Hi This issue has been discusses many times before, but no perticular solution found. Things to check when 'including' with http: i) Can the server resolve the host name? Eg - if, from the server, you run 'ping

[PHP] problem with mail()

2005-03-01 Thread Stefan Sturm
Hi, I'm using the script below to send ascii files attached to mails via mail(). I'm running the script on different servers and it works fine. Now I got a problem on windows server 2003. The attachment of the mail is disturbed, the first 76 characters are missing, the rest of the attachment is

Re: [PHP] problem with mail() and attachment

2005-03-01 Thread AdamT
On Sun, 27 Feb 2005 08:23:26 +0100, Stefan Sturm [EMAIL PROTECTED] wrote: Hi, I'm using the script below to send ascii files attached to mails via mail(). snip Has anybody got an idea where the problem could be? It appears that your mailserver has developed a fault and is sending all

Re: [PHP] Semi-OT: Anti-password trading/sharing solutions

2005-03-01 Thread AdamT
On Mon, 28 Feb 2005 15:42:37 -0800 (PST), Richard Lynch [EMAIL PROTECTED] wrote: I know absolutely nothing about how ProxyPass, iProtect, and PureMember work 'Pure'member seems such an odd choice of name for something used on pr0n sites. -- AdamT Justify my text? I'm sorry, but it has no

Re: [PHP] problems with several JPEGs in GD2

2005-03-01 Thread AdamT
I've had similar problems to that. I usually either open the image with notepad, or some Hex Editor, and see what the bits are in the file header (eg BM for Bitmap, Gif89a for GIFs, JFIF for JPEGs...) -- AdamT Justify my text? I'm sorry, but it has no excuse. -- PHP General Mailing List

Re: [PHP] problems with several JPEGs in GD2

2005-03-01 Thread anirudh dutt
i just opened 4 jpg files...dunno about where the header is...coz i didn't find anything common at the begining of the files (so i doesn't seem to have a header at the head). i found (only) one jpg which had JFIF as the 7th to 10th bytes. i did notice that the _last 2 bytes_ are FF D9 in *all* 5

Re: [PHP] problems with several JPEGs in GD2

2005-03-01 Thread AdamT
On Tue, 1 Mar 2005 16:06:56 +0530, anirudh dutt [EMAIL PROTECTED] wrote: i just opened 4 jpg files...dunno about where the header is...coz i didn't find anything common at the begining of the files (so i doesn't seem to have a header at the head). Okay - so 'header' was a bad choice of word.

Re: [PHP] problems with several JPEGs in GD2

2005-03-01 Thread anirudh dutt
On Tue, 1 Mar 2005 10:40:59 +, AdamT [EMAIL PROTECTED] wrote: On Tue, 1 Mar 2005 16:06:56 +0530, anirudh dutt [EMAIL PROTECTED] wrote: i just opened 4 jpg files...dunno about where the header is...coz i didn't find anything common at the begining of the files (so i doesn't seem to have

[PHP] PHP 4.3.10 and Apache2.0 with MPM

2005-03-01 Thread [EMAIL PROTECTED]
When I install PHP 4.3.10 with Apache 2.0 with a tool called YUM that installs rpms for Fedora Core 3 I get the following: Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP. Pre-configuration failed I¹m not sure why Fedora would

[PHP] php-help

2005-03-01 Thread K Karthik
dear friends, can u help me to find the current directory where my php files are.. using php. thanks, karthik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP slowness

2005-03-01 Thread Gerard
On Thu, 24 Feb 2005 10:54:02 +0100, Gerard [EMAIL PROTECTED] wrote: Nevertheless, it IS slow and I have no idea why or where to start looking. The phpinfo() can be found on www.debuginc.com/info.php. Any help or hints are highly appreciated. It looks like you are using Debian and

Re: [PHP] Semi-OT: Anti-password trading/sharing solutions

2005-03-01 Thread Dan Trainor
AdamT wrote: On Mon, 28 Feb 2005 15:42:37 -0800 (PST), Richard Lynch [EMAIL PROTECTED] wrote: I know absolutely nothing about how ProxyPass, iProtect, and PureMember work 'Pure'member seems such an odd choice of name for something used on pr0n sites. This product is not marketed exclusively for

Re: [PHP] _POST not working (using mini_httpd) - 2 attachments

2005-03-01 Thread Burhan Khalid
overbored wrote: Hi all, I'm learning PHP and I'd need to create a simple Web-based ifconfig tool for a Soekris box (running Pebble). However, I've been unsuccessful at getting PHP working with mini_httpd. In particular, the POST data is not being received. Here's what I did... What version of

Re: [PHP] php-help

2005-03-01 Thread Burhan Khalid
K Karthik wrote: dear friends, can u help me to find the current directory where my php files are.. using php. echo dirname($_SERVER['PHP_SELF']); Please, read the manual and search the archives. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Semi-OT: Anti-password trading/sharing solutions

2005-03-01 Thread Mikey
[snip everything irrelevant] On a tehnical note, I don't really see how you can prevent this sharing of logins. This is something I was actually looking into for a site that had nothing to do with pr0n (would love to know where that came from, it seems so universal now). If you read up on the

Re: [PHP] Semi-OT: Anti-password trading/sharing solutions

2005-03-01 Thread Jochem Maas
Hi Mikey, you writing is very balanced, nicely put... I very much agree with the position you take/have (maybe my OP didn't put it quite so clearly ;-) but you write that Dan probably agrees that (any) exploitation (that occurs) is a bad thing... a logical assumption now read this a weep (it a

RE: [PHP] textarea posting duplicate text

2005-03-01 Thread Elizabeth Lawrence
Thanks, Dan. I copied your code exactly and posted it here: http://www.tidefans.com/test.php I pasted a large part of O'Henry's Gift of the Magi into the textarea, and it gets repeated, as before. Thanks for any help, Elizabeth -Original Message- From: Dan Tappin [mailto:[EMAIL

RE: [PHP] On Topic - Theoretical Concents of Anti-password trading/sharing solutions

2005-03-01 Thread tg-php
I agree with Mikey on the live and let live side of things. This forum is about sharing technical knowlege and helping other users overcome technical challenges relating to PHP. Yeah, a site that's adult oriented is most likely a pay site. Doesn't mean they make money, but assuming they made

Re: [PHP] Semi-OT: Anti-password trading/sharing solutions

2005-03-01 Thread Dan Trainor
Jochem Maas wrote: Hi Mikey, you writing is very balanced, nicely put... I very much agree with the position you take/have (maybe my OP didn't put it quite so clearly ;-) but you write that Dan probably agrees that (any) exploitation (that occurs) is a bad thing... a logical assumption now

Re: [PHP] On Topic - Theoretical Concents of Anti-password trading/sharing solutions

2005-03-01 Thread Dan Trainor
[EMAIL PROTECTED] wrote: I agree with Mikey on the live and let live side of things. This forum is about sharing technical knowlege and helping other users overcome technical challenges relating to PHP. Yeah, a site that's adult oriented is most likely a pay site. Doesn't mean they make money,

RE: [PHP] Semi-OT: Anti-password trading/sharing solutions

2005-03-01 Thread Mikey
To address Mikey's question - I am not looking for a way to uniquely identify users. For one, it's just not possible. On top of that, the vast majority of members with to stay anonymous for reasons that I am not even going to begin to state on this list, because we all know where that

Re: [PHP] Semi-OT: Anti-password trading/sharing solutions

2005-03-01 Thread Jochem Maas
Dan Trainor wrote: Jochem Maas wrote: ... I don't think that this is an issue that is specific to pr0n. Sure, the first thing that we think of when we hear a traded login is actually pr0n, but it is most definately not limited to this arena. does anybody know whether pr0n sites have a much

Re: [PHP] How to handle actions that may take a long time?

2005-03-01 Thread Bret Hughes
On Tue, 2005-03-01 at 03:05, Cajus Pollmeier wrote: Am Dienstag, 1. März 2005 09:14 schrieb [EMAIL PROTECTED]: You can send a piece of HTML defining some little thing like a div layer with your please wait, bla bla bla So the visitor can read something. When the process is finished,

Re: [PHP] On Topic - Theoretical Concents of Anti-password trading/sharing solutions

2005-03-01 Thread Robert Cummings
On Tue, 2005-03-01 at 09:58, Dan Trainor wrote: [-- SNIIIP --] Dear Dan, You have yourself to blame for the responses you have been receiving. You opened up the floodgates of personal opinion when you mentioned your were a pr0n pusher. The fact that you deal with adult content

Re: [PHP] Semi-OT: Anti-password trading/sharing solutions

2005-03-01 Thread Dan Trainor
Mikey wrote: To address Mikey's question - I am not looking for a way to uniquely identify users. For one, it's just not possible. On top of that, the vast majority of members with to stay anonymous for reasons that I am not even going to begin to state on this list, because we all know

RE: [PHP] Semi-OT: Anti-password trading/sharing solutions

2005-03-01 Thread Mikey
The difficulty is trying to find a solution that would limit access and do all the fancy stuff that we had discussed, without interfering with the pre-existing authentication system. How about taking the auth status of a user from the headers and then performing additional verification

[PHP] mcrypt_create_iv always returns same value?

2005-03-01 Thread Murray @ PlanetThoughtful
Hello All, I'm just beginning to experiment with encryption using the mcrypt functions and I'm wondering if anyone can tell me if it's normal that the following code always returns the same value whenever executed on my system (PHP 5.0.3, WinXP, mcrypt 2.5.7): $td =

[PHP] Spam and this list

2005-03-01 Thread bob
Well, this time it took just 11 days to get my first bit of spam from this mailing list. I am most surprised that a list like this would be so open to Spiders and other creepie crawlies. Other PHP mailing lists are fine, why can't the original and best one be one of them ? Alexis -- PHP

Re: [PHP] On Topic - Theoretical Concents of Anti-password trading/sharing solutions

2005-03-01 Thread John Nichel
Dan Trainor wrote: snip Of course I would not consider Open Source software for this purpose if the sites themselves were making money. but the sad fact is, most of these sites do not. /snip Why would you not consider OSS for a site/company that is making money? Open Source doesn't mean free

Re: [PHP] On Topic - Theoretical Concents of Anti-password trading/sharing solutions

2005-03-01 Thread Dan Trainor
Robert Cummings wrote: On Tue, 2005-03-01 at 09:58, Dan Trainor wrote: [-- SNIIIP --] Dear Dan, You have yourself to blame for the responses you have been receiving. You opened up the floodgates of personal opinion when you mentioned your were a pr0n pusher. The fact that you deal

RE: [PHP] textarea posting duplicate text

2005-03-01 Thread Bret Hughes
On Tue, 2005-03-01 at 08:43, Elizabeth Lawrence wrote: Thanks, Dan. I copied your code exactly and posted it here: http://www.tidefans.com/test.php I pasted a large part of O'Henry's Gift of the Magi into the textarea, and it gets repeated, as before. Thanks for any help, Elizabeth There

Re: [PHP] Inline Frame and php

2005-03-01 Thread Joe Harman
Hey Todd, I use iframe alot.. what you have to do is tell it a target... but, i am not sure if you can do that with header('Location:...) .. i would be interested to know also Joe On Mon, 28 Feb 2005 16:30:28 -0800, Todd Cary [EMAIL PROTECTED] wrote: My client insists on using inline Frames

Re: [PHP] Spam and this list

2005-03-01 Thread Richard Davey
Hello bob, Tuesday, March 1, 2005, 4:11:47 PM, you wrote: b I am most surprised that a list like this would be so open to b Spiders and other creepie crawlies. Other PHP mailing lists are b fine, why can't the original and best one be one of them ? I can't see how any list at all that displays

RE: [PHP] Inline Frame and php

2005-03-01 Thread Mikey
Is there a way to leave the inline frame? You could get your script to write some JavaScript instead of the header along the lines of: window.parent.document.location = mypage.php; (This is not tested, and YMMV...) HTH, Mikey -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] textarea posting duplicate text

2005-03-01 Thread Bret Hughes
On Tue, 2005-03-01 at 10:19, Bret Hughes wrote: On Tue, 2005-03-01 at 08:43, Elizabeth Lawrence wrote: Thanks, Dan. I copied your code exactly and posted it here: http://www.tidefans.com/test.php I pasted a large part of O'Henry's Gift of the Magi into the textarea, and it gets repeated, as

[PHP] How can I send a gif picture to the mobile client via php?

2005-03-01 Thread
Dear phpers, I'm using php 4.2.2 and gd version 1.8 which seems don't support gif pictures. However, I want to send a single gif picture to the client side. How can I do it? Any help would be appreciated. Sincerely, Kun -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Re: Like ternary but without the else.

2005-03-01 Thread Chris W. Parker
anirudh dutt mailto:[EMAIL PROTECTED] on Monday, February 28, 2005 9:25 PM said: dunno if u've read the options ppl have given u or u've ignored their answers: ugh... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How can I send a gif picture to the mobile client via php?

2005-03-01 Thread Mikey
Dear phpers, I'm using php 4.2.2 and gd version 1.8 which seems don't support gif pictures. However, I want to send a single gif picture to the client side. How can I do it? Any help would be appreciated. A single gif - that you have already made? img src=mygif.gif Or, if you are using

[PHP] (O-T) PHP developer position available

2005-03-01 Thread Radu Filip
Position: Senior PHP Developer MySQL DBA Responsibilities: - to continue the development of a web application written in PHP and based on a MySQL database, application that serves a Windows client application - to manage MySQL databases and MySQL server in a Linux environment

[PHP] Program flow?

2005-03-01 Thread rory walsh
Hi I have a one simple question that I need to sort out before I continue writing any PHP scripts. Every time I call a script are the variables reset to the default values? If for example I call action.php from a form with a hidden value test, I set $NUMBER to 5. If I then call action.php again

[PHP] mysql problems

2005-03-01 Thread Jed R. Brubaker
Hi all - I could use a lead on a problem. I just don't know where to start. I have a PHP script that populates a database table. No big deal. It creates mailing labels. However, a weird things keeps happening - every once in a while, a query is run twice. It is the same query, same

Re: [PHP] Program flow?

2005-03-01 Thread Richard Davey
Hello Rory, Tuesday, March 1, 2005, 4:58:20 PM, you wrote: rw Hi I have a one simple question that I need to sort out before I rw continue writing any PHP scripts. Every time I call a script are the rw variables reset to the default values? Yes this is nearly always the case unless you code

Re: Re: [PHP] Pop-up message

2005-03-01 Thread hitek
Is there some reason you can't simply use a javascript alert on the page refresh? if(isset($queue)){ echo script type=\text/javascript\ !-- alert(\$queue\); -- /script; } From: Lester Caine [EMAIL PROTECTED] Date: 2005/03/01 Tue AM 03:18:58 EST To:

[PHP] combining values

2005-03-01 Thread William Stokes
Hello, I need to collect persons birth date from web form. The form is this kind: tdBirthday/td tddate input type=text name=day size=5 maxlength=2 month input type=text name=month size=5 maxlength=2 year input type=text name=year size=10 maxlength=4 /td Then I need to combine these in to a one

Re: [PHP] combining values

2005-03-01 Thread Sascha Kaufmann
$birthday = $day.'.'.$month.'.'.$year; William Stokes wrote: Hello, I need to collect persons birth date from web form. The form is this kind: tdBirthday/td tddate input type=text name=day size=5 maxlength=2 month input type=text name=month size=5 maxlength=2 year input type=text name=year size=10

Re: [PHP] textarea posting duplicate text

2005-03-01 Thread Dan Tappin
It's definitely on your end: http://www.orourke.ca/test.php I verified your issue on your server and could not reproduce it on mine. Our phpinfo data looks the same. Here's a hunch. Try calling output buffering at the top of your page: ob_start(); I have this on my site to allow for mid-page

Re: [PHP] textarea posting duplicate text

2005-03-01 Thread John Holmes
Elizabeth Lawrence wrote: Thanks, Dan. I copied your code exactly and posted it here: http://www.tidefans.com/test.php I pasted a large part of O'Henry's Gift of the Magi into the textarea, and it gets repeated, as before. There was an Apache2/PHP bug going around that had this issue. It was an

Re: [PHP] combining values

2005-03-01 Thread Bret Hughes
On Tue, 2005-03-01 at 11:44, Sascha Kaufmann wrote: $birthday = $day.'.'.$month.'.'.$year; why wouldn't $birthday = $day.$month.$year; work as well. Bret -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql problems

2005-03-01 Thread Richard Lynch
Jed R. Brubaker wrote: I could use a lead on a problem. I just don't know where to start. I have a PHP script that populates a database table. No big deal. It creates mailing labels. However, a weird things keeps happening - every once in a while, a query is run twice. It is the same query,

Re: [PHP] mysql problems

2005-03-01 Thread Rory McKinley
Jed R. Brubaker wrote: Hi all - I could use a lead on a problem. I just don't know where to start. I have a PHP script that populates a database table. No big deal. It creates mailing labels. However, a weird things keeps happening - every once in a while, a query is run twice. It is the same

Re: [PHP] Program flow?

2005-03-01 Thread Richard Lynch
rory walsh wrote: Hi I have a one simple question that I need to sort out before I continue writing any PHP scripts. Every time I call a script are the variables reset to the default values? If for example I call action.php from a form with a hidden value test, I set $NUMBER to 5. If I then

Re: [PHP] How can I send a gif picture to the mobile client via php?

2005-03-01 Thread Richard Lynch
Å£À¤ wrote: Dear phpers, I'm using php 4.2.2 and gd version 1.8 which seems don't support gif pictures. However, I want to send a single gif picture to the client side. How can I do it? Upgrade to 2.0? Or find that third-party vendor who provided GIF support for GD 1.8 back when GD was

Re: [PHP] mcrypt_create_iv always returns same value?

2005-03-01 Thread Richard Lynch
Murray @ PlanetThoughtful wrote: I'm just beginning to experiment with encryption using the mcrypt functions and I'm wondering if anyone can tell me if it's normal that the following code always returns the same value whenever executed on my system (PHP 5.0.3, WinXP, mcrypt 2.5.7): $td =

Re: [PHP] combining values

2005-03-01 Thread Leif Gregory
Hello Bret, Tuesday, March 1, 2005, 11:43:18 AM, you wrote: B why wouldn't B $birthday = $day.$month.$year; B work as well. Because in PHP the unencapsulated period means to concatenate. i.e. $var1 = Hello; $var2 = there; $var3 = Bret; echo $var1 . $var2 . $var3; Would net you:

Re: [PHP] combining values

2005-03-01 Thread Leif Gregory
Hello Bret, Tuesday, March 1, 2005, 11:43:18 AM, you wrote: B why wouldn't B $birthday = $day.$month.$year; B work as well. Whoops... Disregard my previous post. I missed your quotes. -- Leif (TB lists moderator and fellow end user). Using The Bat! 3.0.2.3 Rush under Windows XP 5.1 Build

[PHP] Re: Authentication fails

2005-03-01 Thread Jason Barnett
John Swartzentruber wrote: Somehow my PHP 5.0.3 or something is configured incorrectly. When I try to get past an authentication input, nothing happens. For example, I have phpMyAdmin configured now to use mysqli, but when I enter the username and password, the screen doesn't change. In

Re: [PHP] Inline Frame and php

2005-03-01 Thread Joe Harman
Hey Todd... I really think what you are going to have to do is pass a javascript variable to the parent page.. cause you are trying to send a variable from the php search page to the parent that has the iframe in it... I am correct in assuming that? On Tue, 1 Mar 2005 16:33:58 -, Mikey

Re: [PHP] How can I send a gif picture to the mobile client via php?

2005-03-01 Thread Richard Lynch
Richard Lynch wrote: Å£À¤ wrote: Dear phpers, I'm using php 4.2.2 and gd version 1.8 which seems don't support gif pictures. However, I want to send a single gif picture to the client side. How can I do it? Upgrade to 2.0? Or find that third-party vendor who provided GIF support

Re: [PHP] Program flow?

2005-03-01 Thread Jason Barnett
Richard Davey wrote: Hello Rory, Tuesday, March 1, 2005, 4:58:20 PM, you wrote: rw Hi I have a one simple question that I need to sort out before I rw continue writing any PHP scripts. Every time I call a script are the rw variables reset to the default values? Yes this is nearly

Re: [PHP] Semi-OT: Anti-password trading/sharing solutions

2005-03-01 Thread Richard Lynch
Dan Trainor wrote: I'm pretty aware of how it all works. However, the problem lies in the fact that because most of the pre-installed billing software relies solely on .htaccess/.htpasswd-based authentication, it's not possible to just change the whole login system. For the most part,

[PHP] Self calling PHP

2005-03-01 Thread Phillip Armitage
I'm working on an ftp login form using PHP. I'm trying to set it up so that the PHP file is self calling. eg. file FTP.PHP displays an html form in which the form action setting calls FTP.PHP. Essentially the program does the following: 1) Display a form prompting user to enter username and

[PHP] Re: Current dilema for Novice

2005-03-01 Thread Jason Barnett
I know that you were posting a lot of detail because you wanted to make it clear what you were doing, but next time you might try to be a little more succinct in your description. Give us the most relevant facts... not a flame, just some friendly advice to get you (more) answers to your question.

[PHP] Re: Self calling PHP

2005-03-01 Thread Jason Barnett
Phillip Armitage wrote: I'm working on an ftp login form using PHP. I'm trying to set it up so that the PHP file is self calling. eg. file FTP.PHP displays an html form in which the form action setting calls FTP.PHP. Essentially the program does the following: ... The $_REQUEST array is

Re: [PHP] PHP 4.3.10 and Apache2.0 with MPM

2005-03-01 Thread Richard Lynch
[EMAIL PROTECTED] wrote: When I install PHP 4.3.10 with Apache 2.0 with a tool called YUM that installs rpms for Fedora Core 3 I get the following: Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP. Pre-configuration failed

Re: [PHP] PHP 4.3.10 and Apache2.0 with MPM

2005-03-01 Thread Richard Lynch
[EMAIL PROTECTED] wrote: When I install PHP 4.3.10 with Apache 2.0 with a tool called YUM that installs rpms for Fedora Core 3 I get the following: Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP. Pre-configuration failed

Re: [PHP] PHP 4.3.10 and Apache2.0 with MPM

2005-03-01 Thread Richard Lynch
[EMAIL PROTECTED] wrote: When I install PHP 4.3.10 with Apache 2.0 with a tool called YUM that installs rpms for Fedora Core 3 I get the following: Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP. Pre-configuration failed

[PHP] Re: Authentication fails

2005-03-01 Thread John Swartzentruber
On 3/1/2005 2:12 PM Jason Barnett wrote: John Swartzentruber wrote: Somehow my PHP 5.0.3 or something is configured incorrectly. When I try to get past an authentication input, nothing happens. For example, I have phpMyAdmin configured now to use mysqli, but when I enter the username and password,

Re: [PHP] PHP 4.3.10 and Apache2.0 with MPM

2005-03-01 Thread Richard Lynch
[EMAIL PROTECTED] wrote: When I install PHP 4.3.10 with Apache 2.0 with a tool called YUM that installs rpms for Fedora Core 3 I get the following: Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP. Pre-configuration failed

Re: [PHP] PHP 4.3.10 and Apache2.0 with MPM

2005-03-01 Thread Richard Lynch
[EMAIL PROTECTED] wrote: When I install PHP 4.3.10 with Apache 2.0 with a tool called YUM that installs rpms for Fedora Core 3 I get the following: Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP. Pre-configuration failed

Re: [PHP] Semi-OT: Anti-password trading/sharing solutions

2005-03-01 Thread Dan Tappin
What about using a simple session database to ensure multiple logins are not allowed. You can create a session, store the session ID in mysql. If the same user tries to login again from a different location i.e. new session ID you can lock them out / log this activity. You really can't

Re: [PHP] textarea posting duplicate text

2005-03-01 Thread Frank Arensmeier
Elizabeth! Have you considered reinstalling PHP on your server? Maybe, it is worth the effort? Regards, Frank 2005-03-01 kl. 17.19 skrev Bret Hughes: On Tue, 2005-03-01 at 08:43, Elizabeth Lawrence wrote: Thanks, Dan. I copied your code exactly and posted it here: http://www.tidefans.com/test.php

Re: [PHP] problems with several JPEGs in GD2

2005-03-01 Thread Richard Lynch
AdamT wrote: I usually either open the image with notepad, or some Hex Editor, and see what the bits are in the file header (eg BM for Bitmap, Gif89a for GIFs, JFIF for JPEGs...) It actually is called a header in most formal graphic specifications I've read... Checking the actual bytes of an

[PHP] PHP5 Static Object Function Issue

2005-03-01 Thread Gavin Roy
I believe there is small problem in PHP5 with regard to static functions in uninstanced classes. From discussions in various php irc channels and what I've read about it in the docs, I can not call a static function in an uninstanced class via a variable. For example: $class = MyClass;

Re: [PHP] Logging with PHP to SMTP server

2005-03-01 Thread Richard Lynch
kioto wrote: Hi all, there is a way to create log-system to authenticate to smtp server ? I don't understand the log-system part of this... You can authenticate to SMTP, depending on what the SMTP server considers suitable credentials. And you could write your script to log the results of

Re: [PHP] problem with mail()

2005-03-01 Thread Richard Lynch
Stefan Sturm wrote: I'm using the script below to send ascii files attached to mails via mail(). I'm running the script on different servers and it works fine. Now I got a problem on windows server 2003. The attachment of the mail is disturbed, the first 76 characters are missing, the rest

Re: [PHP] _POST not working (using mini_httpd) - 2 attachments

2005-03-01 Thread Richard Lynch
overbored wrote: Hi all, I'm learning PHP and I'd need to create a simple Web-based ifconfig tool for a Soekris box (running Pebble). However, I've been unsuccessful at getting PHP working with mini_httpd. In particular, the POST data is not being received. Here's what I did... First, I

Re: [PHP] Current dilema for Novice

2005-03-01 Thread Richard Lynch
James Marcinek wrote: - New directories may be created by various individuals Who? How? How do you know they are who they say they are, and that they *SHOULD* be allowed? - provide security for each directory (and sub-directory) under $_SERVER['DOCUMENT_ROOT']. What does this even mean?

Re: [PHP] header('www-Authenticate ...') Problem

2005-03-01 Thread Richard Lynch
doesn't the browser only send the AUTH_USER AUTH_PW if it gets the WWW-Authenticate header? I do believe it will re-send them on each and every request from then on... Could be wrong, but that's the way I've always structured my code, and it seemed to work... The Authenticate header is what

Re: [PHP] Current dilema for Novice

2005-03-01 Thread Richard Lynch
In php.ini you could set an append file that every site would get that has all the PHP in it you want them to have on every page. Damn! append auto_prepend Post-lunch sugar low? No, I had to double-post earlier today as well. Sleep deprivation, yeah, that's my excuse. -- Like Music?

[PHP] PHP 5.1 CVS Interface Question

2005-03-01 Thread Gavin Roy
I have an interface: interface ISingleton { static function getInstance(); } that works in 5.0.3 but in 5.1 CVS I get the following error: Fatal error: Access type for interface method ISingleton::getInstance() must be omitted ... If I take out the static keyword then it doesnt

[PHP] Re: PHP5 Static Object Function Issue

2005-03-01 Thread Jason Barnett
A switch statement can accomplish what you seek. ?php class MyClass { static $instance; protected function __construct() {} static function getInstance() { if (!self::$instance) { self::$instance = new MyClass(); } return self::$instance; } } function

[PHP] Re: PHP 5.1 CVS Interface Question

2005-03-01 Thread Jason Barnett
Gavin Roy wrote: ... Is this a bug, or a new intended behavior? Gavin To get the long answer you can search through the php.internals list for this topic. The short answer is: this is the new intended behavior. -- Teach a man to fish... NEW? |

[PHP] Supporting Cancel

2005-03-01 Thread Richard Lynch
My current employer has designed a sort of CMS (except it has so many site-specific hard-coded features that it's not a CMS at all) where things happen such as: If you are in the middle of adding a new user, their name appears with a yellow background, and only after you fill out the other pages

Re: [PHP] Supporting Cancel

2005-03-01 Thread Dan Tappin
That sounds ugly. To be honest the real answer will be unpopular but since the old system is unusable, not maintainable it should be replaced. I think if you estimated the time / cost to rebuild the system from scratch it would still be the better than trying to continue with this PITA

[PHP] Re: Supporting Cancel

2005-03-01 Thread Jason Barnett
Richard Lynch wrote: My current employer has designed a sort of CMS (except it has so many site-specific hard-coded features that it's not a CMS at all) where things happen such as: Your current employer? I didn't think CEOs had bosses... anywho ... One idea I'm pondering goes like this:

Re: [PHP] Re: PHP5 Static Object Function Issue

2005-03-01 Thread Gavin Roy
Well yes and no, conceivably, the system has no idea what singletons are out there other than what is specified in a configuration file. You are in essence hard coding the class name in the switch. Gavin On Tue, 01 Mar 2005 17:47:24 -0500, Jason Barnett [EMAIL PROTECTED] wrote: A switch

[PHP] How can I secure database passwords used by PHP webpages

2005-03-01 Thread Rob Tanner
WE have a number of PHP webpages that access one of several MySql databases and while the PHP files that contain the passwords cannot be accessed via the web, we are becoming increasingly concerned over the possibility of other webpage maintainers viewing those files. How have other folks

[PHP] web testing

2005-03-01 Thread blackwater dev
Hello, I have a very large php web app and I am curious as to what others are using for testing. I know I can use simpletest to test at the code level and also do some front end testing but I am looking for a nice robust product to use to test the entire site. I mean to touch every page, fill

Re: [PHP] How can I secure database passwords used by PHP webpages

2005-03-01 Thread John Holmes
Rob Tanner wrote: WE have a number of PHP webpages that access one of several MySql databases and while the PHP files that contain the passwords cannot be accessed via the web, we are becoming increasingly concerned over the possibility of other webpage maintainers viewing those files. How have

Re: [PHP] getting mac id

2005-03-01 Thread Tyler Replogle
lol, its been hard not to, its happened a few times but now that hotmail is 250 mb i'm fine. From: anirudh dutt [EMAIL PROTECTED] Reply-To: anirudh dutt [EMAIL PROTECTED] To: Tyler Replogle [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] getting mac id Date: Mon, 28 Feb 2005

Re: [PHP] web testing

2005-03-01 Thread Justin
Check out http://www.badboy.com.au/ http://httpunit.sourceforge.net/ and http://jakarta.apache.org/jmeter/index.html ... Justin blackwater dev wrote: Hello, I have a very large php web app and I am curious as to what others are using for testing. I know I can use simpletest to test at the code

[PHP] Catalog or cart

2005-03-01 Thread Ryan A
Hey all, I have a client who has a computer store, now he wants to put all his stuff in one site. He does not want to do any selling from his site, but just list all his items. After looking via google and the the usual script sites, agora cart looks pretty good and easy to maintain, other

Re: [PHP] Supporting Cancel

2005-03-01 Thread anirudh dutt
On Tue, 1 Mar 2005 14:56:57 -0800 (PST), Richard Lynch [EMAIL PROTECTED] wrote: Anybody got a better idea for handling this sort of design in any reasonable fashion? how about storing all the form info using sessions/session-style steps. for stability/security, u can store all variables

[PHP] Re: Catalog or cart

2005-03-01 Thread Anguz
Hi Ryan, I've used osCommerce as a catalog before, but it's a bit of a pain to customize. ZenCart is supposed to be easier, but I haven't tried it yet. For the last project I did of this kind, I wrote my own catalog script and I feel a lot more comfortable with that. I do realize that it'll

Re: [PHP] PHP5 Static Object Function Issue

2005-03-01 Thread Jochem Maas
Gavin Roy wrote: I believe there is small problem in PHP5 with regard to static functions in uninstanced classes. From discussions in various php irc channels and what I've read about it in the docs, I can not call a static function in an uninstanced class via a variable. For example: $class =

  1   2   >