Re: [PHP] List Etiquette

2004-09-21 Thread Octavian Rasnita
No, there is no way for customizing the headers Outlook Express use to put in the email messages. I wish there was, because I don't like them also... Teddy - Original Message - From: - Edwin - [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 20, 2004 2:51 PM Subject: Re:

[PHP] transfer coding

2004-09-21 Thread QT
Dear Sirs, I gave a post problem and can't solve last a couple of weeks. Todays I come some point but need to ask some thing. I have a destination server and configured to receive some datas. Owner of the server gives the same name of the different data. His idea is that let the internet

[PHP] HTML Frames and PHP Sessions

2004-09-21 Thread Nick Patsaros
Are PHP sessions compatible with frames in HTML? I'm trying to pass a user name through a session and my individual frames aren't receiving the variable. It worked prior to migrating to frames so I don't think it's my PHP that is the problem. Is there a target function somehow or some way to

Re: [PHP] php5 and php4?

2004-09-21 Thread Zeev Suraski
At 08:29 21/09/2004, Minuk Choi wrote: I've been meaning to ask this... but I always thought I could find the answer online(I didn't). Back when PHP 5.0.1 was released, PHP 4.something else was released. What was the main reasoning behind this move? Is it because PHP5 is more OOP(similar to

Re: [PHP] problem with header-dispotition in IE

2004-09-21 Thread Marek Kilimajer
adwinwijaya wrote: The error that I got just IE cannot download download.php from mysite.com .. IE was not able to open this site and bla bla bla. No hint in the error. I think the problem that I faced is with SSL. I try http://www.wazzup.co.nz/tutorials/protect_pdf/index.php and it didnt work on

[PHP] Parsing a File

2004-09-21 Thread Harlequin
Hi all. I've been through the PHP manual and wonder which file option will best suit my needs. I basically want to take a file that the user uploads and parse it into a variable or string so I can insert it into a field in my database. Do I use: File() file_get_contents Or something

Re: [PHP] HTML Frames and PHP Sessions

2004-09-21 Thread Marek Kilimajer
Nick Patsaros wrote: Are PHP sessions compatible with frames in HTML? I'm trying to pass a user name through a session and my individual frames aren't receiving the variable. It worked prior to migrating to frames so I don't think it's my PHP that is the problem. Is there a target function

Re: [PHP] transfer coding

2004-09-21 Thread Marek Kilimajer
QT wrote: When I use this html with internet explorer, I have no problem to post data. But when I use following post method, I can not send data. I think I need to do something more for message transfer coding such as use some charecter between same data to let destination server understand. I try

[PHP] file creation date

2004-09-21 Thread Joerg P
hello, is it possible, to get the creation date of a file? So even if it's modified, to get the date it was created the first time? thanks Joerg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parsing a File

2004-09-21 Thread Marek Kilimajer
Harlequin wrote: Hi all. I've been through the PHP manual and wonder which file option will best suit my needs. I basically want to take a file that the user uploads and parse it into a variable or string so I can insert it into a field in my database. Do I use: File() creates an array

[PHP] Lock or critical section

2004-09-21 Thread Jean-Yves
Hi, Is there a documented way to create in PHP a critical section: I want a piece of code to not be executed in the same time several times? Thanks in advance ! Kind regards, Jean-Yves http://www.j2s.net -- -- PHP General Mailing List

Re: [PHP] Lock or critical section

2004-09-21 Thread Skippy
Quoting Jean-Yves [EMAIL PROTECTED]: Is there a documented way to create in PHP a critical section: I want a piece of code to not be executed in the same time several times? Give us a set of criteria and we'll see about it. -- Romanian Web Developers - http://ROWD.ORG -- PHP General

Re: [PHP] Lock or critical section

2004-09-21 Thread Marek Kilimajer
Jean-Yves wrote: Hi, Is there a documented way to create in PHP a critical section: I want a piece of code to not be executed in the same time several times? www.php.net/flock -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: transfer coding

2004-09-21 Thread M. Sokolewicz
Qt wrote: Dear Sirs, I gave a post problem and can't solve last a couple of weeks. Todays I come some point but need to ask some thing. I have a destination server and configured to receive some datas. Owner of the server gives the same name of the different data. His idea is that let the internet

Re: [PHP] Re: transfer coding

2004-09-21 Thread Marek Kilimajer
M. Sokolewicz wrote: $p = POST /httppp/servlet/ppp HTTP/1.0\r\n; actually, specifying the same name for all 3 just makes PHP overwrite the string each time it notices a new one. It's posted to jsp, not php. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Weird characters output

2004-09-21 Thread Christophe Chisogne
Wouter van Vliet wrote: characters are being replaced by weird characters. EG: the ' single quote is being replaced by a question mark First check you use iso-8859-1 (latin-1) as encoding everywhere, unless you really want to use unicode (utf-8 encoding): - in html pages generated from php meta

Re: [PHP] Correct context

2004-09-21 Thread Burhan Khalid
Ed Curtis wrote: Before I go screwing this code up I thought I would ask for the formatting. How would you write the following in PHP? if $entry not equal to Copy Change OR Banner Change OR Price Change

[PHP] RE: **[SPAM]** [PHP] file creation date

2004-09-21 Thread Jay Blanchard
[snip] is it possible, to get the creation date of a file? So even if it's modified, to get the date it was created the first time? [/snip] Reading http://www.php.net/stat I don't think so. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: HTML Frames and PHP Sessions

2004-09-21 Thread Thomas Seifert
On Tue, 21 Sep 2004 04:02:47 -0400, Nick Patsaros wrote: Are PHP sessions compatible with frames in HTML? I'm trying to pass a user name through a session and my individual frames aren't receiving the variable. It worked prior to migrating to frames so I don't think it's my PHP that is the

Re: [PHP] RE: **[SPAM]** [PHP] file creation date

2004-09-21 Thread Marek Kilimajer
Jay Blanchard wrote: [snip] is it possible, to get the creation date of a file? So even if it's modified, to get the date it was created the first time? [/snip] Reading http://www.php.net/stat I don't think so. Unix filesystems don't store file creation time. And there is no function to

RE: [PHP] RE: file creation date

2004-09-21 Thread Jay Blanchard
[snip] To Jay: Could you please remove **[SPAM]** when replying? Your mail client doesn't send references headers and that spam string breaks threading completely. [/snip] Will do...gotta' get the network dude to remove that -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Lock or critical section

2004-09-21 Thread Jean-Yves
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Marek Kilimajer) wrote: Jean-Yves wrote: Hi, Is there a documented way to create in PHP a critical section: I want a piece of code to not be executed in the same time several times? www.php.net/flock Yes Marek, that's what I'm

Re: [PHP] Lock or critical section

2004-09-21 Thread Jean-Yves
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Skippy) wrote: Quoting Jean-Yves [EMAIL PROTECTED]: Is there a documented way to create in PHP a critical section: I want a piece of code to not be executed in the same time several times? Give us a set of criteria and we'll see about it.

[PHP] Install Headaches

2004-09-21 Thread bbonkosk
Hello All, I've had this problem for a little while now. I am building PHP as an Apache shared Module, so my configure looks something like this: ./configure --with-mysql=.. --with-pgsql=.. --with-gd --with-apxs=.. This works fine, builds fine, but when I run make install, it freezes. HOST

[PHP] unexpected $ error

2004-09-21 Thread luke
hi, i get the following error when trying to run this code (see below): Parse error: parse error, unexpected $ in /full path form.php on line 59 i have checked for unclosed braces - none - and tried uploading the files in ascii format just in case but get the same same error. i have searched

RE: [PHP] unexpected $ error

2004-09-21 Thread Jay Blanchard
[snip] [snip] // if the submit buttons has been pressed if (isset($_POST['submit])) { [/snip] Missing the second single-quote in $_POST['submit'] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] unexpected $ error

2004-09-21 Thread bbonkosk
if (isset($_POST['submit])) (missing close apostrophe here...) if (isset($_POST['submit'])) - not sure if this is THE problem, but A problem for sure. -Brad - Original Message - From: [EMAIL PROTECTED] Date: Tuesday, September 21, 2004 8:36 am Subject: [PHP] unexpected $ error hi, i

Re: [PHP] unexpected $ error

2004-09-21 Thread Marek Kilimajer
[EMAIL PROTECTED] wrote: hi, i get the following error when trying to run this code (see below): Parse error: parse error, unexpected $ in /full path form.php on line 59 // if the submit buttons has been pressed if (isset($_POST['submit])) missing single quote if (isset($_POST['submit'])) // more

Re: [PHP] Fork PHP script X at a time.

2004-09-21 Thread John Wards
Not sure if anyone is interested in what I have come up with, its busy running just now but it seems to be performing ok. $do =0; $ok =0; $count=0; while($do!=1){ if($ok==0){ $sql = SELECT * FROM locations WHERE parent = '0' AND doing=0 and done !=1 ORDER BY num DESC

Re: [PHP] Re: HTML Frames and PHP Sessions

2004-09-21 Thread Nick Patsaros
I think I figured it out. I was calling the session_start() in the frames window instead of in each individual frame. Silly mistake, thanks for the help. --Nick On Tue, 21 Sep 2004 13:45:08 +0200, Thomas Seifert [EMAIL PROTECTED] wrote: On Tue, 21 Sep 2004 04:02:47 -0400, Nick Patsaros

[PHP] php parses but no data inserted

2004-09-21 Thread luke
hi there, the following code runs but no message is displayed from the if then else statement at the end of the script. also, nothing is written to the database. i have checked the insert statement and the login credentials are correct.does anyone know what might be causing this? thanks,

[PHP] How do I send XML attributes via Soap?

2004-09-21 Thread Yoed Anis
Hi, I'm having trouble sending a request containing XML attributes in a soap request. I don't know how to go about doing it. Previously to pass XML as a soap request from my client to the server I would go throw the following steps: (1) Create the XML string. (i.e xmlstr = XML

Re: [PHP] php parses but no data inserted

2004-09-21 Thread Marek Kilimajer
[EMAIL PROTECTED] wrote: hi there, the following code runs but no message is displayed from the if then else statement at the end of the script. also, nothing is written to the database. i have checked the insert statement and the login credentials are correct.does anyone know what might be

Re: [PHP] php parses but no data inserted

2004-09-21 Thread John Nichel
[EMAIL PROTECTED] wrote: hi there, the following code runs but no message is displayed from the if then else statement at the end of the script. also, nothing is written to the database. i have checked the insert statement and the login credentials are correct.does anyone know what might be

Re: [PHP] php parses but no data inserted

2004-09-21 Thread Jason Wong
On Tuesday 21 September 2004 21:37, [EMAIL PROTECTED] wrote: error_reporting(E_ALL); ini_set('display_errors', 1); for good measure. @mysql_select_db(inmarsat_comp) or die (Could not select Database); Lose the '@' whilst developing and always use mysql_error(). -- Jason Wong - Gremlins

Re: [PHP] password-protecting with PHP, help plz

2004-09-21 Thread AceZero2790
Thanks for the input, but unfortunately I have no idea how to do that, though I do have a MySQL server for my site. I'm still trying to learn basic PHP, I haven't moved on to PHP and MySQL connections and stuff yet. -Andrew

RE: [PHP] password-protecting with PHP, help plz

2004-09-21 Thread Dan Joseph
Hi, Thanks for the input, but unfortunately I have no idea how to do that, though I do have a MySQL server for my site. I'm still trying to learn basic PHP, I haven't moved on to PHP and MySQL connections and stuff yet. If you're talking about authentication, there are two methods.

Re: [PHP] Fork PHP script X at a time.

2004-09-21 Thread John Wards
On Tue, 2004-09-21 at 13:58, John Wards wrote: Not sure if anyone is interested in what I have come up with, its busy running just now but it seems to be performing ok. Again adding to this thread for future reference. Its just compleated all 90 threads in 1 hour 50 minutes and that was

[PHP] Book recommendation

2004-09-21 Thread Al
How can get Edit/Mail Newsgroups/Composition/defaults for Html to work? Edit/Mail Newsgroups/Send Format/Send in HTML is checked. All newsgroups and emails default to plain small text. Is this a bug, or am I missing something? Thanks.. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Book recommendation

2004-09-21 Thread John Nichel
Al wrote: How can get Edit/Mail Newsgroups/Composition/defaults for Html to work? Edit/Mail Newsgroups/Send Format/Send in HTML is checked. All newsgroups and emails default to plain small text. Is this a bug, or am I missing something? Thanks.. Huh? -- John C. Nichel ÜberGeek KegWorks.com

Re: [PHP] Lock or critical section

2004-09-21 Thread Curt Zirzow
* Thus wrote Jean-Yves: Hi, Is there a documented way to create in PHP a critical section: I want a piece of code to not be executed in the same time several times? http://php.net/semma Curt -- The above comments may offend you. flame at will. -- PHP General Mailing List

Re: [PHP] Book recommendation

2004-09-21 Thread John Holmes
From: Al [EMAIL PROTECTED] How can get Edit/Mail Newsgroups/Composition/defaults for Html to work? Edit/Mail Newsgroups/Send Format/Send in HTML is checked. All newsgroups and emails default to plain small text. Is this a bug, or am I missing something? I think we're all missing something

[PHP] inserting timestamp into mysql field

2004-09-21 Thread luke
Subject: inserting timestamp into mysql field hi there, i need to insert a current timestamp into a mysql field when a form is posted. can anyone suggest a simple way of doing this? i would like to set a variable in my php script to add into the insert statement. it needs to be in the format

Re: [PHP] inserting timestamp into mysql field

2004-09-21 Thread Marek Kilimajer
[EMAIL PROTECTED] wrote: Subject: inserting timestamp into mysql field hi there, i need to insert a current timestamp into a mysql field when a form is posted. can anyone suggest a simple way of doing this? i would like to set a variable in my php script to add into the insert statement. it needs

Re: [PHP] inserting timestamp into mysql field

2004-09-21 Thread Chris Dowell
Not really a MySQL question - the answer happens to be MySQL, but the question asks how to do it in PHP This might still be necessary if the OP is using something like DB_DataObject, as you can't really use NOW() in that situation Try strftime [ http://uk.php.net/strftime - RTFM :) ] - a good

RE: [PHP] inserting timestamp into mysql field

2004-09-21 Thread Chris Gregors
If you are working with a timestamp in some other format, this works well: $ts = date(Y-m-d H:i:s,strtotime($sring_with_timestamp)); If you want to create a timestamp at the execution time, this works well: $ts = date(Y-m-d H:i:s); Both will generate mysql compatiable date/time

[PHP] Question on using png file in ezPdf class

2004-09-21 Thread Chris Bruce
Hello, I am using the PDF creation classes from http://www.ros.co.nz/pdf Everything is working great with the exception of not being able to use a PNG image with the ezImage extension. JPG works but is not as crisp as the image that I want to place is a logo. All file paths and spellings are

Re: [PHP] Book recommendation

2004-09-21 Thread Al
John Nichel wrote: Al wrote: How can get Edit/Mail Newsgroups/Composition/defaults for Html to work? Edit/Mail Newsgroups/Send Format/Send in HTML is checked. All newsgroups and emails default to plain small text. Is this a bug, or am I missing something? Thanks.. Huh? Sorry everyone. I was

Re: [PHP] Question on using png file in ezPdf class

2004-09-21 Thread Jason Davidson
Possibly you need to compile php with-png ?? im not sure of this, im just taking a stab in the dark.. Jason Chris Bruce [EMAIL PROTECTED] wrote: Hello, I am using the PDF creation classes from http://www.ros.co.nz/pdf Everything is working great with the exception of not being able to

Re: [PHP] Extrange behavior with Header('Location')

2004-09-21 Thread Jordi Canals
On Mon, 20 Sep 2004 20:23:53 -0700 (PDT), Chris Shiflett [EMAIL PROTECTED] wrote: header('Location: '. html_entity_decode($url)); I would like to know if there is a better way to do it This should work fine. However, I would prefer to keep the data in its original format and only use

Re: [PHP] Extrange behavior with Header('Location')

2004-09-21 Thread Paul Waring
Just, the result returned by the fuinction is mainly used to creatre links in the pages, only in some very special cases will be used with the header function. Just I use the amp; entity in links because I want all my pages being validated by the W3C validator service. As well as that, you

Re: [PHP] Question on using png file in ezPdf class

2004-09-21 Thread Chris Bruce
Don't think that is it, but for the record, it is compiled with-png. Thanks for the stab though :) -- Chris Bruce [EMAIL PROTECTED] Idextrus E-Business Architects http://www.idextrus.com 3282 Wilmar Cres. Mississauga, ON L5L4B2 CA 905.828.9189 South Office 705.361.0331 North Office

[PHP] custom 404 page

2004-09-21 Thread Gerben
I would like to know which headers I have to send on my own 404page? I read somewhere I have to send the header HTTP 302 Found I also want to know which header I have to send when I redirect from my 404page? do I need HTTP 201? -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] custom 404 page

2004-09-21 Thread Jay Blanchard
[snip] I would like to know which headers I have to send on my own 404page? I read somewhere I have to send the header HTTP 302 Found I also want to know which header I have to send when I redirect from my 404page? do I need HTTP 201? [/snip] Have you checked the http://www.w3c.org ? -- PHP

Re: [PHP] custom 404 page

2004-09-21 Thread John Nichel
Gerben wrote: I would like to know which headers I have to send on my own 404page? I read somewhere I have to send the header HTTP 302 Found I also want to know which header I have to send when I redirect from my 404page? do I need HTTP 201?

[PHP] deleting directories

2004-09-21 Thread Afan Pasalic
I have directory with huge number of directories (names by date artwork requested and client id number) with clients artwork. by accident, directory was opened by FrontPage and now in each directory is created _vti_cnf directory with copy of the artwork. i have to delete all those '_vti_cnf'

RE: [PHP] deleting directories

2004-09-21 Thread Jesse Castro
rm -r directoryname will recursively remove the directory and everything in it -Original Message- From: Afan Pasalic [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 12:31 PM To: php-general Subject: [PHP] deleting directories I have directory with huge number of directories

Re: [PHP] php5 and php4?

2004-09-21 Thread Minuk Choi
But then, don't you run the risk of having 2 different architectures, that is, PHP5(possibly PHP6) and PHP 4.something may evolve down to include different features or even different behaviors? - Original Message - From: Thomas Goyne [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] deleting directories

2004-09-21 Thread John Nichel
Afan Pasalic wrote: I have directory with huge number of directories (names by date artwork requested and client id number) with clients artwork. by accident, directory was opened by FrontPage and now in each directory is created _vti_cnf directory with copy of the artwork. i have to delete all

Re: [PHP] deleting directories

2004-09-21 Thread Afan Pasalic
Thanks Jesse, but I don't have an access to server. Just FTP. That's why I have to use php script. Jesse Castro wrote: rm -r directoryname will recursively remove the directory and everything in it -Original Message- From: Afan Pasalic [mailto:[EMAIL PROTECTED] Sent: Tuesday, September

Re: [PHP] deleting directories

2004-09-21 Thread John Nichel
Jesse Castro wrote: rm -r directoryname will recursively remove the directory and everything in it snip He's on a Windows system, that won't work. As a side note, on *nix based systems, rm -rf dir would be better suited so that it doesn't prompt for conformation on each file/directory. -- John

Re: [PHP] deleting directories

2004-09-21 Thread Afan Pasalic
directories are on Linux server and Windows System Commands will not work there. I forgot to make a note: warning shows c:\ap\artwork\ap.php because I test it locally, n windows machine. but directories are on Linux box sorry for misleading you guys. John Nichel wrote: Afan Pasalic wrote: I

[PHP] [Fwd: Destinatario No exitente]

2004-09-21 Thread Afan Pasalic
Every time I send a email to php-list I get the email below. Can somebody take this email out of list? Thank you. Afan Original Message Subject:Destinatario No exitente Date: Tue, 21 Sep 2004 13:47:02 -0400 From: Mailer Iguanahosting.com [EMAIL PROTECTED] To:

Re: [PHP] deleting directories

2004-09-21 Thread John Nichel
Afan Pasalic wrote: directories are on Linux server and Windows System Commands will not work there. I forgot to make a note: warning shows c:\ap\artwork\ap.php because I test it locally, n windows machine. but directories are on Linux box sorry for misleading you guys. Then that's a bit

Re: [PHP] deleting directories

2004-09-21 Thread Afan Pasalic
Sorry John, but I forgot to write that detail: I test locally on Win machine, but directories are on Linux server. Afan John Nichel wrote: Jesse Castro wrote: rm -r directoryname will recursively remove the directory and everything in it snip He's on a Windows system, that won't work. As a side

Re: [PHP] deleting directories

2004-09-21 Thread Jasper Howard
its pretty easy to make your function recursive, all you need to do is test if the current file is a directory (if (is_dir($file)){run function} else if (eregi('/_vti_cnf/',$file))), then delete all files as long as they are located in a _vti_cnf directory. And I'm sure I've done something wrong

[PHP] simplexml and xpath

2004-09-21 Thread Matthew Sims
So I've just recently fallen in love with simplexml. But from what I've read, is it true that xpath doesn't really work properly? I'm using an XML file that has a section like this: item titleTitle/title linkLink/link descriptionDesc/description dc:subjectSubject/dc:subject

RE: [PHP] List Etiquette

2004-09-21 Thread Michael Sims
Octavian Rasnita wrote: No, there is no way for customizing the headers Outlook Express use to put in the email messages. I wish there was, because I don't like them also... Although I haven't used it personally, OE-QuoteFix may help: http://home.in.tum.de/~jain/software/oe-quotefix/ I do

Re: [PHP] Infinate looping

2004-09-21 Thread Chris Dowell
Are you by any chance doing something like this? while (1) { $dbh = mysql_connect(x, x, x); mysql_query(...); sleep(10); } If so, you could run into that maxclients problem very quickly because you're not closing those mysql connections (they'll time out eventually, and there are persistent

Re: [PHP] password-protecting with PHP, help plz

2004-09-21 Thread Chris Dowell
And after that - go and try to find out a little on your own - contrary to a common misconception, it's not the sole purpose of members of this list to write all your code for you. The old favourites RTFM and STFW would serve you well here - there are thousands of PHP tutorials that will tell

Re: [PHP] empty variable

2004-09-21 Thread Chris Dowell
Just to clear up, there is no isempty() function - the correct function is empty() and its details can be found here: http://uk.php.net/empty Cheers Chris -{ Rene Brehmer }- wrote: At 01:54 20-09-2004, Chris Mach wrote: What is the best way to determine if a variable is empty? I have a feeling

Re: [PHP] List Etiquette

2004-09-21 Thread John Nichel
While the thread still lives, let me add a pet peeve of mine. People who reply to all. Just reply to the list...if you have to click reply to all to get the list address in there, fine, but take a few seconds to remove all other addresses. Thank you for your time. We now return you to your

Re: [PHP] generating a mysql script

2004-09-21 Thread Chris Dowell
If course, if you don't have shell access, phpMyAdmin is all you'll ever need http://www.phpmyadmin.net Cheers Chris Brian V Bonini wrote: On Mon, 2004-09-20 at 19:37, Stut wrote: On Mon, 20 Sep 2004 16:20:21 -0700, AMC [EMAIL PROTECTED] wrote: Is there a tool that will generate a script

[PHP] Image Text

2004-09-21 Thread b2
Hi I'm trying to create images with a bit of text pasted on top using the code bolow My problem is that the text color either are lost (lighter colors) or print in a different color it seems that it's mix the text color and the background color Is there away around this ?

[PHP] Image Text

2004-09-21 Thread b2
Hi I'm trying to create images with a bit of text pasted on top using the code bolow My problem is that the text color either are lost (lighter colors) or print in a different color it seems that it's mix the text color and the background color Is there away around this ?

Re: [PHP] List Etiquette

2004-09-21 Thread Greg Donald
On Tue, 21 Sep 2004 15:02:27 -0400, John Nichel [EMAIL PROTECTED] wrote: While the thread still lives, let me add a pet peeve of mine. People who reply to all. Just reply to the list...if you have to click reply to all to get the list address in there, fine, but take a few seconds to remove

[PHP] Recommendations for php email list managers?

2004-09-21 Thread Mattias Thorslund
Hi, I'm trying to set up a list manager on a hosted site. PHPlist (phplist.com) seemed promising but I read on their forums that it takes some users hours and hours to send a couple thousand emails. Without terminal access, I suspect the PHP sending page will time out long before most of my

[PHP] Any idea how to automatically post to http authentication?

2004-09-21 Thread j kensler
I'm trying to create a php page that automatically posts data to several other webpages (to log in). However one of the pages is using some sort of CGI HTTP authentication. Is there any way that I can see what the names of the fields are (such as user or username or whatever). And also is there

[PHP] using foreach() to capture multiple selections

2004-09-21 Thread Luke Mackenzie
Subject: using foreach() to capture multiple selections hi, i would like to to put multiple selections from a form list into a single variable using foreach but am unsure how to do so. can someone advise how to adapt the following code? ?php print You are interested in: ; foreach($myGoals as

Re: [PHP] Re: mysql_connect does not connect

2004-09-21 Thread Chris Dowell
Sam, You're correct - the manual does leave a little bit of a grey area about which extension you should use for 4.1.0 MySQL version 4.1.3 However, as you're using 5.0.1 this really shouldn't confuse you to quite the extent which it has. Sam Hobbs wrote: Curt Zirzow [EMAIL PROTECTED] wrote

Re: [PHP] Image Text

2004-09-21 Thread Greg Donald
On Tue, 21 Sep 2004 19:37:45 +0100, b2 [EMAIL PROTECTED] wrote: I'm trying to create images with a bit of text pasted on top using the code bolow My problem is that the text color either are lost (lighter colors) or print in a different color it seems that it's mix the text color and the

Re: [PHP] Any idea how to automatically post to http authentication?

2004-09-21 Thread Greg Donald
On Tue, 21 Sep 2004 14:24:08 -0500, j kensler [EMAIL PROTECTED] wrote: I'm trying to create a php page that automatically posts data to several other webpages (to log in). However one of the pages is using some sort of CGI HTTP authentication. Is there any way that I can see what the names of

Re: [PHP] List Etiquette

2004-09-21 Thread Andre Dubuc
On Tuesday 21 September 2004 03:02 pm, John Nichel wrote: While the thread still lives, let me add a pet peeve of mine. People who reply to all. Just reply to the list...if you have to click reply to all to get the list address in there, fine, but take a few seconds to remove all other

Re: [PHP] using foreach() to capture multiple selections

2004-09-21 Thread Greg Donald
On Tue, 21 Sep 2004 20:26:04 +0100, Luke Mackenzie [EMAIL PROTECTED] wrote: i would like to to put multiple selections from a form list into a single variable using foreach but am unsure how to do so. can someone advise how to adapt the following code? ?php print You are interested in: ;

Re: [PHP] using foreach() to capture multiple selections

2004-09-21 Thread John Holmes
From: Luke Mackenzie [EMAIL PROTECTED] i would like to to put multiple selections from a form list into a single variable using foreach but am unsure how to do so. can someone advise how to adapt the following code? print You are interested in: ; foreach($myGoals as $value) { print $value ; } $var

Re: [PHP] mysql_connect does not connect

2004-09-21 Thread Chris Dowell
[snippy] Sam Hobbs wrote: Um.. you do realize you have more problems than php not being able to connect to the database. This is the type of unproductive comment that causes problems. The only reason you are saying this is because you are desperate to make me wrong. You have exhausted

Re: [PHP] using foreach() to capture multiple selections

2004-09-21 Thread Matthew Sims
i would like to to put multiple selections from a form list into a single variable using foreach but am unsure how to do so. can someone advise how to adapt the following code? ?php print You are interested in: ; foreach($myGoals as $value) { print $value ; } ? Not to do all

[PHP] Re: Recommendations for php email list managers?

2004-09-21 Thread Manuel Lemos
Hello, On 09/21/2004 04:17 PM, Mattias Thorslund wrote: I'm trying to set up a list manager on a hosted site. PHPlist (phplist.com) seemed promising but I read on their forums that it takes some users hours and hours to send a couple thousand emails. Without terminal access, I suspect the PHP

Re: [PHP] using foreach() to capture multiple selections

2004-09-21 Thread Jason Wong
On Wednesday 22 September 2004 03:26, Luke Mackenzie wrote: Subject: using foreach() to capture multiple selections i would like to to put multiple selections from a form list into a single variable using foreach but am unsure how to do so. manual PHP and HTML -- Jason Wong - Gremlins

Re: [PHP] inserting timestamp into mysql field

2004-09-21 Thread Andrew Kreps
On Tue, 21 Sep 2004 16:25:37 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: i need to insert a current timestamp into a mysql field when a form is posted. can anyone suggest a simple way of doing this? Here's the MySQL answer: If you have a (data type) timestamp field in your table, you

Re: [PHP] List Etiquette

2004-09-21 Thread John Holmes
From: Andre Dubuc [EMAIL PROTECTED] I click 'Reply' and I get your personal address (instead of the correct 'To:' address. Oh, for the love of god, jub or whoever, can we not turn this into a who-the-list-should-reply-to thread?!?!? Been there, done-beat-the-dead-horse-about that... ---John

[PHP] Re: Recommendations for php email list managers?

2004-09-21 Thread Matthew Weier O'Phinney
* Mattias Thorslund [EMAIL PROTECTED]: I'm trying to set up a list manager on a hosted site. PHPlist (phplist.com) seemed promising but I read on their forums that it takes some users hours and hours to send a couple thousand emails. Without terminal access, I suspect the PHP sending page

Re: [PHP] php5 and php4?

2004-09-21 Thread Matthew Weier O'Phinney
* Minuk Choi [EMAIL PROTECTED]: But then, don't you run the risk of having 2 different architectures, that is, PHP5(possibly PHP6) and PHP 4.something may evolve down to include different features or even different behaviors? PHP4 is in *maintenance* mode -- that means no new features. PHP5

[PHP] Re: Recommendations for php email list managers?

2004-09-21 Thread Manuel Lemos
Hello, On 09/21/2004 05:03 PM, Matthew Weier O'Phinney wrote: To give an example, where I work, we have a bulk mailer we've developed. The management interface is PHP, but mails are sent via a perl application. The perl application sends the mails via Postfix. I wonder why aren't you using PHP to

[PHP] Anyone using SPL Iterators?

2004-09-21 Thread John Holmes
I've been looking around for some SPL (http://www.php.net/manual/en/ref.spl.php) examples and uses, but have only found one good article on Sitepoint (http://www.sitepoint.com/article/php5-standard-library/). Is anyone using SPL iterators out there? Any examples you'd like to share that you

Re: [PHP] using foreach() to capture multiple selections

2004-09-21 Thread Janet Valade
Luke Mackenzie wrote: Subject: using foreach() to capture multiple selections hi, i would like to to put multiple selections from a form list into a single variable using foreach but am unsure how to do so. can someone advise how to adapt the following code? ?php print You are interested in: ;

Re: [PHP] List Etiquette

2004-09-21 Thread John Nichel
John Holmes wrote: From: Andre Dubuc [EMAIL PROTECTED] I click 'Reply' and I get your personal address (instead of the correct 'To:' address. Oh, for the love of god, jub or whoever, can we not turn this into a who-the-list-should-reply-to thread?!?!? Been there, done-beat-the-dead-horse-about

Re: [PHP] Re: Recommendations for php email list managers?

2004-09-21 Thread Mattias Thorslund
Manuel Lemos wrote: Hello, On 09/21/2004 04:17 PM, Mattias Thorslund wrote: I'm trying to set up a list manager on a hosted site. PHPlist (phplist.com) seemed promising but I read on their forums that it takes some users hours and hours to send a couple thousand emails. Without terminal

Re: [PHP] Re: Recommendations for php email list managers?

2004-09-21 Thread Mattias Thorslund
Matthew Weier O'Phinney wrote: * Mattias Thorslund [EMAIL PROTECTED]: I'm trying to set up a list manager on a hosted site. PHPlist (phplist.com) seemed promising but I read on their forums that it takes some users hours and hours to send a couple thousand emails. Without terminal access,

[PHP] alternative to mysql_field_name()

2004-09-21 Thread Luke
hi there, i am currently using the following code to loop through the results of a sql query and extract the field names ($export contains the query results from the database). the script goes on to place the results in an excel file. for ($i = 0; $i $fields; $i++) { $header .=

  1   2   >