RE: [PHP] portabily including files

2003-01-14 Thread Jesse Cablek
Tyler BIRD scribbled; > I'm trying to include > 'http://www.myserver.com/conted/me.inc'; > portably on several mirrored servers like include > '/conted/me.inc' > , I was wondering if there was someway I could include > files and have the implicity connect > and down the

RE: [PHP] include_files message question

2003-01-14 Thread Jesse Cablek
Allen Byington scribbled; [snip] > > *** Error Begins *** > Fatal error: Failed opening required 'includes/config.inc.php' > (include_path='/usr/local/lib/php') in > /opt/apache/htdocs/admin/includes/auth.inc.php on line 24 > *** Error Ends *** > You don't seem to hav

RE: [PHP] Does PHP's imap_utf7_en/decode compatible with Microsoft Outlook Express?

2003-01-13 Thread Jesse Cablek
Hunte Swee [mailto:[EMAIL PROTECTED]] scribbled; > Hi all, > > It seems true that php's imap_utf7_en/decode does not compatible with > microsoft outlook express. We create imap folder(include chinese > chars) using IMP, all it ok in IMP problem, but when use OE > to connect to imap server, the fo

RE: [PHP] version confusion - please help

2003-01-11 Thread Jesse Cablek
Christian Stalberg scribbled; > what does debug_phpinfo.php read to get its information? > Not sure. > When I run debug_phpinfo.php in my browser it says version 4.2.3 > Assuming a UNIX box running Apache, and assuming this is a PHP module, sounds right. > But when

RE: [PHP] HELP: Carriage returns don't display in HTML

2002-09-27 Thread Jesse Cablek
Shane scribbled; > > There is a JavaScript function that will convert carriage > return to tags, but is there a PHP function that will > add or tags to a text form field in place of the > carriage returns a user might add. > nl2br() -jesse -- PHP General Mailing

RE: [PHP] Re: 4.0.2 => 4.2.3, form vars are empty?

2002-09-27 Thread Jesse Cablek
Erwin scribbled; > > Qmail List wrote: >> Hello List, >> >> I'm putting a php app that has been off-line for about 18 months back >> on-line. During my absence from php I had heard about some security >> issues, so figured I'd try the latest 4.2.3 release. >> >> Sessi

RE: [PHP] REMOTE ADDR

2002-09-26 Thread Jesse Cablek
Anderson O Muniz scribbled; > > > > > > > > Is that PHP code, or SSI? -jesse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] html input and php (newbie)

2002-09-24 Thread Jesse Cablek
Anna Gyor scribbled; > > Hi, > > I just began to learn php and I have te following code. How can I get > the input field value in the php script? Because my script doesn't > work. $UserName is always an empty string. > > if ($submit == "click"){ > echo "Hello, $Use

RE: [PHP] getting ip address of the user.

2002-09-24 Thread Jesse Cablek
Anil Garg scribbled; > > Can i get the ip-address of the machines who accessed my website?? > Plz give the pointer that on what lines shall i start for doing so. > print $_SERVER['REMOTE_ADDR']; -jesse -- PHP General Mailing List (http://www.php.net/) To unsubscri

RE: [PHP] Crypt() =or= md5()

2002-09-24 Thread Jesse Cablek
Anthony Ritter scribbled; > > I get the following line when trying to use the crypt() function in > php .. > > Fatal error: Call to undefined function: crypt() in c:\program > files\apache group\apache\htdocs\handleform1.php on line

RE: [PHP] error compiling apache2 on cobalt libgdbm error

2002-09-24 Thread Jesse Cablek
electroteque scribbled; > > libtool: link: warning: library `/usr/lib/libgdbm.la' was moved. > libtool: link: warning: library `/usr/lib/libgdbm.la' was moved. > make[1]: Leaving directory `/home/src/httpd-2.0.40' > > what could be the problem It looks like a gdb issu

RE: [PHP] Dynamic HTML Email

2002-09-20 Thread Jesse Cablek
Mike Dunlop scribbled; > > Hello, > > I am wondering how it would be possible to generate an html response > email via a PHP script. I have tried and all that has happened is the > html source code appears in the message body as plain text. I believe > this is happenin

RE: [PHP] Why isn't there much info on apache2?

2002-09-20 Thread Jesse Cablek
Danny Shepherd scribbled; > > Mod_ssl is part of the standard Apache2 distro now. > Ah, then it IS hidden ;) -jesse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Why isn't there much info on apache2?

2002-09-20 Thread Jesse Cablek
> "Adam Williams" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > e.ms.us... >> Yeah, apache 2.0 and php don't like each other. >> >> Adam >> >> On Fri, 20 Sep 2002, pierre.samson wrote: >> >>> I'm building a new server and would like to use: >>> php4 >>> apache 2.xxx >>> mod_ss

RE: [PHP] adding unix account via system command

2002-09-20 Thread Jesse Cablek
tim tom scribbled; > > Dear Marek, > Where do find that? I am no C programmer. > > -- > tim > > --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: >> It's a shell script, and your shell drops root privileges. Use a >> shell that doesn't or use a C-wraper. >> Make yourfi

RE: [PHP] Re: Search system

2002-09-20 Thread Jesse Cablek
[EMAIL PROTECTED] scribbled; > > I found it at http://www.php.net/urlhowto.php > > Thanks anyway. > Crap I just sent this to the list, I need a better email client that sorts by thread and not just subject :/ -- PHP General Mailing List (http://www.php.net/) To un

RE: [PHP] Search system

2002-09-20 Thread Jesse Cablek
[EMAIL PROTECTED] scribbled; > > Hi, > > Can someone point me to the documentation to make the same search > system as php.net like www.php.net/lala that will search on the > manual. > http://www.php.net/urlhowto.php -- PHP General Mailing List (http://www.p

[PHP] Re: PHP EXEC();

2002-09-12 Thread Jesse Cablek
Doug Kozar writes: > Does anyone know why the following script will not rebuild one of my > sendmail databases? > > exec('/usr/sbin/makemap hash /etc/mail/virtusertable.db < > /etc/mail/virtusertable'); > exit; > ?> > Check your httpd logs. I'd be willing to bet it's a permissions issue as

[PHP] Re: PHP

2002-09-12 Thread Jesse Cablek
llclmc writes: > I am trying to copy *.log files to a file called dir.data. Does anyone have a >suggestion on the php code to use? I am using Redhat 7.0. Using "ls *.log > dir.data >doesn't work. > Try: "cat *.log > dir.data" ls will just give filenames, cat will do the inside of the files.

[PHP] Re: PERMISSIONS

2002-09-12 Thread Jesse Cablek
Breno Cardoso Perucchi writes: > HI, > I am trying to use a script php with the command: > system("mkdir /home/hosting/test"); > but the PERMISSION IS DENIED and I am the root on my server. > > How I change the user to root? > If you /really/ want to use this, use a C wrapper that's setuid