Re: [PHP] explode didn't work well

2002-10-31 Thread Keith Vance
And that too. Keith Vance Vance Consulting LLC www.vanceconsulting.net (206) 355-2399 Try U.M.A. at http://uma.sourceforge.net/ On Thu, 31 Oct 2002, Rasmus Lerdorf wrote: > Because you can't spell pizza, I bet. > > On Thu, 31 Oct 2002, ppf wrote: > > > > > Hi all:

Re: [PHP] explode didn't work well

2002-10-31 Thread Keith Vance
echo ($pieces[2]); instead of echo ($pieces [2]); Keith Vance Vance Consulting LLC www.vanceconsulting.net (206) 355-2399 Try U.M.A. at http://uma.sourceforge.net/ On Thu, 31 Oct 2002, ppf wrote: > > Hi all: > I had tried to split the string into an array of > string using exp

Re: [PHP] why can't i do this?

2002-10-16 Thread Keith Vance
Because that's not the way PHP works. You aren't comparing anything on the second half of the elseif statement. Keith Vance Vance Consulting LLC www.vanceconsulting.net (206) 355-2399 Try U.M.A. at http://uma.sourceforge.net/ On Thu, 17 Oct 2002, Peter Houchin wrote: > howdy >

Re: Fw: Re: [PHP] Simple HTML-Form Question

2002-10-13 Thread Keith Vance
I would quote get in method="get" and end the for starters. Keith Vance Vance Consulting LLC www.vanceconsulting.net (206) 355-2399 Try my open source PHP authentication system, Rampart by visiting http://rampart.sourceforge.net/. Commercial support is available

Re: [PHP] Running a PHP script automatically?

2002-09-21 Thread Keith Vance
ht be able to get an RPM that will install the php executable for you. To do the crontab: RUN THIS COMMAND crontab -e TYPE THIS 15,30,45,0 * * * * name_of_your_script THEN ESC :wq Keith Vance Vance Consulting LLC www.vanceconsulting.net (206) 355-2399 Try my open source PHP authentication syste

Re: [PHP] SESSION ARRAY

2002-08-29 Thread Keith Vance
$_SESSION is a predefined variable, session_start() session_register('BILLARRAY') should work though :) Keith Vance Vance Consulting LLC www.vanceconsulting.net (206) 355-2399 Try my open source PHP authentication system, Rampart by visiting http://rampart.sourceforge.net/. Commerci

Re: [PHP] Help!

2001-03-22 Thread Keith Vance
Windows, ha ha ha. K E I T H V A N C E Software Engineer n-Link Corporation On Thu, 22 Mar 2001, Fred wrote: > i found the problem , could you believe one of my scripts caused php to > crash,,, how frustrating, i sent al evening fiddling with the bloody > software > "Yasuo Ohgaki" <[EMAIL

Re: [PHP] Directory rights: Create and delete is possible but notccggrp, why?

2001-03-22 Thread Keith Vance
I have run into a problem similar to this. Basically what I have found is that there is no way to do this sort of thing using php through apache. I fixed my problem by writting a perl script that creates the directories and sets the permissions/groups correctly. I have php write out a text file an

Re: [PHP] Pre-Written Script ?

2001-03-21 Thread Keith Vance
That's sounds like a good task for you to take on, you will learn a lot about writing PHP code. I don't really know what you are talking about, but you can look at phpMyAdmin or something. K E I T H V A N C E Software Engineer n-Link Corporation On Wed, 21 Mar 2001, Jack Sasportas wrote: > Has

Re: [PHP] trim string

2001-03-21 Thread Keith Vance
You might be able to use substr. http://www.php.net/substr K E I T H V A N C E Software Engineer n-Link Corporation On Wed, 21 Mar 2001, Wen Ni Leong wrote: > I need help in this basic string function. > I query from the database by using while loop and the result in in > array. I separated t

Re: [PHP] Header Problem

2001-03-21 Thread Keith Vance
What happens when it doesn't work, any error messages? Try: header ("Location: http://www." . $URL . "/members/index.php"); or $loc = "Location: http://www." . $URL . "/members/index.php"; header ($loc); The first suggestion should work. K E I T H V A N C E Software Engineer n-Link Corporatio

RE: [PHP] FAQ

2001-03-16 Thread Keith Vance
I agree with everything you have said. I just don't think there is a good way to get people from asking these types of questions, without someone sitting there reading every message and filtering them according to topic. We are stuck with a high-volume list where lots of newbies come to ask us que

Re: [PHP] FAQ

2001-03-15 Thread Keith Vance
How many times are people going to complain about no-brainer questions being posted to the list. The fact of the matter is people are going to post things on the list without reading the manual or the FAQ. It goes with the territory. It annoys me too, but there is no good solution for the problem.

Re: [PHP] How do you keep your scripts secure?

2001-03-15 Thread Keith Vance
"... hate to think that someone could come along and just use it all for free" So you don't really care to contribute to the Open Source community? We would love to have your passwords. I would highly recommend setting an include path outside the web server document root and store you files with p

Re: [PHP] I can't install PHP4

2001-03-15 Thread Keith Vance
make a file called, test.php with these lines in it: stick it into your web server directory and point a browser at it, if it doesn't work send error messages. Keith On Thu, 15 Mar 2001, Norberto Rojas wrote: > Hi: > >I've trying to install PHP4 without good results: > The steps i follo

RE: [PHP] Re: How do you keep your scripts secure?

2001-03-15 Thread Keith Vance
The Zend encoder seems cool, but for $2400? What happened to the Zend Compiler, is that what the Zend Encoder is? The Zend Encoder would definetly be worth it if you were selling your code, but I haven't tried it out. Keith On Thu, 15 Mar 2001, ..s.c.o.t.t.. [gts] wrote: > since PHP is executed

RE: [PHP] Help! Can't redeclare already declared function in

2001-03-15 Thread Keith Vance
how about if (!$included[filename]) On Thu, 15 Mar 2001, ..s.c.o.t.t.. [gts] wrote: > try using include_once() and require_once() > in place of include() and require() > > also, make sure you havent defined any functions > that match PHP internal funcs. > > > > -Original Message- > > F

Re: [PHP] php editors

2001-03-15 Thread Keith Vance
I think this discussion just took place, try searching the mailing list archives for "good php editor" Keith On Thu, 15 Mar 2001, McShen wrote: > I am looking for good php editors. Currently, i am using PHP coder. It > highlights syntax and checks my syntax. It's also executes my PHP codes. Are

Re: [PHP] POST Method.

2001-03-15 Thread Keith Vance
You could can "forward" posted data the same way if you wanted to. I don't know what you mean by forwarding. But if you had one script that was a form and the action was set to a script called action.php and then you wanted to pass that data to yet another script, you could pass the values in the

Re: [PHP] How upload files to protected directories?

2001-03-15 Thread Keith Vance
Can you set, in your script, where the files are uploaded so that the files can be uploaded into a directory that allows you to do a copy. Keith On Wed, 14 Mar 2001, Mig wrote: > Keith Vance wrote: > > > You should be able to do something using PHP, try looking here, > >

Re: [PHP] How upload files to protected directories?

2001-03-14 Thread Keith Vance
You should be able to do something using PHP, try looking here, http://www.php.net/manual/cs/features.file-upload.php I think there is just a communication problem between you and your hosting company. They don't allow ftp uploads, but as long as you are doing it through http, it should work fine.

Re: [PHP] exist?

2001-03-14 Thread Keith Vance
You must not have searched to hard on the site, http://www.php.net/file_exists Keith On Wed, 14 Mar 2001, Kenneth R Zink II wrote: > How would I go about checking to see if a file exist from php? > > I didn't find anything on php.net when I did a search for exist. > > basically, I'm trying to a

RE: [PHP] Advanced PHP

2001-03-09 Thread Keith Vance
; Of course... where did you think they came from... monkeys? > > > > > > > > At 04:01 PM 3/9/01 -0800, Keith Vance wrote: > > >Where did the chicken come from, God? > > > > > >Keith > > > > > >On Fri, 9 Mar 2001, Jerry Lake wro

RE: [PHP] Advanced PHP

2001-03-09 Thread Keith Vance
d to other possibilities. Keith On Fri, 9 Mar 2001, Rick St Jean wrote: > Of course... where did you think they came from... monkeys? > > > > At 04:01 PM 3/9/01 -0800, Keith Vance wrote: > >Where did the chicken come from, God? > > > >Keith > > > >On Fri,

RE: [PHP] Advanced PHP

2001-03-09 Thread Keith Vance
t; Web Designer > Europa Communications - http://www.europa.com > Pacifier Online - http://www.pacifier.com > > > -----Original Message- > From: Keith Vance [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 09, 2001 3:14 PM > To: Kath > Cc: Krznaric Michael; 'Rick S

Re: [PHP] Advanced PHP

2001-03-09 Thread Keith Vance
What came first the chicken or the egg? Keith On Fri, 9 Mar 2001, Kath wrote: > Yeah. I even see some PHP book authors, like Julie Meloni here on this > list. > > There is never a question, no matter how retarded, that this list or #php on > irc.openprojects.net has never been able to answer.

[PHP] create a directory NOT owned by the webserver user

2001-03-09 Thread Keith Vance
How do I create a directory which is owned by a user other than the user which is running the webserver? The "other" user will change all the time. So I need to be able to set the ownership of a directory, on-the-fly. I have searched the Internet and I have run across things like creating c wrap