print_r($row_info) display the entire column contents of the select id
However,
*$first = $row_info['first_name'];
echo $cc_first;*
the above echo still returns nothing.
On 3/27/07, Davi [EMAIL PROTECTED] wrote:
Em Terça 27 Março 2007 17:40, Dan Shirah escreveu:
I have echoed something
Sorry, had a typo.
*$cc_first = $row_info['first_name'];
echo $cc_first;*
this echo returns nothing.
On 3/27/07, Dan Shirah [EMAIL PROTECTED] wrote:
print_r($row_info) display the entire column contents of the select id
However,
*$first = $row_info['first_name'];
echo $cc_first;*
the above
] wrote:
2007. 03. 27, kedd keltezéssel 16.56-kor Dan Shirah ezt írta:
Sorry, had a typo.
*$cc_first = $row_info['first_name'];
echo $cc_first;*
this echo returns nothing.
and what does
echo $row_info['first_name'];
print out?
if still nothing, then probably
1) you misspelled the field name
PROTECTED] [18] = Y [19]
=
These are the comments [20] = Mar 27 2007 5:26PM [21] = Dan Create [22] =
Mar 27 2007 5:26PM [23] = Dan Research [24] = Mar 27 2007 5:26PM [25] =
Dan Submit [26] = C [27] = TN )
Bold and in red is the first_name column result.
On 3/27/07, Brad Bonkoski [EMAIL PROTECTED
) 1235550011
[17]=
string(7) [EMAIL PROTECTED]
[18]=
string(1) Y
[19]=
string(22) These are the comments
[20]=
string(19) Mar 27 2007 5:29PM
[21]=
string(30) Dan Create
[22]=
string(19) Mar 27 2007 5:29PM
[23]=
string(30) Dan Research
[24]=
string
Okay, I feel like the correct answer to this is about 2mm back in my grey
matter.
1. I have a query that pulls the last row number when a newly inserted
record is added:
$maximum=SELECT MAX(payment_id) FROM payment_request;
$max_result=mssql_query($maximum);
the time it
takes to go from step 3 to step 4 are very, very minimal. We're talking
about MAYBE a 2-3 millisecond gap?
On 3/23/07, Németh Zoltán [EMAIL PROTECTED] wrote:
2007. 03. 23, péntek keltezéssel 10.45-kor Dan Shirah ezt írta:
Okay, I feel like the correct answer to this is about 2mm back
(), you can rest assured you'll get a
record with a single field, even if it only contains a null, that's the way
with variables, you can't fail on them, though they might return null.
Satyam
- Original Message -
*From:* Dan Shirah [EMAIL PROTECTED]
*To:* Satyam [EMAIL PROTECTED]
*Sent
that returns an array.
You might use mssql_result instead:
$get_max = SELECT @@identity;
$max_result = mssql_query($get_max) or die(mssql_error());
$max_id = mssql_result($max_result,0,0);
echo $max_id;
Satyam
- Original Message -
From: Dan Shirah [EMAIL PROTECTED]
To: Satyam [EMAIL
Looking for some direction here.
I have a form that collects user data. When an employee opens the form
they enter in all of the user data for an account, however the account can
have multiple users so the employee has the option to Enter another user
for this account and they can do this for
for this account?
On 3/20/07, Greg Beaver [EMAIL PROTECTED] wrote:
Dan Shirah wrote:
Looking for some direction here.
I have a form that collects user data. When an employee opens the form
they enter in all of the user data for an account, however the account
can
have multiple users so the employee has
multiple times tied to different accounts.
On 3/20/07, Greg Beaver [EMAIL PROTECTED] wrote:
Dan Shirah wrote:
In my database I have two tables. One table stores all of the account
information, the other table stores all of the user information.
Table 1
account_id - is the primary key
reports
to auditors.
On 3/20/07, Jim Lucas [EMAIL PROTECTED] wrote:
Dan Shirah wrote:
I had thought about having the multiple submissions on a single form,
but
with the amount of user information that is collected and the variable
amount of users that may need to be entered this method would
Hello All,
I am trying to think through my new forms process. I want to allow a
customer to submit multiple orders using the same credit card. At the
bottom of my form I will have a Save link and a Save and Submit
Additional link/checkbox.
Basically what I want to happen is that if the user
, it's safer to use things like Paypal...
Tijnema
-- To the full PHP list now
On 3/7/07, Jochem Maas [EMAIL PROTECTED] wrote:
Robert Cummings wrote:
On Wed, 2007-03-07 at 10:39 -0500, Dan Shirah wrote:
then return to the same screen with the credit card
information still populated
You
Hello all,
I have a page that has multiple submits on it. One submit is within my
javascriptfor form checking, the other submit is a button used to populate
all customer information if an order ID is entered.
Problem: I cannot get the two to coincide at the same time. They both use
the
a form within a form, it is giving me problems.
On 2/26/07, tedd [EMAIL PROTECTED] wrote:
At 11:23 AM -0500 2/26/07, Dan Shirah wrote:
Hello all,
I have a page that has multiple submits on it. One submit is within my
javascriptfor form checking, the other submit is a button used to
populate
all
On my form I have several drop down menus. They all work and display the
corrent values. However, I would like the initial display of the form to
show each dropdown as blank.
$q_status = SELECT * FROM status_codes ORDER BY status_description;
$r_status = mssql_query($q_status) or
Thank you George, that is what I was referring to.
I had been placing the echo OPTION value=\\/OPTION\n; inside of my
loop..which of course returned a blank after every valid selection.
TGIF!
Thanks all.
On 2/23/07, Dave Goodchild [EMAIL PROTECTED] wrote:
Also, if you want to get into the
Greetings,
I have the following code which populates a dropdown box so a user can
select a month. They see the month name and the SELECTED value is the
corresponding numeric value 1-12 for the month. However, the selected
value for January would be 1. I need the selected value fro January
If I change my date value to m instead of M, that would only affect the
visual month representation that they see, and not the selected value that
I want to input into my database thoughright?
On 2/19/07, Jay Blanchard [EMAIL PROTECTED] wrote:
[snip]
I have the following code which
Okay, so sprintf(%02s, $m) means that the value of $m would be checked for
the amount of digits returned. If less than two digits a zero would be
added to the front, correct?
On 2/19/07, Jay Blanchard [EMAIL PROTECTED] wrote:
[snip]
If I change my date value to m instead of M, that would only
/19/07, Brad Fuller [EMAIL PROTECTED] wrote:
-Original Message-
From: Dan Shirah [mailto:[EMAIL PROTECTED]
Sent: Monday, February 19, 2007 1:44 PM
To: Jay Blanchard
Cc: php-general
Subject: Re: [PHP] Month
Okay, so sprintf(%02s, $m) means that the value of $m would be checked
option value=\.sprintf(%02d, $m).\$months/option;
}
?
/select
On 2/19/07, Brad Fuller [EMAIL PROTECTED] wrote:
-Original Message-
From: Dan Shirah [mailto:[EMAIL PROTECTED]
Sent: Monday, February 19, 2007 2:08 PM
To: Brad Fuller
Cc: Jay Blanchard; php-general
Subject: Re: [PHP
GAH! Sorry. rubs eyes
On 2/19/07, Brad Bonkoski [EMAIL PROTECTED] wrote:
Dan Shirah wrote:
Just when I think I'm getting the hang of PHP, I get confused beyond
belief
:|
Is this working for you guys? When I test my page only 1/2 of the
months
show up now. scratching head
select
Okay, I found the correct function and below is what I have:
- Show quoted text -
$insert1 = INSERT INTO table1 (
debit_card,
card_type,
card_number,
exp_date,
payment_amount,
cvv_number,
first_name,
middle_name,
last_name,
address_1,
I GOT IT! WooHoo!
Thanks to a co-worker, this problem has been solved! I was using
scope_identity incorrectly.
This is how you should use it:
INSERT INTO Table1 (
Column1,
Column2)
VALUES (
Value1,
Value2)
INSERT INTO Table2 (
Column1,
Column2)
VALUES (
Hello,
I have a page the contains two insert statements.
$insert1 = INSERT INTO table1 (
debit_card,
card_type,
card_number,
exp_date,
payment_amount,
cvv_number,
first_name,
middle_name,
last_name,
address_1,
address_2,
city,
Sorry, I wasn't trying to fool you, I promise! :)
Arpad,
From looking on the web (MSDN) I found the @@identity and the explanation of
what it is, but MS's example is horrible and does not show a good context
for using this function. Could you elaborate more on its use?
On 2/14/07, Robert
/2007 01:34 PM, Dan Shirah wrote:
I have a form that uses Javascript to validate form field entries, and if
they are incorrect it returns an error to the user.
After the Javascript processing is complete, it submits the form to my
save
page. However it seems that once the processing is complete
Nope, same result unfortunately.
On 2/8/07, Németh Zoltán [EMAIL PROTECTED] wrote:
On cs, 2007-02-08 at 08:56 -0500, Dan Shirah wrote:
Okay, I'll try your spacer solution. Where do you think I should add
it?
I put it right before the /form tag, but I think you could put it
anywhere
);
}
}
document.getElementsByName('inputForm')[0].submit();
}
Dan Shirah wrote:
Okay, I edited my page per some suggestions here. Below is what I now
have:
script language=JavaScript
function checkForm() {
// ** START **
if (inputForm.cc_phone_number.value == ) {
alert( Please enter
You guys are going to kill me! I found my problemand it's one of those
What the hell were you thinking issues.
Within my form was a button but I stupidly made it a submit when I created
it and therefore the javascript check for submit was finding my button first
and dumping the error.
So,
I have a form that uses Javascript to validate form field entries, and if
they are incorrect it returns an error to the user.
After the Javascript processing is complete, it submits the form to my save
page. However it seems that once the processing is complete and it passes to
the save page,
, 10...how can I get it to output the
two year for 07, 08, 09 without it cutting off the zero?
Reagrds,
Dan
Thanks everyone! A lot of great solutions!
On 2/2/07, chetan rane [EMAIL PROTECTED] wrote:
HI Dan
try this this should work 100%;
echo select;
for ($y=0;$y=10;$y++) {
$years=date('Y')+$y;
$short_years=date('y')+$y;
printf(option value=\%02d\%d/option,$short_years,$years);
}
echo /select
, Jochem Maas [EMAIL PROTECTED] wrote:
Dan Shirah wrote:
I have a search page that displays all active records in my application,
but
for some reason, I can not get it to display based on a specific input.
For instance, I have records with id's 2, 3, 4, 5 etc... In my search
form,
the default
I have a search page that displays all active records in my application, but
for some reason, I can not get it to display based on a specific input.
For instance, I have records with id's 2, 3, 4, 5 etc... In my search form,
the default view shows all records, and my form variable lets you put
Hello,
Does anyone know of a script that can create an ACH origination file with
PHP?
Thanks
Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ah, I see. In Brad's reply there was two $result = mssql_query($sql) or
die(mssql_error()); in the code. Removed the one from outside of the loop
and it works fine now.
Thanks to both of you for your help!
On 1/18/07, Chris [EMAIL PROTECTED] wrote:
Dan Shirah wrote:
The code above
I have a page that shows all outstanding tickets, what I'm trying to have it
do is let users search by several categories. I want to be able to filter
the results based on the user input.
For instance, say I have an employee that wants to find ticket #2. He
enters 2 in the Request ID field
Hello all,
I am trying to pull data and then loop through the multiple results display
in seperate rows.
My database contains several tables which are all tied together by the
credit_card_id. After running the query, it ties the unique record together
by matching the credit_card_id in both
The code above displays no information at all.
What I want to do is:
1. Retrieve my information
2. Assign it to a variable
3. Output the data into a table with each unique record in a seperate row
On 1/18/07, Brad Bonkoski [EMAIL PROTECTED] wrote:
Dan Shirah wrote:
Hello all,
I am trying
. It will only be used within our intra-net and only
by a handful of people. Any and all suggestions will be greatly appreciated.
Thks Dan Phillips
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I do a lot of work for non-profits a lot of them are really good
clients, pay well and on time, but I know most of them pretty well and
know that they are truly non-profits, so just because you said you
were a non-profit where we supposed to assume that you wanted it for
free and supported
Cool!
On 10/31/06, Prathaban Mookiah [EMAIL PROTECTED] wrote:
Hello List,
I thought of sharing my experience of writing a controller to remotely
control a robot through a webserver using PHP. Though I could not use PHP
alone to do the entire job due the high delay it takes to connect to the
for the inconvenience, hopefully this will get resolved.
Dan
On Sep 21, 2006, at 2:23 PM, Børge Holen wrote:
On Thursday 21 September 2006 10:09, Google Kreme wrote:
On 20 Sep 2006, at 22:47 , [EMAIL PROTECTED] wrote:
- The following addresses had permanent fatal errors -
[EMAIL
you recommend a vendor?
Thanks
Dan
There are many payment processing script/classes/examples available
that you could use. Just google around for your gateway provider,
like PHP and Authorize.net, etc, or go to their site and look for a
developer, API or something like that to see if they have done some
examples.
On 8/22/06,
Commercial product that is good http://www.x-cart.com/
On 8/22/06, Ryan A [EMAIL PROTECTED] wrote:
It really looks like I will have to write this myself
:(
I know it will be good for experience but like someone
else has pointed out, I would rather work with someone
elses code for the payment
I believe you can find those out there as well, most of what you need
will be available out there, you will be able to find them and then
take what you need to work it into your cart, probably would be a good
idea to think of all the different pieces and then find the different
Another thing to remember is that you dont want to get overwhelmed
with all the work when you are going to build your own, a list of
250,000 features will never get done, many have tried, many have
failed, so plan what you need to start with and build the other
features later.
On 8/22/06, Dan
How is this different then what they try and sell you for $249. I
have eclipse for Java development, and was looking at Zends package
for PHP development, but if they are basically selling me the same
thing then I would go with eclipse.
On 8/21/06, Colin Guthrie [EMAIL PROTECTED] wrote:
Larry
in phpmyadmin config.default.php you can specify the socket that it
should be looking for. have you tried that?
On 7/14/06, Dave M G [EMAIL PROTECTED] wrote:
David Tulloh,
This sounds like a Zend Studio problem and question.
It could possibly be a MySQL or even a phpMyAdmin question.
It
For me it doesnt matter I dont want Google in the section that I'm obfuscation.
On 7/13/06, Richard Lynch [EMAIL PROTECTED] wrote:
On Fri, July 7, 2006 10:56 pm, Anas Mughal wrote:
My URLs are constant. They are not changing.
All my dynamic pages are indexed nicely on Google.
I agree that a
I wrote my own, very simple, very easy. I think the code is in the
archive somewhere. Otheres have written similar functions.
CODE +++
function logError ($logentry, $lgname) {
// simple function to log errors to text/log file.
$logfile =
Ahh yes I do that as well, I knew there was another other then syslog.
On 7/12/06, Jochem Maas [EMAIL PROTECTED] wrote:
Michael B Allen wrote:
What is the standard method of logging debug info? Should I just fopen
a file for append and write the message or is there a facility provided?
there
Looking for a good way to obfuscation the name value pairs in a URL,
so it might be something like
http://www.domain.com/page=fjdsaflkjdsafkfjdsakfjdsalkfjsda983dsf or
something like that, I was looking at base64_encode, but was wondering
what others might do or use. It doesnt have to be super
This one?
http://dev.mysql.com/downloads/other/eventum/
On 7/6/06, Chris Hemmings [EMAIL PROTECTED] wrote:
Can anyone point me in the direction where I can find a place to
download the bug track system that PHP/PEAR PECL uses. I seem to
remember it is available but can't find it anymore!
Ta!
I just installed it so its fresh in my mind.
:)
On 7/6/06, Chris Hemmings [EMAIL PROTECTED] wrote:
Dan McCullough wrote:
This one?
http://dev.mysql.com/downloads/other/eventum/
On 7/6/06, Chris Hemmings [EMAIL PROTECTED] wrote:
Can anyone point me in the direction where I can find
There are several blog software packages and cms packages that do
something like this you might want to download and take a peek.
Wordpress one that comes to mind.
On 6/29/06, Mathieu Dumoulin [EMAIL PROTECTED] wrote:
How i'd do it is not simple, i'm sure there is an easier method but here
query will do the trick.
Either way if this is more what you are looking for we can get into
specifics later.
Dan
On 6/29/06, KermodeBear [EMAIL PROTECTED] wrote:
Hello,
As Adam pointed out, this can be deadly to your database, especially as the
number of posts grows. If you want to go
I'm having some problems where some undefined entity are getting in,
these entities are usually html entities.
sad thing isquot;brvbar;bringing in these large chains is putting
the xml doc points to the in ;brvbar as the problem. what do I
need to do to get this stuff cleaned up?
--
PHP
Or make your own, might be easier to do.
On 6/20/06, suresh kumar [EMAIL PROTECTED] wrote:
Hi,
I am facing one problem in my project.i want to restrict more than one user
login in the same account .Is there any functions available to check r we can
implement using session.
snip
just wait till we have spambots with AI and emotion subroutines ;-)
/snip
It'll be worse if we get spammers with actual intelligence...
--
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
--
No virus found in this outgoing message.
Checked by AVG Free Edition
for text that does not start with
_a infront of the number?
Thank you for any help,
Merlin
[/snip]
How about this:
(\w)+(_a){1}(\w)+\.htm$
Worked for me :)
HTH
Dan
--
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
--
No virus found in this outgoing message
out :)
HTH
Dan
--
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
-Original Message-
From: Dave M G [mailto:[EMAIL PROTECTED]
Sent: 26 May 2006 10:26
To: php-general@lists.php.net
Subject: [PHP] Why does this preg_replace function not work?
PHP List
I have a friend who I wrote some very simple publishing software,
basically he takes his writtings and puts them online. Well his
writtings are in Word and so he has alot of special characters that he
inputs, some unknowingly, into the database. Are there any classes or
samples of what others
Using ImageMagick, ray tracing algorithms, an OCR library, and fourier
transforms, I bet that you could parse Capchas.
Dan
-Original Message-
From: Dotan Cohen [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 12:29 AM
To: PHP General (E-mail)
Subject: [PHP] Parsing images
Hey all
Duffy, Scott E [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Are printf and number_format supposed to round?
echo ($hcount-$lcount)/$hilow. ;
echo number_format(($hcount-$lcount)/$hilow,2,'.','');
0.208333 0.21
0.145833 0.15
0.17 0.17
0.083
bruce [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
i'm looking for opinions on the worth of programming contests as a way
of
judging the talent of potential software developers...
any thoughts/pros/cons would be appreciated..
My first thought is: Won't be a good criteria for
/stemmer.php (this just just one implementation of
it)
See this for the background theory and more info:
http://en.wikipedia.org/wiki/Stemming_algorithm
Dan
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 18, 2006 1:31 AM
To: BH.VN.Viswanath
Cc: php
of the image.
Does anyone know of a PHP-based solution that does something like this? The
link from the scanning device to the web server is the big unknown for me.
Do I have to use ActiveX? Can ActiveX interface with PHP?
Thanks
Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
and sorry if I misunderstood your question.
Dan
-Original Message-
From: Sunnrunner [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 10:47 PM
To: php-general@lists.php.net
Subject: [PHP] flash file to recognize SESSION or REQUEST variables?
A client asked me this question. Does anyone
X-Cart, ZenCart (osCommerce like),
http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/index.html
if you look in the archives you will find similar questions with a lot
better response.
On 4/8/06, Lisa A [EMAIL PROTECTED] wrote:
I need a shopping cart for a website that once I install
Short tags in the php.ini file.
On 4/6/06, Dallas Cahker [EMAIL PROTECTED] wrote:
What is that called and where in the php.ini file do I enable it? Sorry if
this is a stupid question but since I dont know what its called it makes it
difficult to google it.
--
PHP General Mailing List
I would look here for an idea. http://phpsec.org/projects/guide/
I think you'll find many opinions on the matter. One thing to
remember is that once the app goes live your job doesnt stop there
you'll need to be just as stringent about security and checking logs
and errors as you were when you
http://www.hardened-php.net/advisory_202005.79.html
check this out
On 4/6/06, Wolf [EMAIL PROTECTED] wrote:
I woke up on thanksgiving morning to find my server hacked through a
hole left by a file upload area of my site. I restored the backup and
placed a few blocks in place on the server,
WHat types of files were they, if you dont mind me asking?
On 4/6/06, Wolf [EMAIL PROTECTED] wrote:
I woke up on thanksgiving morning to find my server hacked through a
hole left by a file upload area of my site. I restored the backup and
placed a few blocks in place on the server, so they
php.ini-anal-retentive-paranoid.
I'm editing mine for that right now, everything is off, the sever has
a keyboard, mouse, monitor no cd/dvd, no floppy, no usb and is
unplugged from the network, there are 6 security guards that surround
you and they give you 5 minutes on a timer.
On 4/6/06, Kevin
Cool Chris I'm going to take a look at that movie. Dallas there is a
section at the top of the ini file that lists some directives and
their status to address security or performance issues, but as Chris
mentioned your code could be as big of a risk as anything so pay
attention to that.
On
';
} else { // no headers sent... much nicer header redirect
header('location: ' . $url);
die();
}
}
?
HTH
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
hey Dallas,
have you thought about breaking this up and making two seperate
functions one the checks the cookie and one that checks the session
information? I'm not sure if that is what you were looking for as far
as an answer but it might be a good start.
On 4/4/06, Dallas Cahker [EMAIL
a DB to store sessions... Much nicer
HTH
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
-Original Message-
From: Dallas Cahker [mailto:[EMAIL PROTECTED]
Sent: 04 April 2006 16:19
To: php-general
/documentation/index.shtml
One of these requirements is cardholder data encryption -- is anyone aware
of a
PHP/MySQL/Linux/Apache solution for end-to-end cardholder data encryption
that satisfies the Visa / MasterCard requirements?
Thanks
Dan
--
PHP General Mailing List (http://www.php.net
I can see a pattern emerging here...
Chaos? You had chaos? All we had was this sodding great explosion...
:-)
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
-Original Message-
From: Duncan Hill
Maybe use Jacascript to create and populate hidden inputs?
They will show up in the $_POST array then
HTH
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
-Original Message-
From: Lorca [mailto:[EMAIL
[snip]
$conn=mysql_connect( );/*with the required parameters*/
if(!conn)
{
[/snip]
You are testing conn in your if condition... should that not be $conn?
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
conn denotes a constant where the value you are assigning is to the variable
$conn
[snip]
$conn=mysql_connect( );/*with the required parameters*/
if(!conn)
[/snip]
Depending on your error level this may evaluate to TRUE creating a false
positive
Or am I wrong?
Dan
The value doesn't show up in the URL as you are redirecting the user back to
the referring URL... so only the referrer will be shown (unless the
redirecting script breaks :) )
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http
I have a Windows server (IIS) with PHP and MySQL installed on it.
I have a script that is automatically ran every evening. This script has a
set_time_limit(90*60) (90 minutes) at the top, but the script seems to
just stop functioning after 5 minutes. I do *not* get the line about
execution
Dan Baker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a Windows server (IIS) with PHP and MySQL installed on it.
I have a script that is automatically ran every evening. This script has
a set_time_limit(90*60) (90 minutes) at the top, but the script seems to
just stop
The hostname lookup does not impact performance at all. I am only
doing a look-up on the remote ip of the user not on my full blacklist.
I am using this on a site to log hits to a banner ad and on listings
on a ebay style marketplace. I log the IP and the hostname on a look-
up.
Dan T
I need to loop from a date in the past to current date getting all
dates in between. Anyone have an idea on how to do that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is prohibited. If you have received this transmission in
error, please notify the sender by reply e-mail and destroy all copies
of this transmission.
-Original Message-
From: Dan McCullough [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 15, 2006 10:22 AM
To: Shaunak Kashyap
Subject: Re
a simple boolean if I
am in the blacklist. I could create a loop and cycle through the
array valves and to a regex on each but I was hoping someone would
have a more elegant solution.
Thanks,
Dan T
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Hi there, im am planning to spec the software install for one of our
machines that gets an insane ammount of hits and traffic from referring
sites. Im looking into if running the php for this server under fastcgi
instead of as a php apache module will help reduce and apache
bottlenecks ? Most
Source is fine, i never install php with binaries, lets see how i go.
On 13/03/2006, at 1:12 PM, Chris wrote:
Dan Rossi wrote:
Hi there, im am planning to spec the software install for one of our
machines that gets an insane ammount of hits and traffic from
referring sites. Im looking
Chris [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dan Baker wrote:
I have the following code snippet:
$h = fopen($path/file.txt, 'x+');
And it generates the following error:
Warning: fopen(/home/./myarea/file.txt): failed to open stream:
Permission denied
The path
(SOLVED, see below)
Dan Baker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Chris [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dan Baker wrote:
I have the following code snippet:
$h = fopen($path/file.txt, 'x+');
And it generates the following error:
Warning
701 - 800 of 2130 matches
Mail list logo