GJUKDFKGA'
-
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
This question sounds like a perfect discussion for Slashdot. ;-)
I bet you would get a lot of typical dumb comments, but a few people
might have some very valuable legal information in regards to this
issue. Would be worth posting on the /. message board to see the
feedback.
-Robby
On Mon, 2004
ter_globals on.
Then try then find another webhost as that's a lame/insecure setting
to have set to On. ;-)
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730
unning. Often times I find people misusing
LOCKS.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL
on ?
>
Well, CREATE TABLE is the type of sql command that you would issue.
You can do
$query = "CREATE TABLE foo (id SERIAL PRIMARY KEY, name TEXT);";
Then run this query through your php command of choice (pg_query, PEAR,
etc)
-Robby
--
/*
other server, the results should be
> returned or captured by the first server. Obviously my
> brain is not working.
>
> Thanks for your help.
>
>
Curl can do this for you.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON
ixes.
So, if anything, you'll see a bug on the live servers that was fixed in
your version, but most bugs are not so easy to produce.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL P
On Wed, 2004-10-13 at 22:06 +0100, Peter Borcherds wrote:
> Hi Robby,
>
> Thanks for the swift reply! Okay, so it should be fine to install the 4.3.9
> version then - okay...now I assume I should hold-off on the 5.0.2 release
> then...?
Peter,
Yes, if you build PHP5 code, it
ions... so I will answer your question as you have stated it.
There are many ideas and ways to log into a mysql database. PHP can
create user sessions to. You just have to make the code do that. ;-)
Ask more specific questions and we can try to help...but it seems like
you aren't sure what you
e smtp_mail.inc class of PHP.
> But, Do I need to authenticate first in order to send the e-mail? If so,
> how?
It really depends on the web hosting server that you are on. You can
typically get away with using the mail() function which by default sends
through sendmail and does
On Thu, 2004-10-21 at 22:20 -0400, Ron Piggott wrote:
> Hi Robby
>
> I knew clearly what I was trying to say in my mind but didn't do a good job
> expressing it. The web site address Alex sent me is what I am looking at
> creating.
>
> Ron
>
Ok, who is Alex?
If
e CSS entries.
>
> --
> Warm Regards
>
> Vinayak
>
You're going to have replace all the css tags when you pull the data
out...or rethink how you handle this sort of stuff in your CMS.
(html/css inside the content isn't fun to deal with)
-Robby
--
On Tue, 2004-10-26 at 16:57 -0700, Robby Russell wrote:
> On Wed, 2004-10-27 at 00:33 +0530, Vinayakam Murugan wrote:
> > Hi
> >
> > I have a PHP-mysql website in which I want to implement search functionality.
> >
> > Through the content management section, the
gt;
>
>
> Is there a way with PHP and MySQL to find out what the highest number is in
> a particular column easily when the numbers are auto-incremented so arenât
> necessarily one after the other?
SELECT * FROM table ORDER BY colname DESC LIMIT 1;
?
assuming all yo
On Wed, 2004-10-27 at 20:46 -0700, Robby Russell wrote:
> On Wed, 2004-10-27 at 23:33 -0400, Chris Payne wrote:
> > Hi there everyone,
> >
> >
> >
> > I am working with a very complex system where not all numbers are assigned
> > 1, 2, 3 ââ etc ââ so the
wrong? I need the highest number from the column
> FoodItemNumber, but it doesnât return anything unless I change the MAX() to
> a * and I donât want that I need it to be the MAX() number as it isnât an
> auto-increment field.
Is this an integer field?
-Robby
--
/*
On Sat, 2004-10-30 at 18:03 +0530, balwantsingh wrote:
> how i can open the printer dialouge box of browser in PHP. pls. help.
>
>
> with best wishes
> balwant
>
by using javascript.
PHP doesn't do client-side stuff.
--
/****
database?
>
> is this possible?
This example uses large objects, you can try to use the same logic and
use the bytea field.
http://blog.planetargon.com/index.php?/archives/27_Displaying_image_from_PostgreSQL_large_object_with_PHP.html
--
/****
ed to insert them all with \' (which escapes the single
quotes)
hth,
Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/P
y are doing addons/changes/etc, correct? If that is the
case, I would have them fill out a contract that says that anything that
isn't generic (like some libraries) would be under your ownership, not
theirs..as per 'work for hire'
-Robby
--
/***
anguage online
PHP5 is out
PHP = tons of open source libraries..free to download
-Robby
--
/*******
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
*
On Wed, 2004-12-01 at 12:50 +, PHPDiscuss - PHP Newsgroups and
mailing lists wrote:
> Hi, what can i do, where users can't select and copy my text from web-page.
> Thanks
>
render the text to an image.
--
/***
* Robby Russell | Owner.
are so many sites, I thought maybe someone here might have a
> good solution.
>
> jzf
>
http://www.planetargon.com/hosting/
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL P
could point me
> to a doc?
> Thanks a lot.
>
Try this perhaps: http://pecl.php.net/package/perl
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.
smallint unlet there is a way to store a
> bit. I am trying to get my head around bytea right now but thought I
> would ask while I am reading.
>
> Bret
>
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Po
echo "Cannot connect to
> database '.$db_name.'";
> exit;
> }
> }
You could probably do this if you managed to take the mysql source code
and changed the login functions.
..but if someone can see your passw
On Fri, 2005-02-25 at 10:20 +, moses Woldeselassie wrote:
>hi all
>
>I am using password() to crypt a user password online. but how do i decrypt
>a user password, when user forgot his/her password?
>
>
>kind regards
>m
>
You don't. You make th
; documentation to how can do this properly or you can help me with
> some experiance you have doing this.
>
> Thanks,
> Luis
>
Your best bet for an opensource db, is to use PostgreSQL.
There are companies that are using PostgreSQL for DBs
be, but I'm not sure if my other coding is
> correct.
>
> In my form, I have radio buttons.
>
> Any and all help is appreciated.
>
Might you consider showing us some code and/or trying it out yourself
and coming
Hi There,
I have a query whenever I try to insert something into a mysql table. This is
the code I am using:
" . mysql_error());
mysql_close();
?>
Thanks,
Robby
-
This message was sent using Endymion MailMan.
http://www.endymion.com/
g = this";
$rs = pg_query($sql);
$i = 0; //not needed, but to show what is is to start with
while ($i < pg_numrows($sql)) {
print pg_fetch_result($rs, $i, id) . "\n";
$i++; // increment
}
// done
-Robby
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
D]',
'[EMAIL PROTECTED]', 'Subject Line', 'This is the email
body\n\nMore body. Testing email. Test!\n\n\n-Robby') as email;
INFO: ret_val(long): 1
email
---
1
(1 row)
#
# Output
#
t id's and favorite numbers.
# SELECT fav_num as "Favorite Number", count(*) FROM student_number
GROUP BY fav_num;
Favorite Number | count
-+---
1 | 1
2 | 3
3 | 1
5 | 3
7 |
column, then i want it to
say "2 is listed 43 times." how do i do this? thank you for your
help with my beginner newbie questions. -james
Did you really review your question much?
Do you have a php script that has connected to the database already?
-Robby
--
Robby Russell, | Sr. Adm
34 matches
Mail list logo