[PHP] patch to php 4.3.10 to disabling URL wrappers in include like statements

2005-03-01 Thread Tom Z. Meinlschmidt
Hi, I've experienced a lot of attacks in my hosting server due to silly users and their scripts with holes. So I prepared this little patch to 4.3.10, which disables using url wrappers in include/include_once/require/require_once statemens (switchable in php.ini). See readme.security from patch p

[PHP] auto refresh once

2005-03-01 Thread William Stokes
Hello, Is it possible to force one automatic refresh browser when user enters to a webpage? If so, how? Thanks -Will -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] xml-rpc with php5

2005-03-01 Thread Matthew Fonda
On Tue, 2005-03-01 at 21:14, Alex Duggan wrote: > Hello, > > What is the best solution for setting up an xml-rpc client with php5? > Are the built in functions still experimental, are the classes from > useful inc better to use? I want to continue using xml-rpc instead of > soap because of it's s

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

2005-03-01 Thread overbored
[EMAIL PROTECTED] (Burhan Khalid) wrote in news:422474F6.4020708 @meidomus.com: > 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 min

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

2005-03-01 Thread Thomas Goyne
On Tue, 1 Mar 2005 13:53:32 -0700, Dan Tappin <[EMAIL PROTECTED]> wrote: You really can't prevent the shared password issue unless you billed on a per login basis. That may be one possible solution (although with my limited knowledge of the industry, I don't know how viable). Charge something

[PHP] xml-rpc with php5

2005-03-01 Thread Alex Duggan
Hello, What is the best solution for setting up an xml-rpc client with php5? Are the built in functions still experimental, are the classes from useful inc better to use? I want to continue using xml-rpc instead of soap because of it's simplicity and less overhead. Alex -- PHP General Mailing

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

2005-03-01 Thread Rob Tanner
John, We're a four year college. Some maintainers are faculty, some are staff and some are work-study (students) and centrally we have little say over who can and can't. We use webdav but people inevitably share passwords (policies against doing such not withstanding) and that's a problem we can

Re: [PHP] Catalog or cart

2005-03-01 Thread Judson Vaughn
Ryan, Don't build your own. There are so many good things out there for free. It seems like you just need a simple cart that accommodates easy database entry. Like XCart, or OSCommerce, or the one others mention on this list. Jud. Judson Vaughn [EMAIL PROTECTED] | [EMAIL PROTECTED] Seiter Vaugh

Re: [PHP] Catalog or cart

2005-03-01 Thread Bret Hughes
On Wed, 2005-03-02 at 04:45, Ryan A wrote: > 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. I don't have a solution but I just wanted to say that the very first

Re: [PHP] Re: PHP 5.1 CVS Interface Question

2005-03-01 Thread Jochem Maas
Jason Barnett wrote: 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. the short reason(ing) is it doesn't make sense to implement an in

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 =

[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 req

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 ass

[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 choices

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 le

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 2

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 ot

[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 o

[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 protecte

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 sta

[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] 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 system.

[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 a

[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? | http://www.catb.org/~esr/faqs/smart-ques

[PHP] Re: PHP5 Static Object Function Issue

2005-03-01 Thread Jason Barnett
A switch statement can accomplish what you seek. $i) ? 'MyClass' : null); $singleton[] = getSingleton($class); } var_dump($singleton); ?> -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http:/

[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 matc

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

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 wha

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? Y

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... > > Firs

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 r

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

[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"; $ins

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

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 I

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 preven

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 fail

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 fail

[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 fail

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 fail

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 fail

[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

[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] 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 passwo

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, the

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 n

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

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 <[EMAI

[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 pre

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 Bui

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: H

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): > > $t

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 G

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 th

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 que

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 qu

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] 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] 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 redi

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: Birthday date month year Then I need to combine these in to a one $variable. Something like this... $birthday = $day . $month . $year; How can I add th

[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: Birthday date month year Then I need to combine these in to a one $variable. Something like this... $birthday = $day . $month . $year; How can I add the . (dots) to the date so it would look like for example

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 " "; } > > From: Lester Caine <[EMAIL PROTECTED]> > Date: 2005/03/01 Tue AM 03:18:58 EST > To: php-general@lists.php.net > Subject: Re: [PHP]

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 a

[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 information,

[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 f

[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

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? Or, if you are using a script t

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

2005-03-01 Thread Chris W. Parker
anirudh dutt 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

[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] 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 repe

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 unsub

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 display

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 Fram

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

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] On Topic - Theoretical Concents of Anti-password trading/sharing solutions

2005-03-01 Thread John Nichel
Dan Trainor wrote: 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. Why would you not consider OSS for a site/company that is making money? Open Source doesn't mean free as in beer

[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 Genera

[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 = mcrypt_module_open('rijn

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

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 where

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 conte

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 f

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 highe

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 th

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 mon

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 read

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 m

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 PROTECTE

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] 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 ge

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: http://www.php.net/unsub.php

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 PHP

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] 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 usi

[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

[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 di

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 > > see

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

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*

  1   2   >