it.
On Sat, 6 Aug 2005, Ron Piggott wrote:
What is the correct $_SERVER that tells me what page is currently being
displayed? Ron
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit
is
connecting to the master db server when performing the write operation?
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to ensure it doesn't occur. However, if the error isn't
critical, and your script can continue to function even if it occurs,
suppressing the error often is a viable option.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP Database Mailing List (http
, and you're using
Apache):
.htaccess:
php_value session.use_cookies 0
Try that and see if it works.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802-863-5251 x156
and prevent headaches
later on.
By the way, if you want some best practices for escaping data before
placing into a database, the manual page for mysql_real_escape_string
has some examples:
http://php.net/mysql_real_escape_string
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster
or is there really no problem?
There's no problem. PhpDoc goes into comments; there's no interaction
with code whatsoever.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802-863-5251
element returned by getimagesize() is the
image MIME type.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto
with:
SELECT *
FROM table
WHERE
date_received LIKE '$todays_date' OR
date_received LIKE '$yesterdays_date'
ORDER BY
prayer_request_reference ASC
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association
be done quite quickly.
Anyways, it's a moot question now -- I've got the data in, and I'm
pretty happy with the results I've seen.
On Friday 11 February 2005 11:56 am, Matthew Weier O'Phinney wrote:
* Micah Stevens [EMAIL PROTECTED]:
Sounds like a self join should work wonders.
I didn't
* Martin Norland [EMAIL PROTECTED]:
Matthew Weier O'Phinney wrote:
I have a table which contains the following:
id (primary key, auto incrementing)
app_id (integer, foreign key)
resource_id (integer, foreign key)
word
score
(This is a search index.) I want
)
completely fixed, and it may be something I can't fix.
On Thursday 10 February 2005 07:56 pm, Matthew Weier O'Phinney wrote:
I have a table which contains the following:
id (primary key, auto incrementing)
app_id (integer, foreign key)
resource_id (integer, foreign key
that this is reasonable.
In a previous incarnation of the script, I was looping through each word
of each resource_id and then selecting out of tmp1 based on the single
word value. The results were very different (very few matches), and,
again, the script ran long.
Any ideas?
--
Matthew Weier
12 matches
Mail list logo