RE: [PHP] SESSIONS in javascript

2002-04-10 Thread Matthew Luchak
if you use SID you can get the session out of the url. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Morten Nielsen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 4:31 PM To: [EMAIL PROTECTED] Subject: [PHP

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 PROTECTE

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 che

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 "mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 5:39 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] sockets and flush() no tables. my test script prints a single stri

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

[PHP] flock and unix/apache

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

[PHP] sablotron XMl XSLT

2002-04-09 Thread Matthew Luchak
" error which I guess 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]  

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

2001-11-20 Thread Matthew Luchak
If I understand the question correctly - came late to the thread - I think the easiest way to do this would be to check for the presence of "mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 4:29 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Testing for the presence of HTML Unfortuna

RE: [PHP] Re: A tricky one?

2001-11-20 Thread Matthew Luchak
try &&($val!="") instead of &&(isset($var) ________ Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Raymond Lilleodegard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 3:52 PM To: [EMAIL PR

RE: [PHP] Re: A tricky one?

2001-11-20 Thread Matthew Luchak
how about... 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 for

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-Gener

RE: [PHP] Parse POST-Data myself

2001-11-16 Thread Matthew Luchak
s 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

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

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,

RE: [PHP] defending PHP mail function

2001-10-31 Thread Matthew Luchak
on a nix box because what I'm looking 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

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
it because if I try "[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. ___

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]

[PHP] defending PHP mail function

2001-10-31 Thread Matthew Luchak
347&single=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]  

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

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

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."";} } ________ Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Jeff Lewis [mailto:[EM

RE: [PHP] HTML tags in database fields

2001-07-11 Thread Matthew Luchak
Also check for the reverse; 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 (). I ran into a problem of users not closing the ta

RE: [PHP] Variable Next To Variable?

2001-07-11 Thread Matthew Luchak
ray 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$

RE: [PHP] echo array name

2001-07-09 Thread Matthew Luchak
{echo $key.' has '.$val[0].' days, it '.$val[1].' ';} } ?> 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: [EMAIL PROTECTED]

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

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

RE: [PHP] URL redirection

2001-05-07 Thread Matthew Luchak
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 (h

[PHP] nslookup function ?

2001-05-04 Thread Matthew Luchak
y yet 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

RE: [PHP] session_register()

2001-05-04 Thread Matthew Luchak
this page times. 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 interested in hearing of any developments with session anomilies.. Netscape®

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

[PHP] split and array logic

2001-05-01 Thread Matthew Luchak
x27; ', $cFile); } and it hurts.any hints ? TIA, 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: [EMAIL PROTECTED]

RE: [PHP] fsockopen question

2001-04-26 Thread Matthew Luchak
hen try the response.. ________ 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 ques

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

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] 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 But when Aname is multiple word

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] Advanced Help Needed

2001-04-20 Thread Matthew Luchak
check the enctype of your form has not changed I had some inconsistencies using multipart... >when I post a file in the form I recieve an "Cannot Find Server". When >there isnt a file posted then the form works fine. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

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] List Files

2001-04-19 Thread Matthew Luchak
$path='/root/helpfiles/'; $dir_handle = opendir($path); while ($file = readdir($dir_handle)) { if ((ereg("help",$file)){ INCLUDE "$path$file"; OR echo ''.$file.' } } Matthew Luchak Webmaster Ka

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