RE: [PHP] Template engine that doesn't rely on PEAR?

2006-01-15 Thread Erin Fortenberry
 -Original Message-
 Cc: php-general@lists.php.net
 Subject: Re: [PHP] Template engine that doesn't rely on PEAR?
 
 Maybe Smarty? Don't know if it depends on PEAR.
 
 http://smarty.php.net


I have used tiny but strong before... It is a lighter weight template system
then Smarty.

 http://tinybutstrong.com/



-Erin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] what does this mean? (PHP 4 = 4.0.1, PHP 5)

2006-01-09 Thread Erin Fortenberry
= is greater or equal to

-Erin
 

 -Original Message-
 From: Chris [mailto:[EMAIL PROTECTED] 
 Sent: Monday, January 09, 2006 9:13 PM
 To: php-general@lists.php.net
 Subject: [PHP] what does this mean? (PHP 4 = 4.0.1, PHP 5)
 
 I'm trying to understand function definitions and can't seem 
 to find any reference to the meaning of (PHP 4 = 4.0.1, PHP 
 5) or variations there of, shown at the beginning of each 
 definition. I get the idea it is telling me that the 
 particular function is supported in PHP 4  5. But what does 
 the = mean? Also what is this line of the definition called 
 (i.e. version support, edited ???)
 
 thanks,
 cw 
 
 --
 PHP General Mailing List (http://www.php.net/) To 
 unsubscribe, visit: http://www.php.net/unsub.php
 
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Hi!

2005-12-20 Thread Erin Fortenberry
It does't look like PHP is setup in Apache.

You should have a line that looks something like this;

And some others that look like this;

AddType application/x-httpd-php .php
AddType application/x-httpd-php .inc
AddType application/x-httpd-php-source .phps


Check out your apache config file.

-Erin


 Hi!
 
 Using a Win 2000 WS (work station), I'm trying to write the first PHP
 page as shown at http://il2.php.net/manual/en/tutorial.firstpage.php.
 
 The server is a Netware (Novell) 6.5 running Apache, PHP  MySQL all 3
 on same server but different volumes. 
 
 
 I created the file named hello.php by copying and pasting the following
 text to notepad and put it in my web server root directory I:\HTDocs: 
 
 Example 2-1. Our first PHP script: hello.phphtml: 
 head
  titlePHP Test/title
 /head
 body
 ?php echo 'pHello World/p'; ?
 /body
 /html
 
 
 When I am accessing the site with IE browser at the
 http://www.kalmanovitz.co.il/hello.php URL address I can see a blank
 page.
 The other pages are shown correctly.
 
 Any Idea how to fix it and continue with the tutorial?
 
 TIA
 
 Nanu
 
 
 
 
 
 
 
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] nexcess.net

2005-12-19 Thread Erin Fortenberry
I think this is what he means;

http://www.nexcess.net/ 


I can say, using their Interworx product, that they have GREAT support. I
have never used their hosting.


-Erin
 

 -Original Message-
 From: Jay Blanchard [mailto:[EMAIL PROTECTED] 
 Sent: Monday, December 19, 2005 12:52 PM
 To: 'Miles Thompson'; php-general@lists.php.net
 Subject: RE: [PHP] nexcess.net
 
 [snip]
 Anyone using nexecess.net, and have an opinion pro or con?
 [/snip]
 
 Con -- the page cannot be displayed
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] PHP errors in Apache error logs

2005-12-19 Thread Erin Fortenberry
It looks to me like the function session_save_path() does not exist.

You might look and see if Group Office supports PHP 5.1.x, you might have to
go back to an earlier version.


-Erin


 -Original Message-
 From: Jose Borquez [mailto:[EMAIL PROTECTED] 
 Sent: Monday, December 19, 2005 2:13 PM
 To: PHP Questions Lists
 Subject: [PHP] PHP errors in Apache error logs
 
 I am attempting to configure Group Office which is a Project 
 Management 
 suite on FreeBSD 5.4 with apache+mod_ssl-1.3.34+2.8.25_1, 
 MySQL 5.0.16, 
 PHP5-MySQL 5.1.1, and PHP5.1.1 and I keep getting the following error 
 messages in my error logs when I attempt to open a php page:
 
 [Mon Dec 19 10:37:36 2005] [error] PHP Fatal error:  Call to 
 undefined 
 function
 session_save_path() in 
 /usr/local/www/groupoffice-com-2.14-FINAL-4/Group-Office.
 php on line 792
 /usr/local/www/groupoffice-com-2.14-FINAL-4/Group-Office.php(792) : 
 Fatal error
 - Call to undefined function session_save_path()
 
 Could someone please give me any ideas as to what the problem 
 is?  Any 
 help would be greatly appreciated.
 
 Thanks in advance,
 Jose
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] PHP errors in Apache error logs

2005-12-19 Thread Erin Fortenberry
You also might try;

http://www.group-office.com/forum/

They have had several people asl about the same error.


-Ein


 -Original Message-
 From: Erin Fortenberry 
 Sent: Monday, December 19, 2005 2:23 PM
 To: Jose Borquez; PHP Questions Lists
 Subject: RE: [PHP] PHP errors in Apache error logs
 
 It looks to me like the function session_save_path() does not exist.
 
 You might look and see if Group Office supports PHP 5.1.x, 
 you might have to go back to an earlier version.
 
 
 -Erin
 
 
  -Original Message-
  From: Jose Borquez [mailto:[EMAIL PROTECTED] 
  Sent: Monday, December 19, 2005 2:13 PM
  To: PHP Questions Lists
  Subject: [PHP] PHP errors in Apache error logs
  
  I am attempting to configure Group Office which is a Project 
  Management 
  suite on FreeBSD 5.4 with apache+mod_ssl-1.3.34+2.8.25_1, 
  MySQL 5.0.16, 
  PHP5-MySQL 5.1.1, and PHP5.1.1 and I keep getting the 
 following error 
  messages in my error logs when I attempt to open a php page:
  
  [Mon Dec 19 10:37:36 2005] [error] PHP Fatal error:  Call to 
  undefined 
  function
  session_save_path() in 
  /usr/local/www/groupoffice-com-2.14-FINAL-4/Group-Office.
  php on line 792
  /usr/local/www/groupoffice-com-2.14-FINAL-4/Group-Office.php(792) : 
  Fatal error
  - Call to undefined function session_save_path()
  
  Could someone please give me any ideas as to what the problem 
  is?  Any 
  help would be greatly appreciated.
  
  Thanks in advance,
  Jose
  
  -- 
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
  
  
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Duplicate Images

2003-11-23 Thread Erin
Hi All,
Please give me a hand with this, ive been trying to do this for the best
part of today but i have got no where!

I have two arrays both have 161 elements, each has a list of filenames on my
server (images) now the idea here is to take the image name from array 1
copy it and re-name it to that of array 2.

for example

$array_A[$i] = 123097
$array_B[$i] = 684547

I need to keep the original image as well as duplicate it  rename.


Many thanks


R

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] encyption using sha1?

2003-11-21 Thread Erin
Hi all,
I need some help with storing passwords does anyone have any thoughts on
sha1()?

Any other ideas are welcome.

Am i right in thinking that to use sha1 ya do this:

$hashed_string = sha1{$string);


R

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Removing security-problematic chars from strings

2003-11-21 Thread Erin
use preg_match or eregi

:

Troy S [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Greetings,

 What is the best way to remove the characters from strings that may
 cause security problems?  Namely, `, ', , , , \ and all non-printing
 strings.  Did I miss any?  Thanks.

 Troy




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] eregi filter

2003-11-18 Thread Erin
Anyone have a good eregi filter for passwords?


Regards

R

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Explode a string

2003-11-12 Thread Erin
Any ideas how to do this,

I have a string

734088+3+734132+9+734138+80+781007+1+

I need to place the string into a multi-array like so

array[0][0] = 734088
array[0][1] = 3

array[1][0] = 734132
array[1][1] = 9

array[2][0] = 734138
array[2][1] = 80

etc...

Now ive tried everything i know any ideas?


Regards

R

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Time problem

2003-11-11 Thread Erin
Hi All,
Sorry if this has been asked a 1000 times and if its easy to find in the
php manual but i cant seam to solve this.

How do i convert a timestamp in to a normal readable time  date ie

2003155023

into

11th November 2003 @ 15:50:23


Many thanks, thought id ask someone is bound to have a snippet for this.



Regards

All



Erin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] **need info ASAP - displaying existing pdf files and other 'tricks'

2003-02-17 Thread Erin Fry
Hey there.
 
I want to display an existing pdf file.  However, I have a variable that is passed 
that will determine where I want the pdf file to ‘begin’.  For example, if the value 
of the variable passed is ‘B’ then I want the entire pdf file to be displayed with pg. 
75 in the immediate viewing screen.
 
I’ve found a lot of information on creating pdf files which obviously doesn’t help 
with what I want to do.  If you have any ideas, information (links, references) I 
would greatly appreciate it.
 
Thanks.
 
Erin

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 



RE: [PHP] **need info ASAP - displaying existing pdf files and other 'tricks'

2003-02-17 Thread Erin Fry
Wonderful.  Thanks so much for the info.


-Original Message-
From: Mathias Rockel [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 17, 2003 10:39 AM
To: Erin Fry
Subject: Re: [PHP] **need info ASAP - displaying existing pdf files and other 'tricks'

http://support.adobe.com/devsup/devsup.nsf/docs/52852.htm/$File/IRS-URLOpen_
2628.pdf

- Original Message -
From: Erin Fry [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 17, 2003 5:06 PM
Subject: [PHP] **need info ASAP - displaying existing pdf files and other
'tricks'


Hey there.

I want to display an existing pdf file.  However, I have a variable that is
passed that will determine where I want the pdf file to ‘begin’.  For
example, if the value of the variable passed is ‘B’ then I want the entire
pdf file to be displayed with pg. 75 in the immediate viewing screen.

I’ve found a lot of information on creating pdf files which obviously doesn’
t help with what I want to do.  If you have any ideas, information (links,
references) I would greatly appreciate it.

Thanks.

Erin

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] sorting multi-dimensional array where array elements are structs [simple class]

2003-02-12 Thread Erin Fry
Okay.  For some reason, usort messes things up when you have a multi-dimensional array 
(or at least mine).  When I commented out the call to usort, the information printed, 
but out of order.  When I called the usort, I’m not sure what happened, but all of the 
elements in my array were blank.  What I had to do is copy each row to a temporary 
array, perform the usort, then I just printed from there - I didn't even store it back 
into the original multi-dimensional array (although I'm sure I could do that if it 
were necessary).
At any rate, things are working as I need them to.  Thanks again.


-Original Message-
From: Michael Sims [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 11, 2003 7:19 PM
To: [EMAIL PROTECTED]
Cc: Erin Fry
Subject: Re: [PHP] sorting multi-dimensional array where array elements are structs 
[simple class]

On Tue, 11 Feb 2003 08:27:57 -0600, you wrote:

Thanks for the reply.  I had already tried usort previously.  For some
 reason, there is no data for the array fields at all in the cmp function
 - not sure why.  Does anyone know?  All help is appreciated!  Thanks.

Can you post a short code sample which illustrates your problem?

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] sorting multi-dimensional array where array elements are structs [simple class]

2003-02-11 Thread Erin Fry

On Mon, 10 Feb 2003 16:23:10 -0600, you wrote:

Hi.
 
I’m working with a multidimensional array where the data in the 
array is a class (struct).  All the information is being stored correctly, 
but I need to sort each “column” (AA0, BA0, etc. – see below) 
by the fieldNo portion of the struct.
 
class fieldClass
{
var $fieldNo;
var $srcLineNo;
var $data;
}
[...]

Although I've never personally used it, I believe usort() is what you
need:

http://www.php.net/manual/en/function.usort.php

You would need to create a callback function, something like:

function cmp($a, $b) {
  if ($a-fieldNo == $b-fieldNo) { return 0; }
  return ($a-fieldNo  $b-fieldNo) ? 1 : -1;
}

usort($structArray, 'cmp');



Thanks for the reply.  I had already tried usort previously.  For some reason, there 
is no data for the array fields at all in the cmp function - not sure why.  Does 
anyone know?  All help is appreciated!  Thanks.

 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] array_fill error

2003-02-11 Thread Erin Fry
I am trying to initialize a large array with all values being 0.  I’ve tried:
 
$arr = array_fill(0, 99, 0);
 
and I get this error message:
Fatal error: Call to undefined function: array_fill()
 
Any information and suggestions will be greatly appreciated.
 
Thanks.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 



[PHP] sorting multi-dimensional array where array elements are structs [simple class]

2003-02-10 Thread Erin Fry
Hi.
 
I’m working with a multidimensional array where the data in the array is a class 
(struct).  All the information is being stored correctly, but I need to sort each 
“column” (AA0, BA0, etc. – see below) by the fieldNo portion of the struct.
 
class fieldClass
{
var $fieldNo;
var $srcLineNo;
var $data;
}
 
   AA0   BA0   BA1  …
   __
0 ||_|_|___
1 ||_|_|___
2 ||_|_|___
3 ||_|_|___
4 ||_|_|___
.  ||_|_|___
.  ||_|_|___
.  |   | || 
 
I can find tons of examples and the such for regular multidimensional arrays with one 
data element (not a struct), and I’ve tried several sort function in php but they 
didn’t work (although I could have just been trying the wrong thing).
 
If anyone has done this before or has any suggestions, I would greatly appreciate it.
 
Erin

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 



[PHP] Need HOWTO on field-update code.

2001-04-12 Thread Erin Quick-Laughlin

Can PHP update a second field on the form, based on the contents chosen
from the first field (I'm thinking of JavaScript's function) ?

I'm pulling a list of id,name,email from MySQL and displaying name for
the first field. After the user picks it, I want the appropriate email
address to show up
in the second field.

1. I want to do this without sending a second select request to the
server.
2. What PHP functions should I be looking at to build this?
3. If not PHP, where can I find the appropriate JavaScript examples?

Thanks,
Eman




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] configuring php.ini

2001-03-01 Thread Erin Quick-Laughlin

I'm trying to use the example of mail() from php.net:

?
mail("equick-laughlin", "testing php mail function", "Line 1\nLine
2\nLine 3");
?

and I've configured my php.ini with the following:

[mail function]
sendmail_path   =   /usr/sbin/sendmail -t -i   ;for unix only, may
supply arguments as well (default is 'sendma
il -t -i')

Yes it still doesn't send for me.  I've checked that sendmail is
running, and I did a which sendmail to confirm it's location.

When I run the php script and do a tail -f /var/log/messages, it doesn't
show up.

How can I further troubleshoot this?

Eman
--

=
Erin Quick-Laughlinemail:  [EMAIL PROTECTED]
RR Partners : Comp.Spec.IIphone:  702.228.0222
http://www.rrpartners.com/ fax:702.228.7885
=



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]