Re: [PHP] debugging

2005-01-18 Thread Justin French
On 19/01/2005, at 5:36 PM, William Stokes wrote: I would like to add some debugging/info code to my pages. In test environment of course. Any ideas how to do this? I mean for example to print to a web page the line number when the script fails or something like that. It's a pain on the **s to hun

Re: [PHP] my for loop's gone bananas.. has yours?

2005-01-18 Thread Binoy AV
Hi, Store the sum into a variable (inside the loop) and print.I hope this will work. Binoy __ __ __ __ Sent via the WebMail system at softwareassociates.co.uk --- Scanned by MessageExchange.net (07:10:44 SPITFIRE) -

[PHP] SPL Exceptions

2005-01-18 Thread Gerard Samuel
Does anyone know when the exception objects listed in item #6 at http://www.php.net/~helly/php/ext/spl/ will be available in base php5?? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] my for loop's gone bananas.. has yours?

2005-01-18 Thread Tim Burgan
Hello, I have a for loop to create a HTML combo box that displays the 10 year values, starting from today's year and incrementing until 10 years it reached. The output of the loop to the browser is weird. If anyone has time, can you please let me know where I screwed up? Here's my loop: echo '

[PHP] debugging

2005-01-18 Thread William Stokes
Hello, I would like to add some debugging/info code to my pages. In test environment of course. Any ideas how to do this? I mean for example to print to a web page the line number when the script fails or something like that. It's a pain on the **s to hunt typo's by just reading the source over

RE: [PHP] Re: Pagination Optimization

2005-01-18 Thread yangshiqi
Yes. I just use the same method which Curt mentioned below and seem well. But I met the problem a little bit complex that the sql used "group by". Any idea? Best regards, Yang Shiqi -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Sunday, January 09, 2005 2:37

[PHP] Nested SQL Statements

2005-01-18 Thread Greg Cullen
Relatively new to PHP. Having an issue trying to nest sql statements. Basically I am trying to pull a variable from SQL1, Pass it as a Variable/Bind or Parm to SQL2 and then Go back to SQL1 and pull the next value and pass to SQL2 again for processing. It seems like the SQL2 is getting stuck o

Re: [PHP] Writing static file from dynamic PHP page

2005-01-18 Thread Hugh Danaher
Chris, I've done something like this to update website's static pages. Basically, in a php script I've replaced all of the "print" statements with "$line.= " statements to accumulate all the items you want printed into one long string. I've then ftp'ed this string, along with the name of the h

[suspicious - maybe spam] [PHP] How to access remote files with php?

2005-01-18 Thread Sephiroth
Hi all, How to access remote files with php? For ex: $sFile = "http://www.php.net/123.txt";; if (file_exists($sFile)) { $hFile = fopen($sFile); ... fclose($hFile); } Regards, Sephiroth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] searching and sorting

2005-01-18 Thread Michael Sims
Richard Lynch wrote: > Brian A. Anderson wrote: [...] >> I am thinking of incrementally adding the resultant hits into two >> associative arrays with the link to the data and a calculated >> relevance value, and sorting this array by these relevences. [...] > One Axiom: Keep as much of the scoring/

Re: [PHP] $_SERVER['HTTP_USER_AGENT'] in html email

2005-01-18 Thread Graham Anderson
What would be the standard/accepted way to do this? is it better to spell it out in the html email ? Download: Mac PC Linux ? many thanks :) On Jan 18, 2005, at 4:06 PM, [EMAIL PROTECTED] wrote: php is server-side, so no. you might be able to do what you're after with ja

Re: [PHP] searching and sorting

2005-01-18 Thread Brian A. Anderson
Quoting: "Richard Lynch" <[EMAIL PROTECTED]> > Unless you KNOW your site will get loads of traffic from the get-go, I'd > focus more on the SIMPLE solutions that you can maintain as a beginner. Quoting: "Richard Lynch" > Unless you KNOW your site will get loads of traffic from the get-go, I'

Re: [PHP] Recursive Array Iterator

2005-01-18 Thread Gerard Samuel
Gerard Samuel wrote: Im trying to figure out how to create this. But Im stuck in the foreach loop. For some reason, $value in the foreach loop is not an object (Isn't is supposed to be?) Any hints to get me in the right direction. Thanks $array = array(1 => array(2 => array(3 => array(4; clas

[PHP] $_SERVER['HTTP_USER_AGENT'] in html email

2005-01-18 Thread Graham Anderson
is it possible to use $_SERVER['HTTP_USER_AGENT'] in an html email ? something like: //What should we download based on user's platform ? if (strpos($_SERVER['HTTP_USER_AGENT'], 'Macintosh') !== FALSE) { $download = 'Fonovisa.dmg'; echo 'Mac'; } else { echo 'PC'; $download = '!Fonovisa.exe'; } --

Re: [PHP] Re: Hidden Images.

2005-01-18 Thread Rob Adams
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Rob Adams wrote: >> "Jason Barnett" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >>> Rob Adams wrote: Ok - Let me restate some of this: I am creating these images in PHP. I have a script

Re: [PHP] Re: Persistent PHP web application?

2005-01-18 Thread M Saleh EG
There would be 10s of ways of doing this I assume... depends on which technologies and resources you have access to. Jochem Mass said: >firstly this goes against the basic principle of 'SHARE NOTHING' that >php is based on - so I doubt that the basic php environment will be >changed to accomodate

Re: [PHP] Re: Hidden Images.

2005-01-18 Thread Richard Lynch
> What I don't know how to do yet is to make the hidden image "disappear" > into > the main image when it's not highlighted. Sorry to double-post, but... You MIGHT want to sit down with PhotoShop as described in the HowTo page and select 100 images at random, and try to do it by hand. You can ke

Re: [PHP] searching and sorting

2005-01-18 Thread Richard Lynch
Brian A. Anderson wrote: > I am new(relatively) to php programing and searching. I am trying to > understand the best way to access data and deliver results to searches on > a > product catalog website. > > I have two kinds of data that I am sorting and displaying results for. The > first is info a

Re: [PHP] Inconsistent behavior, same code, different server

2005-01-18 Thread Rob Tanner
--On Tuesday, January 18, 2005 02:05:59 PM -0800 Richard Lynch <[EMAIL PROTECTED]> wrote: > > First, use to confirm 100% that the php.ini file you > think is loading is actually loading. > > Next, be sure your Apache was restarted. > > Finally, I'd look (maybe even grep) for some kind of aut

Re: [PHP] Re: Delay at first use of OpenSSL functions

2005-01-18 Thread Marek Kilimajer
Vladas Shukevichus wrote: Thanks a lot for such a superb explanation! It's clear now why OpenSSL gather entropy for such a long time, it just doesn't have any external source of it. But I still need my scripts run as fast as possible :) There are Windows 2003 + IIS6, so there are no any dev/random

[PHP] Windows CLI and task scheduler

2005-01-18 Thread Dominic Schanen
I've written several command line scripts to run as scheduled tasks on a Windows 2000 Server machine. They run fine, no problems. However, the application log is filling up with errors stating that windows was unable to unload my registry profile. I know the PHP scripts are at fault because the

Re: [PHP] Re: Hidden Images.

2005-01-18 Thread Richard Lynch
Rob Adams wrote: > "Jason Barnett" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> Rob Adams wrote: >>> Ok - Let me restate some of this: >>> >>> I am creating these images in PHP. I have a script right now that >>> accepts two images. A main one, and the one that will be hidden.

Re: [PHP] Re: multiple sessions on same server/domain

2005-01-18 Thread Marek Kilimajer
Jason Barnett wrote: Valter Toffolo wrote: ok i have one server with a single domain, each user have it's home with a public_html so i get mydomain.com/~user1/ and mydomain.com/~user2/ and so on. but each user might like to use sessions so how can i make it work so that sessions would have each one

Re: [PHP] Re: Hidden Images.

2005-01-18 Thread Marek Kilimajer
Rob Adams wrote: "Jason Barnett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Rob Adams wrote: Ok - Let me restate some of this: I am creating these images in PHP. I have a script right now that accepts two images. A main one, and the one that will be hidden. These can be eith

Re: [PHP] Writing static file from dynamic PHP page

2005-01-18 Thread Richard Lynch
Chris Bruce wrote: > This is a great solution, except I cannot get PHP to exec the file that > has the 'wget' command in it. > > What I have done is to create a file (wget.php) into the directory that > I want to wget the page into. I then chmod -R the directory to make > everything in it executabl

Re: [PHP] Inconsistent behavior, same code, different server

2005-01-18 Thread Richard Lynch
Rob Tanner wrote: > I have a php application that I developed on my RH Linux workstation > running > Apache v1.3.20 and PHP v4.3.6. The actual production system is also RH > Linux > but running Apache v2.0.47 and PHP v4.3.6. The php.ini file on both > system > is the same. The application talks

Re: [PHP] Hidden Images.

2005-01-18 Thread Richard Lynch
Rob Adams wrote: > I've been figuring out how to create hidden images. The concept is: when > you highlight an image in Internet Explorer (and Mozilla too, though the > grid is reversed) it puts a grid over the image. If you put another image > in between what the grid covers, you can kind of hid

Re: Re: Re: [PHP] Re: Delay at first use of OpenSSL functions

2005-01-18 Thread Vladas Shukevichus
Thanks a lot for such a superb explanation! It's clear now why OpenSSL gather entropy for such a long time, it just doesn't have any external source of it. But I still need my scripts run as fast as possible :) There are Windows 2003 + IIS6, so there are no any dev/random device, OpenSSL use by de

Re: [PHP] Re: Hidden Images.

2005-01-18 Thread Marek Kilimajer
Rob Adams wrote: "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Rob Adams wrote: "Jason Barnett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Rob Adams wrote: Ok - Let me restate some of this: I am creating these images in PHP. I have a script ri

Re: [PHP] Re: Re: Delay at first use of OpenSSL functions

2005-01-18 Thread Richard Lynch
Vladas Shukevichus wrote: > I understand it. That's why I am asking how to make my scripts run > not 1 second (totally unacceptable), but 0.001 second. May be it's > possible to make it work faster? May be it can gather entropy only > once (not every time script executes). > In the same script Open

Re: [PHP] Re: Hidden Images.

2005-01-18 Thread Rob Adams
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Rob Adams wrote: >> "Jason Barnett" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >> >>>Rob Adams wrote: >>> Ok - Let me restate some of this: I am creating these images in PHP. I have a

Re: [PHP] Simple question: $_POST

2005-01-18 Thread Richard Lynch
Stuart Felenstein wrote: > When using $_POST vars is it required that a form is > used ? > > In other words I can create an href link and echo > variable and pick them up using $_GET in the following > page. > > No so with $_POST ? Google for "PostToHost and Rasmus Lerdorf" if you want to use PHP

Re: [PHP] Re: Hidden Images.

2005-01-18 Thread Bret Hughes
On Tue, 2005-01-18 at 12:24, Rob Adams wrote: > Ok - Let me restate some of this: > > I am creating these images in PHP. I have a script right now that accepts > two images. A main one, and the one that will be hidden. These can be > either jpg, gif, or png. It then outputs a png image like

[PHP] searching and sorting

2005-01-18 Thread Brian A. Anderson
I am new(relatively) to php programing and searching. I am trying to understand the best way to access data and deliver results to searches on a product catalog website. I have two kinds of data that I am sorting and displaying results for. The first is info about specific products, and the other

Re: [PHP] Re: Delay at first use of OpenSSL functions

2005-01-18 Thread Bret Hughes
On Tue, 2005-01-18 at 14:34, Marek Kilimajer wrote: > Bret Hughes wrote: > > > > Having said all this, you might try moving the server mouse around > > immediatly before and during the transaction to see if its faster. > > Or hire a monkey :) Hmm. depending on the current cost of Purina Monkey C

Re: [PHP] Experiences with PHP Training in US?

2005-01-18 Thread Richard Lynch
Donald Wong wrote: > I'm looking for a PHP training course within the US, and I'm wondering > if have any recommendations. > > Specifically, I want to know if there's any courses that will cover > using Kerberos through PHP, though I don't have too much hope in that. At that point, for what you'd

Re: [PHP] Re: Delay at first use of OpenSSL functions

2005-01-18 Thread Marek Kilimajer
Bret Hughes wrote: Having said all this, you might try moving the server mouse around immediatly before and during the transaction to see if its faster. Or hire a monkey :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Executing command in Linux

2005-01-18 Thread Richard Lynch
Rosen wrote: > Hi, > I have this problem: > Linux Red Hat 7.3 server and PHP 4.3.8 & MySQL 4. When I Try to execute > linux command - nothing happens and in Apache logs I see "Access denied". > This is about permissions in executing this command. > > My question is can I execute a linux command via

[PHP] multiple sessions on same server/domain

2005-01-18 Thread Valter Toffolo
ok i have one server with a single domain, each user have it's home with a public_html so i get mydomain.com/~user1/ and mydomain.com/~user2/ and so on. but each user might like to use sessions so how can i make it work so that sessions would have each one it's own variables and all...?? thanks, v

Re: [PHP] Re: Delay at first use of OpenSSL functions

2005-01-18 Thread Marek Kilimajer
Vladas Shukevichus wrote: 18.01.2005 18:06:31 Marek Kilimajer <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]> M. Sokolewicz wrote: didn't you read what wez said? they're gathering entropy... you *can't* (and shouldn't want to) prevent that. Or get some good entropy source Can you expla

RE: [PHP] Inconsistent behavior, same code, different server

2005-01-18 Thread Michael Sims
Rob Tanner wrote: > Granting the possibility that I may have unintentionally defined the > variables differently, what might cause them to be treated one way on > my development system and another on the production server given that > the php.ini file is the same on both systems? Any clues? Compa

Re: [PHP] Re: PHPED PHP IDE (wasRe: [PHP] php editor)

2005-01-18 Thread Lester Caine
Ben Edwards wrote: Leicter, the point I was making was that there was at least one IDE with a debugger - you said there was not, you did not stipulate free. No I said that the link was for the debugger only, and that was free but the IDE was not and is where NUSphere make their money. The origina

[PHP] Re: Hidden Images.

2005-01-18 Thread Jason Barnett
Rob Adams wrote: Ok - Let me restate some of this: I am creating these images in PHP. I have a script right now that accepts two images. A main one, and the one that will be hidden. These can be either jpg, gif, or png. It then outputs a png image like this: http://imagineinc.net/images/ By

Re: [PHP] Free library for PDF functoins ???

2005-01-18 Thread Matt M.
> Does anyone knows of a free library to compile PHP against and have PDF > functions support ? you could try this class http://www.fpdf.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHPED PHP IDE (wasRe: [PHP] php editor)

2005-01-18 Thread Lester Caine
Marco Schuler wrote: Which free debugger? afaik there is only an integrated debugger in php3 (http://www.zend.com/manual/debugger.php). http://dd.cron.ru/dbg/downloads.php was the one we are discussing - and this page gives the free versions available. A number of IDE's use them for debugging.

Re: [PHP] Free library for PDF functoins ???

2005-01-18 Thread Ville Mattila
Mário Gamito wrote: Does anyone knows of a free library to compile PHP against and have PDF functions support ? Sure! Take a look at http://www.ros.co.nz/pdf/ . It's a class and doesn't even need any library to compile. So, just include the class file and you'll have a PDF functions available in

Re: [PHP] Writing static file from dynamic PHP page

2005-01-18 Thread Matthew Weier O'Phinney
* Christopher Fulton <[EMAIL PROTECTED]>: > Just an fyi...this would be VERY easy to get online. PHP keeps an > archive of all the posts. Here's the link > > http://marc.theaimsgroup.com/?l=php-general Also, try http://news.php.net/php.general Though it's not currently searchable -- you can

[PHP] Re: multiple sessions on same server/domain

2005-01-18 Thread Jason Barnett
Valter Toffolo wrote: ok i have one server with a single domain, each user have it's home with a public_html so i get mydomain.com/~user1/ and mydomain.com/~user2/ and so on. but each user might like to use sessions so how can i make it work so that sessions would have each one it's own variables a

Re: Re: [PHP] Re: Delay at first use of OpenSSL functions

2005-01-18 Thread Bret Hughes
On Tue, 2005-01-18 at 11:45, Vladas Shukevichus wrote: > 18.01.2005 18:06:31 > Marek Kilimajer <[EMAIL PROTECTED]> wrote in message > <[EMAIL PROTECTED]> > > > M. Sokolewicz wrote: > > > didn't you read what wez said? they're gathering entropy... you > *can't* > > > (and shouldn't want to) preve

[PHP] Recursive Array Iterator

2005-01-18 Thread Gerard Samuel
Im trying to figure out how to create this. But Im stuck in the foreach loop. For some reason, $value in the foreach loop is not an object (Isn't is supposed to be?) Any hints to get me in the right direction. Thanks $array = array(1 => array(2 => array(3 => array(4; class recursiveArrayItera

Re: [PHP] Re: Hidden Images.

2005-01-18 Thread Greg Donald
On Tue, 18 Jan 2005 11:03:20 -0700, Rob Adams <[EMAIL PROTECTED]> wrote: > Ever heard of the gd library? I couldn't find a newsgroup that was > php-graphic specific, so I thought I'd try just this general one. > > Anyone here familiar with gd that would know how to accomplish what I'm > trying to

Re: [PHP] Re: Persistent PHP web application?

2005-01-18 Thread Rasmus Lerdorf
M Saleh EG wrote: What I mean by Application-Scope variables is variables that can be available for the Application or Web-Application all the time after starting the application by a trigger. After having the triger fired those Application-Scope Variables, Datastructures, Object, and refrences wo

[PHP] Re: Hidden Images.

2005-01-18 Thread Rob Adams
Ok - Let me restate some of this: I am creating these images in PHP. I have a script right now that accepts two images. A main one, and the one that will be hidden. These can be either jpg, gif, or png. It then outputs a png image like this: http://imagineinc.net/images/ I really don't kno

Re: [PHP] Writing static file from dynamic PHP page

2005-01-18 Thread R'twick Niceorgaw
On Tue, January 18, 2005 2:42 pm, Chris Bruce said: > This is a great solution, except I cannot get PHP to exec the file that > has the 'wget' command in it. > > What I have done is to create a file (wget.php) into the directory that > I want to wget the page into. I then chmod -R the directory to

[PHP] Re: Hidden Images.

2005-01-18 Thread Rob Adams
"Jason Barnett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Rob Adams wrote: >> Ok - Let me restate some of this: >> >> I am creating these images in PHP. I have a script right now that >> accepts two images. A main one, and the one that will be hidden. These >> can be eith

RE: [PHP] anyone has successful to use a PHP SoapClient talking with .Net Web services?

2005-01-18 Thread Luis Lebron
I recently had to get one to work. The key in my case was building the soap message for the paramaters instead of the standard paramaters array something like $parameters = " Username Password "; Also, I am using the nusoap library. Luis

[PHP] Free library for PDF functoins ???

2005-01-18 Thread Mário Gamito
Hi, Does anyone knows of a free library to compile PHP against and have PDF functions support ? Any help would be apreciated. Warm regards, Mário Gamito -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Writing static file from dynamic PHP page

2005-01-18 Thread Chris Bruce
This is a great solution, except I cannot get PHP to exec the file that has the 'wget' command in it. What I have done is to create a file (wget.php) into the directory that I want to wget the page into. I then chmod -R the directory to make everything in it executable. here is what is written

[PHP] Inconsistent behavior, same code, different server

2005-01-18 Thread Rob Tanner
Hi, I have a php application that I developed on my RH Linux workstation running Apache v1.3.20 and PHP v4.3.6. The actual production system is also RH Linux but running Apache v2.0.47 and PHP v4.3.6. The php.ini file on both system is the same. The application talks to our sieve server and ena

[PHP] Re: Hidden Images.

2005-01-18 Thread Rob Adams
Ever heard of the gd library? I couldn't find a newsgroup that was php-graphic specific, so I thought I'd try just this general one. Anyone here familiar with gd that would know how to accomplish what I'm trying to do? Thanks. -- Rob "M. Sokolewicz" <[EMAIL PROTECTED]> wrote in message n

[PHP] Re: Hidden Images.

2005-01-18 Thread M. Sokolewicz
Rob Adams wrote: I've been figuring out how to create hidden images. The concept is: when you highlight an image in Internet Explorer (and Mozilla too, though the grid is reversed) it puts a grid over the image. If you put another image in between what the grid covers, you can kind of hide the

[PHP] Re: Delay at first use of OpenSSL functions

2005-01-18 Thread M. Sokolewicz
well, since it's the openSSL library that's gathering it, that means ou can't control it with PHP itself. If you want to somehow change that process, either modify the library, or (if it's changable via the PHP extension,) modify the PHP extension for openSSL. Point is, there isn't (AFAIK/AFAIC

Re: Re: [PHP] Re: Delay at first use of OpenSSL functions

2005-01-18 Thread Vladas Shukevichus
18.01.2005 18:06:31 Marek Kilimajer <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]> > M. Sokolewicz wrote: > > didn't you read what wez said? they're gathering entropy... you *can't* > > (and shouldn't want to) prevent that. > > > > Or get some good entropy source Can you explain thi

Re: [PHP] $_POST

2005-01-18 Thread Richard Lynch
> if(isset($fp['name'],$fp['pass'],$fp['blah'])) Wow! Has isset() always allowed multiple inputs?... When I think of all the times I've typed isset() && isset() && isset() !!! Jeez, learn something every day. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http

Re: [PHP] $_REQUEST or $_POST?

2005-01-18 Thread Richard Lynch
[EMAIL PROTECTED] wrote: > I've learned to use $_REQUEST but it seems to me that it uses any $_GEt, > or $_POST. Is it better to $_POST when I'm just using $_POST? It seems > like that if I want "good code", but I mean is it faster with $_POST? Not faster. Maybe cleaner, if you only want to allow

Re: [PHP] Re: Persistent PHP web application?

2005-01-18 Thread Jason Wong
On Wednesday 19 January 2005 01:01, Richard Lynch wrote: > M Saleh EG wrote: > > The answer would be Application-Scope vars wish we had it in PHP > > Just throw them in a database. > > It's a 10-line two-function PHP script you can write in 10 minutes. > > Why would you want somebody else to do

[PHP] Hidden Images.

2005-01-18 Thread Rob Adams
I've been figuring out how to create hidden images. The concept is: when you highlight an image in Internet Explorer (and Mozilla too, though the grid is reversed) it puts a grid over the image. If you put another image in between what the grid covers, you can kind of hide the image that then

Re: [PHP] Obtaining the base dir of a file in a web server

2005-01-18 Thread Richard Lynch
Juan Antonio Garrido wrote: > I use this sentence ($htmlFile = $_SERVER['DOCUMENT_ROOT'] ) for obtaining > the > complete route of a file in my web server, but inserts a white space to > final char and i need remove it. I use the trim function but it continue > there. How can i remove it? Can it b

Re: [PHP] Apache thread exploding in memory size

2005-01-18 Thread Richard Lynch
N.Z. Bear wrote: > I am experiencing a problem with httpd child processes suddenly > exploding in memory size and consuming all available memory. The > behavior is sudden, not gradual: within a few seconds or a minute the > process swells to several orders of magnitude larger than its usual > size.

Re: [PHP] $_POST array not being populated

2005-01-18 Thread Richard Lynch
Bennie Foreman wrote: > Hi, > I am new to the PHP world so don't give me too much grief if this has a > simple solution. My problem is that the $_POST array is not being > populated. I have created a form and the method of that form is "POST". > I > have started the session using session_start()

Re: [PHP] Re: PHPED PHP IDE (wasRe: [PHP] php editor)

2005-01-18 Thread Ben Edwards
Leicter, the point I was making was that there was at least one IDE with a debugger - you said there was not, you did not stipulate free. Anyway not having a go, just clearing up miscommunication. Thanks for the work you put into phpeclipse. from what I have seen so far it rocks. BTW is there a

Re: [PHP] Re: Persistent PHP web application?

2005-01-18 Thread Richard Lynch
M Saleh EG wrote: > The answer would be Application-Scope vars wish we had it in PHP Just throw them in a database. It's a 10-line two-function PHP script you can write in 10 minutes. Why would you want somebody else to do that for you? [shrug] -- Like Music? http://l-i-e.com/artists.htm

RE: [PHP] strtotime time zone trouble

2005-01-18 Thread Michael Sims
Marcus Bointon wrote: > Much of the point of using zone names rather than fixed numeric > offsets is that it allows for correct daylight savings calculations > (assuming that locale data is correct on the server). > > Let me rephrase the question - how can I get the current time in a > named time z

Re: [PHP] mail() function on linux

2005-01-18 Thread Richard Lynch
Nicolae Serban wrote: > I have this code to send an e-mail !!! > > $ok=mail($dest, $subject, $mesaj, > "From: $expe\r\n" > ."Reply-To: $expe\r\n" > ."X-Mailer: PHP/" . phpversion()); > > It works on windows, i must change something to work on linux

Re: [PHP] Writing static file from dynamic PHP page

2005-01-18 Thread Jason Wong
On Tuesday 18 January 2005 22:30, Chris Bruce wrote: > sorry for the repost, but my mail server was down from about 11pmEST > last night to 9:15am this morning and unable to receive responses. Unless your mailserver is seriously buggered then you _will_ receive whatever replies there were eventua

Re: [PHP] Echoing Variables Names

2005-01-18 Thread Richard Lynch
Phillip S. Baker wrote: > Greetings All, > > I am generating some variable variables. > I am interested for testing purposes in finding out the names of the > variables that are actually being generated. Since I want to make sure > that > that my following conditional statements are working properl

Re: [PHP] Writing static file from dynamic PHP page

2005-01-18 Thread Christopher Fulton
Just an fyi...this would be VERY easy to get online. PHP keeps an archive of all the posts. Here's the link http://marc.theaimsgroup.com/?l=php-general In fact, you may even find other posts similar to yours by searching (that could answer your question?) -Chris On Tue, 18 Jan 2005 09:30

Re: [PHP] Execute shell script from PHP

2005-01-18 Thread Jason Wong
On Tuesday 18 January 2005 18:59, Tom wrote: > Khan wrote: > > Tom wrote: > >> shell_exec() > > > > yes, I have try that but nothing happenes. here is my code. Is this > > correct? > > > > > shell_exec('/test/acct.sh'); > > ?> Note that shell_exec() expects a filesystem path and not your webserv

Re: [PHP] Textarea and Php

2005-01-18 Thread Richard Lynch
Ross Hulford wrote: > Is there a way to add and remove lines of text to a textarea inside a > form? Presumably you mean based on user input like clicking on buttons and things. By that point in time, PHP on the *server* is LONG GONE and not even in the picture. You'll have to use JavaScript. --

Re: [PHP] Writing static file from dynamic PHP page

2005-01-18 Thread Richard Lynch
Chris Bruce wrote: > sorry for the repost, but my mail server was down from about 11pmEST > last night to 9:15am this morning and unable to receive responses. Can > someone forward me responses to this post if any? Thanks. Chris > >>> Hi, >>> >>> I am looking for a way to write to a file what t

Re: [PHP] Re: Persistent PHP web application?

2005-01-18 Thread Jochem Maas
M Saleh EG wrote: What I mean by Application-Scope variables is variables that can be available for the Application or Web-Application all the time after starting the application by a trigger. After having the triger fired those Application-Scope Variables, Datastructures, Object, and refrences wo

Re: [PHP] Re: Delay at first use of OpenSSL functions

2005-01-18 Thread Marek Kilimajer
M. Sokolewicz wrote: didn't you read what wez said? they're gathering entropy... you *can't* (and shouldn't want to) prevent that. Or get some good entropy source -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Re: Delay at first use of OpenSSL functions

2005-01-18 Thread Vladas Shukevichus
I understand it. That's why I am asking how to make my scripts run not 1 second (totally unacceptable), but 0.001 second. May be it's possible to make it work faster? May be it can gather entropy only once (not every time script executes). In the same script OpenSSL gather entropy only at first

Re: [PHP] Re: PHPED PHP IDE (wasRe: [PHP] php editor)

2005-01-18 Thread Marco Schuler
Am Dienstag, 18. Januar 2005 16:49 schrieb Lester Caine: > http://www.zend.com/store/products/zend-studio.php > > That's not PhpED either and it's not free. > > The debugger is an element a number of people use. We use it in > PHPEclipse as well. Versions of the DEBUGGER are free, but there > are a

[PHP] Re: PHPED PHP IDE

2005-01-18 Thread tg-php
One minor correction. Zend Studio is not available as a complete product for free, but the last time I used it they let you use most of the functionality for free, just disabled some of the advanced functions unless you paid. You just needed to get a new freeware license every 30 days or so.

Re: [PHP] Re: PHPED PHP IDE (wasRe: [PHP] php editor)

2005-01-18 Thread Lester Caine
Ben Edwards wrote: Whats the story with this. It seems too good to be true. A fully featured IDE/Debugger released under some sort of free software licence. The site you link to seems indicate that is is free software, it has a sourceforge..net logo at the botton. However nuspere are selling it f

Re: [PHP] Re: Persistent PHP web application?

2005-01-18 Thread M Saleh EG
What I mean by Application-Scope variables is variables that can be available for the Application or Web-Application all the time after starting the application by a trigger. After having the triger fired those Application-Scope Variables, Datastructures, Object, and refrences would be available f

Re: [PHP] Re: PHPED PHP IDE (wasRe: [PHP] php editor)

2005-01-18 Thread Ben Edwards
On Tue, 18 Jan 2005 15:20:56 +, Lester Caine <[EMAIL PROTECTED]> wrote: > Benjamin Edwards wrote: > > > Whats the story with this. It seems too good to be true. A fully featured > > IDE/Debugger released under some sort of free software licence. The site > > you link to seems indicate that

Re: [PHP] strtotime time zone trouble

2005-01-18 Thread M. Sokolewicz
Tom wrote: Marcus Bointon wrote: On 18 Jan 2005, at 10:53, Tom wrote: PST = UTC - 8, therefore if you ask for strtotime in PST it will give you now + 8. This is standard in most languages, you are just reading the functionality back to front. ie when you say strtotome('now PST'), what you are as

Re: [PHP] strtotime time zone trouble

2005-01-18 Thread M. Sokolewicz
Marcus Bointon wrote: On 18 Jan 2005, at 10:53, Tom wrote: PST = UTC - 8, therefore if you ask for strtotime in PST it will give you now + 8. This is standard in most languages, you are just reading the functionality back to front. ie when you say strtotome('now PST'), what you are asking for is

[PHP] Re: Delay at first use of OpenSSL functions

2005-01-18 Thread M. Sokolewicz
didn't you read what wez said? they're gathering entropy... you *can't* (and shouldn't want to) prevent that. Vladas Shukevichus wrote: Hello, Gents, When I use any OpenSSL encryption/decryption function (like openssl_seal, openssl_open, openssl_public_encrypt, openssl_private_decrypt, etc.) it t

[PHP] Re: PHPED PHP IDE (wasRe: [PHP] php editor)

2005-01-18 Thread Lester Caine
Benjamin Edwards wrote: Whats the story with this. It seems too good to be true. A fully featured IDE/Debugger released under some sort of free software licence. The site you link to seems indicate that is is free software, it has a sourceforge.net logo at the botton. However nuspere are selling

Re: [PHP] PHP application for knowledge management?

2005-01-18 Thread Justin French
On 18/01/2005, at 10:08 AM, Murray @ PlanetThoughtful wrote: Just wondering if anyone can recommend an open php source application suitable for knowledge management for a small development team? We have 3 coders with different responsibilities, but often have to cover each other if unexpected thi

[PHP] Delay at first use of OpenSSL functions

2005-01-18 Thread Vladas Shukevichus
Hello, Gents, When I use any OpenSSL encryption/decryption function (like openssl_seal, openssl_open, openssl_public_encrypt, openssl_private_decrypt, etc.) it takes very long time to execute, when it has been called in a first time. After that other function calls performs very fast in the same s

Re: [PHP] NT Auto Authentication?

2005-01-18 Thread tg-php
Ok, I think the other response you got is mostly right, but I don't think it's clear what you're trying to do. If you enable NTLM authentication on the web server, then you can have the user's browser send the authenticated username to the web server. You'd do that like this: 1. On your web s

Re: [PHP] Writing static file from dynamic PHP page

2005-01-18 Thread Chris Bruce
sorry for the repost, but my mail server was down from about 11pmEST last night to 9:15am this morning and unable to receive responses. Can someone forward me responses to this post if any? Thanks. Chris Hi, I am looking for a way to write to a file what the browser would see (raw html) when vie

RE: [PHP] phpeclipse ide question

2005-01-18 Thread Jay Blanchard
[snip] 1) where exactly and how do I set up an external browser to launch when I save a .PHP file. [/snip] Under PHPEclipse Web Development -> Browser Configuration this lists the browsers available Under PHPEclipse Web Development -> Browser Preview Defaults check "Refresh PHP browser..." this sh

Re: [PHP] strtotime time zone trouble

2005-01-18 Thread Tom
Marcus Bointon wrote: On 18 Jan 2005, at 10:53, Tom wrote: PST = UTC - 8, therefore if you ask for strtotime in PST it will give you now + 8. This is standard in most languages, you are just reading the functionality back to front. ie when you say strtotome('now PST'), what you are asking for is

[PHP] Re: phpeclipse ide question

2005-01-18 Thread Benjamin Edwards
>>> David Robley <[EMAIL PROTECTED]> 01/18/05 01:38pm >>> On Wed, 19 Jan 2005 00:08, Benjamin Edwards wrote: >> >> After the discussion about editors I have installed phpeclipse. It seems >> to work well and looks great. However I am having slight problem. ... >> I know having a browser op

Re: [PHP] Re: Writing static file from dynamic PHP page

2005-01-18 Thread Graham Cossey
On 18 Jan 2005 04:05:27 -, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > * Chris Bruce <[EMAIL PROTECTED]>: > > I am looking for a way to write to a file what the browser would see > > (raw html) when viewing a dynamic PHP page. I have numerous include > > files, MySQL db queries, loops

  1   2   >