RE: [PHP] Mailling Lists

2001-12-26 Thread Mark Charette
> -Original Message- > From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 26, 2001 11:16 PM > To: Ben Clumeck > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Mailling Lists > > > I'm really unable to discuss the mailing-list topic because I > have nil expertise >

[PHP] Login and select Query in Mysql

2001-12-26 Thread Jack
Dear all I want to provide a login page to the user when they want to visit my website, i got no idea what should i used. First i have a login.php page which got two input box, one for username and one for password. Then i have a login table with mysql database which contain the valid user and pas

[PHP] Re: installing php with apache rpm???

2001-12-26 Thread Fred
This guy has some great modular php rpms that will do the trick: http://rpms.arvin.dk/php/ Fred Duane Douglas <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hello, > > i have an apache rpm installed. stuff will break if i uninstall it. how > do i install ph

[PHP] installing php with apache rpm???

2001-12-26 Thread Duane Douglas
hello, i have an apache rpm installed. stuff will break if i uninstall it. how do i install php to work with it? tia Duane Douglas ASP / SQL Server Tutoring and Training -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: [PHP] Mailling Lists

2001-12-26 Thread Bogdan Stancescu
I'm really unable to discuss the mailing-list topic because I have nil expertise in this field (apart from using them, that is). However, I'd strongly advise you to use something based on some kind of database system, because alternate methods of storing data (i.e. plain text files) are crippled f

Re: [PHP] Mailling Lists

2001-12-26 Thread Gerard Onorato
Ben, These aren't pure PHP however if you are using qmail I would tell you to take a look at ezmlm (http://www.ezmlm.org/) and if your using sendmail you may want to try majordomo (http://www.ualberta.ca/CNS/MAJORDOMO/). If your using something else... well I honestly have no clue. :) Gerard

Re: [PHP] Mailling Lists

2001-12-26 Thread Miles Thompson
Why not a traditional mailing list manager like mailman? Miles Thompson On Thursday 27 December 2001 12:50 am, Ben Clumeck wrote: > I am creating a mail list and need something that does not require MySQL or > any other databases is there a good one? What is the best one even if > it's with M

[PHP] Mailling Lists

2001-12-26 Thread Ben Clumeck
I am creating a mail list and need something that does not require MySQL or any other databases is there a good one? What is the best one even if it's with MySQL? Thanks, Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] Warning: Cannot send session cookie

2001-12-26 Thread Jim Lucas [php]
take the closing php tag from the end of the first line plus the openning tag from the begining of the second line. that is sending a line feed to the browser. Jim - Original Message - From: "David Jackson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 26, 2001 5:5

[PHP] Re: fsockopen nntp stalls

2001-12-26 Thread David
hmm, does it work with smaller newsgroups? such as php\'s one which have ~30 groups. when i wrote my own reader (using fsockopen also), i found that stalls are usually because of my own error(eg, article not found, etc) you can take a peek at jim winstead\'s code from http://lists.php.net/snap

Re: [PHP] Supplied argument is not a valid PostgreSQL result resource

2001-12-26 Thread Jimmy
Hi James, > I've been getting the following error: > Warning: Supplied argument is not a valid PostgreSQL > result resource in dbasefunctions.php on line 87 that's because your SQL query return nothing, but you try to fetch a row. -- Jimmy Live for Love, for without

Re: [PHP] fsockopen nntp stalls

2001-12-26 Thread Fred
Good suggestion, in fact I just recompiled to include the IMAP extensions for just that purpose. Unfortunately, I was unable to get a decent understanding of how to use the IMAP extensions with NNTP, and since I have implemented connection level NNTP sessions in a number of languages I thought it

Re: [PHP] fsockopen nntp stalls

2001-12-26 Thread Rasmus Lerdorf
Why not just use the imap extension which supports the NNTP protocol natively? On Wed, 26 Dec 2001, Fred wrote: > I am attempting to use fsockopen to connect to a news server. I am able to > successfully connect and authenticate. In fact, I can issue many commands > without a hitch. > > I do

[PHP] fsockopen nntp stalls

2001-12-26 Thread Fred
I am attempting to use fsockopen to connect to a news server. I am able to successfully connect and authenticate. In fact, I can issue many commands without a hitch. I do, however, have a problem with commands which require multiline results. For instance, issuing the list command and echoing t

[PHP] Re: problems with urlencoding

2001-12-26 Thread Fred
Why not get rid of the stuff you do not need to send? Just send the client number and then add the Client like%% stuff on the other end. Fred <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > I try to send the content of a variable about the url to the ne

[PHP] Re: linux help

2001-12-26 Thread Fred
Some tips on asking for help: 1. ask in the right place (this is not it) 2. it does no good to say you received an error unless you put the error message in the post 3. research first...there are nearly 55,000 search results on this subject at google 4. combine steps 2 and 3...search for the erro

[PHP] Question

2001-12-26 Thread Gerard Onorato
Hello all, In an effort NOT to make this sound like spam I will be as vague as possible. My suite mates and I are trying to put together a conference (classes and exhibits) based around PHP and MYSQL. They are a very successful conference company and I am a lowly developer who the give out som

[PHP] problems with urlencoding

2001-12-26 Thread nachricht
Hi, I try to send the content of a variable about the url to the next php-page. The content of the variable is: Client like '%4022720893%' I have tried urlencode and urldecode, but this does not work If I put this variable to an url, I got always Client like '@22720893%' (depending from the number

Re: [PHP] Warning: Cannot send session cookie

2001-12-26 Thread Michael Sims
At 08:54 PM 12/26/2001 -0500, David Jackson wrote: >I'm trying use the script( and html page) to below to set session >variables, but >keep getting the follow errors: [...] > Browser Error Messages - >Warning: Cannot send session cookie - headers already sent by

[PHP] Warning: Cannot send session cookie

2001-12-26 Thread David Jackson
Greetings -- PHP + MySQL + sessions? I'm trying use the script( and html page) to below to set session variables, but keep getting the follow errors: NOTE: I seen several posting re: using $HTTP_SESSION_VAR is another case where that would apply? Thanks in advance, David Jackson

Re: [PHP] question regarding cookies

2001-12-26 Thread Erik Price
Miles, et al: I realized my problem today, with the cookies. While reading the voluminous setcookie() function description (meaning the user notes at the bottom), I came across a sample script that [EMAIL PROTECTED] had written to test to see if a browser is working with cookies correctly. I

[PHP] linux help

2001-12-26 Thread Melih Onvural
i know this isn't a linux newsgroup or listing, but i've seen configuration problems in the past so i was wondering if anyone could fix mine now. I have the server, ssl, php, mySql, the whole deal, but we have an Intel wireless network at home which, as it turns out, has only windows drivers. I f

RE: [PHP] mysql_escape_string

2001-12-26 Thread Richard Heyes
> How do I remove the slashes from mysql_escape_string when I pull the > string back out of the DB and want to display it? You don't need to. The escaping is only to ensure the query doesn't break. When it's in the db and when it's returned, it will not have the slashes. -- Richard Heyes "If you

Re: [PHP] mysql_escape_string

2001-12-26 Thread Jim Lucas [php]
where is the escaping happening first off? - Original Message - From: "phantom" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 26, 2001 2:02 PM Subject: [PHP] mysql_escape_string > How do I remove the slashes from mysql_escape_string when I pull the > string

[PHP] PHP 4.1.1 released (minor update)

2001-12-26 Thread Derick Rethans
Due to a few bugs in PHP 4.1.0, we decided to release PHP 4.1.1. The bugs that were fixed are not major ones but minor ones, which could be annoying if you get bitten by them. Our recommendation is that people who already upgraded to PHP 4.1.0 do *not* upgrade to PHP 4.1.1, unless they're exper

Re: [PHP] question regarding cookies

2001-12-26 Thread Erik Price
Good advice -- I hadn't thought of that (echoing right beneath the setcookie() function). But then i thought of something else... how can I echo text before the "" tag? So I put a third setcookie() function above the tag setcookie("foo", "echobar") hoping that this would be very simple --

[PHP] FreeType 2 on windows?

2001-12-26 Thread Brandon Orther
How do I get FreeType 2 installed on my WIndowsXP box? Anyone know of web site with a tutorial? Thanks Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

php-general Digest 26 Dec 2001 22:03:18 -0000 Issue 1075

2001-12-26 Thread php-general-digest-help
php-general Digest 26 Dec 2001 22:03:18 - Issue 1075 Topics (messages 78763 through 78795): PDF 78763 by: Chamarty Prasanna Kumar 78792 by: Brian Clark Re: SSI 78764 by: Alexander Skwar Re: PHP software tool 78765 by: Alexander Skwar page3 will not work

[PHP] mysql_escape_string

2001-12-26 Thread phantom
How do I remove the slashes from mysql_escape_string when I pull the string back out of the DB and want to display it? -- 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] question regarding cookies

2001-12-26 Thread Miles Thompson
Erik, 1. Did you just try setting a cookie, plain, with no conditions. 2. Have you tested your conditions, or added a test, equivalent to what you do when you set the cookie? In other words, change setcookie to this if ($type_sel) { setcookie("font[type]", $type_sel, time()+3600) ;

Re: [PHP] PDF

2001-12-26 Thread Brian Clark
* Chamarty Prasanna Kumar ([EMAIL PROTECTED]) [Dec 26. 2001 05:09]: > > Hi All, > >Want to create PDF files using PHP Check out libpdf Read the Introduction. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6

Re: [PHP] gd_installation......................... :(

2001-12-26 Thread Brian Clark
* EMIN CALIKLI ([EMAIL PROTECTED]) [Dec 26. 2001 01:58]: > Hi Brian , > I don't have any file like ph_gd.dll . In your original message, you wrote: "I configured php 4.0.6 to run on IIS4.0 but I can 't load ph_gd.dll extension . I can use other extensions succesfully (like php_mssql.dll ,php_p

Re: [PHP] question regarding cookies

2001-12-26 Thread Miles Thompson
Erik What code are you using to set your cookie? Are you certain the expiry date is in the future? What browser are you using? There are notes in the online manual (www.php.net/setcookie()) regarding IE. Miles On Wednesday 26 December 2001 04:01 pm, Erik Price wrote: > Hello, > > I am having

[PHP] question regarding cookies

2001-12-26 Thread Erik Price
Hello, I am having a problem testing out the use of cookies. I'm using a tutorial from Wrox's "Beginning PHP4". It seems that I'm doing everything correctly, but when I try to access the page in my browser, I am not prompted as to whether or not I'd like to accept a cookie (which is somethi

[PHP] Re: Store Image in Access Database

2001-12-26 Thread Manuel Lemos
Hello, Mike Baranski wrote: > > Hi, I'm trying to store a binary file in an access database, I'm using an ole > type, and I think that it's getting inserted OK. My problem is that I don't > know how to pull it out... How do you select the stuff that's in an ole > object out of the database and

[PHP] Store Image in Access Database

2001-12-26 Thread Mike Baranski
Hi, I'm trying to store a binary file in an access database, I'm using an ole type, and I think that it's getting inserted OK. My problem is that I don't know how to pull it out... How do you select the stuff that's in an ole object out of the database and display it, a jpg, for example. I ca

Re: [PHP] Show only few words that var contains

2001-12-26 Thread Gerard Onorato
Daniel, Here is a rather inelegant way to do this. I am sure there is a better way and I would love for someone to point it out to us. This function simply pulls out the first N words using the space as a delimiter. function firstN($string, $N) { // remove all double and more spaces

[PHP] PHP 4.1.0 uses much RAM compiled --with-mm

2001-12-26 Thread Markus Mayer
Hi, I'm experiencing strange PHP memory usage on a Sun SPARC machine running Solaris 8: I when I compile PHP 4.1.0 --with-mm to store session variables in memory the resulting Apache (1.3.22) process(es) immediately uses 138 MB of RAM. One can also observe an immediate significant reduction of a

RE: [PHP] Upload file problems on Win 2K

2001-12-26 Thread Alok K. Dhir
It'd be simpler to help if you posted the releveant portions of the INI files and code... > -Original Message- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]. > net] On Behalf Of Mike Baranski > Sent: Wednesday, December 26, 2001 10:19 AM > To: [EMAIL PROTECTED] > Subject: [PHP

[PHP] Show only few words that var contains

2001-12-26 Thread Daniel Harik
Hello guys, sorry for spamming with questions today, i have varuable called $intro, it's stores pretty big story, but i want to display say 10 first words. Thank You very much -- Best regards, Daniel mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://w

[PHP] Re: page expired

2001-12-26 Thread Fred
This has nothing to do with mysql or sessions. Your form is sent using the POST method. For security reasons, browsers (by default) will not resend POST information to a page when you hit the back button. Fred Php Guy <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTE

Re[2]: [PHP] Display output in 2 colomns

2001-12-26 Thread Daniel Harik
Hello akul, Wednesday, December 26, 2001, 5:50:29 PM, you wrote: aoc> Hello Daniel, aoc> Tuesday, December 25, 2001, 5:09:05 PM, you wrote: DH>> Hello guys DH>> I have following code, it splits 1 array into 2(to make 2 colomns DH>> out of 1) and then displays it, but for some reason it only d

Re: [PHP] 4.10 New Vars Question

2001-12-26 Thread Edward Marczak
On 12/26/01 1:39 AM, "Philip Olson" <[EMAIL PROTECTED]> wrote: >> hmm, now that i\'m trying to program with register_globals=off, what >> is the new $HTTP_SESSION_VARS? > > $HTTP_SESSION_VARS works, as will $_SESSION (after 4.1.0). These > "special" PHP variables are described in the manual: [

RE: [PHP] Most secure way to send a password

2001-12-26 Thread Brinkman, Theodore
The in-between hacker who catches the encoded password would gain the same access if the JavaScript hashing function wasn't there. However the server expects the password, he'd have gotten that form of it by sniffing that set of packets. On the other hand, he wouldn't have your plain-text passwo

[PHP] Upload file problems on Win 2K

2001-12-26 Thread Mike Baranski
Hi, I'm trying to fix upload file problems on Win 2K server. I've got the allow directive set to on in the PHP.ini file, and the permissions set to give everyone full access on the directory specified in the ini file. The file never shows up. I'm using code identical to working code for a li

Re: [PHP] One good thing about $_SESSION

2001-12-26 Thread Julio Nobrega Trabalhando
Yes, but I just thought of doing this way when porting :-)) PS: (Not 100% true, there's the question of $_SESSION being global now. Makes life easier too :-)) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP General Mailing List (http://www.php.net/) To

[PHP] Display output in 2 colomns

2001-12-26 Thread Daniel Harik
Hello guys I have following code, it splits 1 array into 2(to make 2 colomns out of 1) and then displays it, but for some reason it only displayes 1 array not second $i=0; $this->query( "select * from topics"); while($this->fetchRow()){ $array[$i] = $this->record["name"]; $i++;

Re: [PHP] One good thing about $_SESSION

2001-12-26 Thread Michael Sims
At 11:59 AM 12/26/2001 -0200, Julio Nobrega Trabalhando wrote: > Is that while porting a script to PHP 4.1.0, where I used to check: > >if (session_is_registered('del_power') && $del_power == 1) { > // del stuff >} > > Because $del_power could be registered as 1 or 0, now I can do: > >if (

[PHP] One good thing about $_SESSION

2001-12-26 Thread Julio Nobrega Trabalhando
Is that while porting a script to PHP 4.1.0, where I used to check: if (session_is_registered('del_power') && $del_power == 1) { // del stuff } Because $del_power could be registered as 1 or 0, now I can do: if ($_SESSION['del_power'] == 1) { // del stuff } Nice. Less typing and

[PHP] 3 column by n rows table

2001-12-26 Thread Rodrigo Peres
Hi list, I have a script that grab data from mysql and generate a table order by name and with images at the beggining of each new letter, something like a index. My problem is that I need to buil a table with 3 column by n row. The problem of creating the etc is ok! But I can't figure out how t

Re: [PHP] Sendemail appends domain to mail function

2001-12-26 Thread Alexander Skwar
So sprach »Peter« am 2001-12-21 um 18:48:13 +0800 : > How can I avoid this? By using a valid $from adress. It might also help to put the "adress" in <>, so: $from = ""; Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.is

Re: [PHP] Question about CREATE_FUNCTION

2001-12-26 Thread Alexander Skwar
So sprach »Andrey Hristov« am 2001-12-21 um 17:40:07 +0200 : > $test='htmlspecialchars'; > echo $test(''); > ?> > > Produces : > > Ah, I thought you did disagree. Whatever. I misunderstood you, sorry about that. Alexander Skwar -- How to quote: http://learn.to/quote (german) http:

Re: [PHP] Question about CREATE_FUNCTION

2001-12-26 Thread Alexander Skwar
So sprach »Andrey Hristov« am 2001-12-21 um 15:52:35 +0200 : > Nope > $test(); Please explain! Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.iso-top.de | Jabber: [EMAIL PROTECTED] iso-top.de - Die günstige A

[PHP] Re: 4.10 New Vars Question

2001-12-26 Thread LaserJetter
There's some info in the release notes for 4.1.0 "Edward Marczak" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello! > > Two items in the new 4.10 change-log caught my attention: > > *Introduced a new $_REQUEST array, which includes any GET, POST or >

[PHP] mysql_select_db doesn't change db on expected link, bug?

2001-12-26 Thread Jean-Pierre Arneodo
The function mysql_select_db set the db for one or for all link identifiers? The table my_table is in db1 but the active database seems to be test on link #8. Here the result with PHP 4.1.0 and MySQL 3.23.41-log: mysql_pconnect() id1=Resource id #8 mysql_select_db(db1,Resource id #8) mysql_pcon

[PHP] page expired

2001-12-26 Thread php_guy
Hi, I have problem in that my webpage in which I use sessions and MySql gives a "warning paged expired" error when the user presses "back" button on the browser. Basically, the function of the webpages will be to store user enquiries in the Mysql database until the user presses a "send email enq

[PHP] page3 will not work

2001-12-26 Thread Jan Grafström
Hi! I am trying to get my script working on IE6 with cookies disabled by the user. You can turn cookies off under Properties >>Securitysettings. Page2 is no problem but when going from a form and send sid as a hidden var doesen´t work. Is there any way to work around this? page1.php: To continue,

Re: [PHP] PHP software tool

2001-12-26 Thread Alexander Skwar
So sprach »LaserJetter« am 2001-12-22 um 18:46:46 - : > Does anybody know of or can recommend any freeware text editing tools for > editing PHP code in Win32? vim Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.iso-to

Re: [PHP] SSI

2001-12-26 Thread Alexander Skwar
So sprach »[EMAIL PROTECTED]« am 2001-12-21 um 15:12:54 -0800 : > if you have a PHP page and you want to use SSI in it... is there a special > method? Yes - scrap it. It's neither senseful nor possible. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (engli

[PHP] PDF

2001-12-26 Thread Chamarty Prasanna Kumar
--- Begin Message --- Hi All, Want to create PDF files using PHP from file formats, .eps .ps .doc .ppt .xls .html Can you please suggest a way to do it. Thanks in Advance. Regards, Kumar. -- PHP General Mailing List (http://www.php.net

php-general Digest 26 Dec 2001 09:55:50 -0000 Issue 1074

2001-12-26 Thread php-general-digest-help
php-general Digest 26 Dec 2001 09:55:50 - Issue 1074 Topics (messages 78731 through 78762): phpbb and ikonboard forum scripts 78731 by: Indera 78734 by: LaserJetter 78737 by: Jeff Lewis 78741 by: Indera 78742 by: Indera Re: [PHP-WIN] Site running fro

RE: [PHP] Hosting advise

2001-12-26 Thread Stephano Mariani
> http://www.aletiahosting.com/ No idea! > http://www.cobaltconnection.com/ Likewise! > http://www.primemaster.com/index2.html This is one to avoidat all costs!! Stephano Mariani -Original Message- From: Indera [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 25 December 2001 10:3 To: [