Hello List
A client has asked me to migrate a few scripts that have been running
merrily under PHP4 to PHP5.2. Part of these scripts have integration
with PHPMyAdmin
using the single sign-on and so they make use of the following code :
session_write_close();
session_name(blah);
session_start();
Brad Bonkoski wrote:
Is there a way to key off of the data inserted? Like some unique value
or set of values that you can do a quick lookup before you
insert/update/delete again...
Or you could venture into an AJAX style of submission keyed off of a
button click then a refresh to a 'report'
Paul Jinks wrote:
snip
?
while($ouput_row = mysql_fetch_array($result)) {
?
?=$output_row[projTitle]?br /
snip
Paul - is this the actual code that you are using? - because you have a
typo in your while statement - $ouput_row instead of $output_row - means
that when you
Paul Jinks wrote:
Rory McKinley wrote:
Paul Jinks wrote:
snip
?
while($ouput_row = mysql_fetch_array($result)) {
?
?=$output_row[projTitle]?br /
snip
Paul - is this the actual code that you are using? - because you have a
typo in your while statement - $ouput_row
Rory Browne wrote:
snipdeleting an index(a good index that
is) would slow the db down in certain cases. Deleting a bad index
would speed certain operations up.
snip
If the index in question happens to be a unique index or a primary key
(really just a special case of index) - you could be
Rory Browne wrote:
snip
If the index in question happens to be a unique index or a primary key
(really just a special case of index) - you could be breaking the logic
of the table (allowing duplicates where there should be none).
Couldn't that only happen if you dropped a UNIQUE or PRIMARY
Chris W. Parker wrote:
snip
class Customer
{
var $id;
var $name;
snip
snip
function get_customer()
{
snip
snip
$this-name = $customer['name'];
}
snip
Where I get tripped up is when I realize I'll need to at some point get
more than one customer
Roger Thomas wrote:
I am trying to find a suitable opensource Knowledge Management System to be
used in my organisation; at least with document management, project
management group collaboration capabilities, like http://cortexpro.com/
Any clues ?
snip
Hi Roger
KnowledgeTree comes
Kall, Bruce A. wrote:
This is perhaps a javascript question
Is there a way to post a form to a url without having a user submit from
the form?
I have a php web page that is a detailed form with a lot of fields. If
the user does some work on this form and let's it sit, their session
Rory Browne wrote:
snip
snip
Just bare in mind, that I've never used ffi, and it's still alpha
code, and I'm not taking any blame it causes your dog to
explode.
snip
That's ok, I am sure there is no chance...rover, rover,what's the matter
boy? (Sound of dog exploding)
Hi list
I do not have much programming experience outside some PHP stuff so
please excuse a stupid question:
I have a DLL provided to me by a third-party with a small bit of
documentation regarding its structure and methods. The DLL caculates
event costs based on parameters passed to it. I would
Richard Davey wrote:
snip
Sure.. mysql_query doesn't support more than one query in the sql
statement.
snip
At the risk of being thick, does the OP not mean something like this:
INSERT INTO blah VALUES (value1, value2), (value3, value4)
versus
INSERT INTO blah
VALUES (value1, value2)
Richard Davey wrote:
snip
If the DLL has a COM interface then you can use PHP to talk to it, the
process is actually quite straight forward (depending on what the DLL
actually does of course).
Best regards,
Richard Davey
snip
Hi Richard
Rory (the other one ;) ) also mentioned a COM
Jackson Linux wrote:
Hi, all,
I have three tables; 'cv', the main table, 'jobcat', a definition table
and 'cvjobcats', an intersection table (for more detail see PS below).
I'd like to join this all together to be able to make a headline
consisting of the plain English description of the job
Jed R. Brubaker wrote:
Hi all -
I could use a lead on a problem. I just don't know where to start.
I have a PHP script that populates a database table. No big deal. It creates
mailing labels. However, a weird things keeps happening - every once in a
while, a query is run twice. It is the same
which is followed by the various attributes of the admin object
suggesting that the reference to the admin object is indeed within the
module instance.
I hope someone can help with this..
Oh, and before anybody asks I am still busy RTFM, STFW, STFA but with no
joy so far.
--
Rory McKinley
going to bugs.php.net, it seems that it has not been
logged as a bug.
So, the question would be - do I log it or am I wasting their time?
--
Rory McKinley
Nebula Solutions
+27 21 555 3227 - office
+27 21 551 0676 - fax
+27 82 857 2391 - mobile
www.nebula.co.za
--
PHP General
instance of $_SESSION['policeman']? If it does
unserialize, does that mean that it creates a second instance of
$_SESSION['policeman'], thereby breaking the common link that I am
trying to provide?
I hope someone will be able to point me in the right direction...
TIA
--
Rory McKinley
Nebula
Jason Wong wrote:
On Tuesday 07 December 2004 20:50, Rory McKinley wrote:
snip
As Page_3.php is still doing its business the session data file is locked and
when page_9.php tries to session_start() and finds it has no access to it
will suspend execution until the lock is relinquished by Page_3
have given me, and decide which solution works best for me.
--
Rory McKinley
Nebula Solutions
+27 21 555 3227 - office
+27 21 551 0676 - fax
+27 82 857 2391 - mobile
www.nebula.co.za
--
Rory McKinley
Nebula Solutions
+27 21 555 3227 - office
+27 21 551 0676 - fax
+27 82 857 2391
in doc2.php - meaning
that the only field available is client_name2.
I have a sneaking suspicion that it is the latter but I am hoping that
someone will be able to tel me definitively.
Apologies for the looong email - I just wanted to make sure that my
problem was properly defined.
- --
Rory McKinley
no difference. Only once I had
overwritten the libmysql.dll in the Windows system folder with the
version that ships with PHP5 did I get everything to play nicely together.
Regards
--
Rory McKinley
Nebula Solutions
+27 21 555 3227 - office
+27 21 551 0676 - fax
+27 82 857 2391 - mobile
www.nebula.co.za
can use a string to terminate the
line.
Then you can just run a simple query on the table (limited to the
equivalent lines for 5 songs), and together with a loop, output the
results.
For big files, the DB will be faster and provides you with far greater
flexibility
HTH
--
Rory McKinley
a.country='US' AND b,state_abbreviation = a.state ORDER BY
b.state_full_name ASC
This shifts the data processing work to MySQL (which is what it is
designed for) - you can also use the state lookup table for user input
validation if needed.
--
Rory McKinley
Nebula Solutions
+27 21 555 3227 - office
($raw_address, '') + 1));
--
Rory McKinley
Nebula Solutions
+27 21 555 3227 - office
+27 21 551 0676 - fax
+27 82 857 2391 - mobile
www.nebula.co.za
This e-mail is intended only for the person to whom it is addressed and
may contain confidential information which may
terms
correctly, as I am having no luck.
Can anyone suggest a solution?
Rory McKinley
Nebula Solutions
+27 21 555 3227 - office
+27 21 551 0676 - fax
+27 82 857 2391 - mobile
www.nebula.co.za
This e-mail is intended only for the person to whom
[EMAIL PROTECTED] wrote:
snip
|--|--|-
-|
|MON JUL 5 |TUE JUL 6 | etc...
|
-||--|--|---
place. Also, if you like you can give me info re: which city it should take place in,
people
that you would like as speakers etc.
Thanks in advance
Rory McKinley
Nebula Solutions
+27 82 857 2391
[EMAIL PROTECTED]
There are 10 kinds of people in this world,
those who understand binary and those
of the
text field.
Rory McKinley
Nebula Solutions
+27 82 857 2391
[EMAIL PROTECTED]
There are 10 kinds of people in this world,
those who understand binary and those who don't (Unknown)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, visit: http://www.php.net/unsub.php
Hi Alessandro
Will mysql_insert_id() not help?
Rory McKinley
Nebula Solutions
+27 82 857 2391
[EMAIL PROTECTED]
There are 10 kinds of people in this world,
those who understand binary and those who don't (Unknown)
--
PHP General Mailing List (http
also do something similar with objects
e.g.
?php
include('header.inc');
this_page_head = new header('Alaska')
?
if you are that way inclined.
Rory McKinley
Nebula Solutions
+27 82 857 2391
[EMAIL PROTECTED]
There are 10 kinds of people in this world,
those who understand
On 14 Jan 2004 at 23:16, David Blomstrom wrote:
--- Rory McKinley [EMAIL PROTECTED] wrote:
A possible option could be something like this
{calling_template.php}
?php
/*State name does not have to be set statically,
can be set from SQL query
etc*/
I think I
On 15 Jan 2004 at 0:21, Freedomware wrote:
Rory McKinley wrote:
I hope this has clarified matters somewhat and not made things worse.
Absolutely; the only thing that has made matters worse so far is the
book Teach Yourself PHP, MySQL and Apache, which had me thinking
making PHP
suggest, I would be glad to hear about it, and if I
could I
would happily assist to the best of my meagre abilities as it would definitely make my
life
simpler.
Regards
Rory McKinley
Nebula Solutions
+27 82 857 2391
[EMAIL PROTECTED]
There are 10 kinds of people in this world,
those who understand
to password string.
5. Loop through another seven times
HTH
Rory McKinley
Nebula Solutions
+27 82 857 2391
[EMAIL PROTECTED]
There are 10 kinds of people in this world,
those who understand binary and those who don't (Unknown)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
...
Any body got any idea ???
Please help me out..
Thanks in advance
Binay
Rory McKinley
Nebula Solutions
+27 82 857 2391
[EMAIL PROTECTED]
There are 10 kinds of people in this world,
those who understand binary and those who don't (Unknown)
--
PHP General Mailing List (http
can try it out for
yourself.
Regards
Rory McKinley
Nebula Solutions
+27 82 857 2391
[EMAIL PROTECTED]
There are 10 kinds of people in this world,
those who understand binary and those who don't (Unknown)
- Original Message -
From: Al [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday
it ReceiveTimeout with a data value of SECONDS*1000
5. Restart your computer
For example, if you want the timeout to be 5 minutes, set the ReceiveTimeout
data value to 30 (300 * 1000)
Rory McKinley
Nebula Solutions
+27 82 857 2391
[EMAIL PROTECTED]
There are 10 kinds of people in this world,
those who
with one of the
wildcards?
Rory McKinley
Nebula Solutions
+27 82 857 2391
[EMAIL PROTECTED]
There are 10 kinds of people in this world,
those who understand binary and those who don't (Unknown)
- Original Message -
From: Adrian Teasdale [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday
Hi
What you are looking for is a regular expression function, I would suggest
the following:
if(ereg($str1, $str2) == 1)
{
/*Found Bob in string*/
}
else
{
/*didn't find Bob
}
Rory McKinley
Nebula Solutions
+27 82 857 2391
[EMAIL PROTECTED]
There are 10 kinds of people in this world,
those who
40 matches
Mail list logo