Re: [PHP] Using exim with mail()

2003-12-05 Thread Jason Wong
On Friday 05 December 2003 13:17, King Pochacoo wrote: > I set > sendmail_path = /usr/sbin/exim -ti > in php.ini > > But when I call to mail(), it displays > Fatal error: Call to undefined function: mail() in > /home/society/info/public_html/forum/include/userlogin.php on line 361 > > What's wr

Re: [PHP] Not able to Linux binary

2003-12-05 Thread Jason Wong
On Friday 05 December 2003 14:04, Karam Chand wrote: > I created a linux binary using GCC. Whenever you > execute it reads a file from the current directory and > outputs the contents. e.g. - > > ./myapp > > output > > hello world. If that is all it does, and that is all you need, why not impleme

Re: [PHP] unpack question

2003-12-05 Thread Curt Zirzow
* Thus wrote John J Foerch ([EMAIL PROTECTED]): > Hi, > How do I unpack uint32's? I'm using the format character "L" and > numbers greater than 2^31 come back as signed integers instead. This seems > like a bug. I suppose it is a bug. It seems that all unsigned unpacks dont honor this, as th

Re: [PHP] Comment alignment in config.m4

2003-12-05 Thread Evan Nemerson
On Thursday 04 December 2003 09:59 pm, Anas Mughal wrote: > In config.m4, what does "Make sure that the comment is aligned" mean? > What should it be aligned to? > There should be an certain number of characters before the "Enable my_module support" text, and a certain number (2) of spaces before

[PHP] removing line breaks

2003-12-05 Thread Roel Derckx
Hi I want to remove line breaks from the front of a string, but i can't get it to work. Who can help me? The code i tried is: while(substr($body,0,1)=="\n") $body=substr($body,1); i also tried: while(substr($body,0,2)=="\n") $body=substr($body,2); but this doesn't work either. Both codes WON'T

Re: [PHP] removing line breaks

2003-12-05 Thread Robert Cummings
On Fri, 2003-12-05 at 03:53, Roel Derckx wrote: > Hi > > I want to remove line breaks from the front of a string, but i can't get it > to work. Who can help me? > > The code i tried is: > while(substr($body,0,1)=="\n") $body=substr($body,1); > > i also tried: > while(substr($body,0,2)=="\n") $bo

Re: [PHP] removing line breaks

2003-12-05 Thread Leif K-Brooks
Roel Derckx wrote: I want to remove line breaks from the front of a string, but i can't get it to work. Who can help me? Note that i only want to remove line breaks in the start of the string, all line breaks in the rest of the string should remain. ltrim() -- PHP General Mailing List (http://ww

[PHP] Max Upload FIle Size

2003-12-05 Thread Steve Vernon
Hello, I have search google, and PHP but I cannot find properly how to set the maximum post upload size as 200Kb? Do I use 200K or 200KB for post_max_size? THANKS Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] move_uploaded_file

2003-12-05 Thread Guido Schwab
Hi! I'm using the function move_uploaded_file in order to upload images on a server. My problem: It's not possible to upload a *.bmp file. Maybe this is not possible with PHP's HTTP POST method, but I can't find a documentation. Does anybody knows, if it's possible to configure PHP, that it's poss

Re: [PHP] Max Upload FIle Size

2003-12-05 Thread Burhan Khalid
Steve Vernon wrote: Hello, I have search google, and PHP but I cannot find properly how to set the maximum post upload size as 200Kb? Amazing what you can find in the manual these days http://www.php.net/manual/en/configuration.directives.php#ini.post-max-size -- Burhan Khalid phplist[at]meidomus[

Re: [PHP] move_uploaded_file

2003-12-05 Thread Burhan Khalid
Guido Schwab wrote: Hi! I'm using the function move_uploaded_file in order to upload images on a server. My problem: It's not possible to upload a *.bmp file. Maybe this is not possible with PHP's HTTP POST method, but I can't find a documentation. Does anybody knows, if it's possible to configur

Re: [PHP] Max Upload FIle Size

2003-12-05 Thread David Otton
On Fri, 05 Dec 2003 13:41:03 +0300, you wrote: >Steve Vernon wrote: >> I have search google, and PHP but I cannot find properly how to set the >> maximum post upload size as 200Kb? >Amazing what you can find in the manual these days >http://www.php.net/manual/en/configuration.directives.php#ini.

Re: [PHP] Problem with references

2003-12-05 Thread Terry
Sorry if the title implies that I have a problem that needs solving. The title was meant to imply that I think PHP may have a 'problem' (or at least a shortcoming) with references. I am currently in the detailed design phase of a project. There are many possible ways to do things. One of the possi

[PHP] converting string into array with regex

2003-12-05 Thread Adam i Agnieszka Gasiorowski FNORD
How would you specify a regex to convert string into array using preg_split? Is there some symbol specyfying a place between letters ? s t r i n g => array('s', 't', 'r', 'i', 'n', 'g') ^ ^ ^ ^ ^ , like this... -- Seks, seksić, seksolatki... news:pl.soc.seks.moder

Re: [PHP] converting string into array with regex

2003-12-05 Thread Jason Wong
On Friday 05 December 2003 19:08, Adam i Agnieszka Gasiorowski FNORD wrote: > How would you specify a regex to > convert string into array using preg_split? > Is there some symbol specyfying a place > between letters ? > > s t r i n g => array('s', 't', 'r', 'i', 'n', 'g') > ^ ^ ^

Re: [PHP] converting string into array with regex

2003-12-05 Thread Burhan Khalid
Adam i Agnieszka Gasiorowski FNORD wrote: How would you specify a regex to convert string into array using preg_split? Is there some symbol specyfying a place between letters ? s t r i n g => array('s', 't', 'r', 'i', 'n', 'g') ^ ^ ^ ^ ^ You can access a string's characters

[PHP] php2c

2003-12-05 Thread Volvo
Hi, Is there any project going on transfering the PHP code into C++? I found http://binaryphp.sf.net/ but when I run the convert.php on Windows machine I get an error as below C:\servers\binaryPHP>convert.php --if examples/helloworld.php --of hello PHP Notice: Undefined index: argc in C:\serv

RE: [PHP] converting string into array with regex

2003-12-05 Thread Wouter van Vliet
On vrijdag 5 december 2003 12:23 Burhan Khalid told the butterflies: > Adam i Agnieszka Gasiorowski FNORD wrote: > > > How would you specify a regex to > > convert string into array using preg_split? > > Is there some symbol specyfying a place between letters ? > > > > s t r i n g => a

[PHP] Handling Database errors in php

2003-12-05 Thread manoj nahar
Hi guys, Column of table defined as primary key. there is violation and error message from database. 1) First way is to check if the value is already in database and then contuninue with insert (this invloes an extra select for every insert and leaves defined primary key redundant)

[PHP] XML & XSLT

2003-12-05 Thread Nick Wilson
Hi all, under 4.3 is there any way to work with XSLT and XML that *does not* require additional modules etc to be installed? Perhaps a set of classes or somesuch? Many thanks... -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] how to determine if shopping cart has been abandoned?

2003-12-05 Thread Jay Blanchard
[snip] > Of course, now you have to deal with putting inventory back on the > shelf when the session expiresand you have no way of knowing when > that would happen unless you're storing *something*. A good point, if that's the way he wants to do things... In which case, SC needs to be store

RE: [PHP] What do you say to someone who says...

2003-12-05 Thread Jay Blanchard
[snip] > > "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] com... > > There are several > large complex projects using PHP as the language, jsut as there are > several large projects out there using C++, JAVA, Fortran, Cobol > etc.etc.etc. > > > I'm cringeing! Did

Re: [PHP] XML & XSLT

2003-12-05 Thread Burhan Khalid
Nick Wilson wrote: Hi all, under 4.3 is there any way to work with XSLT and XML that *does not* require additional modules etc to be installed? Perhaps a set of classes or somesuch? Many thanks... http://pear.php.net http://www.phpclasses.org -- Burhan Khalid phplist[at]meidomus[dot]com http://w

Re: [PHP] Not able to Linux binary

2003-12-05 Thread Karam Chand
Hello I am a astudent and my domain area is C++ I am and new to PHP and all other scripting language. Couldnt hire a PHP programmer coz of lack of funds :) The program I wrote was just to learn how to execute a binary from PHP. My actuall program takes a Name as the first parameter and generates

Re: [PHP] What do you say to someone who says...

2003-12-05 Thread Andrei Reinus
http://www.zend.com/customers.php Do all these companies think that "PHP is just a kiddie language"? just my 0.02$ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] preg_match

2003-12-05 Thread pete M
could someone explain what this bit of code does please... if (!preg_match("/^".$thumbname."/",$item)) { } tia PEte -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php2c

2003-12-05 Thread Nathan Taylor
Hello, BinaryPHP is still at a dev state and is incomplete, if you're having specific problems try stopping by #binaryphp on freenode and talking to Daeken there regarding them. Best Wishes, Nathan - Original Message - From: Volvo To: [EMAIL PROTECTED] Sent: Friday, December

Re: [PHP] Changing User Agent for fopen

2003-12-05 Thread Stuart
Gohaku wrote: There are some pages I would like to extract links from but I can't access the page using the following: ini_set('php.user_agent', 'Mozilla/5.0'); $url = "http://www.google.com/search?q=php";; $fp = fopen($url,"r"); $buffer = fread($fp,100); ec

Re: [PHP] preg_match

2003-12-05 Thread John W. Holmes
pete M wrote: could someone explain what this bit of code does please... if (!preg_match("/^".$thumbname."/",$item)) Determines if $item begins with $thumbname. Same as, but probably slower than this: if(substr($item,0,strlen($thumbname)) == $thumbname) -- ---John Holmes... Amazon Wishlist: ww

Re: [PHP] preg_match

2003-12-05 Thread Marek Kilimajer
If $thumbname does not contain any regular expression syntax characters, it mean $item must begin with $thumbname to match the expression. Even a dot is a syntax character, the code should better be: if (!preg_match("/^".preg_quote($thumbname)."/",$item)) preg_quote will escape special characte

[PHP] R: [PHP] Handling Database errors in php

2003-12-05 Thread Alessandro Vitale
I am not sure if this could match you requirements but I often use this pattern: "INSERT IGNORE... SET VAR=0" "UPDATE..." the first query will do the insert if not present a record with a same unique index key the second will be redundand if the first succeed and will do the job if the first fail

Re: [PHP] how to determine if shopping cart has been abandoned?

2003-12-05 Thread David T-G
Chris, et al -- ...and then Chris W. Parker said... % % Hey there everyone. Hiya! % ... % How do you determine if a shopping cart has been abandoned or not? ... % % The problem I see is that a cart could be considered abandoned for 4 % days but then become active again because the customer h

Re: [PHP] how to determine if shopping cart has been abandoned?

2003-12-05 Thread David T-G
Chris, et al -- ...and then Chris W. Parker said... % ... % % Would it be too complicated to say "5 in inventory, 2 of those are in % customer shopping carts"? Or something along those lines? I shouldn't think so; it would be a bit of extra work, but not a big deal. If you did, then I'd have a

Re: [PHP] Using exim with mail()

2003-12-05 Thread King Pochacoo
For 1, I have checked the exim doc, it is ok to call exim directly. For 2, How can I deal with this ??? Would you tell in details, pls. Martin Cameron <[EMAIL PROTECTED]> wrote: I see two problems here: 1. The standard installation of exim requires you to make a symlink from sendmail to exim

Re: [PHP] Not able to Linux binary

2003-12-05 Thread Jason Wong
On Friday 05 December 2003 20:43, Karam Chand wrote: > I have set the error reporting to full but nothing > happens. The PHP page loads up blank. Put the following lines at the top of your program: error_reporting (E_ALL); ini_set('display_errors', 1); That will force ALL errors to be displ

[PHP] Apache 2 + PHP

2003-12-05 Thread Yves Arsenault
Hello, This may be very old, but I thought I would ask. Is this warning outdated? http://www.php.net/manual/en/install.apache2.php "Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows." I'm running RedHat 9. I've got Apache 2.0.48 running and was ready to in

[PHP] PHP5 XSLT how to.

2003-12-05 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello again. I am currently testing the php5 beta and really like the new DOM objects but i am haveing trouble finding out how i can apply a XSLT template to a DOM document. Does anybody know how i can do this? I have tried looking at the DOM d

Re: [PHP] XML & XSLT

2003-12-05 Thread Nick Wilson
* and then Burhan Khalid declared > >under 4.3 is there any way to work with XSLT and XML that *does not* > >require additional modules etc to be installed? Perhaps a set of classes > >or somesuch? > > > >Many thanks... > > http://pear.php.net > http://www.phpclasses.org Thanks, hard to bele

Re: [PHP] Changing User Agent for fopen

2003-12-05 Thread Nick Wilson
* and then Stuart declared > 2) If you want to query google you're better off using the google SOAP > API - it's legal for a start. See the following for more info... > > http://www.google.com/apis/ > http://www.devshed.com/Server_Side/PHP/GoogleAPI/page1.html and http://dietrich.ganx4.co

Re: [PHP] unpack question

2003-12-05 Thread John J Foerch
Thanks. Neat trick with the printf command. I'll use that for now. John > I suppose it is a bug. It seems that all unsigned unpacks dont > honor this, as the documentation on unpack does note. > > I did, however, write a patch that will enable the returning of > unsigned values. It still needs

[PHP] simple php search

2003-12-05 Thread Paul Duggan
if I create a text box: how do I go about extracting a surname from a mysql database? will it be something along the lines? select firstname,surname from employees where surname = textbox.surname; new to this so im trying to get my head around it, basically i just want to search

Re: [PHP] Apache 2 + PHP

2003-12-05 Thread Martin Hudec
Hi there, when I had Gentoo Linux, I was using Apache 2.0.48 with PHP 4.3.4 installed from Gentoo portage. It was running <10 smallscale php/mysql based virtualhosts without any difficulties. On Friday 05 December 2003 15:24, Yves Arsenault wrote: > Is this warning outdated? > http://www.php.ne

Re: [PHP] simple php search

2003-12-05 Thread Sophie Mattoug
Paul Duggan wrote: if I create a text box: how do I go about extracting a surname from a mysql database? will it be something along the lines? select firstname,surname from employees where surname = textbox.surname; "SELECT firstname, surname FROM employees WHERE surname = '{$_G

Re: [PHP] simple php search

2003-12-05 Thread Dimitri Marshall
"Sophie Mattoug" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Paul Duggan wrote: > > >if I create a text box: > > > > > > > > > > > > > > > > > > > > > > > > > >how do I go about extracting a surname from a mysql database? > > > > > > > >will it be something along the lines? > >

Re: [PHP] simple php search

2003-12-05 Thread Eric Bolikowski
"Dimitri Marshall" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Sophie Mattoug" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Paul Duggan wrote: > > > > >if I create a text box: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >h

Re: [PHP] simple php search

2003-12-05 Thread Eric Bolikowski
"Eric Bolikowski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Dimitri Marshall" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > "Sophie Mattoug" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > Paul Duggan wrote: > > > > > > >if I cre

[PHP] Re: simple php search

2003-12-05 Thread Paul Duggan
is anyone away of any tutorials as I'm having difficulty constructing the remainder of my code. Thanks for the replies! "Paul Duggan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > if I create a text box: > > > > > > > > > > > > > how do I go about extracting a surname from a

Re: [PHP] PHP5 XSLT how to.

2003-12-05 Thread Marek Kilimajer
XML support has been completely redone in PHP 5, all extensions are now focused around the excellent libxml2 library (http://www.xmlsoft.org/). Try libxml2 documentation. William Bailey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello again. I am currently testing the php5 beta

Re: [PHP] Changing User Agent for fopen

2003-12-05 Thread Stuart
Nick Wilson wrote: * and then Stuart declared 2) If you want to query google you're better off using the google SOAP API - it's legal for a start. See the following for more info... http://www.google.com/apis/ http://www.devshed.com/Server_Side/PHP/GoogleAPI/page1.html and http://dietrich.g

[PHP] PHP @ opensourcexperts.com

2003-12-05 Thread Mark Pratt
Hi, We would like to announce to PHP Users and Developers that: http://www.opensourcexperts.com has added a category for PHP and several other PHP related projects like: PHP Collab, PostNuke, Drupal. Our site allows for the micro and macro payment of support and for the collaborative funding

[PHP] Re: simple php search

2003-12-05 Thread Paul Duggan
thanks all for the help, I substituted GET for POST in \"{$_GET['surname']}\"" figured that I needed a 2nd php file which was invoked from the submit button on the first and hey presto it works :) "Paul Duggan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > is anyone away of any

Re: [PHP] PHP @ opensourcexperts.com

2003-12-05 Thread Ryan A
Very nice, except please put a OT in the subject when posting something like this. -Ryan > Hi, > > We would like to announce to PHP Users and Developers that: > > http://www.opensourcexperts.com > > has added a category for PHP and several other PHP related projects > like: PHP Collab, PostNuke

Re: [PHP] International Addresses and Telephones

2003-12-05 Thread Pablo
On 12/04/2003 9:53 AM, Rankin, Randy <[EMAIL PROTECTED]> wrote: > I have a form which captures US addresses ( address, city, state ) and > telephone numbers ( 10 digit ) and am writing this data to a MySQL table. I > need to expand this to capture non-US info, so I was hoping for some > guidance o

[PHP] Re: Handling Database errors in php

2003-12-05 Thread Justin Patrin
If you want to get database errors back in a meaningful format, I'd suggest using PEAR::DB or another of the DB abstraction classes. They can return an error which you can then check and handle appropriately. In addition, it can let you use the same code for multiple database types (should you

[PHP] CGI script not running under suexec

2003-12-05 Thread Anas Mughal
I had been running a CGI version of PHP version 3 for many months with no issues. (I had custom extensions in the CGI version.) Well, my hosting company decided to enable suexec on Apache (running on Redhat Linux). As I understand, with suexec enabled, only the owner of a particular CGI script

Re: [PHP] PHP5 XSLT how to.

2003-12-05 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok Just incase anybody else would like to know how to do it i found that the following works: PHP Code $dom = new DomDocument(); $aboutNode = $dom->appendChild($dom->createElement('about')); $aboutNode->setAttribute('name', 'My Application'); $ver

RE: [PHP] Apache 2 + PHP

2003-12-05 Thread Yves Arsenault
Would anyone know of the issues that might affect PHP 4.3.4 and Apache 2.0.48 ? Thanks, Yves -Original Message- From: Martin Hudec [mailto:[EMAIL PROTECTED] Sent: 5 décembre 2003 10:52 To: PHP-General Subject: Re: [PHP] Apache 2 + PHP Hi there, when I had Gentoo Linux, I was using Ap

[PHP] PHP Dynamic menu building

2003-12-05 Thread K. Praveen Kumar
Dear list, I have been facing problems while building dynamic menu. I am using database to store the Menu items. I am having two fields in the database table called ParentID, ChildID. Parent Child 1 0 2 0 3 0 4 1 5 1 6 1 7 3 8 3 9 4 10

Re: [PHP] PHP @ opensourcexperts.com

2003-12-05 Thread Mark Pratt
Duly noted. Thanks, Mark On Dec 5, 2003, at 6:12 PM, Ryan A wrote: Very nice, except please put a OT in the subject when posting something like this. -Ryan Hi, We would like to announce to PHP Users and Developers that: http://www.opensourcexperts.com has added a category for PHP and seve

Re: [PHP] Not able to execute Linux binary

2003-12-05 Thread Karam Chand
Hello The output is StartEnd I am sure that the linux binary is ok. coz if in the sheel you just do ./myapp it outputs error seems that the binary is not getting executred. I think there is some permission info. if i do phpinfo() i get the following output for safe stuff - safe_mode Off

Re: [PHP] Re: simple php search

2003-12-05 Thread Blake Schroeder
I liked this one http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html Paul Duggan wrote: is anyone away of any tutorials as I'm having difficulty constructing the remainder of my code. Thanks for the replies! "Paul Duggan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL

[PHP] PHP RSS sites and SlashDot

2003-12-05 Thread Ryan A
Hi, I am totally new to using RSS feeds and need a little help. I downloaded a few good classes to use RSS but dont know where to get the feeds from... our site is going to be totally PHP geared: eg: PHP Articles Program snippets (forum (maybe)) etc Any idea how I can get a feed from Slashdot? o

Re: [PHP] PHP5 XSLT how to.

2003-12-05 Thread Anas Mughal
http://trash.chregu.tv/phpconf2003/examples/ Hope it helps... -- Anas Mughal William Bailey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello again. I am currently testing the php5 beta and really like the new DOM objects but i am haveing trouble finding out how i can apply a XSLT

Re: [PHP] Not able to execute Linux binary

2003-12-05 Thread Jason Wong
On Saturday 06 December 2003 02:44, Karam Chand wrote: > The output is > > StartEnd Good, that shows your PHP program is being executed. > I am sure that the linux binary is ok. coz if in the > sheel you just do > > ./myapp > > it outputs > > error > > seems that the binary is not getting execut

Re: [PHP] PHP RSS sites and SlashDot

2003-12-05 Thread Matt Matijevich
Any idea how I can get a feed from Slashdot? or any other good programming\tech sites am basically trying to get a feed from around 4 sites for around 5 links each... http://slashdot.org/slashdot.rss try google, there is a bunch of good ones. -- PHP General Mailing List (http://www.php.net/

Re: [PHP] PHP RSS sites and SlashDot

2003-12-05 Thread Mark Pratt
Hello Ryan, For fun you might also want to try our XML/RSS Feed for PHP Solution Providers. http://www.opensourcexperts.com/Index/rdfrss/PHP.xml You might even earn a couple of EUROs because we put into a system an offer for someone to write a how-to on how to integrate this feed in a PHP sit

Re: [PHP] PHP RSS sites and SlashDot

2003-12-05 Thread Ryan A
Hi, Thanks for that, the only reason I dont use that though is coz they include one of they products in the feed... http://phparch.com/shop_product.php?itemid=23 Cheers, -Ryan http://Bestwebhosters.com > here's one... > > http://www.phparch.com/syndicate.php > > > Eddie > > -Original Messa

Re: [PHP] PHP RSS sites and SlashDot

2003-12-05 Thread Ajai Khattri
On Fri, Dec 05, 2003 at 08:34:15PM +0100, Ryan A wrote: > I downloaded a few good classes to use RSS but dont know where to get the > feeds from... Basically RSS is just an XML file that you can retrieve from a site using HTTP. Sites that make feeds available generally have a link to them somewhe

Re: [PHP] PHP RSS sites and SlashDot

2003-12-05 Thread Ryan A
Hi, Thanks for replying. just had a look at your feed, pretty good but I dont think it will be useful to the people who visit my site as its too commercial and basically I want nothing but useful stuff to the visitor who will be a programmer or a newbie. The site is going to be "commercially unt

Re: [PHP] PHP Dynamic menu building

2003-12-05 Thread Lowell Allen
> Dear list, >I have been facing problems while building dynamic menu. I am using > database to store the Menu items. I am having two fields in the database > table called ParentID, ChildID. > ParentChild > 10 > 20 > 30 > 41 > 51 > 61 > 73 > 83 > 94 > 10

[PHP] Re: PHP RSS sites and SlashDot

2003-12-05 Thread Manuel Lemos
Hello, On 12/05/2003 05:34 PM, Ryan A wrote: I am totally new to using RSS feeds and need a little help. I downloaded a few good classes to use RSS but dont know where to get the feeds from... our site is going to be totally PHP geared: eg: PHP Articles Program snippets (forum (maybe)) etc Any id

[PHP] Re: SMTP vs POP3

2003-12-05 Thread Manuel Lemos
Hello, On 12/05/2003 12:26 AM, [EMAIL PROTECTED] wrote: I have this code to send email via STMP server $msg = "this is a test - ojpp - mail function"; $senderFrom = "[EMAIL PROTECTED]"; $receiverTo = "[EMAIL PROTECTED]"; $subject = "test of the mail function"; $mailHeaders = "From: $senderFrom\n"

[PHP] PHP on a Domino Web Server

2003-12-05 Thread Jonathan Villa
Where can I find information on installing/configuring PHP for Domino? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP on a Domino Web Server

2003-12-05 Thread Pablo Gosse
Jonathan Villa wrote: > Where can I find information on installing/configuring PHP for Domino? http://www.alise.lv/ALISE/technolog.nsf/0/b2dc72112f3df625c2256dad002e40 c5?OpenDocument It's called Google man. Use it and love it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

RE: [PHP] PHP on a Domino Web Server

2003-12-05 Thread Jonathan Villa
Thanks google ;) Seriously, I already found that link... I'm looking for something without Apachejust PHP and Domino... For anyone else who needs this... http://www-10.lotus.com/ldd/46dom.nsf/0/b5e04f0dae366e6585256cd200715513?OpenDocument On Fri, 2003-12-05 at 15:10, Pablo Gosse wrote: > J

Re: [PHP] converting string into array with regex

2003-12-05 Thread Adam i Agnieszka Gasiorowski FNORD
Wouter van Vliet wrote: > On vrijdag 5 december 2003 12:23 Burhan Khalid told the butterflies: > > Adam i Agnieszka Gasiorowski FNORD wrote: > > > > > How would you specify a regex to > > > convert string into array using preg_split? > > > Is there some symbol specyfying a place between le

[PHP] Regular expression assistance...

2003-12-05 Thread Jas
I am trying to match data from a database that would like like host dhcp-01 { hardware ethernet 00:D0:B7:BD:D2:8D; fixed-address 155.97.1.190; } Using this expression if eregi("^[host]\s+[{]\s+[hardware ethernet]\s+[fixed-address]\s+[}]$",$b) { echo "Put into array"; } Any help would be great, o

Re: [PHP] converting string into array with regex

2003-12-05 Thread CPT John W. Holmes
From: "Adam i Agnieszka Gasiorowski FNORD" <[EMAIL PROTECTED]> > No, no spaces between letters (otherways > it would be very easy, indeed). So there is > no way to match the "space between alphanumeric > chars" and split on it? I was trying to avoid > the loop solution. Of course there is. In

[PHP] Spamming bastardly problem, please help

2003-12-05 Thread Ryan A
Hi, Some son of a * is spamming people and using one or our websites as a return address, so all the emails that get bounced are coming right back to us, as you can imagine thats quite a lot, plus we are getting angry people writing to us. I had a look at the emails and I see its the usual cra

[PHP] Re: Spamming bastardly problem, please help

2003-12-05 Thread Eric Bolikowski
"Ryan A" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > Some son of a * is spamming people and using one or our websites as a > return address, so all the emails that get bounced are coming right back to > us, as you can imagine thats quite a lot, plus we are getting angry

[PHP] Maximum execution time

2003-12-05 Thread John J Foerch
Hi, Is there some way to turn off maximum execution time? Preferably within the script itself? Thanks, John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Maximum execution time

2003-12-05 Thread Pablo Gosse
John J Foerch wrote: > Hi, > Is there some way to turn off maximum execution time? > Preferably within the script itself? Thanks, John ini_set('max_execution_time',0); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Spamming bastardly problem, please help

2003-12-05 Thread John Nichel
Ryan A wrote: Hi, Some son of a * is spamming people and using one or our websites as a return address, so all the emails that get bounced are coming right back to us, as you can imagine thats quite a lot, plus we are getting angry people writing to us. I had a look at the emails and I see its

RE: [PHP] Re: Spamming bastardly problem, please help

2003-12-05 Thread Vail, Warren
http://spamassassin.org/index.html you might also try filtering on the body looking for a common phrase. Spam assassin looks for phrases like "you opted" and instructions on how to stop receiving these emails, a single source will often use the same opt out phrase. hang in there, you can lick th

RE: [PHP] Re: Spamming bastardly problem, please help

2003-12-05 Thread Vail, Warren
Did you get the following; --- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 2:32 PM To: Vail, Warren Subject: Mail rejected I'm sorry but your email with subject SPAMWARNING:RE: [PHP] Re: Spamming bastardly problem,

Re: [PHP] Re: Spamming bastardly problem, please help

2003-12-05 Thread John Nichel
Vail, Warren wrote: http://spamassassin.org/index.html you might also try filtering on the body looking for a common phrase. Spam assassin looks for phrases like "you opted" and instructions on how to stop receiving these emails, a single source will often use the same opt out phrase. hang in th

Re: [PHP] Maximum execution time

2003-12-05 Thread James Hicks
On Friday 05 December 2003 05:22 pm, John J Foerch wrote: > Hi, > Is there some way to turn off maximum execution time? Preferably > within the script itself? > Thanks, > John set_time_limit(0); zero is for not timeout, change to # of seconds if you want. James -- PHP General Mailing Lis

Re: [PHP] Spamming bastardly problem, please help

2003-12-05 Thread John Nichel
Now this is funnycan't reply to Ryan's email without editing the original message because he said ** (that male enhancement pill). [EMAIL PROTECTED] wrote: > I'm sorry but your email with subject SPAMWARNING:Re: [PHP] Spamming > > bastardly problem, please help addressed to "Ryan A" > > >

Re: [PHP] Spamming bastardly problem, please help

2003-12-05 Thread Ajai Khattri
On Fri, Dec 05, 2003 at 11:03:56PM +0100, Ryan A wrote: > Problem is we have a catch all address as the site is large and we have been > using differient email ids all around the place which basically goes into > one, so turning of the catch all can/would result in us missing some > important stuf

[PHP] Whitespace filter

2003-12-05 Thread Justin Hendrickson
Does anyone have an eloquent way to strip redundant whitespace without harming whitespace inside , or

RE: [PHP] Whitespace filter

2003-12-05 Thread Chris W. Parker
Justin Hendrickson on Friday, December 05, 2003 5:51 AM said: > Does anyone have an eloquent way to strip redundant whitespace without > harming whitespace inside , or

RE: [PHP] Whitespace filter

2003-12-05 Thread John Coggeshall
You can also use the tidy extension. http://pecl.php.net/package-info.php?package=tidy John On Fri, 2003-12-05 at 20:23, Chris W. Parker wrote: > Justin Hendrickson > on Friday, December 05, 2003 5:51 AM said: > > > Does anyone have an eloquent way to strip redund

Re: [PHP] Spamming bastardly problem, please help

2003-12-05 Thread Ryan A
Hey guys, Thanks for your suggestions, will look into it but 1.I dont think just closing the catch all will solve the problem 2.Yep, checked if I had an open relay immediately, thats secure, its not being relayed from me 3.Yep, am answering all emails politely and explaining to the people who are w

Re: [PHP] Not able to execute Linux binary

2003-12-05 Thread Karam Chand
Hello looking at manuals and help and some help from you. i wrote the attached code- error_reporting (E_ALL); ini_set('display_errors', 1); $result = `./myapp`; print_r ( $result ); echo ( "2" ); exec("./myapp",$result); print_r($result); It is returning output 2Array ( ) whi

[PHP] count()

2003-12-05 Thread Anthony Ritter
Greetings- I'm have the follwing string called $text and throughout this string I'd like to split this into an array by calling spliti() at the tag called PAGEBREAK. So, I count the array elements starting at 0 and get to 9. When I call count(), I get 11. Could somebody please explain why this is

Re: [PHP] dl(): Invalid library (maybe not a PHP library)

2003-12-05 Thread Anas Mughal
I found one problem. I had to add "=shared" after --enable-my_ext. So, this is what I did: ./configure --enable-my_ext=shared Now, the makefile looks much better. (I have attached the Makefile.) However, I get errors in make. Those errors are generated when invoking the libtool command. [EMAIL

[PHP] UIEE?

2003-12-05 Thread Leif K-Brooks
I need to parse UIEE files for a project. Has anyone done that before? Any pointers? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php