[PHP] Re: PDF Generator

2001-11-02 Thread Henrik Hansen
[EMAIL PROTECTED] (Krushna Kumar) wrote: > Hi, > > Can someone help me on how i could generate or create a pdf file an fill contents php.net/pdf I would recommend you to take a look at this lib for creating pdf's it's way easier than doing it 'by hand' yourself. http://sourceforge.net/projec

[PHP] mysql:fixing gaps in id-key fields

2001-11-02 Thread Tom Churm
hi, it happens to me quite often that after testing a mysql table or after deleting several rows that there are gaps in the numeration of my 'id field' (key). i always use the same field type for my 'id field:' id int(255) unsigned NOT NULL auto_increment, what is the best way to quickly correc

RE: [PHP] mySQL problem

2001-11-02 Thread Dimitris Kossikidis
Try this $Query = "SELECT UCASE(Company) as company, Icons, ID, LogoD FROM feComps"; List ( $company, $icons, etc ) = mysql_fetch_row( ); > -Original Message- > From: Niklas Lamp&igr;n [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 02, 2001 10:22 AM > To: Php-General > Subj

RE: [PHP] mySQL problem

2001-11-02 Thread Dimitris Kossikidis
Try this $Query = "SELECT UCASE(Company) as company, Icons, ID, LogoD FROM feComps"; List ( $company, $icons, etc ) = mysql_fetch_row( ); > -Original Message- > From: Niklas Lamp&igr;n [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 02, 2001 10:22 AM > To: Php-General > Subj

Re: [PHP] Re: Can you AUTO "Post/Submit" on a mixed HTML/PHP form

2001-11-02 Thread Arf
I will give it a go and get back.. -- 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] sending email to php script

2001-11-02 Thread Chris Allen
>"I think someone electrified the corridor," Tom said haltingly. ^^ shouldnt that be "shockingly"? :p -- 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-m

Re: [PHP] Problem with date_format() in indirect MySQL query...

2001-11-02 Thread Ryan Fischer
Mark Roedel wrote: > Perhaps a quick re-read of the date_format() section of > http://www.mysql.com/doc/D/a/Date_and_time_functions.html > is in order? (Hint: the % characters mean something.) Thank you very much! That's odd ... in previous scripts I've written there wasn't a need for the % cha

Re: [PHP] sending email to php script

2001-11-02 Thread Adrian D'Costa
On Fri, 2 Nov 2001, David Robley wrote: > > > > What if we need both version?? > > > > > > There's nothing stopping you running both. > > > > How do you compile it for both? > > > > Adrian > > To do the cgi compile, use all the configure values you need EXCEPT > anything apache related. The com

[PHP] File to Download gets requestet twice

2001-11-02 Thread Stefan Rusterholz
I have a small but serious problem: In a webproject of mine a user can select a link to get a compressed archive of files. The system works in this order: 1 -User clicks the link "download all" 2 ->PHP generates the ZIP-compressed file and presents the user the next website with a link "File Arc

RE: [PHP] mySQL problem

2001-11-02 Thread Niklas Lampén
"SELECT UCASE(Company) AS Company" works great, thanks! Niklas -Original Message- From: Dimitris Kossikidis [mailto:[EMAIL PROTECTED]] Sent: 2. marraskuuta 2001 11:11 To: 'Niklas Lamp¨¦n' Cc: PHP General Subject: RE: [PHP] mySQL problem Try this $Query = "SELECT UCASE(Company)

Re: [PHP] Asian fonts

2001-11-02 Thread speedboy
> Any idea how to use (install) asian fonts on an > english version of RH? I need them in the gd > library, to generate an image with chinese/japanese > text. Configure php with the following: --with-gd=/tmp/www/gd-2.0.1 --with-freetype-dir=/usr/local/include/freetype2 --enable-gd-imgstrttf T

[PHP] creating PDF file using PHP

2001-11-02 Thread Krushna Kumar
Hi, Can someone help me on how i could generate or create a pdf file an fill contents, i heard i need a pdf library file installed, I am using windows98, PWS, how do i install the libraries. Rgds Krushna Kumar

[PHP] comments

2001-11-02 Thread Nikola Karović
hi, on my web site i have an option that user can add their comments about my articles. I have table articles, and table comments. On table comments column unique id (auto increment) and articleid. It displays them and sort coments by unique id. When i delete eg. comment number 4, next comment is

[PHP] PHP Highlighting Text Editors

2001-11-02 Thread TD - Sales International Holland B.V.
Hey there, these are the editors given by you guys, thanks for the replies. If somebody could put this online on php.net it would be great. If you have anything to add please feel free to email me. Windows UltraEdit ActiveState Komodo EditPlus HTML-Kit Homesite Linux/Unix Nedit (x)emacs

Re: [PHP] PHP Highlighting Text Editors

2001-11-02 Thread Thomas Buck
There's vim/gvim for Windows and Mac. Personally I use gvim 6 on Windows Thomas. >these are the editors given by you guys, thanks for the replies. If somebody >could put this online on php.net it would be great. If you have anything to >add please feel free to email me. > >Windows > >UltraEd

[PHP] Hotel booking/managment system?

2001-11-02 Thread Daniel Alsén
Hi, does anyone have the script that is supposed to be stored at http://hrs.rics.ru/? Or does anyone know of any other hotel booking system or a similar script in php? I am mainly interested in the concept of the system. Database relations and buildup. Regards # Daniel Alsén| www.mindbash.c

[PHP] how to make IE show client side JavaScript output?

2001-11-02 Thread Moloko
interesting one here for y'all if you use client side JavaScript to write HTML to the browser, eg Hello world!'); then look at the page source from IE, the page source will show you exactly what I've typed above, whereas if you view the page source from Netscape 4.7, it shows this in the so

Re: [PHP] PHP Highlighting Text Editors

2001-11-02 Thread Stefan Rusterholz
For UltraEdit I have edited the words file a bit and added PHP as language so that it highlights PHP commands as well. (I haven't included all commands, but a lot) Just if someone is interested, he/she can send me an email with subject "UltraEdit Wordfile" :-) Stefan Rusterholz, [EMAIL PROTECTED

Re: [PHP] Re: Problem with non us caracters and "strtr"

2001-11-02 Thread Rodrigo Peres
I've tried the recode(), but I think I didn't uderstand it's functionality, since nothing happens. can someone has an idea in how to convert for example a string posted by a form in this format "são paulo" to this "sao paulo"?? Does anyone knows how Macintosh's browsers send this special caractere

[PHP] a big thank you

2001-11-02 Thread Scott
A big thank you to everyone with the help on the ftp module. I was able to finish my project in a few days and my boss thinks I am a hero. Of course he thinks I am using perl too. :) -Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

[PHP] Redirect use back after execution

2001-11-02 Thread Daniel Harik
Hello I'm making vbulletin foru hack, that allows to rate members my code is just 50 lines, I set link to my script from vBulletin page, and after it has been clicked code executes, and then i want to return user to the page where he clicked the link leading to my code, i was wondering how can th

[PHP] Re: Redirect use back after execution

2001-11-02 Thread Henrik Hansen
[EMAIL PROTECTED] (Daniel Harik) wrote: > Hello > I'm making vbulletin foru hack, that allows to rate members > > my code is just 50 lines, I set link to my script from vBulletin page, > and after it has been clicked code executes, and then i want to return > user to the page where he clicke

[PHP] Re: creating PDF file using PHP

2001-11-02 Thread Henrik Hansen
[EMAIL PROTECTED] (Krushna Kumar) wrote: > Hi, > > Can someone help me on how i could generate or create a pdf file an > fill contents, i heard i need a pdf library file installed, I am using > windows98, PWS, how do i install the libraries. download a dll from phplib.com and enable it in ph

[PHP] mysql table information

2001-11-02 Thread Justin French
hi, i was wondering if anyone has some sample code / links which could help me generate HTML forms dynamically from the fields/types/lengths of tables in a mySQL database. ie, if i had a three column table with first (varchar 50), last (varchar 80) & bio (medium text) as the columns, it'd be gre

Re: [PHP] Re: Problem with non us caracters and "strtr"

2001-11-02 Thread Stefan Rusterholz
I have little experience with this kind of problem. None of the Browsers I used under mac (IE 4 - 5 and sever NS 4.x) has sent the data different than Windows Browsers. But avoid the meta-tag charset. I had serious problems when the HTML-file where the form data came from had that tag set (but I d

[PHP] regular experssion help

2001-11-02 Thread Robert V. Zwink
I hope someone has time to help with a regular expression? I need a regex that will replace get variables, regardless of there location in a URL, and if the get var does not exist I hope that it will create the get var in the URL. Some examples $REQUEST_URI can look like this "value1": filena

[PHP] Mail() not sending mail..

2001-11-02 Thread Paul Mullett
Hello, Could be a simple problem, using PHP4 on a Linux/Unix Cobalt RaQ4 server. I have been using it fine, but the mail() function wont send mail, even with the most basic content and lack of headers. Can anyone offer any advise on what could be the problem, or any scripts I can use to test th

[PHP] Sessions & Header PROBLEM again!

2001-11-02 Thread Alessandro BOSSI
Why in these 3 linked page the var "count" does not go through the page if I have the browser sessions disabled??? Where is the mistake? I see the session_id, changing at every page! Someone can help me? Many thank Alessandro Bossi - > ".session_encode().""; ?>

Re: [PHP] mysql table information

2001-11-02 Thread Stefan Rusterholz
Take a look at that: http://www.mysql.com/doc/S/H/SHOW.html and http://www.mysql.com/doc/D/E/DESCRIBE.html I fear you have to parse necessary information out of a statment like this: $result = mysql_query("DESCRIBE yourTable"); $tabelDesc = mysql_fetch_array($result); I didn't spend any time che

Re: [PHP] Re: Problem with non us caracters and "strtr"

2001-11-02 Thread Rodrigo Peres
I need to transalte the chars because the system will create folder automatically, base in the name entered in this fields, so if it contains illegal chars Rodrigo on 11/2/01 11:10 AM, Stefan Rusterholz at [EMAIL PROTECTED] wrote: > I have little experience with this kind of problem. > No

[PHP] select+uploading multiple files

2001-11-02 Thread fitiux
Hi everybody! I'm new in the list. I'll help anybody if I can =) by now I have a little trouble ;-) I have to create a php page where users can upload many files the idea is that users could select many files by holding down the shift key... with this I can avoid to put many input tags in my

RE: [PHP] regular experssion help

2001-11-02 Thread Robert V. Zwink
Well, I think I found the solution. I changed the regex a bit, and added a condition. This should work, but if anyone has a better idea please let me know. function replace_get_var_value($string, $var, $new_value){ // substitute value $buffer = eregi_replace("([?|&]{1})$var=([

RE: [PHP] mySQL problem

2001-11-02 Thread Jon Snell
The issue here is that you aren't getting an index of "Company" from that query. It is probably stored under the index of "UCASE(Company)". Try: $Query = "SELECT UCASE(Company) as ucCompany, Icons, ID,..."; Then the ucCompany field will contain your capitalized company data. Jon -Origina

Re: [PHP] Re: Problem with non us caracters and "strtr"

2001-11-02 Thread pierre-yves
Hello, > can someone has an idea in how to convert for example > > a string posted by a form in this format "são paulo" to this "sao paulo"?? function remove_accents( $str ){ if( strlen( $str ) == 0 ) return $str; else $ret = strtr($str, "ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïðòóôõ

php-general Digest 2 Nov 2001 15:54:04 -0000 Issue 971

2001-11-02 Thread php-general-digest-help
php-general Digest 2 Nov 2001 15:54:04 - Issue 971 Topics (messages 73220 through 73272): simple array tutorial wanted 73220 by: Justin French 73221 by: Liz Fulghum 73222 by: Jack Dempsey 73225 by: Justin French 73233 by: Philip Olson Re: Can you AUT

RE: [PHP] PHP Highlighting Text Editors

2001-11-02 Thread Chris Bailey
Also, Visual SlickEdit works on Windows (in addition to Linux as mentioned), and FreeBSD, OS/390, and a slew of others. There is a list of editors out there somewhere, I know someone has posted a link before. There are many editors that do this. -Original Message- From: TD - Sales Inter

Re: [PHP] Sessions & Header PROBLEM again!

2001-11-02 Thread Steve Cayford
Don't know offhand what the problem is, but a couple thoughts: 1. Why are you using session_name(mysession) instead of session_name('mysession')? 2. Assuming you have register_globals on, you're trying to pass $count both as a session variable and a post variable. One of these is going to get

RE: [PHP] PHP Highlighting Text Editors

2001-11-02 Thread Johnson, Kirk
Here's a link http://www.itworks.demon.co.uk/phpeditors.htm Got this link at http://www.php.net/links.php#TOP. Kirk > -Original Message- > From: Chris Bailey [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 02, 2001 8:56 AM > To: TD - Sales International Holland B.V.; [EMAIL PROTECT

[PHP] Simulating POST with GET and Location:

2001-11-02 Thread Nathan Cassano
Hi list, Don't you just hate the way that the POST method makes browsers act some times? Expiring pages and asking you if you really want to reload this page. I have found a solution. Instead of relying on the POST method to protect pages from being accessed twice, I use GET and at the en

[PHP] dlls

2001-11-02 Thread Raidell Avello Martinez
hi everyone i'm working with php-IIS5.0 and php-apache in windows, but i have a dll isis_dll_php-4.0.6.dll and can't load it with function dl() in both servers, i receve thes warning: Warning: Unable to load dynamic library 'c:\php\isis_dll_php-4.0.6.dll' - The specified module could

Re: [PHP] Re: Problem with non us caracters and "strtr"

2001-11-02 Thread Rodrigo Peres
Py, I've tried your method but again, didn't work, here how the word "São Paulo" appears in the url with get method "S%E3o+Paulo" and the word "zé" "z%E9", maybe there's some clue here. I'm in a macintosh sys 9.1, IE5 all in english. Thank's in advance Rodrigo on 11/2/01 1:01 PM, pierre-yves

Re: [PHP] PHP Highlighting Text Editors

2001-11-02 Thread Mike Frazer
Try checking the PHP section of www.wdvl.com. There should be a list of software. Mike "Chris Bailey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Also, Visual SlickEdit works on Windows (in addition to Linux as mentioned), > and FreeBSD, OS/390, and a s

Re: [PHP] select+uploading multiple files

2001-11-02 Thread Shane Wright
Hi fitiux I'm sure the list will correct me if I'm wrong, but what you're talking about isnt possible, at least not in this way. This isn't a limitation of PHP - its a limitation of the HTML form element that handles the uploads. You could consider a client-side applet to achieve the result a

Re: [PHP] comments

2001-11-02 Thread Jason Stechschulte
On Fri, Nov 02, 2001 at 12:44:16PM +0100, Nikola Karovi? wrote: > on my web site i have an option that user can add their comments about my > articles. I have table articles, and table comments. On table comments > column unique id (auto increment) and articleid. It displays them and sort > coment

[PHP] How to get Usernames

2001-11-02 Thread lists
I have a setup where users can access their own pages using a /~username here account I need to put a PHP script in their directoies that will be able to tell me what their username is. I was thinking about $REQUEST_URI however if I go to /~username/dir/page it will return it all. all I want

[PHP] mail() - s/mime - certificates & PDFs

2001-11-02 Thread Miles Thompson
I'm asking here, because I don't know where to start A client has a subscription newsletter, presently circulated as a PDF mailed to subscribers. It's being circulated widely, but not paid for. Approach (a) for securing this is to email a link to subscribers. Each subscriber will have log

Re: [PHP] How to get Usernames

2001-11-02 Thread Shane Wright
Hi Michael How about explode()ing it using '/' as the seperator, then finding the element in the resulting array that begins with '~', strip that first character using substr() and bod's your uncle... I'd write the code but I've had a long day... Shane On Friday 02 November 2001 6:11 pm, [EM

Re: [PHP] How to get Usernames

2001-11-02 Thread lists
Ok, How do I do that? > Hi Michael > > How about explode()ing it using '/' as the seperator, then finding the > element in the resulting array that begins with '~', strip that first > character using substr() and bod's your uncle... > > I'd write the code but I've had a long day... > > Sha

Re: [PHP] simple array tutorial wanted

2001-11-02 Thread Mike Frazer
PHP is probably the best language around for "in-house" documentation. The online manual reads less like a technical manual and more like a tutorial. Learned PHP 2 years ago. The only resource I've ever used was the manual. Mike "Jack Dempsey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROT

Re: [PHP] select+uploading multiple files

2001-11-02 Thread fitiux
Hi Shane.. :-) thankyou for your help.. I was wondering myself about that.. and I surfed the net for many days just searching for a solution... but now I know what it is the limitation.. thanks again. =) I think as you say.. consider a client-side applet. best regards from Chile --Patricio

[PHP] How to use Clibpdf

2001-11-02 Thread Carlo Loiudice
I'm trying to install Clibpdf, but when I compile the source code, It doesn't seem to be a .so library. So when I say in php.ini to load the extension, it give me an error. Ciao __ Abbonati a Yahoo! ADSL con Atlanet! Naviga su I

[PHP] Questions about php.ini

2001-11-02 Thread jennyw
I've signed up with a dedicated Web host that has PHP installed. The weird thing is that there is no php.ini anywhere. Is the file optional? Everything seems to be behaving okay. I have several Web sites that I'm setting up. Is it possible to use different php.ini files for each Web site? I'm usi

[PHP] Cookies won't stick

2001-11-02 Thread jennyw
For some reason, when I tried using setcookie(), cookies wouldn't stick around. When I added an expiration time, cookies started sticking around, but ... I thought that if you didn't provide an expiration they were supposed to stick around indefinitely? Thanks! Jen -- PHP General Mailing L

Re: [PHP] LINE BREAK HELL

2001-11-02 Thread John Steele
Hello René, The problem is the implode() function call (you are telling it concatenate all of the lines into one). This is not tested, but try replacing: > $fcontents_string = implode('', $fcontents); > > $fp = fopen($name.".db", "w+"); > fwrite($fp,$fcontents_string); with: for ($i=0; $

RE: [PHP] Cookies won't stick

2001-11-02 Thread Johnson, Kirk
If the cookie lifetime is set to 0, then it is a "session" cookie, and it persists until the browser is closed. Kirk > -Original Message- > From: jennyw [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 02, 2001 12:48 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Cookies won't stick > >

Re: [PHP] Questions about php.ini

2001-11-02 Thread Patrik Wallstrom
On Fri, 2 Nov 2001, jennyw wrote: > I've signed up with a dedicated Web host that has PHP installed. The weird > thing is that there is no php.ini anywhere. Is the file optional? Everything > seems to be behaving okay. > > I have several Web sites that I'm setting up. Is it possible to use > diff

[PHP] Re: Cookies won't stick

2001-11-02 Thread Mike Frazer
I believe it's just the opposite, for the sake of safety. Besides, good coding practices in ANY language generally means you include all possible information, required or not (it's like HTML; you don't have to use quotes around attributes but to be forward compatible it's recommended). Mike Fraz

[PHP] Can this be done?

2001-11-02 Thread Micah Huerta
I need to build the following report. I need to query an Oracle database, and list a username and userid, then I need to look at several directories, and determine which files belong to which user, based on the user id and a piece of the filename matching. then I need to count these files, and c

[PHP] Trainers / Instructors

2001-11-02 Thread Gerard Onorato
Hello All, Does anyone know of, or is anyone out there, a trainer or trainers interested in giving classes in PHP-MYSQL to corporate clients in Feb? This is not for myself but rather my suitemates. They have a seminar coming up and are looking for some qualified trainers in PHP or MYSQL. If Anyon

[PHP] php and mcrypt

2001-11-02 Thread Scott
I'm trying to get mcrypt to work with php, but haven't been able to reconfigure php to work with it. I'm using the version of php that came with Mandrake 8.0 and I have downloaded and installed the 2.5.7-1 mdk rpm of mcrypt. So now I should cd into my php directory and reconfigure php

Re: [PHP] php and mcrypt

2001-11-02 Thread Brian Clark
Hi Scott, @ 4:13:46 PM on 11/2/2001, Scott wrote: > I'm trying to get mcrypt to work with php, but haven't been able to > reconfigure php to work with it. I'm using the version of php that > came with Mandrake 8.0 and I have downloaded and installed the > 2.5.7-1 mdk rpm of mcrypt. > So now I s

Re: [PHP] php and mcrypt

2001-11-02 Thread Brian Clark
Hi Scott, @ 4:13:46 PM on 11/2/2001, Scott wrote: > As far as I can tell php is installed in /usr/bin and that is the > directory I tried. There is not a php directory there though, but a > php executable file. How do I find the right directory? Anything > else I have to do to get this working?

[PHP] Windows/UNIX differences?

2001-11-02 Thread Ben Edwards
Have a regular expression which replaces ' with '' (used to insert ' into db): preg_replace("/\'/", "''", $text ); This works great on the UNIX production machine but not on windows development environment. Actually replaces ' with \'' not ''. Before I write a function that loops thought the

[PHP] Re: Windows/UNIX differences?

2001-11-02 Thread jimw
Ben Edwards <[EMAIL PROTECTED]> wrote: > Have a regular expression which replaces ' with '' (used to insert ' into db): > preg_replace("/\'/", "''", $text ); > This works great on the UNIX production machine but not on windows > development environment. Actually replaces ' with \'' not ''. >

[PHP] php and mcrypt

2001-11-02 Thread Scott
This is my output from $ locate *php*so: /usr/lib/apache-extramodules/libphp4.so /usr/lib/php/extensions/dba_gdbm_db3.so /usr/lib/php/extensions/gd.so /usr/lib/php/extensions/imap.so /usr/lib/php/extensions/ldap.so /usr/lib/php/extensions/mysql.so /usr/lib/php/extensions/pgsql.so /usr/lib/php/ex

Re: [PHP] Windows/UNIX differences?

2001-11-02 Thread Mark
are you using two single quotes when you want a double quote? also you should probably be using str_replace for this since there's no regular expressions here. On Fri, 02 Nov 2001 22:26:07 +0100, Ben Edwards wrote: >Have a regular expression which replaces ' with '' (used to insert ' >into db): >

[PHP] Re: Questions about php.ini

2001-11-02 Thread Jason Wood
I host with iServer (now ViaVerio) and we dont have a php.ini file (that we can get to, anyways) either. I run phpinfo() and it says that the ini file is in /usr/local/lib but nuthin's there. What exactly do you want to use different ini files for anyways? -- Jason Wood Chief Technology Offic

[PHP] Session_destroy problems...

2001-11-02 Thread richard phynga
Hi all, I am a log time lurker on this list thanks to all the major contributors who have helped me learn :-) I seem to have a problem with teh session_destroy function in that it appears not to work for me I am running RH7.1 (kernel 2.4.10) with php4.0.5 . here is the code that is not workin

[PHP] Date problems

2001-11-02 Thread Raymond C. Rodgers
Hi, I'm having a bit of a weird problem with the date() function. I am using PostgreSQL to store guestbook entries and updating and displaying them with Apache 1.3x and PHP4 on OpenBSD. The date information is being stored correctly in PostgreSQL, but I'm using the date() function to format t

Re: [PHP] Re: Can you AUTO "Post/Submit" on a mixed HTML/PHP form

2001-11-02 Thread Arf
Had a look but it was a little too expencive... but it made me think of another product that I had seen called WebZinc which does the same and more and is a fraction of the price for the unlimited developer edittion. Thanks Jason for putting me on the right track. -- PHP General Mailing List

Re: [PHP] php and mcrypt

2001-11-02 Thread Brian Clark
Hi Scott, @ 5:01:43 PM on 11/2/2001, Scott wrote: > This is my output from $ locate *php*so: > /usr/lib/apache-extramodules/libphp4.so > /usr/lib/php/extensions/dba_gdbm_db3.so > /usr/lib/php/extensions/gd.so > /usr/lib/php/extensions/imap.so > /usr/lib/php/extensions/ldap.so > /usr/lib/php/ex

[PHP] Mail and mime and attachments

2001-11-02 Thread Kraa de Simon
Hi, I've read all docs on how to send multiple attachments with mime headers... But all I get is the headers in plain text in the resulting e-mail! No attachments at all! Could anyone give me short working example please... Thanks, Simon. -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] php and mcrypt

2001-11-02 Thread Brian Clark
@ 6:28:08 PM on 11/2/2001, Brian Clark wrote: > If apache fails to start then revert to your old libphp4: > $ mv /usr/lib/apache-extramodules/libphp4.bak \ > /usr/lib/apache-extramodules/libphp4.so Sorry, make that: $ mv /usr/lib/apache-extramodules/libphp4.so.bak \ /usr/lib/apache-extramodule

Re: [PHP] Re: Problem with non us caracters and "strtr"

2001-11-02 Thread Yasuo Ohgaki
Rodrigo Peres wrote: > I've tried the recode(), but I think I didn't uderstand it's functionality, > since nothing happens. can someone has an idea in how to convert for example > a string posted by a form in this format "são paulo" to this "sao paulo"?? recode extension may be broken currently

[PHP] Re: how to make IE show client side JavaScript output?

2001-11-02 Thread Yasuo Ohgaki
"show source" feature is broken in many Netscape (and Mozilla). MSIE is behaving correctly. IMHO. You cannot change client behaviours like this. -- Yasuo Ohgaki Moloko wrote: > interesting one here for y'all > > if you use client side JavaScript to write HTML to the browser, eg > document.w

Re: [PHP] How to get Usernames

2001-11-02 Thread Shane Wright
Okz, Hows this... $myarray = explode('/', $REQUEST_URI); for ($i=0; $i Ok, > > How do I do that? > > > Hi Michael > > > > How about explode()ing it using '/' as the seperator, then finding the > > element in the resulting array that begins with '~', strip that first > > character using substr()

[PHP] Password File

2001-11-02 Thread lists
I have a redhat 7.1 system, I am using shadow passwords. Is there a way to authenticate people using thier shadow password? Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the lis

[PHP] Query Database and list in Columns

2001-11-02 Thread Kacey A. Murphy
What I am doing is using Macromedia Ultradev 4 and querying a mySQL database and using Phakt (PHP) to code the website. Everything is working as far as pulling the database info and repeating it down the page but it looks as if it is one column. This is how I have the table TABLE | COLUMN |

[PHP] Re: Query Database and list in Columns

2001-11-02 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Kacey A. Murphy) wrote: > This is how the data shows > > TABLE > | DATA | BLANK COLUMN | BLANK COLUMN > --- > | DATA | BLANK COLUMN | BLANK COLUMN > --

Re: [PHP] fopen for ftp transfers

2001-11-02 Thread Scott
Perfect and just what I was looking for! I was able to finish my program today using it and the boss is wondering how I did it so fast! HINT: he thought I was using perl. At 01:59 PM 10/29/2001 -0400, Frewuill Rodriguez wrote: >what about using ftp functions from PHP? > >http://www.php.net/

[PHP] Deleting Array elements

2001-11-02 Thread HEW Staff
I'm looking for some code that will enable me to remove a line from a file. I have .htaccess which is being filled by a subscription processor, I need to know how to remove a user from this file once the subscription has either been cancelled or subscription term complete. Any help appreciated.

Re: [PHP] Password File

2001-11-02 Thread Brian Clark
@ 8:14:52 PM on 11/2/2001, [EMAIL PROTECTED] wrote: > Is there a way to authenticate people using thier shadow password? PHP PAM Extension ftp://ftp.netexpress.net/pub/pam/php_pam.newest.tgz Don't ask me how secure it is because I haven't used it. I've only seen it mentioned as an option. Perso

[PHP] Re: Questions about php.ini

2001-11-02 Thread jennyw
This is a dedicated server, and I have several sites on it. One of the things I'd like to be able to set differently for each site is session expiration. Is there a way to do this without mucking around w/ php.ini? Thanks! Jen "Jason Wood" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]

[PHP] Re: Deleting Array elements

2001-11-02 Thread Liz Fulghum
One idea is to read the file into an array, use substr to match the existance of the user to be deleted, and if the user isn't to be deleted, read the line into a new array, then write the new file to the array. "Hew Staff" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTE

php-general Digest 3 Nov 2001 04:05:17 -0000 Issue 972

2001-11-02 Thread php-general-digest-help
php-general Digest 3 Nov 2001 04:05:17 - Issue 972 Topics (messages 73273 through 73322): Re: PHP Highlighting Text Editors 73273 by: Chris Bailey 73275 by: Johnson, Kirk 73279 by: Mike Frazer Re: Sessions & Header PROBLEM again! 73274 by: Steve Cayford Sim

RE: [PHP] Deleting Array elements

2001-11-02 Thread Daniel Kushner
Hi, Try out this class: http://www.websapp.com/classes/LineRemover/ --Daniel > -Original Message- > From: HEW Staff [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 02, 2001 9:56 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Deleting Array elements > > > I'm looking for some code that

[PHP] cron or something similar ?

2001-11-02 Thread Srinivasan Ranganathan
Hi all Im working on a newsletter using php. Is there any way, other than using a cron job? Cuz, when i approach a my web host provider, how can i add a cron job to his system? how do other newsletter programs do this even when they are hosted at remote sites? Thanks in advance (Urgent plz) Reg

[PHP] Re: Query Database and list in Columns

2001-11-02 Thread Kacey A. Murphy
This is the repeat code using Dreamweaver and not understand PHP to much but I think this is what you asked for EOF)) { ?> Fields("itm_title")?> " width="60" height="90"> Only $ Fields("itm_pr

[PHP] header() and session issues...

2001-11-02 Thread ahmad k. varoqua
Ola, Can somebody please help me out (I'm losing hair by the hour)? I have two pages, index.php and setstyle.php. If the user clicks the link on index.php it should send them to setstyle.php and automatically back to the index.php with a new session variable set ($style). However, I am usi

[PHP] How one can calculate CRC of file on php ?

2001-11-02 Thread ArsenKirillov
i need to synhronise two text db of my board and i am seeking for best and fasterst way to calculate crc of file . Can all help me ? -- 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

[PHP] PHP RPM BUILD ERROR - Help!

2001-11-02 Thread Kal Amry
I am trying to build the binaries, however after the following cmd: rpm -bb php4-2.spec I keep getting: configure: error: Unable to find required gettext library Bad exit status from /var/tmp/rpm-tmp.32623 (%build) Thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e