RE: [PHP] Best way to get PHP5

2006-08-10 Thread Jonathan Duncan
On Wed, 9 Aug 2006, Chris W. Parker wrote: Jonathan Duncan mailto:[EMAIL PROTECTED] on Wednesday, August 09, 2006 3:55 PM said: If you want to really learn Linux, try Gentoo. If you just want a very good and easy to use Linux, go with SuSE. To keep this related to the question I asked

Re: [PHP] Best way to get PHP5

2006-08-09 Thread Jonathan Duncan
On Wed, 9 Aug 2006, Chris W. Parker wrote: Hello, Generally (well, actually 100%) I just use whatever version of PHP is included with a certain distro (Redhat pre-Fedora, Fedora Core, CentOS). None of the versions I've used have come with PHP5 and I'd really like to get with the times and use

RE: [PHP] Best way to get PHP5

2006-08-09 Thread Jonathan Duncan
On Wed, 9 Aug 2006, Chris W. Parker wrote: Jack Gates mailto:[EMAIL PROTECTED] on Wednesday, August 09, 2006 10:16 AM said: On Wednesday 09 August 2006 12:02, Chris W. Parker wrote: I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some negative things about it in general (FC5).

Re: [PHP] PHP Frameworks - Opinion

2006-08-03 Thread Jonathan Duncan
On Tue, 1 Aug 2006, Gabe wrote: What's the common consensus as to a solid PHP framework to use for application development? There seems to be a number of them out there, but I'm not sure which one's are the most robust, actively developed, secure, etc etc. Thoughts? I echo others in

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-03 Thread Jonathan Duncan
On Fri, 4 Aug 2006, Jens Kleikamp wrote: Matt Todd wrote: Because of this, I determined to build my own framework. This was a few months ago, and Canvas[1] was the result of my labor. I produced this framework while working on numerous projects at the university I work at. This allowed me to

[PHP] Why Should I Use Zend Optimizer?

2006-03-27 Thread Jonathan Duncan
I posted this on the Zend.com forums but have not been able to get a response yet. So I decided to ask the people that know. I do not understand the need for an optimizer. What exactly is Zend Optimizer optimizing? If it is changing my code, then how about if I just learn how to code

[PHP] Downloading very large files

2006-02-13 Thread Jonathan Duncan
I have an application that delivers files to the client browser. These files a very large video files. 250mb+ each. I have two options: 1) I could have PHP deliver the file with fread, or 2) I could have PHP present a link to the file. However, for security purposes, I would rather not

Re: [PHP] Downloading very large files

2006-02-13 Thread Jonathan Duncan
, and then give the right people the encryption key. Put it behind a .htaccess file allowing only the IP of the correct person - remove the .htaccess entry after a certain lengh of time. Why are the videos secure? Copyright? Privacy? Bandwidth? On 2/13/06, Jonathan Duncan [EMAIL PROTECTED] wrote: I

[PHP] PHP not seeing MySQL functions

2006-01-16 Thread Jonathan Duncan
I just got a new web server with RedHat Enterprise Linux 4 on it. It came with MySQL 4.1.x and PHP 4.3.9 on it. I uninstalled the MySQL 4 and put MySQL 5 on it. When I run a PHP script that has a DB connection in it I get: Fatal error: Call to undefined function: mysql_connect() in

Re: [PHP] What software do you use for writing PHP?

2005-12-15 Thread Jonathan Duncan
On Tue, 6 Dec 2005, Eric Gorr wrote: Quoting Torgny Bjers [EMAIL PROTECTED]: I recommend Zend Studio if you can afford it since it has a GUI for both Windows and Linux FlameBateAnd for those interested in using a real computer/FlameBate, it's GUI also runs under MacOSX.

Re: [PHP] What software do you use for writing PHP?

2005-12-15 Thread Jonathan Duncan
On Thu, 15 Dec 2005, Richard Davey wrote: On 15 Dec 2005, at 18:31, Jonathan Duncan wrote: FlameBateAnd for those interested in using a real computer/FlameBate, it's GUI also runs under MacOSX. http://zend.com/store/products/zend-studio/requirements.php Actually, it does not. I

[PHP] Something is messing up the php output

2005-06-22 Thread Jonathan Duncan
I have a site that has this problem every once in a while, and seemingly randomly. It is a database driven site, as indicated by the error. This same page when loaded numerous times will sometimes work just fine, and then sometimes it will give an error message like this:

Re: [PHP] Something is messing up the php output

2005-06-22 Thread Jonathan Duncan
directly it will solve your problem. Thanks, Matt Babineau Criticalcode 858.733.0160 [EMAIL PROTECTED] http://www.criticalcode.com -Original Message- From: Jonathan Duncan [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 22, 2005 6:27 PM To: php-general@lists.php.net Subject

Re: [PHP] Something is messing up the php output

2005-06-22 Thread Jonathan Duncan
Yes, it has happened on different servers, none of them is bleeding edge, still using Apache 1.x and PHP 4.3.x. The sites are not using any character sets other than default. The machines are in a heat controlled environment and monitored for change so I would know if there was that kind of

[PHP] php variables in a backtick command

2004-12-11 Thread Jonathan Duncan
I am trying to run a shell command with backticks. However, I get a parse error. Is it because I have an array variable in there? $result = `adduser -l=$dist_id -p=$user['password'] --f=$user['name_first'] $user['name_last']`; Do I need to assign the value to a regular variable before I put

Re: [PHP] php variables in a backtick command

2004-12-11 Thread Jonathan Duncan
something that doesn't particularly work that well as a shell. Rory On Sat, 11 Dec 2004 18:09:17 -0700, Jonathan Duncan [EMAIL PROTECTED] wrote: I am trying to run a shell command with backticks. However, I get a parse error. Is it because I have an array variable in there? $result

Re: [PHP] php variables in a backtick command

2004-12-11 Thread Jonathan Duncan
The quotes are only for the shell command which does not use quotes around password. Thanks for the feedback. Jonathan Sebastian [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] well $user['password'] has no double quotes around it. - Original Message - From: Jonathan

[PHP] Re: php variables in a backtick command

2004-12-11 Thread Jonathan Duncan
So I tried it that way and it worked, that is annoying though, having to add extra lines to the code and assign the contents of one variable to another. Any way around this? Jonathan Jonathan Duncan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am trying to run a shell command

Re: [PHP] Page that checks if a user exists on a remote system

2004-12-06 Thread Jonathan Duncan
user_email_account_management_requests and the remote script with check that for any tasks it needs to do. Thanks again to all those who helped me with this. I have learned quite a bit and enjoyed it. Best regards, -- Jonathan Duncan http://www.nacnud.com On Mon, 6 Dec 2004, Richard Lynch wrote: I am

Re: [PHP] Page that checks if a user exists on a remote system

2004-12-03 Thread Jonathan Duncan
Ok, so this is what I have done: *-*-*-*-*-*-*-*-*-*-* $idResults = `sudo -u admin ssh [EMAIL PROTECTED] id usertocheck 21`; echo id: (.$idResults.)\r\n.\r\n; if (ereg(no such user, $idResults)) { echo 'id blah!'; } *-*-*-*-*-*-*-*-*-*-* And, here are the results that I get when I access

Re: [PHP] Page that checks if a user exists on a remote system

2004-12-03 Thread Jonathan Duncan
am trying to do this? Has not anyone else wanted that functionality also? Thank you, Jonathan Duncan On Fri, 3 Dec 2004, Christophe Chisogne wrote: Jonathan Duncan wrote: I will also be doing a remote command to add a user to the remote system (ServerB) from the same PHP script. If you want

RE: [PHP] Page that checks if a user exists on a remote system

2004-12-03 Thread Jonathan Duncan
important. I will post back with my results. Thanks, -- Jonathan Duncan http://www.nacnud.com On Fri, 3 Dec 2004, Stefan wrote: Hi! Have you thougt of writing the userdata to a database and running a perl script by cron to do the rest? This would be an interesting opinion for security purpose. Stefan

Re: [PHP] Page that checks if a user exists on a remote system

2004-12-03 Thread Jonathan Duncan
in message news:[EMAIL PROTECTED] On Saturday 04 December 2004 02:47, Jonathan Duncan wrote: [snip] rethink my strategy. Thanks to everyone. Richard, I consider myself a highly security conscious person, but you are making me think more like a criminal, and that is good. Security is very

RE: [PHP] Page that checks if a user exists on a remote system

2004-12-02 Thread Jonathan Duncan
(no such user, $idResults)) { echo 'username is available!'; // function addUserToServerB(vars); } Anyone else doing or done something like this? Thanks, -- Jonathan Duncan http://www.nacnud.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Page that checks if a user exists on a remote system

2004-12-01 Thread Jonathan Duncan
Perhaps this gets more into server administration, but it is mixed so much into the php script, which is why I am asking it here. Yes, sudo was one of my first thoughts. As far as the implementation goes though. How do you work the remote access bit? Using ssh do you use the ssl cert switch

Re: [PHP] Page that checks if a user exists on a remote system

2004-12-01 Thread Jonathan Duncan
I have put this in my sudoers file using visudo to edit it: www ALL = NOPASSWD: /usr/local/bin/sudo puser, (puser) NOPASSWD: /usr/bin/ssh /usr/bin/id However the www user is still being asked for a password. Is this too off topic for this list? Jonathan Jonathan Duncan [EMAIL PROTECTED

Re: [PHP] Page that checks if a user exists on a remote system

2004-12-01 Thread Jonathan Duncan
Looks like I was missing a comma after the ssh command and before the id command. Jonathan Jonathan Duncan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have put this in my sudoers file using visudo to edit it: www ALL = NOPASSWD: /usr/local/bin/sudo puser, (puser) NOPASSWD

[PHP] Blank Page instead of Errors

2004-03-19 Thread Jonathan Duncan
) error_reporting(E_ALL E_PARSE E_NOTICE) ... and some others. Still nothing. Is there something that I am missing? Why can I not see any error messages? Thank you, Jonathan Duncan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Errors running PHP from command line

2003-11-13 Thread Jonathan Duncan
Thanks. Turns out I just needed to comment some things out of my php.ini. Jonathan Jake McHenry [EMAIL PROTECTED] said: -Original Message- From: Jonathan Duncan [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 7:04 PM To: [EMAIL PROTECTED] Subject: [PHP] Errors

[PHP] Errors running PHP from command line

2003-11-07 Thread Jonathan Duncan
; in Unknown on line 0 localhost # Thanks, Jonathan Duncan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Header won't redirect

2003-09-19 Thread Jonathan Duncan
to a location without any variable directive like this http://www.routerbitworld.com/index.php ...works fine. Why can't I send a variable this way? Thanks, Jonathan Duncan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Brain cramp with arrays

2003-09-19 Thread Jonathan Duncan
Mike, Have you looked at the Next: http://us2.php.net/manual/en/function.next.php and Previous: http://us2.php.net/manual/en/function.prev.php ... functions? Regards, Jonathan Duncan Mike Morton [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am having a total brain cramp

Re: [PHP] Re: Header won't redirect

2003-09-19 Thread Jonathan Duncan
Marek and Rob, Doh! That was it. I am still finding things that I used to assign globally. It is a good thing, but it makes for a bit of work. Thanks to Jay too. I appreciate everyone's help. Have a good one, Jonathan Duncan Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: [PHP] Re: Header won't redirect

2003-09-19 Thread Jonathan Duncan
Jay, Try replying to the group so that your contributions stay with the thread instead of being orphaned and lost. Regards, Jonathan Duncan Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] Jay, good guess, but wrong! While register_globals does equal off, I am

Re: [PHP] Re: Header won't redirect

2003-09-19 Thread Jonathan Duncan
Perhaps it is just Outlook Express but many of your replies are showing as ophans. Jonathan Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] Try replying to the group so that your contributions stay with the thread instead of being orphaned and lost. [/snip] I

Re: [PHP] Multi-Dimensional Arrays

2002-10-10 Thread Jonathan Duncan
Yeah, you rock, that works great. Not to mention you have a great name. Jonathan Duncan Jonathan Sharp [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... try doing this for each item: $cartArray[] = array('itemnumber' = $itemnumber, 'brand' = $brand, '

Re: [PHP] Installing both static and dynamic modules

2002-10-09 Thread Jonathan Duncan
lems. I have the JD cgi module for running php scripts as cron jobs. JD Anyone know why the statement? JD Thanks, JD Jonathan Duncan They are not talking about the cgi version, they mean don't compile php into apache as a permanent module and also try to load it as a dynamic one at the s

[PHP] Multi-Dimensional Arrays

2002-10-09 Thread Jonathan Duncan
($itemnumber=$brand, $itemqty, $itemname)); print_r($cartArray).BRBR; echo $cartArray[0][0].BRBR; Thank you, Jonathan Duncan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Installing both static and dynamic modules

2002-10-08 Thread Jonathan Duncan
and the static cgi module on my server and I haven't had any problems. I have the cgi module for running php scripts as cron jobs. Anyone know why the statement? Thanks, Jonathan Duncan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mysql_num_rows error

2002-10-08 Thread Jonathan Duncan
Omar, I would first take the select statement and try running it in mysql to make sure it actually runs (substituting a valid value for the variable of course). Then if it has problems you can see what error messages mysql gives you. Good Luck, Jonathan Duncan Omar Campos [EMAIL PROTECTED

[PHP] Parse an email message for content

2002-06-10 Thread Jonathan Duncan
with the link that is provided and then have the article abstract listed below. Can anyone point me in the correct direction on how I can learn how to do this? Thank you very much, Jonathan Duncan The daily email message I get comes in the following format: *-*-*-* Start Email Message *-*-*-* EMAIL

Re: [PHP] Parse an email message for content

2002-06-10 Thread Jonathan Duncan
, I do not know where to start. Any pointers? Thanks, Jonathan Duncan Ed Lazor [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You'll need to have a cgi version of PHP to use in cronjobs and you'll need to use http://www.php.net/manual/en/function.preg-

Re: [PHP] Parse an email message for content

2002-06-10 Thread Jonathan Duncan
Michael, Wow, correct you are: http://www.php.net/manual/en/ref.mailparse.php Thank you, I will definitely see what that has to offer me. Jonathan Duncan Michael Geier [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... while not documented, PHP now has

[PHP] Processing Code created on the fly

2002-03-29 Thread Jonathan Duncan
the contents of the variables, which is raw PHP code, but does not process it. The results is that the raw PHP code that is in the variables doesn't get process, but is output at text on the resulting HTML page. Can anyone help me figure this out? I would really appreciate it. Thanks in advance, Jonathan

Re: [PHP] Processing Code created on the fly

2002-03-29 Thread Jonathan Duncan
Jason, That is a good point and that being the case, following is my code. Thanks, Jonathan Duncan *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* ? These variables are populated and assigned in a function: (This is just an example. In actuality these variables are populated using other means

Re: [PHP] Processing Code created on the fly

2002-03-29 Thread Jonathan Duncan
ideas or examples on how to implement eval on this? Thanks for the help, Jonathan Duncan Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... On Saturday 30 March 2002 11:16, Jonathan Duncan wrote: ? These variables are populated and assigned in a function: (This is just

[PHP] Dynamically creating PHP before it is executed

2002-03-08 Thread Jonathan Duncan
idea how to do this an easier way? Thanks Jonathan Duncan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Dynamically creating PHP before it is executed

2002-03-08 Thread Jonathan Duncan
, $setitemvar to a file, $setitem to a file and call the page that is supposed to include these files I have just writed so that the PHP code that I have just dynamically written will then execute and the variables will be replaced. Does this make any more sense? Thank you, Jonathan Duncan Bogdan

Re: [PHP] Dynamically creating PHP before it is executed

2002-03-08 Thread Jonathan Duncan
to then evaluate them on a different page. Am I incorrect? Thanks, Jonathan Duncan - Original Message - From: Samuel Ottenhoff [EMAIL PROTECTED] To: Jonathan Duncan [EMAIL PROTECTED] Sent: Friday, March 08, 2002 10:23 PM Subject: Re: [PHP] Dynamically creating PHP before it is executed

Re: [PHP] Parsing Content

2002-03-05 Thread Jonathan Duncan
That is perfect, thank you Philip and Erik. I forgot what a great resource DevShed is. Thanks again, Jonathan Duncan Erik Price [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]; On Monday, March 4, 2002, at 06:10 PM, Jonathan Duncan wrote: I want to make a web site

[PHP] Parsing Content

2002-03-04 Thread Jonathan Duncan
and their text and paste them into a new file This project may be bigger than a bread box, so any ideas or pointers to resources that could help me learn how to do this would much appreciated Thank you, Jonathan Duncan -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http