Re: [PHP] Question about the mail() php function

2004-04-24 Thread Andy B
hi... the reason that mail() wont work on windows without an smtp server (outgoing mail server) is because normally windows doesnt have a mail server installed. the default smtp settings in php.ini usually is for *nix systems (that is if it is even set). it is very easy to fix: go into

[PHP] Re: [PHP-DB] Inserting date into a table

2004-04-24 Thread francesco
Hi Pambos, you can use the function date in this manner: date(YmdGis); because the type TIMESTAMP has the following format: MMDDHHMMSS, where: =year like 2004 MM=month like 04 DD=day like 24 HH=hour like 10 MM=minutes like 24 SS=seconds like 33 in this case date(YmdGis); has the output

RE: [PHP] Question about the mail() php function

2004-04-24 Thread Julien Wadin
you've to go in the php.ini and give a smtp server -Message d'origine- De : Shawn Inder [mailto:[EMAIL PROTECTED] Envoyé : samedi 24 avril 2004 6:03 À : [EMAIL PROTECTED] Objet : [PHP] Question about the mail() php function Hello, I was browsing your site and came across the mail() PHP

Re: [PHP] static __get function

2004-04-24 Thread Marek Kilimajer
I'm not sure if it will help but do't define the magic functions as public static, use just: function __get(...) The function is not public anyway, as it should no be called directly. And to my knowledge self:: references a class, not an object. You should use $this- instead. David Goodlad

[PHP] PHP5 bloats the code

2004-04-24 Thread Johannes Reichardt
Hi there, i don´t know if this is the right place to ask but since there are a lot of cracks around i thought i throw this in here. actually i am using typo3 (www.typo3.org) a full-blown, extendable cm-framework that is based on php. so here is the problem: typo3 very often uses a syntax like

Re: [PHP] PHP5 bloats the code

2004-04-24 Thread Marek Kilimajer
Hmm, this will certainly slow down PHP5 acceptance. I cannot imagine a hosting company that will upgrade to PHP5 and break so many client's applications. Johannes Reichardt wrote: Hi there, i don´t know if this is the right place to ask but since there are a lot of cracks around i thought i

[PHP] Re: PHP5 bloats the code

2004-04-24 Thread Torsten Roehr
Johannes Reichardt [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi there, i don´t know if this is the right place to ask but since there are a lot of cracks around i thought i throw this in here. actually i am using typo3 (www.typo3.org) a full-blown, extendable cm-framework that

[PHP] php/apache/mysql on ntfs

2004-04-24 Thread Andy B
hi... we are upgrading test servers to xp home and want to know if its possible to run php/apache/mysql and all that sort of stuff on ntfs or does the servers have to run fat32?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fw: [PHP] php/apache/mysql on ntfs

2004-04-24 Thread Andy B
does anybody have any idea why this message keeps coming up every time i send a msg to the list?? im sort of confused now - Original Message - From: [EMAIL PROTECTED] To: Andy B [EMAIL PROTECTED] Sent: Saturday, April 24, 2004 7:17 AM Subject: NDN: [PHP] php/apache/mysql on ntfs

[PHP] A security thing or just sessions working?

2004-04-24 Thread john
Hi I had a problem with what my host called a spate of insecure PHP applications being used to upload proxying applications which I think has been solved, however I've just spotted this when trying to validate my HTML: form action=abc.php4 method=postinput type=hidden name=PHPSESSID

[PHP] A security thing or just sessions working?

2004-04-24 Thread john
Hi I had a problem with what my host called a spate of insecure PHP applications being used to upload proxying applications which I think has been solved, however I've just spotted this when trying to validate my HTML: form action=abc.php4 method=postinput type=hidden name=PHPSESSID

[PHP] A security thing or just sessions working?

2004-04-24 Thread john
Hi I had a problem with what my host called a spate of insecure PHP applications being used to upload proxying applications which I think has been solved, however I've just spotted this when trying to validate my HTML: form action=abc.php4 method=postinput type=hidden name=PHPSESSID

[PHP] Re: $PATH_INFO not working

2004-04-24 Thread Anguz
Noel Da Costa wrote: Hi, Anyone know what might stop the $PATH_INFO variable from working? I developed a nav system using this which works on the test server, but not on the live server. I'm guessing this is something to do with the way PHP (4.2.2) and Apache (2.0) were compiled on the live

[PHP] mouse over problem on php

2004-04-24 Thread gowthaman ramasamy
hi list , In the web page, i display different bars (actually tables with single column, with cellpadding=1 and color=xxx) based on the information parsed from MySQL database. I, now want to display more information by mouse over when ever user moves the cursor over the bar(actually single cell

[PHP] Re: mouse over problem on php

2004-04-24 Thread Torsten Roehr
This is more of a Javascript/Style Sheets question than anything else. Try your luck on a JS/CSS mailing list. Regards, Torsten Gowthaman Ramasamy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi list , In the web page, i display different bars (actually tables with single column,

Re: [PHP] mouse over problem on php

2004-04-24 Thread Andy B
try javascript - Original Message - From: gowthaman ramasamy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 24, 2004 8:11 AM Subject: [PHP] mouse over problem on php hi list , In the web page, i display different bars (actually tables with single column, with

Re: [PHP] static __get function

2004-04-24 Thread David Goodlad
Hi Marek Thanks for the response Two things you should notice is my declaration of the constructor as private and the $ConfigSettings variable as static. This class is designed in such a way that it can never be instantiated, preventing loading the configuration file twice and possibly having

Re: [PHP] mouse over problem on php

2004-04-24 Thread John W. Holmes
gowthaman ramasamy wrote: hi list , Hi. This has nothing to do with PHP. In the web page, i display different bars (actually tables with single column, with cellpadding=1 and color=xxx) based on the information parsed from MySQL database. I, now want to display more information by mouse over when

Re: [PHP] A security thing or just sessions working?

2004-04-24 Thread John W. Holmes
[EMAIL PROTECTED] wrote: Hi I had a problem with what my host called a spate of insecure PHP applications being used to upload proxying applications which I think has been solved, however I've just spotted this when trying to validate my HTML: form action=abc.php4 method=postinput type=hidden

Re: [PHP] mouse over problem on php.. sorry Ignore this

2004-04-24 Thread gowthaman ramasamy
I am very sorry for that. I am very sorry i bugged you all. anyway thanks for the hints ... thanks a lot -- Ra. Gowthaman, Graduate Student, Bioinformatics Lab, Malaria Research Group, ICGEB , New Delhi. INDIA Phone: 91-9811261804 91-11-26173184; 91-11-26189360 #extn 314 -- PHP

Re: [PHP] php/apache/mysql on ntfs

2004-04-24 Thread -{ Rene Brehmer }-
Sure you can :) ... I've been doing it for a very long time now ... works alot better than FAT32 actually ... much faster... The programs don't care about the file system, that's for the OS to deal with. Only pure DOS programs have problems with the NTFS ... for all other programs they can't see

Re: [PHP] Scripting practices

2004-04-24 Thread -{ Rene Brehmer }-
Same here ... I only initialize variables where's there any point to it ... like the booleans I use for error checking ... all the others are normally never initialized Rene According to historical records, on Fri, 23 Apr 2004 17:15:58 -0400 Travis Low wrote about Re: [PHP] Scripting

Re: [PHP] php/apache/mysql on ntfs

2004-04-24 Thread -{ Rene Brehmer }-
Because someone that's subscribed to the list has a full mailbox ... I get it too ... all the time ... just like the address harvesters masquerading as banks ... Advance Credit Suisse Bank [EMAIL PROTECTED] and Information Desk [EMAIL PROTECTED] Rene According to historical records, on Sat, 24

Re: [PHP] mouse over problem on php

2004-04-24 Thread Jordi Canals
gowthaman ramasamy wrote: hi list , [snip] I use a hreff=xx.xx.com title=$display ./a. and have two [snip] Try enclosing $display betwen like: echo 'a href=xx.xx.com title='. $display ' ... /a'; Regards ... I do not agree about it's a Javascript issue, the title attribute is an

Re: [PHP] mouse over problem on php

2004-04-24 Thread -{ Rene Brehmer }-
According to historical records, on 24 Apr 2004 17:41:14 +0530 gowthaman ramasamy wrote about [PHP] mouse over problem on php: {snip} 2)even if i hyperlink the text with title attribute... only the text before the first space (the very first word) is displayed. Not the entire sentence. Using

Re: [PHP] PHP5 bloats the code

2004-04-24 Thread Marek Kilimajer
I just installed php5 (finaly :-)) and it does not throw any error nor warning. I think what you see is Notice, so the behavior did not change. Johannes Reichardt wrote: Hi there, i don´t know if this is the right place to ask but since there are a lot of cracks around i thought i throw this

Re: [PHP] MySQL Dump

2004-04-24 Thread Jordi Canals
I just tested it and yes, the Michal function runs on Windows and Linux. Just must write the path in the proper format for the OS you're using. Regards, Jordi. Matt Palermo wrote: Will this work on both a Windows and Unix server? Michal Migurski [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: [PHP] PHP5 bloats the code

2004-04-24 Thread Curt Zirzow
* Thus wrote Marek Kilimajer ([EMAIL PROTECTED]): I just installed php5 (finaly :-)) and it does not throw any error nor warning. I think what you see is Notice, so the behavior did not change. Here is the offending situation: ?php /* E_NOTICE: undefined index, returns false */ unset($a);

Re: [PHP] calling php function

2004-04-24 Thread Daniel Clark
Because the Javascript onclick event runs in the client browser, you could call a php file that has and runs a particular php function. Is it possible to call php function in the onclick event ? REgards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Microsoft Update and how its done question

2004-04-24 Thread Anton Krall
Guys.. Ive been wondering this.. when you visit microsofts update sites, if you click on look for updates, it loads something into your computer, an vb, activex or whatever, and looks into your computer for some stuff to update, then it download and installs it... all showing nice windows, process

[PHP] Re: Microsoft Update and how its done question

2004-04-24 Thread Torsten Roehr
Anton Krall [EMAIL PROTECTED] wrote in message news:!~!UENERkVCMDkAAQACABgAyt+Udpm8KEiSEdKfabIEWMKA [EMAIL PROTECTED] Guys.. Ive been wondering this.. when you visit microsofts update sites, if you click on look for updates, it loads something into your computer, an vb,

Re: [PHP] overloaded, overworked ereg statement?

2004-04-24 Thread Tim
Travis Low wrote: Break it up a little. Try something like this: $title = preg_replace( /.*title/i, , $file_text ); $title = preg_replace( //title.*/i, , $title ); My title one worked, but I like your idea. I started to write that you were all flip-flopped on your title example, until I

Re: [PHP] Re: Microsoft Update and how its done question

2004-04-24 Thread -{ Rene Brehmer }-
According to historical records, on Sat, 24 Apr 2004 17:49:42 +0200 Torsten Roehr wrote about [PHP] Re: Microsoft Update and how its done question: Anton Krall [EMAIL PROTECTED] wrote in message news:!~!UENERkVCMDkAAQACABgAyt+Udpm8KEiSEdKfabIEWMKA [EMAIL PROTECTED] Guys..

Re: [PHP] PHP5 bloats the code

2004-04-24 Thread Johannes Reichardt
Hi Curt, thank you for pointing this one out. Who are the php internals and how could i contact them? This issue was rejected as bug recently. - Johannes * Thus wrote Marek Kilimajer ([EMAIL PROTECTED]): I just installed php5 (finaly :-)) and it does not throw any error nor warning. I

Re: [PHP] Fetching XML for parsing

2004-04-24 Thread Patagonia Hosting Development Group
That may be the exact problem. I was not figuring that one out. Thi is my fopen and XML parser code: $xml_parser = xml_parser_create(); xml_set_element_handler($xml_parser, startElement, endElement); xml_set_character_data_handler($xml_parser, characterData); if (!($fp = fopen($uFile,rb))) {

Re: [PHP] PHP5 bloats the code

2004-04-24 Thread Marek Kilimajer
Curt Zirzow wrote: Here is the offending situation: ?php /* E_NOTICE: undefined index, returns false */ unset($a); echo is_array($a['foo']['asdf']); /* returns false */ $a = 'asdf'; echo isset($a['foo']['asdf']); /* returns false */ $a = array('foo' = 'asdf'); echo is_array($a['foo']['asdf']);

[PHP] From IIS to Apache

2004-04-24 Thread Stephen Craton
I've been running IIS for a while now and I'm really sick of it and all it's security flaws. I decided today to upgrade to Apache, so I download the msi from the Apache website. I install it, but once it tries to install it as a service onto my XP Pro box, it gives me an error telling me that port

RE: [PHP] PHP5 bloats the code

2004-04-24 Thread Mark Charette
From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Well, what I always know about my variables is if they are arrays or scalar ;) And I don't consider warning to be much nicer then error Hmmm ... my current methods and functions in PHP 4.x oftentimes adapt to the type passed to them since PHP

Re: [PHP] From IIS to Apache

2004-04-24 Thread Richard Harb
Though this isn't stricly a PHP question - here we go: It sounds as if IIS didn't really go away... There's a nice utility out there that lets you know what ports are active and in use ... It's called Active Ports (duh!) and is a small download from http://www.ntutility.com (section

Re: [PHP] PHP5 bloats the code

2004-04-24 Thread Marek Kilimajer
Mark Charette wrote: From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Well, what I always know about my variables is if they are arrays or scalar ;) And I don't consider warning to be much nicer then error Hmmm ... my current methods and functions in PHP 4.x oftentimes adapt to the type passed

Re: Fw: [PHP] php/apache/mysql on ntfs

2004-04-24 Thread Curt Zirzow
* Thus wrote Andy B ([EMAIL PROTECTED]): does anybody have any idea why this message keeps coming up every time i send a msg to the list?? im sort of confused now I've gotten so used to them now, that I consider them receipts that my messages have been posted to everyone :) Curt -- I used to

Re: [PHP] PHP5 bloats the code

2004-04-24 Thread Johannes Reichardt
Hi Marek, actually this behaviour is too critical since there are many cases where compliant code is not as well as much more simpler code. reminds me on the w3c standards that are so high that some things simply dont comply if you want them ;) just a warning would be way better. - Johannes

[PHP] PHP Auth

2004-04-24 Thread Anton Krall
Guys. Im doing a small php auth system and I was wondering, how can avoid having to do a form to pass the user and pw to the php scripts and just use the popup auth windows on IE and NS? do you remember the names of the vars that get passed thru that popup or how can I invoke it? Thx! -- PHP

Re: [PHP] MySQL Dump

2004-04-24 Thread Michal Migurski
I just tested it and yes, the Michal function runs on Windows and Linux. Just must write the path in the proper format for the OS you're using. Holy smokes, that's good news. :) Spreading dis-information is my price for not having the first clue about windows.

[PHP] Re: PHP Auth

2004-04-24 Thread Rainer Müller
Anton Krall schrieb: Guys. Im doing a small php auth system and I was wondering, how can avoid having to do a form to pass the user and pw to the php scripts and just use the popup auth windows on IE and NS? do you remember the names of the vars that get passed thru that popup or how can I

Re: [PHP] PHP Auth

2004-04-24 Thread Curt Zirzow
* Thus wrote Anton Krall ([EMAIL PROTECTED]): Guys. Im doing a small php auth system and I was wondering, how can avoid having to do a form to pass the user and pw to the php scripts and just use the popup auth windows on IE and NS? do you remember the names of the vars that get passed

RE: [PHP] PHP Auth

2004-04-24 Thread Anton Krall
Thx Curt! Intruder Consulting Anton Krall Director General [EMAIL PROTECTED] tel: 5233-9281 mobile: 044-55-1320-8717 IM: [EMAIL PROTECTED] www.intruder.com.mx %-Original Message- %From: Curt Zirzow [mailto:[EMAIL

[PHP] Problem when compiling php5

2004-04-24 Thread Martin Hjort Eriksen
Hello I am having a major prolem when compiling PHP5the problem is new, and I have never had it before. I have tried compiling on to seperate dists og Linux, Debian testing and Slackware 9.0, but the error persistes. The output I recieve is: /usr/local/include/unix.h:222: error: parse

[PHP] formatting a string

2004-04-24 Thread Andy B
hi... i have a string i want to pull out of a database (mysql). the column name is Phone1 and it is a 10 digit phone number. the raw string coming out of the table column would look like this: 1234567890 what i want to do is format the string on display like this: (123)456-7890 but dont quite

Re: [PHP] formatting a string

2004-04-24 Thread Tom Rogers
Hi, Sunday, April 25, 2004, 11:17:16 AM, you wrote: AB hi... AB i have a string i want to pull out of a database (mysql). the column name is AB Phone1 and it is a 10 digit phone number. the raw string coming out of the AB table column would look like this: 1234567890 AB what i want to do is

[PHP] Re: Re: The COM problem when converting from ASP to PHP [works now!!]

2004-04-24 Thread Steven Kidd
Hi, Thx ur help Richard , but ur method doesn't work. However, when I switch to the PHP5 RC1, it works!~~ I use the recommonded php.ini setting. my previous version is 4.3.6. I really love PHP 5! :) Strongly suggest anyone who uses COM switch to PHP 5. Hello Steven, Saturday, April 24,

Re: [PHP] formatting a string

2004-04-24 Thread Andy B
[snip] $phone = '1234567890'; $newphone = preg_replace('/(\d{3})(\d{3})(\d)/','(\1)\2-\3',$phone); echo $newphone.'br'; -- regards, Tom [/snip] ok sorry but since i never used preg_* before i dont quite get what some of this stuff means. i looked at the doc page for it but it doesnt make mention

php-general Digest 25 Apr 2004 05:14:04 -0000 Issue 2725

2004-04-24 Thread php-general-digest-help
php-general Digest 25 Apr 2004 05:14:04 - Issue 2725 Topics (messages 184527 through 184545): Re: PHP5 bloats the code 184527 by: Johannes Reichardt 184529 by: Marek Kilimajer 184531 by: Mark Charette 184533 by: Marek Kilimajer 184535 by: Johannes

[PHP] SSI and query string variables to PHP

2004-04-24 Thread Tim Traver
Hi all, ok, this may be a dumb question, but I have a page that has server side includes that include a php script like this : !--#include virtual=schedule.php -- works fine, except the script doesn't appear to receive any of the query string information if that page has a query string on

[PHP] SSI and query string variables to PHP

2004-04-24 Thread Tim Traver
Hi all, ok, this may be a dumb question, but I have a page that has server side includes that include a php script like this : !--#include virtual=schedule.php -- works fine, except the script doesn't appear to receive any of the query string information if that page has a query string on

Re[2]: [PHP] formatting a string

2004-04-24 Thread Tom Rogers
Hi, Sunday, April 25, 2004, 3:15:25 PM, you wrote: AB ok sorry but since i never used preg_* before i dont quite get what some of AB this stuff means. i looked at the doc page for it but it doesnt make mention AB at all of what \d, \w, \s or any of those things mean... i only assume that AB \d