Hi,
How can i code a class with a function that returns more than one value ?
Any help would be appreciated.
Warm Regards,
Deckard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I've already set my include_path to /var/www/html and good :(
Best Regards,
Deckard
Richard Lynch wrote:
> On Fri, October 6, 2006 11:17 am, Deckard wrote:
>> I see now that only when the inclu function "has to scale up in the we
>> tree", it fails.
>&
Hi,
I see now that only when the inclu function "has to scale up in the we
tree", it fails.
For example:
This works:
include_once("classes/database/dBInsert.php");
This don't:
include_once('../adodb/adodb.inc.php');
Any ideas ?
Warm Regards,
Deckard
Hi Richard,
Thank you so much for your answer.
dbInsert.php is in /var/www/html/classes while config.inc.php is in
/var/www/html
With your code, the file is always searched in /var/www/html/classes and
not in /var/www/html
Warm Regards,
Deckard
Richard Lynch wrote:
> On Thu, October 5, 200
people.
That's what i'm seeking here: help. Not that someone do the my job for me.
Best Regards,
Deckard
>
> $query = "insert ...";
> $insert = mysql_query($query, $connection);
>
> It's not like you can take your MySQL user-creating queries and
> direc
Hi,
I've burned my brain, checked other sites and come to a code that works.
I ask you, please, to see if this makes any sense and/or can be improved.
I'd really appreciate.
Warm Regads,
Deckard
dbInsert.php:
---
tabl
Yes, permissions are fine :(
Ben Ramsey wrote:
> On 10/4/06 9:14 PM, Deckard wrote:
>> It's a typo.
>> The file is really config.inc.php everywhere
>
> Check the file permissions. Does the Webserver have permission to read
> from the /var/www/html (it probably
l');
$conn->PConnect('localhost', 'deckard', 'ble', 'wordlife');
if ($conn->Execute($sql) === false)
print 'error inserting: '.$conn->ErrorMsg().'';
return (T
Hi,
It's a typo.
The file is really config.inc.php everywhere
Regards,
Deckard
Ben Ramsey wrote:
> On 10/4/06 8:32 PM, Deckard wrote:
>> Hi,
>>
>> I have this line of code:
>> include_once('../config.inc.php');
>>
>> I'
boggled!
Any help would be appreciated.
Best Regards,
Deckard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Richard,
Richard Lynch wrote:
> First, you're scaring the [bleep] out of me from a security standpoint
> writing mysql passwords into files...
I'm curious.
What would you do ?
No kidding intended. I'm serious.
Warm Regards,
Deckard
--
PHP General Mailing List (ht
se...
I'me not an expert, but also not a nerd :)
> Next, you are missing the ';' at the end of each line to make valid
> PHP code.
I know. I missed it.
Best Regards,
Deckard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Yes, it worked, but there's this strange thing.
The output of in to the file is:
$stringData = "";
is:
i. e., the variable $mysql_user_password within quotes is assuming its
value, not the string $mysql_user_password, while the others are ok.
*sigh*
Warm Regards,
Hi
Yes, it worked, but there's this strange thing.
The output of in to the file is:
$stringData = "";
is:
i. e., the variable $mysql_user_password within quotes is assuming its
value, not the string $mysql_user_password, while the others are ok.
*sigh*
Warm Regards,
Hi Brad,
Thanks a lot for your answer and the other guys too.
It worked.
Now i have another doubt:
$stringData = '';
The variables contents should be written in the files within quotes, like:
$mysql_username = 'deckard';
This is getting me nuts.
Any ideas ?
Warm Re
ead of breaking a line, it appears in the file the string \n
How can i make the line break ?
Any help would be appreciated.
Best Regards,
Deckard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ead of breaking a line, it appears in the file the string \n
How can i make the line break ?
Any help would be appreciated.
Best Regards,
Deckard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ead of breaking a line, it appears in the file the string \n
How can i make the line break ?
Any help would be appreciated.
Best Regards,
Deckard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
licate entry 'localhost-' for key 1"
I can't see nothing wrong with it and if i run it in MySQL's prompt
everything's fine.
Any ideas ?
Besta Regards,
Deckard.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;localhost-gamito' for key 1
---
although the pair 'localhost-gamito' is not duplicated and i can be
assured os this, because it works perfectly well in the MySQL prompt.
Can someone help me, please ?
Best Regards,
Deckard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if (session_is_registered("variable"))
{
...
}
- Original Message -
From: "Alex Shi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 20, 2001 11:34 PM
Subject: [PHP] How to check if a session exists
> If a sesson_id is known, how can check if the session exists
21 matches
Mail list logo