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

2003-09-28 Thread Curt Zirzow
* Thus wrote Curt Zirzow ([EMAIL PROTECTED]): > * Thus wrote Justin French ([EMAIL PROTECTED]): > > 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. > > > > So

Re: [PHP] fsockopen server monitor

2003-09-28 Thread Cameron Metzke
Sorry about that . Its my first post, :( "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Cameron Metzke ([EMAIL PROTECTED]): > > Hi there, > > I have been trying to make a simple monitor script using fsockopen. here it > > is > > --Start Code- > > >

Re: [PHP] fsockopen server monitor

2003-09-28 Thread Curt Zirzow
* Thus wrote Cameron Metzke ([EMAIL PROTECTED]): > Hi there, > I have been trying to make a simple monitor script using fsockopen. here it > is > --Start Code- > > error_reporting(0); > include 'config.php'; > $domain = $_POST['domain']; > > [... unneeded code ...] > > // Http port c

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

2003-09-28 Thread Curt Zirzow
* Thus wrote Justin French ([EMAIL PROTECTED]): > 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. > > So, one option is to exclude form= from the list or rewrite tags

[PHP] fsockopen server monitor

2003-09-28 Thread Cameron Metzke
Hi there, I have been trying to make a simple monitor script using fsockopen. here it is --Start Code- monitor script HTTP Server : "); } else { echo (""); } ?> FTP Server : "); } else { echo (""); } ?> POP Server : "); } els

[PHP] fsockopen server monitor

2003-09-28 Thread Cameron Metzke
Hi there, I have been trying to make a simple monitor script using fsockopen. here it is --Start Code- monitor script HTTP Server : "); } else { echo (""); } ?> FTP Server : "); } else { echo (""); } ?> POP Server : "); } els

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-general&date=200309 > > What would be really interesting is to see a page

[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 http://www...";> tag or compose a multipart/related message to embed the image data in the

[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

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-

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-general&date=200309 What would be really interesting is to see a page like yours that offers statistics for "all time" in addition to

[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 tag, and the W3 validator doesn't like it. I've also con

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 they

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 A

[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] 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:5

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 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, S

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 webhost

[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 crea

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: Dae

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-

Re: [PHP] Submit button

2003-09-28 Thread Chris Shiflett
--- Nitin <[EMAIL PROTECTED]> wrote: > This is a great example of what not to do. Use http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 ?> the file downloads but when open i get an error but when i try t

[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] 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 examp

[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 goo

[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 ?> the file downloads but when open i get an error but when i try the same script on a machine with apache + php as a built in module it works, why does this ot work when ac

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 this

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

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

[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 (ii

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] checked / unchecked

2003-09-28 Thread phpu
Hi I have this form: Picture '; } ?> All i wanna do is to modify picture only if the modify_picture checkbox is checked. How can i do that? thanks

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 explai

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 Word/Ad

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']))) : { : ... : . : : } : else : { : . : } 1. The superglobal array is $_POST (all caps), not $_Post. 2. Make su

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 Nitin
You can always use: Try it and enjoy Nitin

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 Ma

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']))) { ... . } else { . } "Eugene Lee" <[EMAIL PROTECTED]> az alábbiakat írta a következo üzenetben news:[EMAIL PROTECTED] > On Sun, Sep 28, 2003 at 12:49:27PM +0200, Karina S wrot

[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" );

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 http://www.ph

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']))) : { : ... : . : : } : else : { : . : } : : Is it possible to

[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

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 Re

[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']))) { ... . } else { . } Is it possible to change the Submit button with an image? Thanks! -- PHP General Mailing List (ht

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 th

[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] 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

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 Gen

[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