Re: [PHP] Extracting Variables From URL

2007-05-17 Thread Zoltán Németh
I think you should try: http://php.net/parse_url greets Zoltán Németh 2007. 05. 16, szerda keltezéssel 19.40-kor CK ezt írta: Hi All, The following code works just fine for outputting links from an array. The next goal, is parsing the $thisPage variable from the URL

Re: [PHP] Random SELECT SQL list

2007-05-17 Thread Zoltán Németh
2007. 05. 17, csütörtök keltezéssel 00.45-kor Larry Garfield ezt írta: On Wednesday 16 May 2007, Eduardo Vizcarra wrote: Hi I would like to know if a SELECT SQL query list of records can be unsorted. SELECT statement retrieves a list of records from a certain table starting from

Re: [PHP] pdo-oracle + nls_lang environment variable...

2007-05-17 Thread Miguel J. Jiménez
Javier Ruiz escribió: Hi, I'm using pdo-oci on php-5.2.2 against an oracle-10g server, using oracle-instantclient (compiled oracle with '--with-oci8=instantclient,/usr/lib/oracle/10.2.0.3/client/lib'). The problem...: I make a simple php script that makes a select from a table. The table

Re: [PHP] Static methods have access to private members

2007-05-17 Thread Miguel J. Jiménez
Theodore Root escribió: I have a question regarding static methods in PHP5.x. Specifically, it seems that one can access member variables declared private from static methods, just as you can from instance methods. I was wondering if this is by design, or if this feature might go away. I

Fwd: [PHP] pdo-oracle + nls_lang environment variable...

2007-05-17 Thread Javier Ruiz
sorry, forgot to CC to the list... -- Forwarded message -- From: Javier Ruiz [EMAIL PROTECTED] Date: May 17, 2007 9:46 AM Subject: Re: [PHP] pdo-oracle + nls_lang environment variable... To: Miguel J. Jiménez [EMAIL PROTECTED] Thanks for the answer. Nah I checked and apache has

Re: [PHP] Mysqli insert / OO Design Problem - Call to a member function bind_param() on a non-object in...

2007-05-17 Thread Robin Vickery
On 16/05/07, Lee PHP [EMAIL PROTECTED] wrote: /** Insert record. */ public function insert() { $sql = INSERT INTO table ( . field_1, . field_2, . field_3) . ?, . ?, . ?);

[PHP] Confused about how exactly to output image using imagepng function

2007-05-17 Thread Dave M G
PHP list, I've looked at the manual entries for imagepng() and imagecreatetruecolor() functions for helping me to create a temporary image for a CAPTCHA system. However, I'm clearly messing up, as what I'm outputting is a bunch of ASCII gibberish to the screen. What I think I need to do

[PHP] reading Paradox (.db) files

2007-05-17 Thread Bosky, Dave
Has anyone had any experience opening and reading Paradox (.db) files using PHP? Are there any plug-ins/extensions available that someone can recommend? Thanks, Dave ** HTC Disclaimer: The information contained in this

Re: [PHP] Confused about how exactly to output image using imagepng function

2007-05-17 Thread Tijnema !
On 5/17/07, Dave M G [EMAIL PROTECTED] wrote: PHP list, I've looked at the manual entries for imagepng() and imagecreatetruecolor() functions for helping me to create a temporary image for a CAPTCHA system. However, I'm clearly messing up, as what I'm outputting is a bunch of ASCII gibberish

Re: [PHP] Confused about how exactly to output image using imagepng function

2007-05-17 Thread Stephen
Save the image as a file. Then html src=filename Dave M G [EMAIL PROTECTED] wrote: PHP list, I've looked at the manual entries for imagepng() and imagecreatetruecolor() functions for helping me to create a temporary image for a CAPTCHA system. However, I'm clearly messing up, as what I'm

Re: [PHP] Confused about how exactly to output image using imagepng function

2007-05-17 Thread Zoltán Németh
2007. 05. 17, csütörtök keltezéssel 14.49-kor Tijnema ! ezt írta: On 5/17/07, Dave M G [EMAIL PROTECTED] wrote: PHP list, I've looked at the manual entries for imagepng() and imagecreatetruecolor() functions for helping me to create a temporary image for a CAPTCHA system. However,

[PHP] Setting Up A Simple Shopping Cart

2007-05-17 Thread revDAVE
Hello folks, I am a PHP NEWBIE. - I have the following three choices for shopping carts on my server: CubeCart OS Commerce Zen Cart Q: Does anybody have any preferences for creating a simple store? -- Thanks - RevDave [EMAIL PROTECTED] [db-lists] -- PHP General Mailing List

[PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Richard Davey
Hi all, I'm very happy to announce that I've just released my comprehensive guide to installing, configuring and running Apache 2, PHP 4.4.7 and PHP 5.2.2 on Windows XP. The guide is broken down into small manageable sections and contains over 50 screen shots of the entire process, so you won't

Re: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Daniel Brown
On 5/17/07, Richard Davey [EMAIL PROTECTED] wrote: Hi all, I'm very happy to announce that I've just released my comprehensive guide to installing, configuring and running Apache 2, PHP 4.4.7 and PHP 5.2.2 on Windows XP. The guide is broken down into small manageable sections and contains over

Re: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Robert Cummings
On Thu, 2007-05-17 at 16:26 +0100, Richard Davey wrote: Hi all, I'm very happy to announce that I've just released my comprehensive guide to installing, configuring and running Apache 2, PHP 4.4.7 and PHP 5.2.2 on Windows XP. The guide is broken down into small manageable sections and

Re[2]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Richard Davey
Hi Robert, Thursday, May 17, 2007, 4:43:14 PM, you wrote: Suggestion: get rid of Windows XP and use a real OS There's always one ;) You have previously and the past redundancy since previous implies the past and past implies previous. Fixed :) Cheers, Rich -- Zend Certified

Re: Re[2]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Greg Donald
On 5/17/07, Richard Davey [EMAIL PROTECTED] wrote: Suggestion: get rid of Windows XP and use a real OS There's always one ;) No, there's more than one. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re[4]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Richard Davey
Hi Greg, Thursday, May 17, 2007, 5:01:18 PM, you wrote: There's always one ;) No, there's more than one. Sure, but you're in the minority*, so what do I care? :) * I just took the Zend PHP IDE research poll, and at the end it gives you the chance to view the stats of everyone else who took

Re: Re[4]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Robert Cummings
On Thu, 2007-05-17 at 17:19 +0100, Richard Davey wrote: Hi Greg, Thursday, May 17, 2007, 5:01:18 PM, you wrote: There's always one ;) No, there's more than one. Sure, but you're in the minority*, so what do I care? :) * I just took the Zend PHP IDE research poll, and at the end

Re: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Jon Anderson
Richard Davey wrote: Sure, but you're in the minority*, so what do I care? :) * I just took the Zend PHP IDE research poll, and at the end it gives you the chance to view the stats of everyone else who took the poll. Interestingly, 70% of them use Windows XP for development. I actually use a

Re: Re[4]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Greg Donald
On 5/17/07, Richard Davey [EMAIL PROTECTED] wrote: Sure, but you're in the minority*, so what do I care? :) I'm not asking you to care. Windoze still sucks, no matter how many idiots use it. The virus protection racket alone is enough to make me throw up. -- Greg Donald

Re[2]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Richard Davey
Hi Jon, Thursday, May 17, 2007, 5:46:12 PM, you wrote: I find it funny that the addition of the numbers above would logically put me in the 0% category. You could select multiple operating systems from the list. 50% of them used Linux too. It didn't show how the results were mixed though,

Re[6]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Richard Davey
Hi Greg, Thursday, May 17, 2007, 5:49:45 PM, you wrote: Sure, but you're in the minority*, so what do I care? :) I'm not asking you to care. Windoze still sucks, no matter how many idiots use it. The virus protection racket alone is enough to make me throw up. Viruses? God, that old

Re: Re[6]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Jason Pruim
On May 17, 2007, at 1:00 PM, Richard Davey wrote: Hi Greg, Thursday, May 17, 2007, 5:49:45 PM, you wrote: Sure, but you're in the minority*, so what do I care? :) I'm not asking you to care. Windoze still sucks, no matter how many idiots use it. The virus protection racket alone is

Re: Re[6]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Daniel Brown
On 5/17/07, Richard Davey [EMAIL PROTECTED] wrote: Hi Greg, Thursday, May 17, 2007, 5:49:45 PM, you wrote: Sure, but you're in the minority*, so what do I care? :) I'm not asking you to care. Windoze still sucks, no matter how many idiots use it. The virus protection racket alone is

Re: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Lester Caine
Richard Davey wrote: Viruses? God, that old bullshit ladened chestnut*. At least come up with some kind of valid OS argument, please. If you'd gone for 'competent use of the CPU', or 'effective memory management', you'd be worth taking seriously. How about installation time. Just clocked up

Re: Re[6]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Crayon Shin Chan
On Friday 18 May 2007 01:00, Richard Davey wrote: Viruses? God, that old bullshit ladened chestnut*. At least come up with some kind of valid OS argument, please. If you'd gone for 'competent use of the CPU', or 'effective memory management', you'd be worth taking seriously. In a roundabout

Re: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Robert Cummings
On Thu, 2007-05-17 at 12:46 -0400, Jon Anderson wrote: Richard Davey wrote: Sure, but you're in the minority*, so what do I care? :) * I just took the Zend PHP IDE research poll, and at the end it gives you the chance to view the stats of everyone else who took the poll. Interestingly,

Re: Re[6]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Robert Cummings
On Thu, 2007-05-17 at 13:13 -0400, Jason Pruim wrote: On May 17, 2007, at 1:00 PM, Richard Davey wrote: Hi Greg, Thursday, May 17, 2007, 5:49:45 PM, you wrote: Sure, but you're in the minority*, so what do I care? :) I'm not asking you to care. Windoze still sucks, no matter how

Re: Re[6]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Robert Cummings
On Fri, 2007-05-18 at 01:44 +0800, Crayon Shin Chan wrote: On Friday 18 May 2007 01:00, Richard Davey wrote: Viruses? God, that old bullshit ladened chestnut*. At least come up with some kind of valid OS argument, please. If you'd gone for 'competent use of the CPU', or 'effective memory

Re: Re[6]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Greg Donald
On 5/17/07, Richard Davey [EMAIL PROTECTED] wrote: Viruses? God, that old bullshit ladened chestnut*. At least come up with some kind of valid OS argument, please. 1. The virus and malware protection racket - M$ spent billions of dollars and several years making Vista and just like normal it's

Re[2]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Richard Davey
Hi Lester, Thursday, May 17, 2007, 6:24:44 PM, you wrote: How about installation time. Just clocked up 6.5 Hours re-installing XP on a machine. To get the last linux machine to the same level - 20 mins. Of cause running Eclipse - it does not matter what the OS is :( Yeah I'd take

Re[8]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Richard Davey
Hi Robert, Thursday, May 17, 2007, 7:01:00 PM, you wrote: I had 500 things I wanted to change, then I switched from Windows to Linux in 2000 and found that they had been addressed. Sure enough though, I'm working on a new list. There's only a few things on it though ;) I envy those who's

Re: Re[8]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Greg Donald
On 5/17/07, Richard Davey [EMAIL PROTECTED] wrote: I envy those who's work is specific / targeted enough for them to be able to only use Linux on their desktop, I really do (and I say that without a hint of sarcasm, I promise). For the rest of us, the choice sadly isn't as black and white.

Re[8]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Richard Davey
Hi Greg, Thursday, May 17, 2007, 7:23:47 PM, you wrote: Viruses? God, that old bullshit ladened chestnut*. At least come up with some kind of valid OS argument, please. 1. The virus and malware protection racket - M$ spent billions of 2. Perpetual Upgrading - you can use Ubuntu Linux 6.06

Re: Re[8]: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Greg Donald
On 5/17/07, Richard Davey [EMAIL PROTECTED] wrote: Yay, some decent arguments! I don't deny any of them, I only take exception to being called an 'idiot' by yourself for the OS I have to use. I apologize. I meant it in a stereotypical, M$-hating, sort of way.. nothing towards you personally.

Re: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Stut
Richard Davey wrote: I'm very happy to announce that I've just released my comprehensive guide to installing, configuring and running Apache 2, PHP 4.4.7 and PHP 5.2.2 on Windows XP. The guide is broken down into small manageable sections and contains over 50 screen shots of the entire process,

Re: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Robert Cummings
On Thu, 2007-05-17 at 20:18 +0100, Stut wrote: Richard Davey wrote: I'm very happy to announce that I've just released my comprehensive guide to installing, configuring and running Apache 2, PHP 4.4.7 and PHP 5.2.2 on Windows XP. The guide is broken down into small manageable sections and

Re: [PHP] A Guide to running Apache 2, PHP 4 PHP 5 on Windows XP

2007-05-17 Thread Stut
Robert Cummings wrote: BTW, could someone get behind me and give that stick thing that's poking out a pull. I've been having trouble walking lately ;) Not a chance in hell I'm going near that!! Ps. I apologize in advance to anyone who accidentally got caught up in some errant mental

Re: [PHP] Download speed limit

2007-05-17 Thread Ovidiu Rosoiu
limiting speed by using sleep in your script is a very bad idea. for a 350 MB file, with a 20 KB/s limit the script would take aprox. 5 hours. you can see how this is totally wrong. even skyrocketing the timeout, it's not a good solution. Use a web server mod for dynamic bandwidth limiting. See

[PHP] IE7 = end tag?

2007-05-17 Thread rauhspund
My Browser IE7 reads = as in array declaration as end tag and exit from php. All text afterwards will displayed as text. ?php /* Load [http://localhost/ewiki/tools/t_setupwiz.php] with your browser to generate an ewiki.ini file by using a simple configuration wizard, which queries you about all

Re: [PHP] IE7 = end tag?

2007-05-17 Thread Stut
rauhspund wrote: My Browser IE7 reads = as in array declaration as end tag and exit from php. All text afterwards will displayed as text. Your browser should not be seeing PHP code, so you might want to start by making sure your web server is set up to process PHP files properly. -Stut --

RE: [PHP] IE7 = end tag?

2007-05-17 Thread Jim Moseby
#-- .meta info include(../plugins/lib/pluginmetadata.php); $_cached = !empty($_POST); ewiki_pmd($_cached); #-- defaults for the separately handled database settings in $db[] if (!($db = $_REQUEST[db])) { $db = array(type = NULL, server = localhost, dbname = test, table = ewiki, dir =

Re: [PHP] Download speed limit

2007-05-17 Thread Rangel Reale
Yes, it seems to be bad thing, but this limit is because the big files are non-critical, but I can't let them hammer the customer's connection, using all the bandwidth. The internet connection is slow (500kbps ADSL), and they have the critical applications running on it. It is no problem my

Re: [PHP] Download speed limit

2007-05-17 Thread Rangel Reale
Hmm that apache module isn't quite what I need, it just accepts or refuse connections based on bandwidth usage, it does not throttle the connection. - Original Message - From: Rangel Reale [EMAIL PROTECTED] To: Ovidiu Rosoiu [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent:

Re: [PHP] Download speed limit

2007-05-17 Thread Greg Donald
On 5/17/07, Rangel Reale [EMAIL PROTECTED] wrote: Hmm that apache module isn't quite what I need, it just accepts or refuse connections based on bandwidth usage, it does not throttle the connection. Have you tried something like this? ?php $file = '/opt/local/apache2/htdocs/test_file.txt';

[PHP] WTF is wrong with the PEAR site forcing me to register to submit a bug, yet doesn't provide any way to!?

2007-05-17 Thread Daevid Vincent
I wanted to submit a bug that the Spreadsheet_Excel_Writer-0.9.1 is still broken. http://pear.php.net/bugs/bug.php?id=6584 http://pear.php.net/bugs/bug.php?id=6584thanks=3 thanks=3 [2007-05-17 22:59 UTC] User who submitted this comment has not confirmed identity If you submitted this note,

[PHP] Tipos about which CMS use

2007-05-17 Thread robert mena
Hi there, I'd like to replace my 'intranet' site with a CMS system to speed up the edit process. Some of my requirements are : - written in PHP :) - mysql based - documented/'well structured' - to allow development of customizations - ability to define which pages or sections are public and

Re: [PHP] Setting Up A Simple Shopping Cart

2007-05-17 Thread revDAVE
On 5/17/2007 7:05 AM, revDAVE [EMAIL PROTECTED] wrote: Hello folks, I am a PHP NEWBIE. - I have the following three choices for shopping carts on my server: CubeCart OS Commerce Zen Cart Q: Does anybody have any preferences for creating a simple store? Both OS Commerce Zen Cart

[PHP] Re: Tipos about which CMS use

2007-05-17 Thread itoctopus
I've said it before and I'll say it again: Wordpress. Joomla/Mambo are also a good choice. -- itoctopus - http://www.itoctopus.com robert mena [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi there, I'd like to replace my 'intranet' site with a CMS system to speed up the edit

Re: [PHP] WTF is wrong with the PEAR site forcing me to register to submit a bug, yet doesn't provide any way to!?

2007-05-17 Thread Chris
Daevid Vincent wrote: I wanted to submit a bug that the Spreadsheet_Excel_Writer-0.9.1 is still broken. Probably complain to the pear list instead of this one :P http://pear.php.net/support/lists.php -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List

[PHP] Re: reading Paradox (.db) files

2007-05-17 Thread itoctopus
Simple search on google: http://www.phpfreaks.com/pear_manual/page/pecl.paradox.html -- itoctopus - http://www.itoctopus.com Bosky, Dave [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Has anyone had any experience opening and reading Paradox (.db) files using PHP? Are there any

[PHP] Re: Confused about how exactly to output image using imagepng function

2007-05-17 Thread itoctopus
Why are you creating your own captcha? I used the first one I found on google and it worked fine for me. -- itoctopus - http://www.itoctopus.com Dave M G [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] PHP list, I've looked at the manual entries for imagepng() and

[PHP] Can't link image directory?

2007-05-17 Thread Haig (Home)
Hi everyone, I have a simple script that scans a directory and will output a list of sub directories as a hyperlink. Script is working fine. Only problem I have is that if there is a subdirectory called Image, my script won't see it. If I rename that subdirectory to anything else, it will see

Re: [PHP] Download speed limit

2007-05-17 Thread Rangel Reale
Yes, I tried, this works, but I would like to control the send speed more, preferably via URL, as this programs will only be accessed by my desktop application, and I have full control of them. But, if there is no other way, this will be the way! - Original Message - From: Greg Donald

Re: [PHP] Download speed limit

2007-05-17 Thread Chris
Rangel Reale wrote: Yes, I tried, this works, but I would like to control the send speed more, preferably via URL, as this programs will only be accessed by my desktop application, and I have full control of them. But, if there is no other way, this will be the way! Use the url parameter to

Re: [PHP] Re: Confused about how exactly to output image using imagepng function

2007-05-17 Thread Robert Cummings
On Thu, 2007-05-17 at 20:55 -0400, itoctopus wrote: Why are you creating your own captcha? Why not? Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com |

Re: [PHP] Setting Up A Simple Shopping Cart

2007-05-17 Thread itoctopus
I'd go with OSCommerce. -- itoctopus - http://www.itoctopus.com revDAVE [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 5/17/2007 7:05 AM, revDAVE [EMAIL PROTECTED] wrote: Hello folks, I am a PHP NEWBIE. - I have the following three choices for shopping carts on my server:

[PHP] sessions from own php-extension

2007-05-17 Thread HeavyWave
Hi there I'm writing my own php-extension in C++. Can I call ext/session functions or somehow use sessions in my extension? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Tipos about which CMS use

2007-05-17 Thread Larry Garfield
WordPress is a blogging app, not a CMS. It's a good blogging app, but it's not a CMS. Do not confuse the two. Being a Drupal developer I have to recommend Drupal. A lot of places are using it for intranet type stuff. (http://drupal.org/) But really, this question is asked about every 2

[PHP] Use sessions from own php-extension

2007-05-17 Thread hw
Hi there. I'm developing php-extension in C++ and want to use session handling from ext/session . Is it possible? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problems with SSL and stream contexts on 4.x branch...

2007-05-17 Thread David Preece
Hi, Well, this has been fun. I'm not normally a PHP guy, but right now I need to move some data from an HTTPS server into PHP. Problem is that I'm trying to do it properly, confirming that the servers certificate says what it should and that it isn't self signed (i.e. the chain of trust