of data. It will save a little time by
not hitting the DB on each function call too.
Now I feel as if I am really close to a better solution than the brute
force method. I may just be a little too frustrated to see what is a
simple answer.
Thanks for your help!
--
Jim Lucas
http
for that level.
How are you calling this? What are your initial arguments?
What does your DB schema look like?
Can you show a brief example of the data in the table?
Dump: SELECT * FROM position_setup WHERE company_id='3'
Can you show the output of the function above?
--
Jim Lucas
http
['cb'];
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Michelle Konzack
--
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in any
programming languages, sadly actually. This is what i want to talk to
Rasmus about.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 01/26/2012 07:13 AM, Jim Giner wrote:
You're using a GET in your script when your form is a POST.
and if you look at the method value you will see that he is passing
upload=1 in the URL. Which would be seen as a GET value.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com
.
2) for the actual upload if it should succeed.
TIA
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
change the above the the following:
if ( empty($pmatch) || ( strpos($key, $pmatch) === 0 ) ) {
print $key = $valuebr /;
}
it would be slightly faster
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
--
PHP General Mailing List (http://www.php.net
[$i]+1)) $intDayCnt16)
if (
$dteCheckDate = ( $dteEndDate[$i]-format('U') - (7*86400) )
$dteCheckDate = ( $dteEndDate[$i]-format('U') + (86400) )
$intDayCnt 16
) {
Eric Lommatsch.
--
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
/search.php
Source: http://www.cmsws.com/examples/search.phps
Maybe it will give you a little start in the direction of writing your own
solution.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
--
PHP General Mailing List (http://www.php.net
, including warnings.
If you want to hide the Warning, then you would use this
error_reporting = E_ALL ~E_NOTICE
display_errors = On
log_errors = On
E_NOTICE includes warnings.
Reference here: http://us.php.net/manual/en/errorfunc.constants.php
--
Jim Lucas
http://www.cmsws.com/
http
and layout of the forms are of no significance.
This is basic html/php -- try creating something and submit your work for our
review. If you want us to write the code for you, please look elsewhere.
Cheers,
tedd
_
t...@sperling.com
http://sperling.com
--
Jim
processed the php script
and sent the output to the browser. It is the source in the browser that the
validation script sees.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
On 12/17/2011 4:21 PM, DealTek wrote:
On Dec 16, 2011, at 12:56 PM, Jim Lucas wrote:
1) What does your db schema look like?
2) What SQL do you currently use?
3) What criteria do you want to use to sort the data?
4) Will the output be plaintext, html, etc?
5) Is this going to be used
,
Dave - DealTek
deal...@gmail.com
[db-11]
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
db schema look like?
2) What SQL do you currently use?
3) What criteria do you want to use to sort the data?
4) Will the output be plaintext, html, etc?
5) Is this going to be used to import into another app, or display printing?
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples
having to create the additional array mentioned in
my first statement above.
--
--
Thanks,
Dave - DealTek
deal...@gmail.com
[db-11]
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
--
PHP General Mailing List (http://www.php.net
.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
C - (541) 408-5189
O - (541) 323-9113
H - (541) 323-4219
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(
[356] = Array
(
[contact_id] = 356
[contact_first_name] = Marc
)
[247] = Array
(
[contact_id] = 247
[contact_first_name] = Marc
)
)
Give it a try, should do what you are wanting.
--
Jim Lucas
http
you go about it?
Thanks for any help,
Marc
Assuming you want to make things unique based on the contact_first_name field,
how would you decide which record to keep? The first one you run in to, the
last one you come across, or some other criteria?
--
Jim Lucas
http://www.cmsws.com/
http
;
# echo font size=1 class=rss-linkThis is not green/font;
}
# this line is after each rss feed group
# echo hr\n;
}
Thanks!
Jack
Can you supply an example of the data you are feeding this.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
C
it onto the internal http
processing code.
I've done some web searching, looked through the PHP docs and had a
look through the archives here, but not managed to find anything
(sorry if I've missed anything obvious).
Davo
--
Jim Lucas
--
PHP General Mailing List (http://www.php.net
Nope, AFAIK everything inside the function will disappear when the function
exits. Unless you run into one of the memory release issues talked about in the
past, in that case you might be SOL.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
C - (541
is that all the account details
are in a file on the file system that could (in some situations) be read by
other system user accounts.
YMMV
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
C - (541) 408-5189
O - (541) 323-9113
H - (541) 323-4219
:
Home Forum Documentation Videos a href=http://
And the rest of the page is white.
Garbage.
System: Windows XP 32-bit
I run FF 5.0.1 w/NoScript and I had allow both xataface.com and weblite.ca then
the video popped up.
IE 6.0 on the same system works fine too.
--
Jim Lucas
http
suggestions?
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Use the XML output option and parse returned data.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
C - (541) 408-5189
O - (541) 323-9113
H - (541) 323-4219
--
PHP General
this function prior to any use of other date functions. I cannot find anything
in the php manual confirming my last statement. YMMV
1 http://us3.php.net/manual/en/function.date-timezone-set.php
2 http://php.net/ChangeLog-5.php#5.1.0
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples
with his example is that the input key values do not have a trailing spaces.
json is probably having an issue with that trailing spaces.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
C - (541) 408-5189
O - (541) 323-9113
H - (541) 323-4219
--
PHP
.
a) What the code is doing.
b) What you expect the code to be doing.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
H - (541) 323-4219
C - (541) 408-5189
O - (541) 323-9113
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
records in all.
Will you show us your DB schema?
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
C - (541) 408-5189
O - (541) 323-9113
H - (541) 323-4219
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On 10/20/2011 5:20 AM, sean chen wrote:
The red one is busy
My email client is color blind.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
C - (541) 408-5189
O - (541) 323-9113
H - (541) 323-4219
--
PHP General Mailing List (http://www.php.net
still
apply, but it is going to be up to you to figure out what the security issue is
and verify your system in some manor.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
C - (541) 408-5189
O - (541) 323-9113
H - (541) 323-4219
--
PHP General Mailing
On 10/19/2011 8:05 AM, Jon Watson wrote:
On Wed, Oct 19, 2011 at 11:54 AM, Jim Lucas li...@cmsws.com wrote:
On 10/19/2011 7:00 AM, Jon Watson wrote:
Hello All,
I am trying to make some sense of this PHP5 security vulnerability notice
from 18 October 2011:
http://comments.gmane.org
. 'br /';
}
...
}
Either one should give you the same results.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
C - (541) 408-5189
O - (541) 323-9113
H - (541) 323-4219
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
On 10/10/2011 8:26 AM, Joao Coelho wrote:
I have been sending emails to this list to unsubscribe and i still receive
emails.
To unsubscribe, visit: http://www.php.net/unsub.php
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
C - (541) 408
On 9/28/2011 12:07 AM, Anton Heuschen wrote:
Good day,
I have a question and something that either does not work, or I have not
gotten it to work the way I want to.
I have a start page, which is a form, that takes 2 text fields and also a
Attachment field. Then it calls the first page,
On 9/28/2011 1:28 AM, muad shibani wrote:
what are the costs of using PHP Curl to show another websites on my site as
stumbleon do ..
traffic, memory or what?
That isn't how stumbleupon does it. You might want to take a closer look at the
HTML to see how they do what they do.
--
PHP
On 9/28/2011 9:05 AM, Daniel Brown wrote:
On Wed, Sep 28, 2011 at 11:54, Jim Lucas li...@cmsws.com wrote:
That isn't how stumbleupon does it. You might want to take a closer look at
the
HTML to see how they do what they do.
He said stumbleON, actually. Looks like they simply
, the php-general mailing list and the
wonderful members of this list, and Google have provided answers for all the
questions I have ever needed to ask since.
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 9/14/2011 1:04 AM, Marco Lanzotti wrote:
Il 13/09/2011 20:58, Alex Nikitin ha scritto:
Correction on Marco's post. You can absolutely stop a mysql query
I know I can stop a query, but I don't know how to realize HTTP client
has closed connection during query execution.
My query count
this means is PHP will not be able to do anything else until the db has
finished its step and handed data back to the processing script. At that point,
you can check to see if the connection is still active and take appropriate
action.
Jim Lucas
--
PHP General Mailing List (http://www.php.net
On 9/13/2011 11:58 AM, Alex Nikitin wrote:
On Tue, Sep 13, 2011 at 11:44 AM, Jim Lucas li...@cmsws.com wrote:
On 9/12/2011 7:40 AM, Marco Lanzotti wrote:
Hi all, I'm new in the list and I already have a question for you.
I'm running an heavy query on my DB in a PHP script called by AJAX
On 9/13/2011 5:23 PM, tamouse mailing lists wrote:
On Tue, Sep 13, 2011 at 3:35 PM, Robert Cummings rob...@interjinn.com wrote:
I'm a big fan of editors that work in the terminal.
You'll get my emacs when you pry it out of my cold dead hands.
+1
mg too
--
PHP General Mailing List
On 9/13/2011 7:11 PM, Brad Huskins wrote:
Oh geez. Didn't mean to start a flame war...
Quit fanning it then... :)
On 09/13/2011 08:56 PM, James Yerge wrote:
On 09/13/2011 08:40 PM, Jim Lucas wrote:
On 9/13/2011 5:23 PM, tamouse mailing lists wrote:
On Tue, Sep 13, 2011 at 3:35 PM, Robert
does NOT fail in dev, test and
stage, only production.
Well, you might have to go about this the long way. I suggest you cut
larger sections of code out until you get a working script. Then start
putting it back together.
Jim Lucas
--
PHP General Mailing List (http://www.php.net
.
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-indexes for 1 separate INSERT statements.
Cuts the DB processing time down a lot.
Also, just so you know, if you place set_time_limit(0); at the top of the
script, it will allow the script to run as long as it needs to.
See: http://php.net/manual/en/function.set-time-limit.php
Jim Lucas
On 8/5/2011 12:08 PM, Marc Fromm wrote:
I have to sql statements in functions to use in my code. Even though the echo
statements show the sql is valid the sql does not seem to execute and I get
the error, PHP Warning: pg_fetch_object() expects parameter 1 to be
resource, boolean given in
On 8/5/2011 9:49 PM, wil prim wrote:
Ok so I have tried to create a sort of messaging system on my website and I have
run into some problems storing who the message is from, ill try to take you
through step by step what I am trying to do.
*step #1 *(messages.php):--This is where the member
On 7/28/2011 9:09 AM, Bulent Malik wrote:
Hi
I use php5.3 on freebsd
I also use pf ( packet filter) on it.
I need to execute pfctl in php script. But I couldn't execute . I don't get
any errors about that.
Shell commands is allowed in php.ini My
My script is below,
On 7/21/2011 4:00 PM, Micky Hulse wrote:
+1 for CI.
If you search the group archives, a little while back I asked about
micro PHP frameworks and got a ton of good replies.
So folks, how'z about a PHP framework with a built-in admin interface?
That would be pretty sweet. :)
So, what
People, it isn't a problem with your mail server, it is a problem with the
lists.php.net IP address. It got on another SPAM list.
I had to modify my SPAM filtering to allow it through a few years ago.
Currently it is listed on [1], and [2]
If I had to guess, qmail had an internal error and had
On 7/17/2011 11:38 AM, Chris Stinemetz wrote:
Thanks all.
I am trying to create a cascading seletct with 3 menu choices.
For some reason my third select menu is not populating. It doesn't
seem like my ajax is correctly sending $_post values to the final
query in my PHP class I built.
By the
;
}
Can you give an example of where this might be useful?
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 7/8/2011 9:50 AM, Brian Smither wrote:
A client has:
PHP 5.3 on Win7x64 running a local web app that needs to send mail.
(This app was once hosted on a linux-based hosted space.) Apache 2.2
is installed but apparently not being used. I think the IIS service
is actually the web server
On 7/5/2011 7:52 PM, Jim Giner wrote:
And what do you use to cut down on spam in your in-box?
This is completely off topic, but here it goes...
When I received an email the other day from your mail server, I had created this
crazy ass reply to your automatic request for a reply. But in turn,
/SuperTool.aspx?action=blacklist%3a64.118.87.45
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 7/3/2011 9:37 PM, Brian Dworkin wrote:
I would like to subscribe to this mailing list please.
Thanks.
Sincerely,
Brian Dworkin
Managing Partner
Bright Telecom
201-892-9553 (mobile #)
br...@brighttelecom.net
http://www.brighttelecom.net
http://php.net/mailing-lists.php will
, $allowed) {
// Protocol not valid!
exit(1); // or return FALSE; whatever...
}
Seems a little less muddy to me.
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/26/2011 7:58 PM, Jim Giner wrote:
You mean - you want a second thread to run independently of your current
running script? A wonderful thing to do and helpful for long intenesive
processes but do you really want to go thru the hassles of managing two
processes? Won't you have to verify
On 6/22/2011 12:43 PM, Tim Streater wrote:
On 22 Jun 2011 at 19:44, Ethan Rosenberg eth...@earthlink.net wrote:
I have a PHP program which will generate a chess board with a form in
the program. I wish to fill the form by clicking one of the
squares in the chess board. I am trying to use
On 6/22/2011 3:43 PM, Adam Preece wrote:
Hi Gang!
i have 2 assoc arrays from 2 querys,
first one is page categorys it consists of:
id
name
second is pages
name
cat_id
now, i am using smarty, so i pass arrays into the view. this i would like to
pass to
-stop since August 2007 with minimal
maintenance needed.
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/17/2011 12:23 PM, Eric Butera wrote:
On Fri, Jun 17, 2011 at 3:19 PM, Jim Lucas li...@cmsws.com wrote:
On 6/16/2011 3:15 PM, Nathan Nobbe wrote:
what it really amounts to is php is good at doing 1 thing and 1 thing only,
generating web pages. for anything else, including command line
On 6/9/2011 5:37 AM, matty jones wrote:
formEl.action += 'title=' + formEl['_title'].value;
The only thing I see inconsistent is the above line. But then again, it could
be right. You might be looking for $_GET['title'] in your processing page
instead of $_GET['_title']
--
PHP
on jQuerry, I will look into it.
On Thu, Jun 9, 2011 at 10:53 AM, Jim Lucas li...@cmsws.com wrote:
On 6/9/2011 5:37 AM, matty jones wrote:
formEl.action += 'title=' + formEl['_title'].value;
The only thing I see inconsistent is the above line. But then again, it
could
be right
On 6/7/2011 2:44 PM, Adam Preece wrote:
hi,
thanks for your reply.
i have figured out, well kind of, and got the data i need but the problem is
its nested within to many arrays!
Array (
[threads form types] =
Array ( [0] = Array ( [name] = imperial thread form
On 6/6/2011 6:49 PM, Adam Tong wrote:
Hi,
When I try using DOMDocument I get the following error:
Fatal error: Class 'DOMDocument' not found in ...
I guess something has to be fixed in my php.ini?
Here is my php version:
# php -version
PHP 5.3.6 (cli) (built: Mar 17 2011 20:58:15)
Copyright
need it.
Why not do it the other way around...
$alphabet_array=range('a','z');
$alphabet=join($alphabet_array);
$letter_numbers=array_flip($alphabet_array);
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Negin,
You cannot pause PHP. You need to do your checking and header() redirect on a
processing page that your form is submitting to.
file process
form.php Displays form
process.phpdecide what to you, redirect to secondary page
secondary.php display your secondary page
On
On 5/5/2011 3:38 PM, Michael Simiyu wrote:
Dan,
thanks for the reply.this is the code that shows/lists the categories
you need to make the following check look at $_GET instead of $_POST. Or, I
hate to suggest it, you can use $_REQUEST. It includes $_GET, $_POST, and
others all in one
On 4/29/2011 12:06 AM, Geoff Lane wrote:
On Friday, April 29, 2011, ad...@buskirkgraphics.com wrote:
Personally I would use the javascript page navigation is senseless if they
miss click.
Javascript: Small and simple javascript.
onclick=return confirm('Are you sure you want to
On 4/24/2011 8:44 AM, Ron Piggott wrote:
I am trying to figure out a syntax that will replace each instance of % with a
different letter chosen randomly from the string $puzzle_filler.
$puzzle_filler
is populated with the letters of the alphabet, roughly in the same ratio as
they
are
--
Jim Lucas
www.cmsws.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
be done in one line:
?php
echo array_rand(@file(@$filename), 1);
# if you wanted to do a couple checks, you could do the following
if ( is_file(@$filename) filesize($filename) 0 )
echo array_rand(file($filename), 1);
?
Jim Lucas
--
PHP General Mailing List (http://www.php.net
On 3/14/2011 2:02 PM, Jim Lucas wrote:
On 3/14/2011 1:31 PM, Paul M Foster wrote:
Here's what I need to do: I have an indexed array, from which I need to
delete elements in the middle. Once completed, the indexes should be
numerically in sequence, as they were when I first encountered
=radio name=radio_?php echo $result_from_mysql; ? value=1
/One
Then I would do the following:
foreach ($_POST as $k = $v) {
if ( strpos(trim($k), 'radio_') === 0 ) {
echo $k.' is a match, and it\'s value is '.$v.'.br/'.PHP_EOL;
}
}
Jim Lucas
--
PHP General Mailing List (http://www.php.net
On 3/9/2011 6:28 AM, Gotzon Astondoa wrote:
Hi all:
On my website I have an Ajax form. From this form user can upload files.
My guess would be that you have an HTML form. Not AJAX
Server side is a PHP script.
This form works properly on my development server.
Is this on localhost or is
will probably have to make is to set the
following in your php.ini file.
allow_url_include = On
and/or
allow_url_fopen = On
This would allow fopen to open the external URL and grab the data returned.
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On 3/4/2011 5:18 PM, Daniel Hong wrote:
Correction:
I stated the incorrect version of PHP that does not seem to have this issue.
The version of PHP that works correctly is 5.3.2, not 5.3.3.
Can you give us an example of what you are doing?
Jim Lucas
Thanks,
daniel
On Fri, Mar 4
On 3/2/2011 4:25 AM, Alex wrote:
You shouldn't have a default value in an auto increment field. You can
set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a
unique field and its automagically incremented, you should not set a
default value on it...
This is fine and dandy
On 3/2/2011 9:48 AM, Ashley Sheridan wrote:
Jim Lucas li...@cmsws.com wrote:
On 3/2/2011 4:25 AM, Alex wrote:
You shouldn't have a default value in an auto increment field. You
can
set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a
unique field and its automagically
://dev.mysql.com/doc/refman/5.0/en/select.html
and
http://dev.mysql.com/doc/refman/5.0/en/order-by-optimization.html
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, $key)
{
$item = $key holds $item\n;
}
array_walk_recursive($karamohArray, 'test_print');
print_r($karamohArray);
Give this a try and let us know.
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 2/23/2011 4:35 AM, Gary wrote:
Pete Ford p...@justcroft.com wrote in message
news:62.c1.32612.d49d4...@pb1.pair.com...
This bit?
On 22/02/11 22:06, Gary wrote:
for($i=1; $i=$_POST['counties']; $i++) {
if ( isset($_POST[county{$i}] ) ) {
You loop over $_POST['counties'] and look for
};
}
?
--
Jim Lucas
http://www.cmsws.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
other HTML tags to present data.
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
] = Jim Lucas
)
Array
(
[page_id] = 22
[action] = DelUser
[FullName] = Jim Lucas
)
Check out the example that I wrote here http://www.cmsws.com/?page_id=5
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
()
LIMIT 4
This will probably do the distinct after the ORDER BY RAND(), but again,
completely untested. YMMV
Give them a whirl and let us know how it works out.
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
scenario you can
possibly think of.
Just one thing, do not try and be a cut/paste god here. Actually take time to
read the examples and understand what they do before you put them into
production.
This will now end my How to use Google segment for the day.
Jim Lucas
--
PHP General Mailing List
as though it
was sendmail, accept the same arguments, etc... but do all the phpmailer stuff
inside.
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
extension?
Again, http://www.google.com
Enter what is a dynamic extension ...
Here is a good result from the list returned
http://www.atnf.csiro.au/computing/software/karma/programmer-manual/node17.html
Thanks.
Ethan
I hope this gets you headed down the right path.
Jim Lucas
--
PHP
WHERE logged_in = 't'
AND last_activity FROM_UNIXTIME( UNIX_TIMESTAMP() - 1800 )
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in a query on the users table, but it
causes performance issues.
David
cron it.
Setup a cron script that runs every 5 minutes.
A seconds work every 5 minutes isn't too much is it?
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/manual/en/function.header.php#92620
If in cli... well, you wouldn't be having this problem... :)
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you have control over the building of the initial phrase = link assoc?
If so, reverse the order of these two items.
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 1/21/2011 12:37 PM, Richard S. Crawford wrote:
I've got a massive PHP script which takes nearly an hour to run. Sometimes,
when it comes close to the end, it mysterious restarts itself and I have to
wait for another hour for it to complete.
Is there any reason why a PHP script would
On 1/18/2011 1:44 AM, Moses wrote:
Hi Everyone,
I am creating a file in PHP script which takes a value from a form and
writes it
to a file. However, i don't have the mode permission for the file instead it
is owned
by www-data.What can i do to ensure that the file is owned by me.
use that PHP instance for your web site to process all PHP requests.
This is how we have our servers at the office setup. Works great.
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
() )
header('Location: http://www.example.com/done.php');
?
--
Jim Lucas
DISCLAIMER: Unless otherwise noted, all code is untested!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
101 - 200 of 1672 matches
Mail list logo