[PHP] Last call. For PHP/PEAR @ FOSDEM 2005

2004-10-06 Thread Christophe Gesch
I need a Schedule, speaker and public. That must be request this month. I think to 2 themes. 1° PHP5 (real use of new feature and first feedback) 2° PEAR to a stability and an better reputation. http://www.fosdem.org/2004/index/news/fosdem The FOSDEM (Free and Open Source Developers' European

[PHP] pdf_open_pdi_page

2004-10-06 Thread Hendrik Schmieder
Hello, when I try to execute the php script below I get the following error message *Fatal error*: PDFlib error: [2016] PDF_open_pdi: PDF import (PDI) not supported in this configuration in *d:\worksheet-server\wss\html\pdf\test2.php* on line *7* I'm using Apache 1.3.31 with php 4.3.8 on

Re: [PHP] Upload problems

2004-10-06 Thread Robert Sossomon
With apache, check out the php.conf file located at: /etc/httpd/conf.d and modify it to be: Files *.php SetOutputFilter PHP SetInputFilter PHP LimitRequestBody 838860800 /Files That'll allow a full CD worth of information to be uploaded... :) Robert raditha dissanayake wrote: Dennis

Re: [PHP] Re: [PHP Attachement Problems - MAC ISSUE!!

2004-10-06 Thread PHP Junkie
Ave, Manuel... I saved the new email_message.php class that you sent me replacing the old one. I used the test_attachment_message.php to test the new class. This time it didn't send the email with the corrupted attachments, instead, gave me an error on the screen... This is the error that I

Re: [PHP] Re: [PHP Attachement Problems - MAC ISSUE!!

2004-10-06 Thread PHP Junkie
Ave, One more thing I'd like to point out, which I just discovered. The php code I was using earlier, prior to using Manuel's mail class... Was not able to send any kind of attachment except .txt files. Niether images nor pdf nor anything would go through without being corrupted. However, using

Re: [PHP] pdf_open_pdi_page

2004-10-06 Thread Matt M.
*Fatal error*: PDFlib error: [2016] PDF_open_pdi: PDF import (PDI) not supported in this configuration in *d:\worksheet-server\wss\html\pdf\test2.php* on line *7* I could be wrong but I think you need a special license for this functionality. -- PHP General Mailing List (http://www.php.net/)

[PHP] proper method to do the following...

2004-10-06 Thread Hugh Beaumont
I've been working with error_reporting(E_ALL) set lately trying to write code that does not give notices or errors. I have not been able to solve the following: given a form with a checkbox that may or may not be set, we'll call it exact as in input type = checkbox name = exact the

Re: [PHP] proper method to do the following...

2004-10-06 Thread John Nichel
Hugh Beaumont wrote: I've been working with error_reporting(E_ALL) set lately trying to write code that does not give notices or errors. I have not been able to solve the following: given a form with a checkbox that may or may not be set, we'll call it exact as in input type = checkbox name

Re: [PHP] proper method to do the following...

2004-10-06 Thread Greg Donald
On Wed, 6 Oct 2004 06:53:34 -0700 (PDT), Hugh Beaumont [EMAIL PROTECTED] wrote: Notice: Undefined index: exact in search.php on line 10 code : if (!isset($_POST['exact'])) { - line 10 $_POST['exact'] == false; } Reverse the logic of isset(). if (isset($_POST['exact'])) {

Re: [PHP] proper method to do the following...

2004-10-06 Thread Hugh Beaumont
I've been working with error_reporting(E_ALL) set lately trying to write code that does not give notices or errors. What is the proper way to set a variable so that it's non-existance will not generate a notice? Thanks all for the replies. I also noticed a small typo in the

RE: [PHP] proper method to do the following...

2004-10-06 Thread Michael Sims
Hugh Beaumont wrote: the following code outputs : Notice: Undefined index: exact in search.php on line 10 code : if (!isset($_POST['exact'])) { - line 10 $_POST['exact'] == false; } You have a typo in line 11. I'm assuming you want to use the assignment operator = instead of

[PHP] Memory limit reached but no error displayed

2004-10-06 Thread Paulo JF Silva
Hi, I have found a bug in one of my scripts. It doesn't output anything, just a 100% blank page. I debugged it to a single implode line. If I comment it, it's ok, the page show my debug echo's and stuff, if i let the script run that line the result is a blank page even with echo's done before

Re: [PHP] A question of style....

2004-10-06 Thread Chris Boget
Anything that doesn't use the word 'flava' :) What if I name all my variables after Rocky characters? ;) Hey! You stole my method! Actually, mine are Rocky and Bullwinkle, but still! :p thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Referencing a constant class variable

2004-10-06 Thread Chris Boget
If I have a class that looks like this: class MyClass { var $MyClassVar = Bob; } is there a way to reference that variable w/o instantiating MyClass? I've tried: MyClass::$MyClassVar MyClass-$MyClassVar MyClass.$MyClassVar nothing works. Is this even possible? I'm using PHP 4.3.2. thnx,

[PHP] displaying blob images from a mssql db

2004-10-06 Thread blackwater dev
Ok, I know images shouldn't be saved in the db but this isn't my db so I can't change that. Does anyone know of a good tutorial to show me how to grab these blog jpg's and display them in a browser? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] proper method to do the following...

2004-10-06 Thread Dennis Gearon
Hugh Beaumont [EMAIL PROTECTED] wrote: quote I've been working with error_reporting(E_ALL) set lately trying to write code that does not give notices or errors. What is the proper way to set a variable so that it's

Re: [PHP] --disable-url-fopen-wrapper gone?

2004-10-06 Thread Paul Fierro
On 10/05/2004 12:03 PM, Marten Lehmann [EMAIL PROTECTED] wrote: Hello, one account of a user on our webserver was compromised using a feature of fopen to load external sources. As of the documentation, there shall be a configure option called --disable-url-fopen-wrapper. Unfortunately,

[PHP] Saving non-english text into database problem !!

2004-10-06 Thread Dre
Hi I have a strange problem that I can not figure out how to solve .. I'm trying to save some data into a regular mySQL database table by using a normal php insertion script but I'm trying to save Arabic Text and here comes the problem .. When I'm performing the insertion by writing the actual

RE: [PHP] why this doesn't work as an external file but does inte rnally?

2004-10-06 Thread Vail, Warren
Perhaps you fixed things but they all appeared to work for me (at least mostly). https://celestica.tristarpromotions.com/NEW/index3.php This last one, seemed to not do the mouseout on the contact button, but all three seemed to work. Good job, Warren Vail -Original Message- From:

Re: [PHP] Referencing a constant class variable

2004-10-06 Thread Greg Donald
On Wed, 6 Oct 2004 11:08:22 -0500, Chris Boget [EMAIL PROTECTED] wrote: If I have a class that looks like this: class MyClass { var $MyClassVar = Bob; } is there a way to reference that variable w/o instantiating MyClass? I've tried: MyClass::MyClassVar -- Greg Donald Zend

Re: [PHP] Referencing a constant class variable

2004-10-06 Thread Greg Donald
On Wed, 6 Oct 2004 13:02:18 -0500, Greg Donald [EMAIL PROTECTED] wrote: On Wed, 6 Oct 2004 11:08:22 -0500, Chris Boget [EMAIL PROTECTED] wrote: If I have a class that looks like this: class MyClass { var $MyClassVar = Bob; } is there a way to reference that variable w/o

Re: [PHP] Saving non-english text into database problem !!

2004-10-06 Thread Marek Kilimajer
Dre wrote: Hi I have a strange problem that I can not figure out how to solve .. I'm trying to save some data into a regular mySQL database table by using a normal php insertion script but I'm trying to save Arabic Text and here comes the problem .. When I'm performing the insertion by writing the

Re: [PHP] Referencing a constant class variable

2004-10-06 Thread Daniel Schierbeck
Greg Donald wrote: On Wed, 6 Oct 2004 13:02:18 -0500, Greg Donald [EMAIL PROTECTED] wrote: On Wed, 6 Oct 2004 11:08:22 -0500, Chris Boget [EMAIL PROTECTED] wrote: If I have a class that looks like this: class MyClass { var $MyClassVar = Bob; } is there a way to reference that variable w/o

Re: [PHP] Referencing a constant class variable

2004-10-06 Thread Chris Boget
I believe you can make the property static (at least in PHP5): class MyClass { public static $myClassVar = Bob; } echo MyClass::$myClassVar; // Bob Unfortunately, in PHP4.3.2 that doesn't seem to be working... :( Does anyone know how I can access a class' variable w/o having to instantiate

Re: [PHP] Referencing a constant class variable

2004-10-06 Thread M. Sokolewicz
Chris Boget wrote: I believe you can make the property static (at least in PHP5): class MyClass { public static $myClassVar = Bob; } echo MyClass::$myClassVar; // Bob Unfortunately, in PHP4.3.2 that doesn't seem to be working... :( Does anyone know how I can access a class' variable w/o having to

[PHP] Push file to FTP Server

2004-10-06 Thread Aaron Todd
Does anyone know how I might be able to have php push a file to an FTP server? Thanks, Aaron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Referencing a constant class variable

2004-10-06 Thread Chris Boget
reference like MyClass::MyVar. Don't use PHP5 conventions in PHP4! I'm curious if you tested your code? Did it work? If so, what version of PHP are you using? I copied and pasted the code you provided and got the following error: Parse error: parse error, expecting `','' or `';'' in

Re: [PHP] Push file to FTP Server

2004-10-06 Thread Aaron Gould
Aaron Todd wrote: Does anyone know how I might be able to have php push a file to an FTP server? If you configure PHP with --enable-ftp, you'll have a bunch of FTP functions at your disposal, including PUT: http://ca.php.net/ftp -- Aaron Gould Parts Canada - Web Developer -- PHP General

Re: [PHP] Push file to FTP Server

2004-10-06 Thread John Nichel
Aaron Todd wrote: Does anyone know how I might be able to have php push a file to an FTP server? Thanks, Aaron http://us4.php.net/ftp -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Push file to FTP Server

2004-10-06 Thread Matt M.
Does anyone know how I might be able to have php push a file to an FTP server? did you look in the manual or even try google? http://us4.php.net/ftp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] SOLVED: why this doesn't work as an external file but does internally?

2004-10-06 Thread Aaron Wolski
Hi All, Just wanted to thank everyone for their advice and help. What I ended up doing is simply doing an include() of the JS code instead of externally linking to the file. This works perfectly. Thanks again everyone! I appreciate it. Regards, Aaron -Original Message- From: Aaron

Re: [PHP] Referencing a constant class variable

2004-10-06 Thread Jennifer Goodie
-- Original message from Chris Boget : -- Parse error: parse error, expecting `','' or `';'' in /usr/local/etc/httpd/domains/eazypro.com/interactive/cron_scripts/test/rate_ version.php on line 9 with line 9 being this line: var $MyVar = MyEnums::thisVar;

[PHP] Newsgroups Space

2004-10-06 Thread Joe Crawford
i know this isn't completely related to php but i am creating a web based news reader in php, how much disk space do you think i need to run my own local news server? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Newsgroups Space

2004-10-06 Thread Jay Blanchard
[snip] i know this isn't completely related to php but i am creating a web based news reader in php, how much disk space do you think i need to run my own local news server? [/snip] I'd go with a 1TB RAID -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Newsgroups Space

2004-10-06 Thread Robert Sossomon
Jay Blanchard is quoted as saying on 10/6/2004 4:49 PM: [snip] i know this isn't completely related to php but i am creating a web based news reader in php, how much disk space do you think i need to run my own local news server? [/snip] I'd go with a 1TB RAID Only 1TB?? -- PHP General Mailing

Re: [PHP] SOLVED: why this doesn't work as an external file but does internally?

2004-10-06 Thread Brian
Those of us that view emails as a list of conversations would appreciate not changing subject lines. On Wed, 6 Oct 2004 16:01:32 -0400, Aaron Wolski [EMAIL PROTECTED] wrote: Hi All, Just wanted to thank everyone for their advice and help. What I ended up doing is simply doing an include()

Re: [PHP] Referencing a constant class variable

2004-10-06 Thread David Bevan
On October 6, 2004 15:34, Chris Boget wrote: Unfortunately, in PHP4.3.2 that doesn't seem to be working... :( Does anyone know how I can access a class' variable w/o having to instantiate an object of the class? This is more to the point of what I'm trying to do: Since PHP4 doesn't have

RE: [PHP] Newsgroups Space

2004-10-06 Thread Matthew Sims
[snip] i know this isn't completely related to php but i am creating a web based news reader in php, how much disk space do you think i need to run my own local news server? [/snip] I'd go with a 1TB RAID Better go with 2TB. You know how all that porn fills up. -- --Matthew Sims

[PHP] RE: **[SPAM]** RE: [PHP] Newsgroups Space

2004-10-06 Thread Jay Blanchard
[snip] Better go with 2TB. You know how all that porn fills up. [/snip] Shoot, I forgot porn. 4-7TB minimum -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Suggestion for IN()

2004-10-06 Thread Shawn McKenzie
Your first scenario can been done in a similar fashion to how you are used to doing it in SQL: if ( in_array($a, array(1,4,20,...) ) {} Your second scenario doesn't seem like there is much of a problem because it will always be short (can only have 2 comparisons). -Shawn Jay Blanchard wrote:

RE: [PHP] Images in PHP and MySQL

2004-10-06 Thread Ed Lazor
On Friday 01 October 2004 05:52, Ed Lazor wrote: Images take up more space when stored in the db, because you're storing raw binary data. Gif and jpeg are compression methods that convert binary data into something smaller that can be stored in a file. ?? If you store a jpeg file

[PHP] mysqli - mysql

2004-10-06 Thread Whitehawk Stormchaser
Hi! I have a trouble with building MySQL and MySQLi support together with PHP... Basically my config says: ../configure --with-mysql=/usr --with-mysqli=/usr/bin/mysql_config (and other switches) but I get this: /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x0): multiple definition of

Re: [PHP] mysqli - mysql

2004-10-06 Thread Marek Kilimajer
http://bugs.php.net/bug.php?id=29860 Whitehawk Stormchaser wrote: Hi! I have a trouble with building MySQL and MySQLi support together with PHP... Basically my config says: ../configure --with-mysql=/usr --with-mysqli=/usr/bin/mysql_config (and other switches) but I get this:

[PHP] Re: Saving non-english text into database problem !!

2004-10-06 Thread Dre
the variables I'm using are sent correctly from the html form to the page contains the insertion script .. and both of these pages has the same encoding Dre [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi I have a strange problem that I can not figure out how to solve .. I'm

Re: [PHP] SOLVED: why this doesn't work as an external file but does internally?

2004-10-06 Thread John Nichel
Brian wrote: Those of us that view emails as a list of conversations would appreciate not changing subject lines. Changing the subject line as in putting 'SOLVED' in it? Hell, I wish more people did that. -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List

Re: [PHP] Images in PHP and MySQL

2004-10-06 Thread Gary Hotko
No problem Ed thanks... Actually I was supprised to see this conversation (thread) come back into my GMAIL inbox On Wed, 6 Oct 2004 15:57:12 -0700, Ed Lazor [EMAIL PROTECTED] wrote: On Friday 01 October 2004 05:52, Ed Lazor wrote: Images take up more space when stored in the db,

[PHP] Re: HOWTO: Install PHP on Fedora Core / Redhat

2004-10-06 Thread Luis Bernardo
John Swartzentruber [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 10/3/2004 4:02 PM Matthew Fonda wrote: Howdy, I noticed that quite a few people were having a hard time installing PHP on Fedora Core or Redhat, so I put together a little tutorial explaining how to do it.

[PHP] AutoLogin

2004-10-06 Thread Sagar C Nannapaneni
Title: Blank Hi all, I have a website which has a login form with username and password. How can i login into that website providing the username and pwd from the php script. I know that this can be done...but wonder how. The website uses a JSP files with jsp session and also before logging

[PHP] How to implement mass emailing?

2004-10-06 Thread Tumurbaatar S.
The scenario is: 1. Site administrator logs into his admin page and writes some message on a form. 2. After clicking submit the web script should broadcast this message to several hundred subscribers. And I'm wonder how to implement this on PHP. Sending an email to each subscribers can take a

Re: [PHP] How to implement mass emailing?

2004-10-06 Thread zareef ahmed
--- Tumurbaatar S. [EMAIL PROTECTED] wrote: The scenario is: 1. Site administrator logs into his admin page and writes some message on a form. 2. After clicking submit the web script should broadcast this message to several hundred subscribers. If you want to send the message as email