n. Strikes me you'd need to unserialize into
the current session structure... which I think can be found
somewhere in the GLOBALS hash.
Cheers Rob.
--
.-----.
| Robert Cummings |
:-`.
| Webdeployer - Chief
cifically for the info
> you need.
Ummm yeah... I was gonna say that too, BUT FORGOT!
Cheers,
Rob.
--
.-----.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail
ctFee = &$objectFoo;
unset( $objectFoo );
Then the object shouldn't be deleted since $objectFee is still referencing
it. You will just break the reference. Correct me if I'm wrong *chuckle*
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`--
Erik Price wrote:
>
> On Wednesday, April 17, 2002, at 03:59 PM, Robert Cummings wrote:
>
> > Now if what you meant was the following:
> >
> > $objectFoo = new MyObject();
> > $objectFee = &$objectFoo;
> >
> > unset( $objectFoo );
> >
&g
n return "1" if succeeds, "2" if error code A, or "3"
> > if error code B, and then a switch statement could decide what to do in
> > the calling script -- but does this sound sloppy?
> >
> >
> > Erik
> >
> >
> >
> >
> &
response...
return ereg( '^[[:alpha:]]*$', $testString );
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
|
Erik Price wrote:
>
> Is there a limit on how many times you can extend a class in PHP 4?
Was there ever? Curious to know!
Cheers,
Rob.
--
.-----.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Prog
Robert Cummings wrote:
>
> Jeroen Timmers wrote:
> >
> > i want to check if a given string has only numbers
> >
> > for exampl
> >
> > $test = "343124312" TRUE
> > $test1 = "q34daf23423" FALSE
>
> I'm tempted to
on??? Bah, you can generate client side script with server
side script, arguably you might be able to do the same with client
side also... :)
Cheers,
Rob.
--
.-----.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP a
Erik Price wrote:
>
> On Thursday, April 18, 2002, at 03:10 PM, Robert Cummings wrote:
>
> >> Is there a limit on how many times you can extend a class in PHP 4?
> >
> > Was there ever? Curious to know!
>
> I could be completely mistaken, since I can'
heers,
Rob.
--
.-----.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail : mailto:[EMAIL PROTECTED] |
| Phone : (613) 731-
php is running on our box as nobody:nogroup. I'm trying to write php
code that will edit/delete files uploaded to the server by other users,
and, obviously, I get a permissions error.
My sysadmin is hesitant to give php more access until I do some
research about the security issues involved, an
>>> "Dave Raven" <[EMAIL PROTECTED]> 04/19/02 01:55PM >>>
chown them to nobody.
- Original Message -
From: "ROBERT MCPEAK" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 19, 2002 7:53 PM
Subject: [PHP] php permiss
Craig, you seem very knowledgable and I appreciate your help. I
confused matters by mentioning the word "upload." I'm actually not
using php to upload the files. The user ftps the files to the server,
and the ownership permissions prevent php from manipulating the files.
I'm looking for a clea
hi
have look at this code:
class test {
function test(){
//$this->a = 10;
print_r($this);
}
function test2(){
print_r($this);
}
}
$t=new test();
$t->test2();
what do you see? empty object twice...
now uncomment the commented line. now the object got a variable - which i
you could do a stripslashes ()
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: Anthony Ritter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 3:06 PM
To: [EMAIL PROTECTED
I need code that grabs the file at the end of a file path.
I have this:
/usr/blah/doh/yuck/wow/abigfile.html
And would like to return this:
abigfile.html
Could somebody show me how to do this?
Thank you!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
I'm running php on linux and wish to use basename() to get the file name
from a windows path.
basename() on our linux/php box can't seem to cope with the use of
backslash (\) in the Windows paths I'm feeding it.
In other words:
basename(/usr/blah/doh/yuck/wow/abigfile.html)
resolves to : abig
Running PHP3 on a Linux box and I've got trouble with date().
Here's the code:
$blah=2002-05-02;
$thedate = date("D, M d, Y", strtotime($blah));
$echo "$thedate";
Why is $thedate resolving to Wed, Dec 31, 1969.
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
On PHP3 where $row["art_date"] == 2002-05-03,
$thedate resolves to "Thurs, May 2, 2002"
YESTERDAYS DATE!
See for yourself, if you wish, here:
http://www.endvaw.org/current.php3
What gives.
$row = mysql_fetch_array($result);
$blah = eregi_replace("-", "/", $row["art_date"]);
$thedate = date
gards,
> Manuel Lemos
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Program
two
> >combined...
>
> PHP has nothing to do with frames. You can have a .php file as the frame
> source for any given frame, just like if it were an .htm or .html page.
My guess is that he's looking for a library that will provide an
abstracted
orm.
>
> If I change the code like this (adding the \" around the variable):
>
> $display_line .=" value=\"$noslash_signature\" size='35' maxlength='100'>";
>
> O'Brien will display OK, but Joe "Bruiser" Jones s
Does it have to be a booby-trap or will some little annoyance like a
shareware popup that would just aggravate the heck out of them do the trick?
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message
dd.
> $rowcount is 0
> $rowcount is set to one and printed in a different color
> $rowcount is set to two, which is not equal to one, so does elseif and is
> set to zero
>
> HTH!
>
> Jay
>
> --
> PHP General Mailing List (http://www.php.ne
Robert Cummings wrote:
>
> The more generic approach:
>
> function getNextColour( &$lastIndex, $colourList )
> {
> return $colourList[(++$lastIndex % count( $colourList ))];
U... $lastIndex++, don't want to start on the second entry :)
Cheers,
Rob.
--
.
s, but also removes
> duplicate company names so it looks MUCH neater this way :
YIKES! I thought there was a SQL keyword for returning a unique
rowset.
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer
ta for that row.
In the words of a great man: "Doh!"
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail : mailto:[EMAI
are set up in the mysql
table to give you access from another server.
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail : mailto:[EMAIL PRO
Robert Cummings wrote:
>
> Justin French wrote:
> >
> > Yup, with "local host" you're not going to be able to access it from a
> > remote machine (although it's worth asking your host).
>
> Actually you can connect to a mySQL database from
,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail : mailto:[EMAIL PROTECTED] |
| Phone : (613) 731-4046
If they had the talent or the free time they would have programmed it
themselves because most of the time it takes longer to backwards engineer a
program than it does to write it from scratch.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Hi, I'd like to know if anyone has good references
(links, ps, pdf etc) about building a crawler and tips
regarding doing that with PHP.
This would be mostly for learning purposes.
thanks.
__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
ht
y wouldn't need to
hire you. If they did hire you why not pay you to write the code instead of
paying their people to go through the hassle of reverse engineering it.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTE
know exactly how the functions worked or
interacted with one another.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Good point I hadn't thought about that, maybe its time for that second pot
of coffee ;)
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: 1LT John W. Holmes [mailto:[EMAIL PROT
this will do it:
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 9:46 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie help
I'm trying to build what I think is an associative array from a set of
mySQL results.
It looks like this:
//First, a mySQL results loop for a select statement return unique
occurrences of data in the field "term":
for ($i=0; $i <$num_results; $i++)
{
$row = mysql_fetch_array($result);
echo $
I've created an array. A very simple array that uses strings as keys.
aname['one']=something;
aname['two']=something else;
Isn't there any way to directly access the 'n'th element?
example: aname[0]?
I've searched the group, but haven't found anything. Am I missing
something or can'
AFAIK you
>can't do that.
>
> cheers,
> thalis
>
> On Wed, 15 May 2002, Robert Rothe wrote:
>
> > I've created an array. A very simple array that uses strings as keys.
> >
> > aname['one']=something;
> > aname['two'
This is not tested but should work
$mysql_host = "localhost:1433";
$mysql_login = "billy";
$mysql_pw = "bob";
if(!$db_conn = mysql_connect($mysql_host, $mysql_login, $mysql_pw)){
echo "Connection Failed
ent
Cons:
- transmission of content doesn't start until preprocessor completes
- slightly more overhead since content must be stored in memory until
buffer is flushed.
Cheers,
Rob.
--
.-----.
| Robert Cummings |
:-`.
| Webdeployer - Chie
rs that
> are necessary in hidden vars, and has HTML, PHP, and a handful of JS.
You wouldn't happen to have a demo would you? A visualization
would help me a lot.
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief
this stage of the game. it should be
> up and running this summer though :-)
No problem, completely understandable :)
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:---
lack.
Couldn't have said it better *heheheh*
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail : mailto:[EMAIL PROTECTED] |
e actually an image I'd use:
wget http://domain.com/image.gif
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail : mailto:[EMAIL PROTECT
);
if( $length > 0 )
{
if( (fh = fopen( 'destination', 'w' )) )
{
fwrite( fh, $imageData );
}
}
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:
o/php in the first line of the script, right?
> [/snip]
>
> Can you have the compiled with apache version and the CGI version installed
> on the same server?
Sure can!
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| W
to
update a cache, so that the web module never needs to hang the user while
it retrieves data from a remote site.
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:
You have to have an account with either one. Payflow or CyberCash is just a
card swiper on the Internet. An acquiring bank is still needed.
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.471.1095
Fax
;m running PHP and
> Apache on Windoze, PHP is version 4.2.0 I think, Apache is
> 1.3.something.
If you don't manually flush a buffer I believe it auto flushes
when the preprocessor completes.
Cheers,
Rob.
--
.-.
| Robert Cummings |
:--
t gets a lot of coders... what you need to do is
create another connection because the value returned from the mysql_connect
function is a resource identofier, which means if you run two queries on the
same connection the second result set will overwrite the first.
Cheers,
Rob.
--
.-.
| Ro
Robert Cummings wrote:
>
> Kelly Meeks wrote:
> >
> > Ok
> >
> > Let's say I'm querying a table, and looping thru the results:
> >
> > $connect=mysql_connect(host,user,pass);
> > $thedb=mysql_select(database1);
> > $thequery=&
-
> ==
> D. D. Brierton[EMAIL PROTECTED] www.dzr-web.com
> Trying is the first step before failure (Homer Simpson)
> ==
>
> --
> PHP General Mailing L
ikely the format is custom and you'll need to do the grunt work
yourself - either by hand (small file) or by writing a script to do it for
you.
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Progra
I have a table with a field "key" containing a unique value. I have a
second table containing a field called "keys" containg a pipe-delimited
list of values from the "key" table.
I'd like to do a query that took each value from key, and matched it
agains the field "keys" in the second table, and
I'm a newbie, but maybe this'll do it:
if ($str!='0')
{
$str = ltrim($str, '0')
}
>>> Liam Gibbs <[EMAIL PROTECTED]> 05/23/02 01:49PM >>>
> From version 4.1.0, $str = ltrim($str, '0')
This works excellently. Thanks. One problem that I
didn't think of, though: If the number is 0 (only 0),
then t
key
per row in table2. If a row has 'blue' twice, only one will be
counted.
---John Holmes...
- Original Message -
From: "ROBERT MCPEAK" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 23, 2002 1:22 PM
Subject: [PHP] php/mysql join query help
Hi,
I was wondering if anyone has developed web services
using SOAP with php. I'd like to use it in a future
project but was wondering which "tools" (classes,
exemples) do we have and how stable are they.
regards,
Rt.
__
Do You Yahoo!?
Yahoo! Sp
Hi,
I have some script to access an Oracle database using
stored procedures. When I access a development
database everything runs fine. When I access the
production database I get errors PLS-00553: character
set name is not recognized ORA-06550.
The problem seems to be related to NLS. So in t
e the server is linux/apache. I have full telnet access, but I have
no idea how to add myself to the php group.
Regards,
Robert MacCombe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
not sure of the ability to utilize Orb's with
PHP. Also, if you use the port method you will have to define some sort of
return mechanism.
This is off the top of my head. So comments or suggestions would be great.
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web:
See the manual at php.net:
addslashes()
stripslashes()
I've found it easier to just turn on magic-quotes in the php.ini file
This is all covered at php.net
Robert
- Original Message -
From: "Nick Patsaros" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <
Try it like this
$letter="a"
$result =mysql_query("SELECT * FROM emply_info WHERE Lname LIKE'$letter%'
ORDER BY Lname, Fname DESC",$db);
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-
instead of 'and' use '&&'
if($line[1] == "$bruker" && $line[2] == "$passord"){
echo "hei $bruker.";
}else{
echo "FEIL";
}
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone
Try this
if($line[1] == '$bruker' && $line[2] == '$passord'){
echo "hei $bruker.";
}else{
echo "FEIL";
}
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
This works :
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: chris [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 8:41 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] why doesnt
Can somebody help me with this?
The following code gets me "document contains no data." I have done a
successfull select from mysql db, but not an insertion.
I don't know how to troubleshoot this. Any help is much appreciated.
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To u
Can somebody straighten this out for me?
I can't get the update to work. I'm sure the variables are being
passed to the code. Thanks!
if ($postaction==edit)
{
echo "it fired";
// process form
$db = mysql_connect("myhost, "myunam
I'd like to determine the selected option in a select list based on a
passed variable. The code below won't work, but I can't figure out why.
Any guesses?
echo "";
echo "";
echo "Display";
echo "Don't Display";
echo "";
echo "";
Thanks!
Whoops! Still won't work but that code should read:
echo "";
echo "";
echo "Display";
echo "Don't Display";
echo "";
echo "";
>>> ROBERT MCPEAK 03/20/02 04
ely you could do.
True
False
Now the contents of $display is an integer which will can be
interpreted
as a boolean value (true or false). Then you can compare it like you
had.
if ($display == false)
-Kevin
-Original Message-
From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]]
Sent: Wedne
echo "";
?>
>>> "ROBERT MCPEAK" <[EMAIL PROTECTED]> 03/20/02 04:39PM >>>
Still doesn't work. What gives?
>>> &quo
if $img_url has a value, then I'd like to show the image, if it doesn't,
then I'd like to show a message. What's wrong with my code? Am I
incorrectly testing for the value? The else works fine, but not the if.
Thanks!
if (!$img_url)
{
echo "No Image URL Entered"";
Beautiful!
>>> Rick Emery <[EMAIL PROTECTED]> 03/21/02 09:19AM >>>
if ( ! ISSET($img_url) )
-Original Message-
From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 8:18 AM
To: [EMAIL PROTECTED]
Subject: [PHP] testing for blank
I've dug around for a while but I can't find a direct answer on how to
convert a date in this format: "2002-03-25" to a human readable format
such as " March 25, 2002," or even better, "Monday, March 25, 2002."
Can anybody help me with this, or point me to some clear directions on
how to do this?
>>> Rick Emery <[EMAIL PROTECTED]> 03/25/02 11:04AM >>>
CORRECTION:
SELECT DATE_FORMAT( mydate, "%W, %M %d, %Y") AS thedate FROM mytable;
-Original Message-
From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 9:58 AM
To: [E
)
|-/html (PHP will run here)
|-whatever (PHP will run here)
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: J Smith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 9
If you know the file location, and the location doesn't change you could do
an fopen() and basically read and rewrite the file.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: Sam
I had written one but CNN keeps changing their page format so it was too
hard to keep it up-to-date. That is probably why the one you have is
returning a blank page.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED
I just found the very cool looking new FDF functions to support Acrobat
forms. According to the documentation at www.php.net I have to download &
install the FDF SDK.
Found the latest SDK and I put two files from the C directory of the SDK at:
/usr/lib/php4/libfdftk.so
/usr/include/fdftk.h
The
Supposedly, in your apache httpd.conf file you can
specify php config values. I'm trying to shore up
security on a new box by setting the following
within tags:
php_value open_basedir /path/to/virtualhost/
However, it doesnt work. If I set the values in the
php.ini file, it DOES work... Wha
isnt possible when
they force you to use the php_admin_value form. I
actually prefer it that way, the docs just need
updating!
Thanks for the responses.
Rob
--- bvr <[EMAIL PROTECTED]> wrote:
> It doesn't work with CGI installations of PHP.
>
> bvr.
>
> Robert Mon
of names).
Can anyone give me some insight?
Thanks!
Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
When I execute from browser I get a parse error, but when I enter the
query directly into a MySQL command prompt I get a successful return.
Can anybody see the problem with this code:
$query = "SELECT DATE_FORMAT( exp_date, "%W, %M
%d, %Y") AS thedate from tifrequest wher
Ack! Thanks.
>>> Rick Emery <[EMAIL PROTECTED]> 04/01/02 02:59PM >>>
$query = "SELECT DATE_FORMAT( exp_date, \"%W, %M %d, %Y\") AS thedate
from
tifrequest where user='$user' limit 1,1";
Missing escape \ in front of quotes
-Original Mes
I'd like to compare today's date against a stored date, and then fire
some code based on the result.
Like.
if ($today's_date < stored_date+5 days)
then {blah}
Can somebody clue this newbie in on how to do this?
-Bob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
How do I compare a date (2002-05-01) against a date plus 5 days? I need
help figuring out how to do math operations on dates, etc. Could
somebody fill this newbie in?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What is the php syntax for adding or subtracting dates?
For example, I'd like to do something like this:
2002-04-03 - 2002-04-02 = 1
or
2002-04-03 - 2002-04-02 = -00-01
or
2002-04-03 + -00-01 = 2002-04-03
etc.
Can anybody help this newbie?
Thanks!
--
PHP General Mailing List
er, Chief Developer
PHPBeginner.com (Where PHP Begins)
www.PHPBeginner.com
[EMAIL PROTECTED]
ROBERT MCPEAK writes:
> What is the php syntax for adding or subtracting dates?
>
> For example, I'd like to do something like this:
>
> 2002-04-03 - 2002-04-02 = 1
>
>
Have you tried BETWEEN
$query = SELECT * FROM table where date BETWEEN '$month_1/$day_1/$year_1'
AND
'$month_2/$day_2/$year_2';
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Mes
I get an error with the follow query. There is a field "user" in both
tables, tifrequest & tifexpire. Can anybody see what's wrong with it?
Thanks.
SELECT * FROM tifrequest LEFT JOIN USING(user) WHERE tifexpire.exp_date
>=2002-04-04
--
PHP General Mailing List (http://www.php.net/)
To unsub
why not use somthing like this then
include($DOCUMENT_ROOT."/include/mysql_connect.inc");
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTEC
stent link
mysql.max_persistent = 0 ;
I'm using Linux Mandrake 8.1 system.
Anyone run into this problem before?
Thanks!
Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;>> www.AceHoster.com <<<< Quality web hosting
>
>
> "Robert Abbate" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi. I'm trying to disable persistent database connections to MySQ
>
> Would that work.
This should work fine... though it might be a good idea to wrap
the $func() call in an if( function_exists( $func ) ) test :)
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and
able until the close tag is found or the page ends.
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail : mailto:
I am also trying to access data on an AS/400 have you gotten it to work, if
so can you send an example? Thanks in advance.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: Rance Hall
s unnecessary; however, you should use:
if( ($row = mysql_fetch_assoc( $result )) )
{
echo $row['user_id'];
echo $row['fullname'];
}
just in case no rows are returned :)
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`-
> > > executing the socket code?
> > >
> > > thanks!
> > >
> > > dietrich
> > > [EMAIL PROTECTED]
> > > dietrich.ganx4.com
> >
> > Are you using Netscape 4.x and possibly making the socket connection
> > while inside a
701 - 800 of 5010 matches
Mail list logo