>. 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
(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
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
(.+).
> 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
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
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
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
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
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
;
> $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
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
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
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
> "")
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
";
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 € *
>
>
&
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
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
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] =>
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
Not that I know of.
- Frank
On 3/8/10 2:21 PM, Skip Evans wrote:
D'oh!
...and I suppose there is just no way around that, eh?
Skip
Frank M. Kromann wrote:
You can only have one SSL per IP address. The SSL connection between
the client and server is done before the host header name is
You can only have one SSL per IP address. The SSL connection between the
client and server is done before the host header name is made available
to Apache.
- Frank
On 3/8/10 2:13 PM, Skip Evans wrote:
Hey all,
I have an Apache virtual config running a bunch of sites, one with
SSL. I
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
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
SPANK YOUR ASS SO HAR YOU'D NEVER
>> TALK BACK
>>> ANY WOMAN EVER AGAIN !!!
>>>
>>>
>>
>>> Oh, gee.
>>
>>Thanks for filters, Gmail.
>>
>>--
>>Thiago Henrique P
ields and stop a request from going through if it finds one of
>> > >> those
>> > >> "banned" words? I've searched for a solution but haven't been able
>> > >> to
>>
>> > >> find it.
>> > >>
>> >
e quotes are required by gammu to send an
>>> > > sms
>>> > with
>>> > > spaces in it.
>>> > >
>>> > > Any ideas? :-(
>>> > >
>>> > > Luke
>>> > >
>>> >
>>>
"Paul M Foster" wrote in message
news:20090219022913.gl18...@quillandmouse.com...
> On Wed, Feb 18, 2009 at 05:25:16PM -0600, Terion Miller wrote:
>
>
>
>> What about just accepting any date in to the system, and defaulting
>> to
>> the current date if any numptys/users try to set on
hing in
> the logs, it dawned on me.
>
> If variable is an integer, die($var) returns nothing and is suppose to
> return nothing, it takes a string as an argument to echo on death -
> die("$var") is what I wanted.
>
> I need sleep.
>
> I did finally find the
"Daniel Brown" wrote in message
news:ab5568160902061416u10e761dal224ec7177d83e...@mail.gmail.com...
> On Fri, Feb 6, 2009 at 13:46, Frank Stanovcak
> wrote:
>>
>> Ok...I'm sure that somewhere in here has to be reference to the original
>> topic, and ph
""Boyd, Todd M."" wrote in message
news:33bde0b2c17eef46acbe00537cf2a19003d07...@exchcluster.ccis.edu...
> -Original Message-
> From: Daevid Vincent [mailto:dae...@daevid.com]
> Sent: Friday, February 06, 2009 2:26 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] How can I use a f
"Stuart" wrote in message
news:a5f019de0902060932k1ccf2948ua42f3cfa33694...@mail.gmail.com...
> 2009/2/6 Frank Stanovcak :
>>
>> "Richard Heyes" wrote in message
>> news:af8726440902060918v6d2f1ee1ia3f839189874...@mail.gmail.com...
>>>> W
>> http://sperling.com http://ancientstones.com http://earthstones.com
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
> I think people should just be wise enough to understand the world they
> live in, how things work, and when people are puppets. There are lots
> of ways to find information out there...
>
> --
> http://www.voom.me | EFnet: #voom
Ok...I'm sure that somewhere in here has to be reference to the original
topic, and php...right?
Frank...there is isn't there? *sigh*
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rt',
ViewPendingWorkOrders='$ViewPendingWorkOrders',
ViewPendingArtwork='$ViewPendingArtwork',
ViewCompletedArt='$ViewCompletedArt',
ViewCompletedWorkOrders='$ViewCompletedWorkOrders',
SearchWorkOrder='$SearchWorkOrder',
EditWorkOrder='$EditWorkOrder',
DelWorkOrder='$DelWorkOrder',
ChangeStatus='$ChangeStatus',
AddEditAdmin='$AddEditAdmin'";
plus there is an extra value with no matching field in the original query.
$ViewMyOrders has no field assigned to it.
Hope that helps some!
Frank
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a elegant way.
2009/2/6 Frank Stanovcak :
> I'm in the process of seperating logic from display in a section of code,
> and wanted to make sure I wasn't treading on a performance landmine here,
> so
> I ask you wizened masters of the dark arts this...
>
> is there a ser
"Richard Heyes" wrote in message
news:af8726440902060918v6d2f1ee1ia3f839189874...@mail.gmail.com...
>> Wouldn't have thought so. But for readability, you may find this a
>> little easier instead:
>
> Slight correction:
>
> ?>
> blah
>
> --
> Richard Heyes
>
> HTML5 Canvas graphing for Fir
- 40 lines, comma conjoined echo statments...
echo 'blah', $var, 'blah', $var2,...ad nauseum
... to output mixed html and php var values? If so could you refer me to a
work around, or better way?
Frank
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t the 2nd array item should have had "total"...
>>
>
> Probably want this: '#(\d+)(.+)#'
>
> --
> Thanks!
> -Shawn
> http://www.spidean.com
yep. Relized it after I saw his post.
the space doesn't hurt either
'#(\d+) (.+)#'
Frank...doh!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
""bruce"" wrote in message
news:234801c98863$88f27260$0301a...@tmesa.com...
> hi...
>
> trying to figure out the best approach to using preg_match to extract the
> number from the follwing type of line...
>
> " 131646 sometext follows.."
>
> basically, i want to extract the number, without the t
dd. Set up the relationship so that when a record in one of
the two master tables is deleted the delete cascades to the linked table.
One to many forced update/delete I think it's called if you want to do a
search on it.
Frank
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
"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
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
>"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
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
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
""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
""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
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 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
"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
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
"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
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
"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
"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,
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
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
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
>> >>>
>> >>>
&
"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
"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
outdated.
//frank
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
"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
"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
"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
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
"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
"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
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
""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
"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
=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
=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
--
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
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
*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 &&
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
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
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
'GLOBALS'){
if(sizeof($value) > 0){
breakarray($value);
echo '';
}else{
echo 'EMPTY ';
};
}else{
echo '"' , $value , '"';
};
};
echo '';
?>
- Original Message -
From: Ashley Sheridan
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
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
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...
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
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
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
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
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
;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
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
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
"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,
>
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
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
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
29 okt 2008 kl. 01.08 skrev Bastien Koert:
On Tue, Oct 28, 2008 at 4:24 PM, Frank Arensmeier
<[EMAIL PROTECTED]> wrote:
Hi all.
In short, I am working on a system that allows me to keep track of
changes to a large amount of short texts (a couple of thousand text
snippets, two or
29 okt 2008 kl. 00.00 skrev Maciek Sokolewicz:
Frank Arensmeier wrote:
Hi all.
In short, I am working on a system that allows me to keep track of
changes to a large amount of short texts (a couple of thousand text
snippets, two or three sentences per text). All text is stored in a
e
efficient when it comes to large texts.
All compression techniques (in or out of php) will work better on
more text.
I noticed that too.
//frank
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 547 matches
Mail list logo