Re: [PHP] delete html

2001-10-20 Thread jtjohnston
A fella could get converted real quick from Perl. Is there anything else I need to learn :) Is it that new that I can't find it on the function menu at www.php.net? Thanks, John Christopher William Wesley wrote: > use the strip_tags() function to remove HTML tags from strings. > > http://www.

Re: [PHP] delete html

2001-10-20 Thread Christopher William Wesley
use the strip_tags() function to remove HTML tags from strings. http://www.zend.com/manual/function.strip-tags.php ~Chris /"\ \ / September 11, 2001 X We Are All New York

[PHP] delete html

2001-10-20 Thread jtjohnston
How can I delete html from an ? Signed Perl user converted :) An email post & reply would come in ral handy. John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrato

Re: [PHP] Using Logical OR operator in IF statement???

2001-10-20 Thread Christopher William Wesley
I'm a bit confused by the logic used (your conditionals are looking for NOT -, but then the printed statement indicates you were looking for the -), but anywho ... try these on for size. if (substr($sString,-1,1)=="-") { print "You can't have a dash at the end of your string."; } if (substr($sSt

[PHP] Using Logical OR operator in IF statement???

2001-10-20 Thread Brad Melendy
Hello, Ok, this works: if (substr($sString,(strlen($sString)-1)!="-")) { print "You can't have a dash at the end of your string."; } and this works: if (substr($sString,0,1)!="-") { print "You can't have a dash at the beginning of your string."; } But, this doesn't work for any case: if ((subst

[PHP] Re: cant redeclare class.....

2001-10-20 Thread Justin Garrett
Move include("class.jm_sms.php") outside of the loop. -- Justin Garrett "Sagar" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > I'm using jm_sms class in mysql > dowhile($myrow=mysql_fetch_array($result)) loop. > the class is running fine for t

[PHP] cant redeclare class......

2001-10-20 Thread Sagar N Chand
Hi all, I'm using jm_sms class in mysql dowhile($myrow=mysql_fetch_array($result)) loop. the class is running fine for the first time. But when it is called for the second time i'm getting an error saying "cant redeclare the class". How to make this class work within a loop. i'm attaching

[PHP] cant redeclare class.....

2001-10-20 Thread Sagar
Hi all, I'm using jm_sms class in mysql dowhile($myrow=mysql_fetch_array($result)) loop. the class is running fine for the first time. But when it is called for the second time i'm getting an error saying "cant redeclare the class". How to make this class work within a loop. i'm attaching

Re: [PHP] Can I have If...Else inside a For Loop???

2001-10-20 Thread Brad Melendy
Oops, I spoke too soon. I wasn't getting the results I thought I was until I used "==" instead of "=" at the very end of my IF statement. Thanks very much for pointing that out. Brad "Brad Melendy" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > H...

[PHP] I recently noticed your ad on 1America Mall..

2001-10-20 Thread Neil Gallagher
Dear fellow marketer A few months back I joined a program and then...promptly forgot about it. You may have done this yourself sometime...you intend to work the program but then get caught in your day-to-day activities and it's soon forgotten. The program was free to join so maybe I just didn't

Re: [PHP] Super newbie question with "Hello world!" statement

2001-10-20 Thread Evan Panagiotopoulos
Oops, while I was trying to get the version of Apache I tested the httpd.conf file and I got the following messages: params.c:Parameter() - Ignoring badly formed line in configuration file: params.c:Parameter() - Ignoring badly formed line in configuration file: LoadModule php_module modules/mod

RE: [PHP] Super newbie question with "Hello world!" statement

2001-10-20 Thread MINI2
Give us some info about the machine running this. OS, PHP version, Apache? Is this your own box? Remote server that you have a shared account on? Cheers Casey -Original Message- From: Evan Panagiotopoulos [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 20, 2001 7:19 PM To: [EMAIL

Re: [PHP] Super newbie question with "Hello world!" statement

2001-10-20 Thread Evan Panagiotopoulos
Thanks for the quick reply. I tried your suggestion and it shows the three lines with the tags: I know php is installed and a few days ago I had the same silly program working! HELP! Mini2 wrote: > Dump all the extra html tags and just put > phpinfo(); > ?> > > in the file

[PHP] Re: weird session problem

2001-10-20 Thread Ross Barefoot
Thanks for the suggestion, but this has no effect on the script. And the script runs fine as is on the other host, so I don't think this is the route of the problem. "Chris Lee" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > create the variable then register

RE: [PHP] Super newbie question with "Hello world!" statement

2001-10-20 Thread MINI2
Dump all the extra html tags and just put in the file and see if that works. Cheers Casey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 20, 2001 7:00 PM To: [EMAIL PROTECTED] Subject: [PHP] Super newbie question with "Hello world!" stat

[PHP] Super newbie question with "Hello world!" statement

2001-10-20 Thread epanagio
I have been trying for several hours to get this going but I can't. Any suggestions? Also I have this extremely complex program: In both cases the programs are named something.php Thanks for your help. Evan P. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

RE: [PHP] php hosting

2001-10-20 Thread MINI2
What type of hosting you looking for? Shared? Dedicated? I'm assuming you mean shared. I don't have any particular recommendations, but if you goto www.webhostingtalk.com (forum dedicated to web hosting) you will get A LOT of feedback from different people and their experiences with different ho

Re: [PHP] php hosting

2001-10-20 Thread Michael J. Seely
HI - I've been using http://www.tierranet.com/services/ for several years. Good tech support. Lots of extras. >Anybody know of good reliable hosting that supports >php, and has a control panel to go with it? >thanks, >Heidi > >= >Heidi Belal >ICQ# 32127109 > >A bus stops at a bus station. >

RE: [PHP] php hosting

2001-10-20 Thread Chris Bailey
I was on Hurricane Electric for a very short while. They have great facilities and such, but their pricing can be much higher than others depending on your setup. I'm now using Pro Hosters (www.prohosters.com). The differences I found important were: - HE requires you to have a separate account

Re: [PHP] php hosting

2001-10-20 Thread Michael A. Peters
On Sat, 20 Oct 2001 11:29:19 -0700 (PDT) Heidi Belal <[EMAIL PROTECTED]> wrote: > Anybody know of good reliable hosting that supports > php, and has a control panel to go with it? Don't know what you mean by a control panel, but http://he.com/ is an excellent host. Very inexpensive, and you get

RE: [PHP] How do i retrieve the records that are NOT linked?

2001-10-20 Thread Simon Kimber
> if i understand you correctly, perhaps this: > > select * from categories a,category_user_rights b where a.name!=b.username; > > jack When i do something like that I get loads of duplicate records including the ones that should be there! so if i do a group the result just looks like i've selec

[PHP] Re: IRC Channel

2001-10-20 Thread Henrik Hansen
[EMAIL PROTECTED] (Chip Landwehr) wrote: > Is there a PHP IRC channel? #php on most networks -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-

php-general Digest 20 Oct 2001 20:32:09 -0000 Issue 946

2001-10-20 Thread php-general-digest-help
php-general Digest 20 Oct 2001 20:32:09 - Issue 946 Topics (messages 71674 through 71702): PHP and Unicode 71674 by: indrek siitan 71676 by: indrek siitan Re: Re:Date->TimeStamp 71675 by: James, Yz 71677 by: Daniel Harik XSLT error functions 71678 b

RE: [PHP] How do i retrieve the records that are NOT linked?

2001-10-20 Thread Jack Dempsey
if i understand you correctly, perhaps this: select * from categories a,category_user_rights b where a.name!=b.username; jack "categories" contains: ID, parent_ID, name "users" contains: username, password, name, etc "category_user_r

[PHP] How do i retrieve the records that are NOT linked?

2001-10-20 Thread Simon Kimber
Hi All, Are there any MySQL "gurus" who can help me solve this problem? I have three tables... users, categories and category_user_rights "categories" contains: ID, parent_ID, name "users" contains: username, password, name, etc

RE: [PHP] Re: strip HTML

2001-10-20 Thread Jack Dempsey
once you get the data in your update.php file, do this $stripped = strip_tags($data_field_name); you can also specifiy tags to be left in.read the website page for more info jack -Original Message- From: Gary [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 20, 2001 3:49 PM To: [E

[PHP] Re: XSLT error functions

2001-10-20 Thread Christian Stocker
In <[EMAIL PROTECTED]>, Vikram Vaswani wrote: > Hi all, > > Am working with the XSLT functions in PHP. I'm trying to trap errors > with the xslt_error() functions - however, the function generates no > output even if I deliberately introduce errors into the XSLT sheet. > > Same goes for the ope

[PHP] Re: strip HTML

2001-10-20 Thread Gary
Thanks James: I had figured that part out (should of said so). What is happening is a form is passing the stuff to another page that does the DB UPDATE. The form action is . Where I am lost is where to put the strip_tags() like action=strip_tages("update.php"); Gary Yz James wrote: > T

[PHP] php hosting

2001-10-20 Thread Heidi Belal
Anybody know of good reliable hosting that supports php, and has a control panel to go with it? thanks, Heidi = Heidi Belal ICQ# 32127109 A bus stops at a bus station. A train stops at a train station. On my desk I have a work station... __ D

Re: [PHP] Can I have If...Else inside a For Loop???

2001-10-20 Thread Brad Melendy
H. dunno about that. It's returning the results I'd expect as it is now. If I pass a string with characters that don't match the IF's criteria, I'm getting the ELSE statement's results. Thanks though. Brad "~~~I Leonid ~~" <[EMAIL PROTECTED]> wrote in message 3bd15547.14743496@loc

[PHP] Re: strip HTML

2001-10-20 Thread James, Yz
The easiest way would be to use strip_tags(), though you could craft your own regular expression. http://www.php.net/strip_tags James "Gary" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello All, > How would I strip all HTML before the info in inserted

Re: [PHP] Re-send (Download the whole directory using PHP)

2001-10-20 Thread Dave Goodrich
If you mean use PHP to download a directory of your choosing... You could send the url to wget or lynx. This would make it easy to pass flags as well such as dir level to get, follow links, recursive Y/N, etc. Never done it but I think exec is what you want. DAve On Sun, Oct 21, 2001 at 12:

[PHP] Posted this a few day ago, really need help :S (arrays)

2001-10-20 Thread Roy van Pelt
Hello there... The problem is that I can only add one value into the array... Anyone knows what I'm doing wrong here(First project by the way!!) = '', 'pname' => '', 'pqty' => '')); $nrItems = 0; } // Get variables from products.php $pro

[PHP] Re: [PHP-INST] Re: [PHP] PHP/CGI problem: #!/path/php at top of CGI script appears in output

2001-10-20 Thread Stefan Siefert
Hi @all.. I'm not sure if this can fix (or explain) your problem (cause I didn't tried it in lack of time) but theoretical it could be :). I think you only need the #!/usr/local/bin/php if you would like to run scripts from the bash, or as a "real" cgi. But I think, there could be another soluti

[PHP] strip HTML

2001-10-20 Thread Gary
Hello All, How would I strip all HTML before the info in inserted to MySQL? The info is sent with a form. We Have one person that insist on using HTML. TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

Re: [PHP] Re-send (Download the whole directory using PHP)

2001-10-20 Thread Christopher William Wesley
On Sun, 21 Oct 2001, Mark Lo wrote: > I have been asking this for so many times, and I never get a reply > for this !!! Please help me. I would like to know how to download the > whole directory using PHP. Can anyone supply me some sources code for this. I see a few reasons why you w

RE: [PHP] Desparate... rebuild gone wrong

2001-10-20 Thread php
Sorry, wrong list -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re-send (Download the whole directory using PHP)

2001-10-20 Thread Mark Lo
Hi Sir, I have been asking this for so many times, and I never get a reply for this !!! Please help me. I would like to know how to download the whole directory using PHP. Can anyone supply me some sources code for this. I am greatly appreciate for your help. Best Regards,

[PHP] Desparate... rebuild gone wrong

2001-10-20 Thread php
Hi, I have been toying with my php builds (on linux), and upgraded my mcrypt library and subsequently killed php. make[1]: Entering directory `/usr/src/1/php4/Zend' /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -I../TSRM -g -O2 -prefer-non-pic -s tatic -c

Re: [PHP] Can I have If...Else inside a For Loop???

2001-10-20 Thread ~~~i LeoNid ~~
On Fri, 19 Oct 2001 21:46:29 -0700 impersonator of [EMAIL PROTECTED] (Brad Melendy) planted &I saw in php.general: >arrh! I don't think I can say much else. Thanks so >much for pointing that out David. ;-) > >.Brad > > >"David Pearson" <[EMAIL PROTECTED]> wrote in mess

Re: [PHP] PHP/CGI problem: #!/path/php at top of CGI script appears in output

2001-10-20 Thread Dave Goodrich
It's not you. I just built a bare cgi version of php, nothing but './configure' and got the same result. I used this simple script to be sure I was in fact running the cgi binary and it showed I was. info.cgi #!/usr/local/bin/php I got the correct info page, but with the #!/usr/local/bin/php a

[PHP] Upgrade problems php3 - php4

2001-10-20 Thread sgibbs
Our ISP is trying to upgrade php and mysql versions on our website. The current site works fine using MySQL 3.22.20a and PHP3. We are able to upload, modify and create new database records with no problem using webforms to enter test and html. Now that we are trying to upgrade to MySQL 3.23.36

[PHP] auth-loginform will not be parsed ?

2001-10-20 Thread Ronald Weinrich
Hello All I try to implement a authsystem like. 1.) in php.ini I call prepend.php to initial db_mysql.inc ct_sql.inc session.inc auth.inc perm.inc user.inc local.inc.php page.inc.php 2.) in local.inc.php I have the class My_Auth where I create a $tpl new EasyTemplate("loginform.inc.php") in the

[PHP] PHP/CGI problem: #!/path/php at top of CGI script appears in output

2001-10-20 Thread Philippe
Hi, I'll synthetize the problem with the response I have givven to Curt. I've FreeBSD 4.2/Apache 1.3.9/PHP 4.0.6 I've installed PHP in Apache, it works very well I need to have too PHP 4.0.6 in CGI mode (With Suexec but I don't think it's the problem) but I've a problem. In CGI mode, the path

Re: [PHP] Re: Annotated PHP Manual

2001-10-20 Thread DL Neil
> Khalid Hazmi wrote: > > How I can download the current Annotated PHP Manual??? > There is no such thing... AFAIK. => Yasuo Ohgaki Yasuo: Yes there is (and VERY useful it is too), check out the range of PHP documentation available from http://www.php.net/docs.php Khalid: Unlike some other p

[PHP] Re: Expat o DOM?

2001-10-20 Thread Daniele Baroncelli
Sorry, for this message in Italian. It should have been addressed to the Italian Php newsgoup. Daniele "Daniele Baroncelli" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Salve, > > Vorrei cominciare il nuovo sviluppo del mio sito in XML. > > C'e' qualcuno

[PHP] XML: Expat o DOM?

2001-10-20 Thread Daniele Baroncelli
Salve, Vorrei cominciare il nuovo sviluppo del mio sito in XML. C'e' qualcuno che mi sa dire la reale differenza in velocita' tra i parser Expat e DOM? Inoltre, e' davvero rischioso sviluppare in DOM, considerando che il modulo e' sperimentale e in teoria potrebbe cambiare? Saluti Daniele

[PHP] XSLT error functions

2001-10-20 Thread Vikram Vaswani
Hi all, Am working with the XSLT functions in PHP. I'm trying to trap errors with the xslt_error() functions - however, the function generates no output even if I deliberately introduce errors into the XSLT sheet. Same goes for the openlog() function. Any one have any ideas how I can use these t

Re: [PHP] Re: Re:Date->TimeStamp

2001-10-20 Thread Daniel Harik
Thank You -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] PHP and Unicode

2001-10-20 Thread indrek siitan
Hi, > has anyone seen any Unicode support routines available anywhere for PHP? disregard the question. found iconv support right after sending this mail :) Rgds, Indrek -- For technical support contracts, goto https://order.mysql.com/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /

[PHP] Re: Re:Date->TimeStamp

2001-10-20 Thread James, Yz
Hi Daniel, Try this: Should work ok. James "Daniel Harik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I've tried this code: > > $timea = explode(" ",$timepostsed); > $timea1 = explode("-",$timea[0]); > $timea2 = explode(":",$timea[1]); > $timestamp = >

[PHP] PHP and Unicode

2001-10-20 Thread indrek siitan
Hi, has anyone seen any Unicode support routines available anywhere for PHP? the manual only documents utf8_encode() and utf8_decode(), that by the documentation convert ISO-8859-1 strings to UTF8 and back. but i also need support for other codepages (ISO-8859-*, KOI8-R and others). I only need

Re: [PHP] IRC Channel

2001-10-20 Thread speedboy
> Is there a PHP IRC channel? efnet (http://www.irchelp.org/irchelp/networks/efnet.txt) The channel is #php Run by a bunch of children though *troll bait away* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] XML: Expat or DOM?

2001-10-20 Thread Tamas Arpad
On Saturday 20 October 2001 02:35, you wrote: > Hi guys, > > Also, is it really risky to develop in DOM, considering the module > is experimental, and in theory it could change ? We are working with dom for about a year. Our project depends on it, so I hope it won't change much :)) By the way we