[PHP] HELP...Installation of PHP on Debian Linux!

2001-04-09 Thread Frank K
file...like where it was installed on your machine. I uncompressed it in my home directory /home/username Thanks, -Frank -- 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

[PHP] Flash XMLSocket object and the PHP socket functions

2001-04-09 Thread Frank Joerdens
. . . and Flash 5 could fill that gap for the stuff I'd like to do at least. Regards, Frank -- 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] remove namespace from xml

2009-12-03 Thread Frank Arensmeier
ns1:', 'xmlns:ns1="urn:Microsoft.Search "'); $r = array('', '', ''); return (str_replace($s, $r, $buffer)); } ob_start('callback'); $server->handle(); ob_end_flush(); // (...) ?> There are a complete example at this URL : http://touv.ouvaton.org/article.php3?id_article=104 [...] I am sure there are other examples too. /frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Merry Christmas!

2009-12-25 Thread Frank Arensmeier
Merry Christmas from Sweden! /frank Skickat från min iPhone. 25 dec 2009 kl. 15.16 skrev Shawn McKenzie : Merry Christmas from Texas, USA! -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Server-side postscript-to-PDF on-the-fly conversion

2010-03-27 Thread Frank Arensmeier
s derived from the name of the input file or may be explicitly named using the -o option. [...] Another option might be xpdf (http://www.foolabs.com/xpdf/). There are several different tools bundled with that app and there might be some ps -> pdf converter too. Otherwise, there i

Re: [PHP] a quick question about array keys

2010-08-31 Thread Frank Arensmeier
Have a look at the manual, especially the function "array_values()". /frank Skickat från min iPhone. 31 aug 2010 kl. 17:43 skrev Tontonq Tontonq : > a quick question > lets say i have an array like that > > > Array > ( > [300] => 300 > [301] =>

[PHP] file upload utility ?

2011-02-07 Thread Frank Bonnet
Hello I'm searching for a utility that let our users upload a file on a server , then generate a temporary link that point to the real file. As this is for internal use we don't need security, the file can be read by anyone. The goal is to distribute the file to our users by sending them an ema

Re: [PHP] file upload utility ?

2011-02-07 Thread Frank Bonnet
On 02/07/2011 05:01 PM, Daniel Brown wrote: On Mon, Feb 7, 2011 at 10:56, Frank Bonnet wrote: Hello I'm searching for a utility that let our users upload a file on a server , then generate a temporary link that point to the real file. As this is for internal use we don't need sec

Re: [PHP] extract price by preg_match_all

2011-02-14 Thread Frank Arensmeier
"; print_r($matches); echo ""; } else { echo "Didn't find anything..."; } ?> Untested. /frank 14 feb 2011 kl. 15.05 skrev Tontonq Tontonq: > example data: > > > old price 829,00 > €your price 58,90 € * > > &

Re: [PHP] Re: echo?

2011-03-23 Thread Frank Arensmeier
> "") echo ' ('.$row['user_priv'].') '; else echo ' '; } The output you've posted, that's rendered output, right? What's the raw output? By the way, the code snippet you gave us is not complete. Is there anything else? As Dan noticed earlier, judging from that code snippet only, there must be something else funky going on. /frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RelaxNG parser in PHP?

2011-04-29 Thread Frank Arensmeier
find anything suitable. Any hints are more than welcome! Regards, /frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ftell Issue or Feature

2011-06-08 Thread Frank Arensmeier
http://php.net/manual/en/function.filesize.php Right after the flock call, try to clear the cache with clearstatcache(). Maybe that helps. /frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using function prototypes in code

2011-08-09 Thread Frank Thynne
In the interest of clarity and maintainability I would like to be able to write code that makes it clear what kind of arguments a function expects and what it returns. This is what I tried: function integer int_func(string $s) { // does something like, say, converting "five" to 5 } There are t

Re: [PHP] Opening Multiple Files

2011-09-07 Thread Frank Arensmeier
; > $myFile = "B01C001.htm"; > $lines = file($myFile); > foreach ($lines as $line_num => $theData) { > > Is there a way PHP will open each file in the directory ending in “.htm”, one > file at a time, without me specifying the file name? > http://se.php.net/ma

Re: [PHP] PDF Page Size

2011-12-20 Thread Frank Arensmeier
my first choice. Look out for "pdfinfo". http://foolabs.com/xpdf/download.html /frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about date calculations

2011-12-29 Thread Frank Arensmeier
On the same page you are referring, there are plenty of examples on how to calculate the difference between two dates. Choose one and see if it fits your bill. Or is there any particular reason why you're writing your "own" function? http://www.php.net/manual/en/ref.datetime

Re: [PHP] php://input

2012-01-15 Thread Frank Arensmeier
equests, here are my thoughts. 1) According to the manual, file_get_contents only allows URL's as filenames if "fopen wrappers" are enabled. Make sure that this is the case (have a look at the settings in your php ini file). Do you get any data when changing 'file_get_contents' to e.g. (as found here: http://php.net/manual/en/features.file-upload.put-method.php)? 2) Have a look in your Appache log files and make sure the client is actually making a valid PUT request. /frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] no traffic

2012-03-06 Thread Frank Arensmeier
ost, $port, $errno, $errstr, $timeout); >> if ( ! $fsock ) >> { >> return FALSE; >> } >> else >> { >> return TRUE; >> } >> } Have you noticed that you have a typo in your function? '$post' should be '$port'... /frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-09-02 Thread Frank Arensmeier
u some ideas: $chunks = explode("-30-", $mystring); foreach($chunks as $chunk) { preg_match_all("/News Releases\n(.+)/s", $chunk, $matches); var_dump($matches[1]); } The regex matches all text between "News Releases" and the end of the chunk. /frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] array_push

2012-09-02 Thread Frank Arensmeier
(.+). > This is ugly. How can I clean this up like this? > > $mynewarray= array { > [0]=> "Residential Fire Determined to be Accidental in Nature ..." > [1]=> "Arrest Made in Residential Fire ..." > } Why not add two lines of code within the first loo

Re: [PHP] Expected behaviour or bug?

2012-09-17 Thread Frank Arensmeier
bal "If a globalized variable is unset() inside of a function, only the local variable is destroyed. The variable in the calling environment will retain the same value as before unset() was called." [...] "To unset() a global variable inside of a function, then use the$GLOBALS array to do so:" Took about 1 minute to find out. /frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Detecting massive web hits

2013-04-12 Thread Frank Arensmeier
(http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Maybe Fail2ban is what you are looking for? http://www.fail2ban.org/wiki/index.php/Main_Page /frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] strip_tags

2013-07-20 Thread Frank Arensmeier
>. It means that strip_tags("", "") returns an empty string. It's all there… ;-) Cheers, /frank > Cheers, > > tedd > > _ > t...@sperling.com > http://sperling.com > > > -- > PHP General Mailing List (http://www.php.net

Re: [PHP] Encoding issue with £

2007-01-24 Thread Frank Arensmeier
from? A simple select list would do the trick. //frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Validating a link in php

2007-01-24 Thread Frank Arensmeier
lcalhost), or - as you already mentioned - it is youTube that blocks your calls in some way (therefore, error message might give you a clue why). Another thing that poped up in my mind - curl. Tried that? //frank Robert Porter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

Re: [PHP] Ongoing encoding issues

2007-01-26 Thread Frank Arensmeier
ncoding in your html? Maybe you could give us a link to a test page? //frank 26 jan 2007 kl. 10.33 skrev Dave Goodchild: Hi all, I posted a question a couple of days ago regarding a web app I have wherein users are able to indicated prices and concessions via a text field, and the resulting

[PHP] LDAP constants GSLC_SSL_...

2007-02-04 Thread Petric Frank
Hello, actually i am workinh with the ldap functions of php5. Reading the docs i found the constants GSLC_SSL_NO_AUTH GSLC_SSL_ONEWAY_AUTH GSLC_SSL_TWOWAY_AUTH They are simply documented, but i can't find any docs about them. Neither at php.net not via google. So - what they are for and

Re: [PHP] LDAP constants GSLC_SSL_...

2007-02-05 Thread Petric Frank
Hello Roman, On Monday 05 February 2007 17:12, Roman Neuhauser wrote: > > actually i am workinh with the ldap functions of php5. > > Reading the docs i found the constants > > > > GSLC_SSL_NO_AUTH > > GSLC_SSL_ONEWAY_AUTH > > GSLC_SSL_TWOWAY_AUTH > > > > They are simply documented, but i can

Re: [PHP] Regular Expression

2007-02-05 Thread Frank Arensmeier
5 feb 2007 kl. 22.12 skrev H.T: Do you know good regular expression editor or something simialar? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Regex online: www.regextester.com //frank -- PHP General Mailing List (http://www.php.net

Re: [PHP] Opera advice needed!

2007-02-07 Thread Frank Arensmeier
html code is little bit messed up. http://validator.w3.org/check?uri=http%3A%2F%2Fwww.fcviikingit.com% 2Fnew%2Ftestimenu.php //frank "Roman Neuhauser" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] # [EMAIL PROTECTED] / 2007-02-07 08:32:47 +0200: Hello, I just

Re: [PHP] Multi lingual pages

2007-02-08 Thread Frank Arensmeier
far. What is your opinion? regards, //frank 27 jan 2007 kl. 01.12 skrev Jochem Maas: Otto Wyss wrote: Paul Novitski wrote: I formulated my question in general since I couldn't find an other message here about supporting multiple languages. http://www.w3.org/International/articles/

Re: [PHP] Multi lingual pages

2007-02-09 Thread Frank Arensmeier
Anyone? //frank 8 feb 2007 kl. 11.24 skrev Frank Arensmeier: Hello. I would like to hook up on this issue a little bit more. I am wondering if anybody is willing to share some good advices regarding how to implement a good (normative) url structure so to say when it comes to multi

Re: [PHP] Multi lingual pages

2007-02-09 Thread Frank Arensmeier
Thank you Paul for your comments - very valuable! //frank 9 feb 2007 kl. 10.08 skrev Paul Novitski: 8 feb 2007 kl. 11.24 skrev Frank Arensmeier: I would like to hook up on this issue a little bit more. I am wondering if anybody is willing to share some good advices regarding how to

Re: [PHP] Multi lingual pages

2007-02-09 Thread Frank Arensmeier
What would happen if a page is available in English and e.g. american English or when a certain domain is not available? Right now I am playing with mod_rewrite. Looks promising. //frank 9 feb 2007 kl. 13.23 skrev Robert Cummings: On Fri, 2007-02-09 at 09:03 +0100, Frank Arensmeier wrote: An

Re: [PHP] Multi lingual pages

2007-02-09 Thread Frank Arensmeier
9 feb 2007 kl. 15.38 skrev Tim: -Message d'origine- De : Frank Arensmeier [mailto:[EMAIL PROTECTED] Envoyé : vendredi 9 février 2007 14:51 À : Robert Cummings Cc : PHP List; Jochem Maas; Otto Wyss Objet : Re: [PHP] Multi lingual pages Thank you Robert. Actually, I am not so

Re: [PHP] Catch STDERR

2007-02-19 Thread Frank Arensmeier
Spontaneously, my suggestion would to pipe the STDERR output from your command to a file. I have to admit that this doesn't feel like the most efficient solution since you would involve some reading / writing to your filesystem. Regards. //frank 17 feb 2007 kl. 21.49 skrev Peter

Re: [PHP] sorting multi array

2007-04-25 Thread Frank Arensmeier
Jon, I would suggest that you should have a look at the function "array_multisort". See the manual for details on what this function is capable of. //frank 25 apr 2007 kl. 01.58 skrev Jon Bennett: hi, I have the following array, which I need to sort by quantity... Array

[PHP] Problem with timeout

2007-05-04 Thread Frank Arensmeier
out value can only be changed within the core configuration scope. My initial idea was to set the value in a .htaccess file which unfortunately is not allowed. I might also add that the script is already optimized for speed so to say. Hope you get what I mean. //frank -- PHP General Mailing

Re: [PHP] Re: Problem with timeout

2007-05-04 Thread Frank Arensmeier
// sorry for posting my answer off list... // 4 maj 2007 kl. 17.35 skrev Emmanuel Raulo-Kumagai: Frank Arensmeier a écrit : Hello. I am currently working on a script that parses a given http adress by looking for anchor tags, background images and so on - a crawler if you like. The

Re: [PHP] Problem with timeout

2007-05-04 Thread Frank Arensmeier
4 maj 2007 kl. 21.58 skrev Richard Lynch: On Fri, May 4, 2007 8:37 am, Frank Arensmeier wrote: I am currently working on a script that parses a given http adress by looking for anchor tags, background images and so on - a crawler if you like. The downloaded content is temporarily stored on the

Re: [PHP] Problem with timeout

2007-05-05 Thread Frank Arensmeier
4 maj 2007 kl. 23.48 skrev Richard Lynch: On Fri, May 4, 2007 3:42 pm, Frank Arensmeier wrote: I still think that the best way to go is to not involve Apache at all when running the script. Because the script already has functions for output logging etc. it is no big deal to change the code so

Re: [PHP] [EMAIL PROTECTED]

2007-05-10 Thread Frank Arensmeier
Sorry, your question has nothing to do with PHP. Maybe try a CSS list? http://www.google.com/search?rls=sv-se&q=css+discussion +list&ie=UTF-8&oe=UTF-8 http://www.google.com/search?rls=sv-se&q=why+ie+sucks&ie=UTF-8&oe=UTF-8 http://whyiesucks.blogspot.com/ //frank 9

Re: [PHP] Printing Web Page

2008-11-06 Thread Frank Arensmeier
a php file. This might be a good starting point. http://www.alistapart.com/articles/printyourway //frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Waste of storage space? [follow-up]

2008-11-07 Thread Frank Arensmeier
1 nov 2008 kl. 16.27 skrev Michelle Konzack: Hello Frank, Do you use Linux or Windows? Initially, the system I am working on will be installed under Mac OS X Server. If Windows you have already lost since the cluster size of e.g. Windows 2003 is 32 kByte or 64 kByte... If

[PHP] Question on if() priorities

2008-12-12 Thread Frank Stanovcak
end code) which is if either of the first set, and either of the second set, and either of the third set is true return true. Thanks in advance! Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Frank Stanovcak
"Robert Cummings" wrote in message news:1229096146.22284.27.ca...@localhost... > On Fri, 2008-12-12 at 06:34 -0600, Jay Blanchard wrote: >> [snip] >> It's Christmas... the season of giving and tolerance :| >> [/snip] >> >> We will return you to your regularly scheduled Robert Cummings Jan 2nd, >

[PHP] Re: Question on if() priorities

2008-12-12 Thread Frank Stanovcak
Thanks. Don't know how I could have missed that. "Maciek Sokolewicz" wrote in message news:49428d51.3090...@php.net... > Frank Stanovcak wrote: >> I can't seem to find a reference to this in the manual, but is there an >> order of precedence for and or xo

[PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-05 Thread Frank Stanovcak
anks in advance, and have a great day! Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-05 Thread Frank Stanovcak
;m old not addled damnit!" :) "Stuart" wrote in message news:a5f019de0901051115ree20159tbbcf5b3cb2633...@mail.gmail.com... > 2009/1/5 Frank Stanovcak : >> It's been a while since I've programed (VB was on version 4) I was >> wondering >> if any one c

Re: [PHP] Because you guys/gals/girls/women/insert pc term hereare a smart lot

2009-01-05 Thread Frank Stanovcak
This would be the winning answer. I've been using text up till now. I'll have to change that. Thank you! "Robert Cummings" wrote in message news:1231185251.4.2.ca...@localhost... > On Mon, 2009-01-05 at 19:15 +, Stuart wrote: >> 2009/1/5 Frank Stano

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Frank Stanovcak
So what I'm taking away from this is that I can index a text column, but that is relatively new. Based on experience with technology I'm going to guess it's not a very efficient index or search function yet. CHAR seems to be well entrenched, and the favorite for any column I may need to search

[PHP] Re: Import files from directory

2009-01-06 Thread Frank Stanovcak
I may be mistaken, but it seems to me you would be better served letting it be file uploaded via php and process it as it arrives. This would save the chron run every 5 min, and dir search headaches. Or is there an issue that requires you to use an ftp transport? "Merlin Morgenstern" wrote

[PHP] Logic puzzle. Not a question. Just for fun

2009-01-06 Thread Frank Stanovcak
training in logic structure or DB design, and yes I know the answer. E-mail me if you want it. Frank. the value of a status field is given in the sdk text as such... ...This number is determined by adding the following values together: State a = 0 State b = 1 State c = 2 State d = 3

[PHP] Re: can a session be used in a query?

2009-01-07 Thread Frank Stanovcak
double quote, single quote I wrote that out because I always have a hard time seeing the two types of quotes so close together in code. Frank...let us know if it works! ""Terion Miller"" wrote in message news:37405f850901071146i11d33987ga747ef2e4932f...@mail.gmail.com... >I

[PHP] Re: can a session be used in a query?

2009-01-07 Thread Frank Stanovcak
rking on, load it up, and then upload the page with all the code and refresh. I never really looked into why this was, but it's not that big of a hassle for me. *shrug* Frank ""Terion Miller"" wrote in message news:37405f850901071146i11d33987ga747ef2e4932f...

Re: [PHP] Re: can a session be used in a query?

2009-01-07 Thread Frank Stanovcak
I can echo fields in > the $row and get the results but when I try and use this: > >if ($row['AddEditAdmin'] == 'YES') { >?> > to sort out what menu items to load it just doesn't do its job. > I would say do this to see if what is in the return is what you are expecting foreach($row as $key=>$value){ echo $key , ': ' , $value , ''; }; just to make sure that the value is "yes", and not 1 or true or something like that. Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: can a session be used in a query?

2009-01-07 Thread Frank Stanovcak
here is a handy little snippet of code I use. Just include it where you want to get a snap shot of all the variables in an app. ta ta for today boys! - Original Message - From: "Chris" To: "Terion Miller" Cc: "Frank Stanovcak" ; Sent: Wednesday, Ja

Re: [PHP] Re: can a session be used in a query?

2009-01-07 Thread Frank Stanovcak
'GLOBALS'){ if(sizeof($value) > 0){ breakarray($value); echo ''; }else{ echo 'EMPTY '; }; }else{ echo '"' , $value , '"'; }; }; echo ''; ?> - Original Message - From: Ashley Sheridan

Re: [PHP] Because you guys/gals/girls/women/insert pc term hereare a smart lot

2009-01-08 Thread Frank Stanovcak
And people tell me that I'm just wrong. "Nathan Rixham" wrote in message news:4965dffc.6020...@gmail.com... > Robert Cummings wrote: >> On Thu, 2009-01-08 at 10:51 +, Richard Heyes wrote: until you have to dump it, zip it, ssh it over to another box and then import it back in >>> T

[PHP] First steps towards unix and php

2009-01-08 Thread Frank Stanovcak
web based programming languages. Thanks in advance! Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [SOLVED] Re: can a session be used in a query?

2009-01-08 Thread Frank Stanovcak
e in the code. Hope that helps! I know I learned from it. Frank "tedd" wrote in message news:p06240806c58be7e24...@[192.168.1.101]... > Terion Miller wrote: > >>SOLVED: Thanks everyone I got it working it was the loop...took it out and >>now it works like a charm

Re: [PHP] First steps towards unix and php

2009-01-09 Thread Frank Stanovcak
*bangs head on wall* Great...just what I need. More acronyms. :P Frank "Paul Scott" wrote in message news:1231506224.7389.7.ca...@paul-laptop... > > On Fri, 2009-01-09 at 14:53 +0200, Paul Scott wrote: >> First choice is ./configure && make &&

Re: [PHP] Couple of beginner questions

2009-01-09 Thread Frank Stanovcak
the errant code and refresh I can suddenly see an error? Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Frank Stanovcak
nest. >> >> Cheers, >> >> tedd >> >> >> -- >> --- >> http://sperling.com http://ancientstones.com http://earthstones.com >> > Unless it's something like this: > > echo "$whatever"; > ?> > > Which is unlikely for a header tag, but I know this sort of format gets > used a lot by me and others, especially for setting alternate row styles > on tables (damn browsers and not supporting alternate rows!) > > > Ash > www.ashleysheridan.co.uk > Hey Ash...Why don't you just use CSS subclassing? h1.odd {class stuff here} h1.even {class stuff here} then no escaping, and no need to php your css styles. :) Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] switch vs elseif

2009-01-12 Thread Frank Stanovcak
=0;$i<3;$i++){ switch($i){ case 0: header pg1 code break; case 1: header pg2 code break; case 3: header pg3 code break; }; }; or would that be better served using an if...elseif structure? Frank --

[PHP] switch vs elseif

2009-01-12 Thread Frank Stanovcak
=0;$i<3;$i++){ switch($i){ case 0: header pg1 code break; case 1: header pg2 code break; case 3: header pg3 code break; }; }; or would that be better served using an if...elseif structure? Frank -- PHP Ge

Re: [PHP] switch vs elseif

2009-01-12 Thread Frank Stanovcak
"Ashley Sheridan" wrote in message news:1231793310.3558.55.ca...@localhost.localdomain... > On Mon, 2009-01-12 at 15:15 -0500, Frank Stanovcak wrote: >> I've googled, and found some confusing answers. >> I've tried searching the history of the news group, and

Re: [PHP] switch vs elseif

2009-01-12 Thread Frank Stanovcak
""Eric Butera"" wrote in message news:6a8639eb0901121231r253eed48xe1974d8ef44ab...@mail.gmail.com... > On Mon, Jan 12, 2009 at 3:15 PM, Frank Stanovcak > wrote: >> I've googled, and found some confusing answers. >> I've tried searching the histo

[PHP] variable probe revision

2009-01-12 Thread Frank Stanovcak
I posted this once before, and then tried to use it multiple times in a script. As you can guess I got a bunch of func already defined errors. Here is a revision incase anyone decided to use it that will work multiple times in the same script for variable watching. ---Code follows--- k

Re: [PHP] variable probe revision

2009-01-12 Thread Frank Stanovcak
"Ashley Sheridan" wrote in message news:1231796437.3558.62.ca...@localhost.localdomain... > On Mon, 2009-01-12 at 16:11 -0500, Frank Stanovcak wrote: >> I posted this once before, and then tried to use it multiple times in a >> script. As you can guess I got a bunc

Re: [PHP] variable probe revision

2009-01-12 Thread Frank Stanovcak
"Chris" wrote in message news:496bbd52.2080...@gmail.com... > Frank Stanovcak wrote: >> I posted this once before, and then tried to use it multiple times in a >> script. As you can guess I got a bunch of func already defined errors. >> >> Here is a revision

[PHP] php session GC error

2009-01-13 Thread Frank Stanovcak
t do I have to do to make this work right? Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
"Shawn McKenzie" wrote in message news:f8.ef.24097.e510d...@pb1.pair.com... > Frank Stanovcak wrote: >> I'm trying to make sure that my sessions are timed out by my server. >> I'm running it on winxp, and my php.ini contains the following >> >> s

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
"Nathan Rixham" wrote in message news:496d03d3.2060...@gmail.com... > Frank Stanovcak wrote: >> "Shawn McKenzie" wrote in message >> news:f8.ef.24097.e510d...@pb1.pair.com... >>> Frank Stanovcak wrote: >>>> I'm trying to make sure

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
"Shawn McKenzie" wrote in message news:e3.00.25553.8560d...@pb1.pair.com... > Frank Stanovcak wrote: >> "Nathan Rixham" wrote in message >> news:496d03d3.2060...@gmail.com... >>> Frank Stanovcak wrote: >>>> "Shawn McKenzie&q

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
So from everything I've read there is no real way to assure a session timeout with out timestamping it myself and dealing with it in code by doing a time compare. bummer. ""Frank Stanovcak"" wrote in message news:57.31.25553.de80d...@pb1.pair.com... > > &qu

Re: [PHP] Quotes in querys

2009-01-14 Thread Frank Stanovcak
xt in each square > bracket block or PHP my give you a warning about an unintended string > literal. > > > Ash > www.ashleysheridan.co.uk > even though it might have it's drawbacks I've never had a problem with concat for sql statements. $sqlstmt = "Select Netid from Users where Netid = '" . $_SESSION['phpCAS']['user']} . "'"; Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Security question

2009-01-14 Thread Frank Stanovcak
This is mostly to make sure I understand how sessions are handled correctly. As far as sessions are concerned the variable data is stored on the server (be it in memory or temp files), and never transmitted accross the net unless output to the page? So this means I should be able to store the

Re: [PHP] installing php 5 with pdflib

2009-01-14 Thread Frank Arensmeier
outdated. //frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Security question

2009-01-15 Thread Frank Stanovcak
"VamVan" wrote in message news:12eb8b030901141421u6741b943q396bc784136b7...@mail.gmail.com... > On Wed, Jan 14, 2009 at 2:22 PM, Frank Stanovcak > wrote: > >> This is mostly to make sure I understand how sessions are handled >> correctly. >> As far as sessio

[PHP] Re: developers life

2009-01-20 Thread Frank Stanovcak
"Nathan Rixham" wrote in message news:32.be.60519.170f4...@pb1.pair.com... > well just for the hell of it; and because I'm feeling worn.. > > anybody else find the following true when you're a developer? > > - frequent bursts of side-tracking onto more interesting subjects > - vast amount of inh

Re: [PHP] developers life

2009-01-20 Thread Frank Stanovcak
than the app (even though its not) >> >>>> - lots more but lost interest / focus >> >>>> >> >>> Are you an INTP? >> >>> >> >>> http://www.personalitytest.net/cgi-bin/q.pl >> >>> >> >>> &

[PHP] Re: Client/Server Printing

2009-01-20 Thread Frank Stanovcak
rint preveiw. If you can set the webserver to process .pdf files through php it will display in the adobe reader plug in and all the client has to do is hit print. www. fpdf .com Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] can I do this without eval?

2009-01-22 Thread Frank Stanovcak
ected me to know oop, and that is on my plate to learn after I finnish this project. Frank //initialize a variable to let us know this is the first time through on //the SET construction $i = true; //step through all the FILTERED values to build the SET statment foreach($FILT

Re: [PHP] Military <-> Standard times

2009-01-22 Thread Frank Stanovcak
"Richard Heyes" wrote in message news:af8726440901220050i71d99bf7m5425620f67350...@mail.gmail.com... >> PS - I think the best ever name for a Exception class is 'Tantrum': >> >>throw new Tantrum('Ra Ra Ra Aaaargh'); > > Lol. > > -- > Richard Heyes > > HTML5 Graphing for Firefox, Chrome,

Re: [PHP] can I do this without eval?

2009-01-22 Thread Frank Stanovcak
"Nathan Nobbe" wrote in message news:7dd2dc0b0901221048g2f089cf9s36ecb9a5b35ab...@mail.gmail.com... > On Thu, Jan 22, 2009 at 8:35 AM, Frank Stanovcak > wrote: > >> I'm trying to build a prepared statment and dynamically bind the >> variables >> to

Re: [PHP] can I do this without eval?[RESOLVED]

2009-01-22 Thread Frank Stanovcak
offered solution...highlighted below...I would still appreciate anyone letting me know if my understanding of call_user_func_array() is incorrect though. :) Thanks everyone! Frank //put the string fields directly in as we will be preparing the sql statment //and that will pro

Re: [PHP] Dirty Button

2009-01-26 Thread Frank Stanovcak
"tedd" wrote in message news:p06240802c5a28dd01...@[192.168.1.101]... > At 3:41 PM -0600 1/25/09, Micah Gersten wrote: >>tedd wrote: >>> At 7:02 PM + 1/25/09, Ashley Sheridan wrote: Tedd, what about having it reset if you then go back and select the original option without submi

Re: [PHP] Make New-Age Money Online with Google

2009-01-27 Thread Frank Stanovcak
T...that should cover everyone...THIS IS A JOKE. I DO NOT OWN... 1. A YARD 2. A HOUSE FOR THE YARD I DON'T OWN 3. ANY RADIOLOGICAL MATERIALS 4. A SINGLE FRICKING THING REALLY SINCE YOU TAX MOST OF IT OUT OF ME ALREADY! NOW GO FIND SOMETHING MORE USEFULL TO DO WITH ALL MY TAX DOLLARS! frank. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: New PHP User with a simple question

2009-01-27 Thread Frank Stanovcak
"Paul M Foster" wrote in message news:20090126222404.gc18...@quillandmouse.com... > On Mon, Jan 19, 2009 at 04:45:08PM -0500, Christopher W wrote: > >> Dear responders, >> >> I was not sure which post was the best to respond to all of you so I >> chose >> the original. >> >> I wanted to thank y

Re: [PHP] Get Money Fast with the Government Grants

2009-01-27 Thread Frank Stanovcak
>> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > > -- > > Best Wishes > Andrew Williams > --- > 31 Davies Street > W1K 4LP, London, UK > www.NetPosten.dk > OK peeps...who's machine has a cold? Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] validating directory and file name with preg_match

2009-01-28 Thread Frank Stanovcak
I'm limiting access to certain proceedures based on the file trying to use them, and the directory they are located in on my server. Right now I am using two preg_match statments as you will see. What I want to know is this. Is there a way to write a single regex for this that will supply the

[PHP] Re: validating directory and file name with preg_match

2009-01-28 Thread Frank Stanovcak
""Frank Stanovcak"" wrote in message news:a8.d6.08436.5cf80...@pb1.pair.com... > I'm limiting access to certain proceedures based on the file trying to use > them, and the directory they are located in on my server. Right now I am > using two preg_match

Re: [PHP] Re: validating directory and file name with preg_match

2009-01-28 Thread Frank Stanovcak
""Boyd, Todd M."" wrote in message news:33bde0b2c17eef46acbe00537cf2a19003bb9...@exchcluster.ccis.edu... > -Original Message- > From: Frank Stanovcak [mailto:blindspot...@comcast.net] > Sent: Wednesday, January 28, 2009 1:04 PM > To: php-general@l

[PHP] Re: New to PHP question

2009-01-28 Thread Frank Stanovcak
ng is that newlines are ignored, and the only way to get a line to break in a browser window is with the use of . As for the padding this is the same issue. In Browswer rendering all white space except the first one is ignored, and you have to use   for aditionall spaces. ie: 3 space would be '   ' or '   ' Hope that helps! Frank. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New to PHP question

2009-01-28 Thread Frank Stanovcak
ke 'switch php' brings up loads of examples and refs. I still don't know anything about this pear, or other frameworks they speak of on here, but I'm sure I will learn it in time. :) Personally I think French art from the 1500's was better any way. Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Switch statement Question

2009-01-29 Thread Frank Stanovcak
>"Alice Wei" wrote in message >news:snt101-w587cd616331fc59b84834af0...@phx.gbl... > >Hi, > > I have a code snippet here as in the following: > >//Switch statements between the four options >switch($string) { >case "": >$string= "NOT book.author='All'"; >break; >default: >$string= $string . "AN

[PHP] frameworks

2009-01-30 Thread Frank Stanovcak
Ok. I've done some reading on frameworks for PHP now, and have this question. What are some good resources for learning about the various frameworks available, and do you recomend one over another? If so why? I started using PHP before frameworks came into the picture, and then had to take m

Re: [PHP] Re: Switch statement Question

2009-02-02 Thread Frank Stanovcak
"tedd" wrote in message news:p06240801c5aa0ed7d...@[192.168.1.101]... > At 4:16 PM +0100 1/30/09, Jochem Maas wrote: >>tedd schreef: >>> At 4:43 PM -0500 1/29/09, Frank Stanovcak wrote: >>>> >" >>>> >>>> yes...tha

[PHP] Re: Blank page of hell..what to look for

2009-02-02 Thread Frank Stanovcak
a ; or } somewhere, and it just won't report it till I refresh like this. Hope that helps. Frank. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2   3   4   5   6   >