php-general Digest 18 Jan 2005 10:52:40 -0000 Issue 3234

2005-01-18 Thread php-general-digest-help
php-general Digest 18 Jan 2005 10:52:40 - Issue 3234 Topics (messages 206593 through 206627): Re: php editor 206593 by: M Saleh EG 206596 by: Daniel Lahey 206609 by: The Disguised Jedi Re: PHP in MS-DOS 206594 by: Andrew Kreps Re: Phonetic speller function

[PHP] Textarea and Php

2005-01-18 Thread Ross Hulford
Is there a way to add and remove lines of text to a textarea inside a form? Thanks Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Textarea and Php

2005-01-18 Thread Hugh Danaher
Ross, Try something like this in your form: textarea name=description rows=4 cols=40$description/textarea You can then edit the contents of the cell Hope this helps. Hugh - Original Message - From: Ross Hulford [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, January 18,

Re: [PHP] Execute shell script from PHP

2005-01-18 Thread Tom
shell_exec() Tom Khan wrote: Hello, I have a shell script for ading users to LDAP. It looks like this: #!/bin/bash MUID=userlogin FULLNAME=First Last LASTNAME=Last DOMAIN=example.org SERVER=qmail.example.org PASS=userpass cat .ldif.tmp.$MUID EOF dn: uid=$MUID,ou=accounts,dc=example,dc=org cn:

[PHP] strtotime time zone trouble

2005-01-18 Thread Marcus Bointon
How is this not a bug? ?php print date('Y-m-d H:i:s', strtotime('now UTC')).\n; print date('Y-m-d H:i:s', strtotime('now PST')).\n; ? outputs: 2005-01-18 09:58:09 (correct) 2005-01-18 17:58:09 (incorrect) The time zone correction is applied in the wrong direction. Does it in both current PHP 4

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

2005-01-18 Thread Zouari Fourat
can u explain a bit more : The answer would be Application-Scope vars wish we had it in PHP On Tue, 18 Jan 2005 02:42:46 +0400, M Saleh EG [EMAIL PROTECTED] wrote: The answer would be Application-Scope vars wish we had it in PHP M.Saleh.E.G 97150-4779817 -- PHP General Mailing

Re: [PHP] Execute shell script from PHP

2005-01-18 Thread Khan
Tom wrote: shell_exec() yes, I have try that but nothing happenes. here is my code. Is this correct? ?php shell_exec('/test/acct.sh'); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: which is best php editor?

2005-01-18 Thread pf
What's the purpose of your coding? Applications? Just some sort of dynamic code here n there? or Huge OOP application with a team of programmers? I started with PHPEdit, Moved to Magna and then tried Dreaweaver to communicate with designers. And then came Zend 2.5 n then Got shocked with

Re: [PHP] strtotime time zone trouble

2005-01-18 Thread Tom
Marcus Bointon wrote: How is this not a bug? ?php print date('Y-m-d H:i:s', strtotime('now UTC')).\n; print date('Y-m-d H:i:s', strtotime('now PST')).\n; ? outputs: 2005-01-18 09:58:09 (correct) 2005-01-18 17:58:09 (incorrect) PST = UTC - 8, therefore if you ask for strtotime in PST it will give

Re: [PHP] Execute shell script from PHP

2005-01-18 Thread Tom
Khan wrote: Tom wrote: shell_exec() yes, I have try that but nothing happenes. here is my code. Is this correct? ?php shell_exec('/test/acct.sh'); ? looks fine to me, except that I tend to run a check to make sure that it has run ok, like $myReturn = shell_exec('/test/acct.sh'); or if

[PHP] Re: [PHP-WIN] Weird windows error

2005-01-18 Thread Leif Gregory
Hello Louis, Tuesday, January 18, 2005, 4:51:49 AM, you wrote: LY LoadLibrary(php_mssql.dll) failed - The specified module could LY not be found. Because this DLL has a dependency on ntwdblib.dll. Cheers, Leif Gregory -- TB Lists Moderator (and fellow registered end-user) PCWize Editor /

[PHP] phpeclipse ide question

2005-01-18 Thread Benjamin Edwards
After the discussion about editors I have installed phpeclipse. It seems to work well and looks great. However I am having slight problem. Whenever I save a file it seems to try to launch a browser, anyway it comes up with a message saying something like 'unable to launch external browser.

Re: [PHP] strtotime time zone trouble

2005-01-18 Thread Marcus Bointon
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 the current local

[PHP] Re: phpeclipse ide question

2005-01-18 Thread David Robley
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. Whenever I save a file it seems to try to launch a browser, anyway it comes up with a message saying

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 etc. and I

[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 open and

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

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

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

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

[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

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

[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

[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

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

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

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

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

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

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

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

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

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

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] 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? ?php shell_exec('/test/acct.sh'); ? Note that shell_exec() expects a filesystem path and not your webserver's document

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

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 properly and

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

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

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 zone

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

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() but

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

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 be

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

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] $_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

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 this a bit? How

[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

[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

[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

[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

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] 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] 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 = Login UsernameUsername/Username PasswordPassword/Password /Login;

[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 either jpg, gif,

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 make

[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

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

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

[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

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) prevent that.

[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

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

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

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

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

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

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 explain

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

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 (

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

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

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

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 to send

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 script right now that accepts

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 OpenSSL

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 right now

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

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 hide

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 to our

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

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 either

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

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. These can be

[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

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

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 ?php phpinfo();? 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

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 about

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 keep

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 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 right now that accepts two

  1   2   >