[PHP] mail() and Sender: field

2003-09-28 Thread Adam Whitehead
Hi All I'm having a problem using the mail() function of PHP. It seems to vary between platforms (ie. this problem doesn't not occur on my Win32 development platform, but does on my Linux production server). I'm sending mail using the mail() function and including a From: and Reply-To: header.

Re: [PHP] mail() and Sender: field

2003-09-28 Thread Jason Wong
On Sunday 28 September 2003 14:26, Adam Whitehead wrote: I'm having a problem using the mail() function of PHP. It seems to vary between platforms (ie. this problem doesn't not occur on my Win32 development platform, but does on my Linux production server). I'm sending mail using the mail()

[PHP] Q on setlocale...

2003-09-28 Thread jsWalter
I found this function, setlocale... now, is there a way to GET the LOCALE setting of a machine? Walter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Q on setlocale...

2003-09-28 Thread Tom Rogers
Hi, Sunday, September 28, 2003, 5:39:53 PM, you wrote: j I found this function, setlocale... j now, is there a way to GET the LOCALE setting of a machine? j Walter call setlocale with 0 (zero or NULL) as the second parameter and it returns the current setting -- regards, Tom -- PHP

Re: [PHP] mail() and Sender: field

2003-09-28 Thread Marek Kilimajer
Use a class that sends mail by conecting directly to smtp server. For example smtp_message.php in www.phpclasses.org/mimemessage Adam Whitehead wrote: Hi All I'm having a problem using the mail() function of PHP. It seems to vary between platforms (ie. this problem doesn't not occur on my Win32

[PHP] Re: wml and php

2003-09-28 Thread Patrik Fomin
i cant get this $latnum2 = $_REQUEST['nummer']; to work either, when i use this i dont get anything in $latnum2; regards patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: wml and php

2003-09-28 Thread Tom Rogers
Hi, Sunday, September 28, 2003, 9:32:45 PM, you wrote: PF i cant get this $latnum2 = $_REQUEST['nummer']; to work either, PF when i use this i dont get anything in $latnum2; PF regards PF patrick You will have to do a page refresh to pass the typed in info back to php which is running on the

[PHP] Submit button

2003-09-28 Thread Karina S
Hello, I want to use an image as submit button on my form. Now I use the following code with button: if (!(isset($_Post['SubmitForm']))) { ... . input type=submit name=SubmitForm value=Submit } else { . } Is it possible to change the Submit button with an

php-general Digest 28 Sep 2003 10:49:11 -0000 Issue 2323

2003-09-28 Thread php-general-digest-help
php-general Digest 28 Sep 2003 10:49:11 - Issue 2323 Topics (messages 164126 through 164157): Re: apache logs reset at midnight 164126 by: Jason Sheets 164128 by: John Ryan Re: IIS Ports 164127 by: Jon Kriek Re: Array question 164129 by: Cristian Lavaque

[PHP] where are the good examples of using OOP?

2003-09-28 Thread anders thoresson
Hi, I'm just about to take the first step into OOP with PHP. I've searched the web for tutorials, and even if there are alot, most of them use metaphores with houses or cars or other real life things to explain what classes and methods are. I wonder if someone can point me to tutorials that

Re: [PHP] Submit button

2003-09-28 Thread Eugene Lee
On Sun, Sep 28, 2003 at 12:49:27PM +0200, Karina S wrote: : : I want to use an image as submit button on my form. Now I use the following : code with button: : : if (!(isset($_Post['SubmitForm']))) : { : ... : . : input type=submit name=SubmitForm value=Submit : } :

Re: [PHP] where are the good examples of using OOP?

2003-09-28 Thread Burhan Khalid
anders thoresson wrote: I'm just about to take the first step into OOP with PHP. I've searched the web for tutorials, and even if there are alot, most of them use metaphores with houses or cars or other real life things to explain what classes and methods are. http://pear.php.net

[PHP] Dwonload with PHP do not work..

2003-09-28 Thread Ms Carlsson
$file = /home//openssh-3.6.1p1.tar.gz; $mb = filesize($file); $download = openssh-3.6.1p1.tar.gz; $fp = fopen($file, r); Header ( HTTP/1.1 206 One resume, coming up! ); Header ( Pragma: no-cache ); Header ( Content-Type: application/octet-stream ); Header (

Re: [PHP] Submit button

2003-09-28 Thread Karina S
I have changed the code, but it doesn't work. if (!(isset($_Post['SubmitForm_x']))) { ... . input name=SubmitForm type=image src=image.gif alt=SubmitForm } else { . } Eugene Lee [EMAIL PROTECTED] az alábbiakat írta a következo üzenetben news:[EMAIL PROTECTED]

Re: [PHP] IIS Ports

2003-09-28 Thread Burhan Khalid
Jon Kriek wrote: The point is get a good firewall, doesn't matter which one. Personally I prefer Sygate Personal Firewall PRO http://smb.sygate.com/products/pspf/pspf_ov.htm Enabling ICF will probably help. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General

Re: [PHP] Submit button

2003-09-28 Thread Nitin
You can always use: img src=image.gif alt=Submit onClick=document.entry.submit() Try it and enjoy Nitin

Re: [PHP] where are the good examples of using OOP?

2003-09-28 Thread Eugene Lee
On Sun, Sep 28, 2003 at 12:52:40PM +0200, anders thoresson wrote: : : I wonder if someone can point me to tutorials that uses real PHP examples : instead, examples that shows me in a direct way how to use OOP. My biggest : trouble right now is what should be the classes and what should be the

Re: [PHP] Submit button

2003-09-28 Thread Eugene Lee
On Sun, Sep 28, 2003 at 01:20:32PM +0200, Karina S wrote: : : I have changed the code, but it doesn't work. : : if (!(isset($_Post['SubmitForm_x']))) : { : ... : . : input name=SubmitForm type=image src=image.gif alt=SubmitForm : } : else : { : . : } 1. The

RE: [PHP] Dwonload with PHP do not work..

2003-09-28 Thread Boaz Yahav
Try this : How to let a user download a picture by clicking on it instead of needing to right click and Save-As. http://www.weberdev.com/get_example.php3?count=1562 How to force the user to download a file instead of opening it up in an controlled environment within the browser (i.e. MS

Re: [PHP] where are the good examples of using OOP?

2003-09-28 Thread Robert Cummings
On Sun, 2003-09-28 at 07:09, Burhan Khalid wrote: anders thoresson wrote: I'm just about to take the first step into OOP with PHP. I've searched the web for tutorials, and even if there are alot, most of them use metaphores with houses or cars or other real life things to explain what

[PHP] checked / unchecked

2003-09-28 Thread phpu
Hi I have this form: form action=modify.php method=POST enctype=multipart/form-data ? $sql = SELECT * FROM table Where id_cat=.$_POST['id_cat']; $result = mysql_query($sql); while ($row=mysql_fetch_array($result)) { print 'Categoryinput type=text name=nume_categorie

Re: [PHP] SQL statement

2003-09-28 Thread sfdgfg
Curt Zirzow wrote: * Thus wrote Dan J. Rychlik ([EMAIL PROTECTED]): Well, we have a word for myself that over looks things and takes things literal. Its called pencil smoke It means dump, dunce, and lost. Jennifer was right, their was an error in my SQL query. technically it was an error in

[PHP] array_multisort ... unsupported in different builds?

2003-09-28 Thread john
ok, heres the thing short version; array_multisort works on localhost but when i upload it, ceases to work (array is left unsorted) long version; i have array_multisort sorting a multi dimensional array with sort_asc. i understand that it sorts by the first index by default. on my localhost

Re: [PHP] array_multisort ... unsupported in different builds?

2003-09-28 Thread Jason Wong
On Monday 29 September 2003 00:12, john wrote: short version; array_multisort works on localhost but when i upload it, ceases to work (array is left unsorted) [snip] Could you post a concise example which illustrates your problem? -- Jason Wong - Gremlins Associates - www.gremlins.biz Open

Re: [PHP] checked / unchecked

2003-09-28 Thread phpu
It's working.. Thanks a lot - Original Message - From: Jason Sheets [EMAIL PROTECTED] To: phpu [EMAIL PROTECTED] Sent: Sunday, September 28, 2003 6:55 PM Subject: Re: [PHP] checked / unchecked With a conditional, note that if you have more than one picture your current setup is not

Re: [PHP] array_multisort ... unsupported in different builds?

2003-09-28 Thread john
umm.. yeah. i wrote out this example below to paraphrase my code and it worked perfectly both localhost and online. so then i got really p***ed =) i did some more looking and i realised its actually caused by a session interference... panic over =) ive been wondering wtf was the deal was with

[PHP] $php_as_cgi == error;

2003-09-28 Thread Ms Carlsson
Hello this does not work with apache + suexec and php running like cgi #!/usr/local/bin/php # in top of all php scripts ? header(Content-Disposition: attachment; filename=$filename); header(Content-Type: application/octet-stream); header(Content-Length: .filesize($path/$filename));

[PHP] gettext: changed .mo file, caching issue

2003-09-28 Thread daniel hahler
Hello php-general, I init gettext with putenv('LANGUAGE='.$language); putenv('LANG='.$language); // Specify location of translation tables bindtextdomain (messages, ./locale); // Choose domain textdomain (messages); where $language is either de or en. This works good, but if

RE: [PHP] where are the good examples of using OOP?

2003-09-28 Thread Daevid Vincent
http://daevid.com/examples/dhcp/index.php Was my first try with php's OOP. Source linked at bottom of page. -Original Message- From: anders thoresson [mailto:[EMAIL PROTECTED] Sent: Sunday, September 28, 2003 3:53 AM To: [EMAIL PROTECTED] Subject: [PHP] where are the good examples

[PHP] fgets prob... !?

2003-09-28 Thread mArK
H! I have this segment of script... ... $resp = fgets( $sock, 512 ); echo $resp; ... the output must be: [EMAIL PROTECTED] but here came php and take the 3 # and convert they in only one #, and the output currently is: [EMAIL PROTECTED] How I say to php: STOP, leave my # in peace? --

Re: [PHP] $php_as_cgi == error;

2003-09-28 Thread Marek Kilimajer
Open the file in a text editor and check if there is any php warning/error showing up. Ms Carlsson wrote: Hello this does not work with apache + suexec and php running like cgi #!/usr/local/bin/php # in top of all php scripts ? header(Content-Disposition: attachment; filename=$filename);

Re: [PHP] Submit button

2003-09-28 Thread Chris Shiflett
--- Nitin [EMAIL PROTECTED] wrote: img src=image.gif alt=Submit onClick=document.entry.submit() This is a great example of what not to do. Use input type=image... Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Search Submission Tool

2003-09-28 Thread Erich Kolb
Sorry about that, the URL is: http://www.submitsend.com Mek2600-Php [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] *This message was transferred with a trial version of CommuniGate(tm) Pro* First suggestion- include the URL. :) Michael Kennedy -Original Message- From:

php-general Digest 28 Sep 2003 23:18:45 -0000 Issue 2324

2003-09-28 Thread php-general-digest-help
php-general Digest 28 Sep 2003 23:18:45 - Issue 2324 Topics (messages 164158 through 164181): where are the good examples of using OOP? 164158 by: anders thoresson 164160 by: Burhan Khalid 164165 by: Eugene Lee 164168 by: Robert Cummings 164177 by:

[PHP] General .htaccess question

2003-09-28 Thread Mike Brum
I think I know the answer to this, but want some confirmation from someone a bit more knowledgable about Apache and .htaccess files. My webhost has the default 404 page set to 404.html. For the sake of consistancy on a number of levels, I prefer a PHP file for this (404.php). So to do this, I

Re: [PHP] General .htaccess question

2003-09-28 Thread Justin French
This is the perfect candidate for a question on an apache list, don't you think? Justin On Monday, September 29, 2003, at 10:53 AM, Mike Brum wrote: I think I know the answer to this, but want some confirmation from someone a bit more knowledgable about Apache and .htaccess files. My

Re: [PHP] General .htaccess question

2003-09-28 Thread Jon Kriek
*nods at Justin* Utterly nothing to do with php.general at all. -- Jon Kriek http://phpfreaks.com Justin French [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This is the perfect candidate for a question on an apache list, don't you think? Justin On Monday, September

Re: [PHP] General .htaccess question

2003-09-28 Thread Robert Cummings
In your 404.php script, add a line like error_log( '404.php invoked' ), then check your log. Cheers, Rob. On Sun, 2003-09-28 at 20:53, Mike Brum wrote: I think I know the answer to this, but want some confirmation from someone a bit more knowledgable about Apache and .htaccess files. My

Re: [PHP] General .htaccess question

2003-09-28 Thread Robert Cummings
On Sun, 2003-09-28 at 21:09, Robert Cummings wrote: In your 404.php script, add a line like error_log( '404.php invoked' ), then check your log. Must be getting sleepy, I read the question below as does 404.php get read on every request. Whoops. Cheers, Rob. On Sun, 2003-09-28 at 20:53,

[PHP] PHP coders spare time [OT}

2003-09-28 Thread Curt Zirzow
And what they do with it... http://zirzow.dyndns.org/html/mlists/php_general/ Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP coders spare time [OT}

2003-09-28 Thread Robert Cummings
On Sun, 2003-09-28 at 21:50, Curt Zirzow wrote: And what they do with it... http://zirzow.dyndns.org/html/mlists/php_general/ *heheh* Most popular threads is funny, in the #3 slot is non-php issue. LMAO Rob. -- .. | InterJinn

Re: [PHP] PHP coders spare time [OT}

2003-09-28 Thread Justin French
On Monday, September 29, 2003, at 11:50 AM, Curt Zirzow wrote: http://zirzow.dyndns.org/html/mlists/php_general/ The fact that you're the top responder in the last 30 days pretty much confirms you have too much spare time Curt! I remember the days when I would have been in the top ten, but

[PHP] trans_sid and forms -- feature request???

2003-09-28 Thread Justin French
Hi all, enable_trans_sid in the PHP ini has given me no grief to date, but now I'm working towards XHTML 1.0 Strict, and PHP seems to fall over when dealing with forms. It seems to put an extra (hidden) form element straight after the form... tag, and the W3 validator doesn't like it. I've

Re: [PHP] PHP coders spare time [OT}

2003-09-28 Thread Chris Shiflett
--- Curt Zirzow [EMAIL PROTECTED] wrote: http://zirzow.dyndns.org/html/mlists/php_general/ There's also this: http://www.zend.com/cgi-bin/m_stats.pl?list=php-generaldate=200309 What would be really interesting is to see a page like yours that offers statistics for all time in addition to

Re: [PHP] PHP coders spare time [OT}

2003-09-28 Thread - Edwin -
And while checking other parts of the site... Robert Cummings [EMAIL PROTECTED] wrote: On Sun, 2003-09-28 at 21:50, Curt Zirzow wrote: And what they do with it... http://zirzow.dyndns.org/html/mlists/php_general/ *heheh* Most popular threads is funny, in the #3 slot is non-php issue.

[PHP] PHP to Adobe's Flashpaper for reports?

2003-09-28 Thread dvanatta
I am currently creating reports using the FPDF library and want to change to Adobe's Flashpaper format. Are there PHP libraries for this? Possible examples of this being done? Thanks, Darin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mail(); and embedding pictures

2003-09-28 Thread Manuel Lemos
Hello, On 09/26/2003 05:03 PM, Iggy wrote: I am wondering if it is possible to embed pictures into email messages using this function. Sure, you need to compose an HTML message either with full URL in the IMG SRC=http://www...; tag or compose a multipart/related message to embed the image data

Re: [PHP] PHP coders spare time [OT}

2003-09-28 Thread Curt Zirzow
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]): --- Curt Zirzow [EMAIL PROTECTED] wrote: http://zirzow.dyndns.org/html/mlists/php_general/ There's also this: http://www.zend.com/cgi-bin/m_stats.pl?list=php-generaldate=200309 What would be really interesting is to see a page like yours