Re: [PHP] Help I killed PHP on mysever...

2002-04-08 Thread Chuck \"PUP\" Payne
You know I can't find mod_php4.c where should that be? on 4/9/02 2:51 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > Refer to my earlier post about your AddType entries.. If they are not there, > before you add them, check for a file on your system called mod_php4.conf.. > If you find it, i

Re: [PHP] Re: another try...

2002-04-08 Thread Oliver Heinisch
Aeh, maybe you should make a plan, first, what to do. ;-) That´s normal if you go to the supermarket, why not on softwaredevelopment? At 08.04.2002 18:20, you wrote: >Ok I have it working to a point... how can I impliment a loop to count the >files in the directory, right now it only pulls the

Re: [PHP] Help I killed PHP on mysever...

2002-04-08 Thread phplists
Refer to my earlier post about your AddType entries.. If they are not there, before you add them, check for a file on your system called mod_php4.conf.. If you find it, it will have the required entries in it already.. If this is the case, make sure your modules section in httpd.conf is configured

Re: [PHP] internal workings of PHP's functions

2002-04-08 Thread Miguel Cruz
On Tue, 9 Apr 2002, Justin French wrote: > This is related to a discussion we had today about disallowing javascript. > > Is there any way we can get a look inside current PHP functions, like > strip_tags(), to see how they're currently working? In the source for PHP 4.1.2, look at ext/standard/

Re: [PHP] Help I killed PHP on mysever...

2002-04-08 Thread Miguel Cruz
On Tue, 9 Apr 2002, Chuck "PUP" Payne wrote: > I have done something stupid and not PHP won't work. Everytime you click on > a link that is .php it wants you to download the file. What have I done and > how can I fix it. Are you running Apache? Maybe you commented out or deleted this line in yo

Re: [PHP] Help I killed PHP on mysever...

2002-04-08 Thread Chuck \"PUP\" Payne
SuSE 7.3(linux) Apache. on 4/9/02 2:43 AM, Martin Towell at [EMAIL PROTECTED] wrote: > um - pray > > which OS and web server are you running? > > -Original Message- > From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 09, 2002 4:33 PM > To: PHP General > Subject:

[PHP] Re: Help I killed PHP on mysever...

2002-04-08 Thread phplists
It sounds like the Apache/httpd server config info for PHP files has been lost/changed/deleted/overwritten.. If you are using Apache make sure you've got your AddType line(s) in the right place (there should already be some AddType and AddHandler lines in there.. put them in by the others) in the

RE: [PHP] Help I killed PHP on mysever...

2002-04-08 Thread Martin Towell
um - pray which OS and web server are you running? -Original Message- From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 4:33 PM To: PHP General Subject: [PHP] Help I killed PHP on mysever... I have done something stupid and not PHP won't work. Everytime y

[PHP] internal workings of PHP's functions

2002-04-08 Thread Justin French
This is related to a discussion we had today about disallowing javascript. Is there any way we can get a look inside current PHP functions, like strip_tags(), to see how they're currently working? Justin French Creative Director http://Indent.com.au -

[PHP] Help I killed PHP on mysever...

2002-04-08 Thread Chuck \"PUP\" Payne
I have done something stupid and not PHP won't work. Everytime you click on a link that is .php it wants you to download the file. What have I done and how can I fix it. Chuck Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP from HTML

2002-04-08 Thread Chris Adams
On Mon, 8 Apr 2002 10:18:50 +0200, Matjaz Prtenjak <[EMAIL PROTECTED]> wrote: > > Except on PHP side I have to produce javascript code without

Re: [PHP] Safe Mode

2002-04-08 Thread Miguel Cruz
On Tue, 9 Apr 2002, Richard Lynch wrote: > So, what's up with this: > > PHP /www/herolist.com/web/categories.html: 105 2 SAFE MODE > Restriction in effect. The script whose uid is 1065 is not allowed > to access /www/herolist.com/web/pictures/TERISBROTHER1thum.jpg owned > by uid 1056 > > Not

[PHP] Safe Mode

2002-04-08 Thread Richard Lynch
Okay... I understand SAFE MODE limits me to opening files owned by the same user as owns the script, right?... So, what's up with this: PHP /www/herolist.com/web/categories.html: 105 2 SAFE MODE Restriction in effect. The script whose uid is 1065 is not allowed to access /www/herolist.com/w

[PHP] Re: array limits in echo function?

2002-04-08 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Lmlweb) wrote: > if I use within my html codes: > > , I get an error message telling me: > >how do I best combine the two (other than having to create two separate > codes in the HTML)? Any of these work: //concatenation operator //ech

Re: [PHP] Banning javascript?

2002-04-08 Thread Justin French
It depends on what YOU want to allow in the way of basic HTML... some parts of our sites, we allow , other parts we don't allow . The reason I mention this is that javascript has exist inside an , which is an issue Lief will have to look at. bye bye is a pretty evil piece of code :) It gets wor

Re: [PHP] Banning javascript?

2002-04-08 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jason Murray) wrote: > > I want to ban javascript from my site (users can edit some things). I > > know how to ban it in

[PHP] MySQL persistent links

2002-04-08 Thread Robert Abbate
Hi. I'm trying to disable persistent database connections to MySQL, and I disabled the php.ini file settings, but for some reason, they can still connect with persistent connections. I changed the following settings in php.ini: [MySQL] mysql.allow_persistent = Off ; allow or prevent persistent l

[PHP] mail() says: Warning: Server Error

2002-04-08 Thread GENESiS DESiGNS
Hello, Evert time I run a mail function it gives me this: Warning: Server Error What's wrong here? Thanks, -Sean P.S. I use Apache 1.3.23 and have PHP 4.1.1 installed. _ MSN Photos is the easiest way to share and print your photo

Re: [PHP] array limits in echo function?

2002-04-08 Thread lmlweb
Hi Miguel, I'm reading the manual as of this moment. Thank you for saying "RTFM" so very nicely! I guess I've used "$fname $lname" before, and just forgot at this point. Cheers, Laurie "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Mon, 8 A

RE: [PHP] Banning javascript?

2002-04-08 Thread Martin Towell
but what about on* - eg onClick, onSubmit, onMouseOver, etc? -Original Message- From: Jason Murray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 2:17 PM To: 'Leif K-Brooks'; [EMAIL PROTECTED] Subject: RE: [PHP] Banning javascript? Use strip_tags and only allow basic HTML (bas

[PHP] Re: array limits in echo function?

2002-04-08 Thread Matt Parlane
You need a comma between $fname and $lname eg: "Lmlweb" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm just curious: > > if I use within my html codes: > > , I get an error message telling me: > > Parse error: parse error, expecting `','' or `';'' > > Ho

Re: [PHP] array limits in echo function?

2002-04-08 Thread Miguel Cruz
On Mon, 8 Apr 2002, lmlweb wrote: > I'm just curious: > > if I use within my html codes: > > , I get an error message telling me: > > Parse error: parse error, expecting `','' or `';'' > > However, if I take out one of the variables so that it reads $lname; ?> it works. > > Has it always bee

Re: [PHP] MAC file upload

2002-04-08 Thread Miguel Cruz
On Tue, 9 Apr 2002, Justin French wrote: > %!PS-Adobe-3.0 > %%Creator: Adobe Illustrator(R) 8.0 > %%AI8_CreatorVersion: 8 > > It's possible that you could establish file types by looking at the files > themselves. man file man magic miguel -- PHP General Mailing List (http://www.php.net

[PHP] array limits in echo function?

2002-04-08 Thread lmlweb
I'm just curious: if I use within my html codes: , I get an error message telling me: Parse error: parse error, expecting `','' or `';'' However, if I take out one of the variables so that it reads it works. Has it always been this way? I never noticed before, as I'm quite the newbie. If so

RE: [PHP] Banning javascript?

2002-04-08 Thread Jason Murray
Use strip_tags and only allow basic HTML (basic HTML can be anything but I'd make it

Re: [PHP] Banning javascript?

2002-04-08 Thread Michael Peters
I don't have an answer for you, but I want to ban javascript from the world. It's OK when used correctly, but used correctly means the site isn't dependant upon it and is still fully functional in non visual browsers (like what visually impaired would use) and it seems that almost no one does

[PHP] Banning javascript?

2002-04-08 Thread Leif K-Brooks
I want to ban javascript from my site (users can edit some things). I know how to ban it in

[PHP] Re: how to check if e- mail sending did succeed?

2002-04-08 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi there, > > I use the function mail to e-mail . This workes fine with most adresses. > Unfortunatelly there is one e-mail provider (gmx.de) which does not get anny > of those e-mails. Workes fine with all other services. I doubble che

[PHP] php and javascript problem

2002-04-08 Thread bob
i use php to produce a javascript code,which enable the password and level change as the username changes.it did. but now i cannot select level. what's wrong?how can i select level? thanks in advance. super function updatelist(){ whichSelected = document.adduser.list.selectedInd

[PHP] Re: How do I use fopen() to overwrite a remote file via ftp?

2002-04-08 Thread Dalton Hunter
Hi, the manual page for fopen indicates one can use it with ftp ... "You can open files for either reading or writing via ftp" ... Just trying to figure out how one can properly overwrite files with fopen via ftp, if at all, as I don't want to have to recompile PHP with the FTP functions and use

Re: [PHP] XML HELP

2002-04-08 Thread Analysis & Solutions
Hey Christopher: On Mon, Apr 08, 2002 at 09:14:08PM -0400, Christopher J. Crane wrote: > ok I tried this at your suggestion Not exactly. As mentioned, you've got all sorts of unneded stuff going on. To make sure you're on the right track, start with a new script with just the basics: h

Re: [PHP] getting the 'client' date and time for use in PHP scripts ??

2002-04-08 Thread Tom Rogers
Hi Here is the answer I gave a few days ago to the same sort of question: Untitled