RE: [PHP] forcing file downloads

2002-06-12 Thread Jared Boelens
20% represents a space. -Jared -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 9:01 AM To: php Subject: [PHP] forcing file downloads I know this has been discussed many times, but I've been hunting through the archives with very little

RE: [PHP] SMS with PHP

2002-06-10 Thread Jared Boelens
I had this exact need but I was solved partially by my cell phone provider. I have verizon and verizon actaully assigns each phone an email address if you have text messenging. So all i had to do was send an email to that address and it would go to my phone in about 30 seconds or so. -Jared

RE: [PHP] storing html in a db

2002-06-10 Thread Jared Boelens
You might consider using output buffering in order to accomplish that goal. http://www.php.net/manual/en/ref.outcontrol.php You could buffer the entire page and store the buffer into the DB at the end of the page load. -Jared -Original Message- From: W. Enserink [mailto:[EMAIL

RE: [PHP] PHP code in a database

2002-06-07 Thread Jared Boelens
This might be what you need. http://www.php.net/manual/en/function.eval.php -Jared -Original Message- From: Jean-Rene Cormier [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 12:11 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP code in a database I'm trying to make a script that'll

[PHP] Question regarding :: syntax

2002-06-03 Thread Jared Boelens
According to the CHM manual: Sometimes it is useful to refer to functions and variables in base classes or to refer to functions in classes that have not yet any instances.: Using parent::foo() works fine but I am having problems getting the variable part of this to work. For Example: class A

RE: [PHP] CHM Form Of PHP Manual? (Was: [PHP] Question regarding :: syntax)

2002-06-03 Thread Jared Boelens
:: syntax) - Original Message - From: Jared Boelens [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Monday, June 03, 2002 5:06 PM Subject: [PHP] Question regarding :: syntax According to the CHM manual: There's a CHM form of a PHP manual? * bounce, bounce *Where could I get

RE: [PHP] Question regarding :: syntax

2002-06-03 Thread Jared Boelens
[mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 12:30 PM To: php list Subject: Re: [PHP] Question regarding :: syntax On Mon, 2002-06-03 at 12:06, Jared Boelens wrote: Is there not a way to refer directly to the parent properties? Or do i have to setup a get function for every parent var

RE: [PHP] Question regarding :: syntax

2002-06-03 Thread Jared Boelens
, June 03, 2002 12:58 PM To: php list Subject: RE: [PHP] Question regarding :: syntax On Mon, 2002-06-03 at 12:45, Jared Boelens wrote: So am i to understand that i will have to do it in this manner? *SNIP* No no no... B extends A, and you have an instance of B. Just do this: class

RE: [PHP] Question regarding :: syntax

2002-06-03 Thread Jared Boelens
Baugher [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 1:58 PM To: php list Subject: RE: [PHP] Question regarding :: syntax On Mon, 2002-06-03 at 13:42, Jared Boelens wrote: This may be a dumb question but, how can you be sure that the $this- is referring to the parent classes' property

[PHP] Overriding Class functions and variables

2002-06-03 Thread Jared Boelens
From reading the manual, it is my understanding that one cannot explicitly override parent class functions and/or properties. I found this article stating, You can override any function but it is an implicit override...any function that is overridden in a child is never called in the parent, so

RE: [PHP] Server error when executing mail() function

2002-05-28 Thread Jared Boelens
I was having this same problem a few weeks ago and ended up giving up. After reading the response about the headers i decided to try it. If i call this it works: mail($recipient, $subject); If i call this is gets the server error msg: mail($recipient, $subject, $headers); In that case their

RE: [PHP] Dates

2002-05-28 Thread Jared Boelens
Something like this.. $start = 2002-10-9; $end = 2002-11-16; $arStart = explode(-, $start); $arEnd = explode(-, $end); $startTime = date(U, mktime(0,0,0,$arStart[1], $arStart[2], $arStart[0])); $endTime = date(U, mktime(0,0,0,$arEnd[1], $arEnd[2], $arEnd[0])); $dif = $endTime - $startTime; // in

RE: [PHP] Using php as a scripting language within cron jobs?

2002-05-17 Thread Jared Boelens
I personally have never come across the method that is involved in compiling PHP as a binary, but I have come up with a way to run PHP scripts from the Command Line and Cron without the binary. from the cron I would call this command... wget -q -T10 http:/www.mydomain.com/myScript.php -0

RE: [PHP] Looking for web based email

2002-05-17 Thread Jared Boelens
This is the one my company uses: http://nocc.sourceforge.net/ I found it very easy to modify, and it fully supports attachments as well as the related RFCs. -Jared -Original Message- From: Craig [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 4:46 AM To: [EMAIL PROTECTED]

RE: [PHP] Listing the contents of a directory in an array

2002-05-17 Thread Jared Boelens
I actaully had to do that yesterday, here is the code i used. $path = /foo/bar; $myArray = $array(); $dir = opendir($path); while($file = readdir($dir)) { // if(!ereg(^\., $file) { $myArray[count($myArray)] = $file; // } } closedir($dir); If you want to exclude the always present . and

RE: [PHP] apache redirect and request

2002-05-17 Thread Jared Boelens
getenv(HTTP_HOST); Then parse the data as you need to to get to the root of the domain. -Jared -Original Message- From: Adrian Murphy [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 9:20 AM To: [EMAIL PROTECTED] Subject: [PHP] apache redirect and request Hi, my isp has set up

[PHP] Problems with mail() w/Win2k

2002-05-16 Thread Jared Boelens
Hey guys I recently join this list and this is my first real post to it so if I f**k something up please do beat me to death. :) I have a simple mailer script that was mailing POSTed form information to a client, this script was running on a Debian box w/Apache. This server is having hardware

RE: [PHP] shell command

2002-05-15 Thread Jared Boelens
Here are the functions you need: http://www.php.net/manual/en/ref.exec.php -Jared -Original Message- From: Roman Duriancik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 9:30 AM To: PHP-General Subject: [PHP] shell command How to execute dos\winnt command in php script, i

RE: [PHP] SQL Server test tool

2002-05-15 Thread Jared Boelens
I would imagine that you could use fsockopen to open a socket connection on that port in order to test it. -Jared -Original Message- From: Scott St. John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 8:53 AM To: [EMAIL PROTECTED] Subject: [PHP] SQL Server test tool Has