[PHP] sablotron XMl XSLT

2002-04-09 Thread Matthew Luchak
s means no - there's no sablotron installed - but I was wondering if there is another way to test for Sablotron? I need a little quicker turnaround time then passing from voicemail to voicemail at my ISP ;) thanks, ________ Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED]

[PHP] flock and unix/apache

2002-04-09 Thread Matthew Luchak
s true... any ideas? ________ Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED]

RE: [PHP] sablotron XMl XSLT

2002-04-09 Thread Matthew Luchak
Thanks Ray but what I need to know is if there is indeed a better way than what I've tried to test if sablotron has been complied or not. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Hunter, Ray [mailto:[EMAIL

RE: [PHP] sockets and flush()

2002-04-09 Thread Matthew Luchak
Are you using ob_start () and ob_end_flush() ? If not then declaring ob_start () as the very first ? ob_start (ob_gzhandler); function call and ob_end_flush() where you want the string to output should do the trick. Matthew Luchak Webmaster Kaydara Inc

RE: [PHP] Re: sablotron XMl XSLT

2002-04-09 Thread Matthew Luchak
thanks. did the trick. no sablotron. :( Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] You could use function_exists() to test if xslt_create() is a defined function. If not, then error out. If so, carry on. It's not limited to sablotron checking

RE: [PHP] PHP.ini Session section

2002-04-09 Thread Matthew Luchak
sure, I've had it working before... what's the hang-up. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Mauricio Sthandier [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 4:17 PM To: [EMAIL PROTECTED] Subject

[PHP] check if file is already in use before fopen

2001-10-04 Thread Matthew Luchak
Title: Blank Is there a way to verify if a file is in use by another user before fopening it? Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED]

[PHP] RE: check if file is already in use before fopen

2001-10-04 Thread Matthew Luchak
Title: Blank damn... RTFM. I just now discovered flock. Sorry 'bout that. ps. Don't flame me for being rude to the original poster. I am the original poster Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message-From

[PHP] defending PHP mail function

2001-10-31 Thread Matthew Luchak
47single=1) looks pretty good to me and was wondering if anyone has any experiences, shortcuts etc. to this kind of problem with mail. ________ Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED]

RE: [PHP] defending PHP mail function

2001-10-31 Thread Matthew Luchak
WIN 2000 Blankwhat os was it?!?!? -- 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]

RE: [PHP] defending PHP mail function

2001-10-31 Thread Matthew Luchak
[EMAIL PROTECTED] it doesn't mail. If I try [EMAIL PROTECTED], or the like, it mails. I first noticed this problem when inserting addresses into the From: field and have now found it happening (not) in the To: field. Matthew Luchak Webmaster Kaydara Inc. [EMAIL

RE: [PHP] defending PHP mail function

2001-10-31 Thread Matthew Luchak
Well hey, if mail() won't send to those addresses, what's wrong with us testing them? :-) ;) Can you send to those addresses from a regular email client? If so, can you do it from the command line with your MTA? Of course I am talking about valid addresses, in fact there is at least one

RE: [PHP] defending PHP mail function

2001-10-31 Thread Matthew Luchak
for is a solution to a PHP/SMTP problem. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Kurt Lieber [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 11:57 AM To: PHP General List Subject: Re: [PHP] defending PHP mail

RE: [PHP] variable issue

2001-11-09 Thread Matthew Luchak
if(!isset($dte)) { $dte=date(j, time()+$ctime);} You don't need the else statement. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 2001 2:37 PM To: PHP

RE: [PHP] Setting variables from a text file

2001-11-14 Thread Matthew Luchak
How about pseudocode... $variable=variablename; $array = explode(|,$text); foreach ($array as $key = $value) { $variable$key=$value; } Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Jeff Lewis [mailto

RE: [PHP] Parse POST-Data myself

2001-11-16 Thread Matthew Luchak
was that the second field overwrote the first. How do you get an array? Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Stefan [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 10:03 AM To: PHP Subject: [PHP] Parse POST-Data

RE: [PHP] timing

2001-11-16 Thread Matthew Luchak
If the other application is written in PHP you can use flock. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Caspar Kennerdale [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 11:00 AM To: Php-General Subject

RE: [PHP] Re: A tricky one?

2001-11-20 Thread Matthew Luchak
, $header ); ? Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Raymond Lilleodegard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 1:57 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: A tricky one? Thanks

RE: [PHP] Re: Testing for the presence of HTML

2001-11-20 Thread Matthew Luchak
! my god, I'm advocating clippy :( ... You can then insert a boolean to mark the file according to their response. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Richard S. Crawford [mailto:[EMAIL PROTECTED]] Sent: Tuesday

RE: [PHP] OT question..

2001-05-08 Thread Matthew Luchak
Happiness is a warm gun. - John Lennon What luck for the rulers that men do not think. - Adolf Hitler Could you please remove that signature. Thanks. -Egon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] dynamically naming arrays

2001-05-17 Thread Matthew Luchak
any hints on dynamically naming arrays? ie: $stuff= explode (!, $contents); //$stuff[3] is foo $stuff[3]=explode(,$stuff[4]); print_r($foo); Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

RE: [PHP] echo array name

2001-07-09 Thread Matthew Luchak
';} } ? Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -- 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

RE: [PHP] Variable Next To Variable?

2001-07-11 Thread Matthew Luchak
and then arsort the array. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] What I'm doing is having a form page ask, How many children do you want to sign up? Then it spits out form fields for as many children as they asked for. So each field has name=C_Last_Name$x

RE: [PHP] HTML tags in database fields

2001-07-11 Thread Matthew Luchak
; closed but not opened tags... Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] Hello. I wrote a comments application that allows the use of some HTML tags for text formatting (ib). I ran into a problem of users not closing the tags (/i/b), so when I

RE: [PHP] Running for loop and concat. variables...

2001-07-11 Thread Matthew Luchak
I think using isset should do it. try: for ($i = 0; $i = $ffromx; $i++) { if (isset($ffrom.$i)){ echo $ffrom.$i.BR;} } Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Jeff Lewis [mailto:[EMAIL PROTECTED

[PHP] array_count_values

2001-04-18 Thread Matthew Luchak
can someone give a quick hint as to why this does not work: $array = split ("\n", $contents); $stuff = array_count_values ($array); echo $stuff[nuts]; or even: $array = array (split ("\n", $contents)); $stuff = array_count_values ($array); echo $stuff[nuts]; thnx... matthew --

RE: [PHP] Site Searchable function

2001-04-19 Thread Matthew Luchak
there is a good starting point for walking a directory tree and printing out the names of the files at: http://www.php.net/manual/en/function.readdir.php it should be no mean feat to add a search file function and voila Matthew Luchak Webmaster Kaydara Inc

RE: [PHP] Site Searchable function

2001-04-20 Thread Matthew Luchak
check php.ini file for "allow fopen" I think. ____ Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: ~~~LeoN~ [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 10:59 AM To: [EMAIL PROTECTED] Subject: Re:

RE: [PHP] Posting to a form

2001-04-24 Thread Matthew Luchak
you can't have whitespace in $valsI would replace the whitespace with _ and vice-versa when you want to ouput the $vals... Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] I'm trying to do the following input type=text tabindex=17 name=Aname value

RE: [PHP] SVG PHP

2001-04-25 Thread Matthew Luchak
What about writting a gimp plug-in...? http://www.gimp.org Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Nick Winfield [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 25, 2001 9:50 AM To: PHP General Mailing List

RE: [PHP] fsockopen question

2001-04-26 Thread Matthew Luchak
I use: $fp = fsockopen(www.somewhere.com,80); fputs($fp, GET http://www.somewhere.com/somedir/somepage.html HTTP/1.0\r\n\r\n); to parse. Should be easily modified Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From

RE: [PHP] fsockopen question

2001-04-26 Thread Matthew Luchak
.. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Michael Conley [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 1:00 PM To: Matthew Luchak; [EMAIL PROTECTED] Subject: RE: [PHP] fsockopen question It looks like

[PHP] split and array logic

2001-05-01 Thread Matthew Luchak
$stuff[1][user]=213.35.354.93 $stuff[1][browser]=Mozilla/4.0 I am hacking away at: foreach( $stuff as $cFile ) { list ($user, $junk, $browser) = split (' ', $cFile); } and it hurts.any hints ? TIA, Matthew

RE: [PHP] Returning Lowest Number Not In Array

2001-05-03 Thread Matthew Luchak
pseudo code: for($i=-1; $i count($my_array); $i++) { if (!in_array($i,$my_array)){echo $i; exit;} } should do it. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Mike Potter [mailto:[EMAIL PROTECTED]] Sent

RE: [PHP] session_register()

2001-05-04 Thread Matthew Luchak
++; ? Hello visitor, you have seen this page ?php echo $sidcount; ? times.p php? # the ?=SID? is necessary to preserve the session id # in the case that the user has disabled cookies ? Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] I would be very

[PHP] nslookup function ?

2001-05-04 Thread Matthew Luchak
undocumented nslookup() function out there? Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -- 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

RE: [PHP] URL redirection

2001-05-07 Thread Matthew Luchak
? header (Location: http://www.somewhere.com/index.php;); exit; ? Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] Hi, Is there a PHP function that will redirect the current page to another url? -- PHP General Mailing List (http