this file owned and
readable only by root.
Set the program owned by root, executable by everyone and suid.
If you don't need the flexibility of the custom program and would rather
make use of existing infrastructure:
http://marc.theaimsgroup.com/?l=php-generalm=110137778213700w=2
--
Jason Wong
as.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
server. Now if someone somehow had access
to your key then it's game over for you. Unless you password protected
your key which -- would be extremely impractical.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet
: if I have access to your
key then I can connect.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
. If mysql.default_port is not
defined *then* it will start loking at other places (as detailed in the
comments).
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
/mysql client to a mysql
server running on 330[not 6]
All the time!
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list
.
Yep, because you haven't stored anything resembling an image in the DB!
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list
SQL
statement to create table?
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http
from getting a auto response. Or if they own
their own server they can do the same.
More specifically, smart autoresponders will not respond to mailing lists,
bounces, etc.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting
On Monday 24 January 2005 02:13, Samar wrote:
On Mon, 24 Jan 2005 01:56:03 +0800, Jason Wong [EMAIL PROTECTED] wrote:
More specifically, smart autoresponders will not respond to mailing
lists, bounces, etc.
If they are some kind of extensions or plug-ins to email clients, I
guess you could
() should never be
used on data retrieved from the DB (that is assuming your data was inserted
correctly in the first place).
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
need to use stripslashes()
on data retrieved from the database depends on the setting of
magic_quotes_runtime. The recommended setting is to have it disabled which
means you do not need stripslashes().
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems
and port 13306.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
. If you do the above and use mysql_error() you'll get a
more precise error message.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search
that number on the end of the string
you've created to insert into a varchar field. It's an extra query
per insert, but it'd do the job.
Don't forget to WRITE lock the table before counting, and only unlock after
inserting the new id.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
and your, and just to
annoy the Americans, it's ensure and not insure!
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list
On Thursday 06 January 2005 07:02, Jochem Maas wrote:
now lets sing together: If in doubt print it out! :-)
Hey, you're using my trademark without my permission :)
google If in doubt print it out
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
SQL query and its a difficult one, and I have a solution that
works perfectly but I need this to work in order to do it.
I'm pretty sure a simple if-clause somewhere would prevent the extraneous AND
from appearing in $additionalsql.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open
(), but the better solution would be to revise your
logic so that you produce correctly formed SQL in the first place.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
for the mysql.soc file, or (2) tell mySQL to put the
mysql.sock file somewhere else (like, presumably, /tmp, so PHP can find
it)?
Did you actually look in your php.ini? Because there is an entry there just
for this purpose.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source
implementation of
MySQL. Do a locate/find mysqld.sock.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
On Sunday 02 January 2005 05:44, Evan Cooch wrote:
Jason Wong made several helpful suggestions to my earlier query - alas, non
of them have panned out.
That's because you have more problems than you know. Basically it mostly boils
down to RH putting things in non-default places.
As per his
the PHP-bundled one or the
MySQL one) it will have no bearing on your socket problem.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search
On Saturday 25 December 2004 16:32, Zareef Ahmed wrote:
$header=from:[EMAIL PROTECTED] \n\r\n\r;
The newlines should be \r\n and not \n\r.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications
);
$sql_semester = sqlite_escape_string($semester);
...
$sql = INSERT INTO course VALUES ('$sql_termcode', '$sql_semester', ...);
sqlite_query( $handle, $sql) or die(Error bravo in query [$sql]: .
sqlite_error_string(sqlite_last_error($handle)));
--
Jason Wong - Gremlins Associates
On Saturday 25 December 2004 17:07, Zareef Ahmed wrote:
On Sat, 25 Dec 2004 16:41:40 +0800, Jason Wong [EMAIL PROTECTED] wrote:
On Saturday 25 December 2004 16:32, Zareef Ahmed wrote:
$header=from:[EMAIL PROTECTED] \n\r\n\r;
The newlines should be \r\n and not \n\r.
Does it really make
On Thursday 23 December 2004 16:36, Yemi Obembe wrote:
How can I get the file name of the home page of a url I opened with fopen()
this way:
$handle = fopen(http://www.example.com/;, r);
?
You can't.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems
verbatim and is the actual
code that you're having problems with.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives
to fix this!
If all else fails, extract a fresh copy of php.ini from one of the RPMs. Or
ask someone on the RH mailing lists to send you one.
Oh, and next time you edit php.ini, make a backup!
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
. A string is a string. Code doesn't execute
inside a string. What else are you doing to the string?
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
)) {
$text .= 'some html markup' . $row['id'] . 'more html';
}
Now stick $text somewhere in the body of your mail.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
than to hit upon the appropriate keywords to search
for.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before
On Tuesday 07 December 2004 19:15, Stuart Felenstein wrote:
--- Jason Wong [EMAIL PROTECTED] wrote:
Please be explicit, do you mean this what you get?:
What happens when you do this:
$to = $rsVendorJobs-fields('Conmail');
Call to a member function on a non-object
echo $to;
Nothing
On Monday 06 December 2004 20:39, Stuart Felenstein wrote:
--- Jason Wong [EMAIL PROTECTED] wrote:
I'm not sure what you mean exactly by intended use
checkboxes.
Intended use - I generate a list (via a repeat region)
of records. Each item on the list has an associated
checkbox. If I put
mysql support when it
is supposed to be enabled by default).
Actually, reading it again, it doesn't explicitly say the versions of PHP
older than PHP5 enabled by mysql by default. Maybe it is your interpretation
and reading between the lines which led to your above statement :)
--
Jason Wong
circumstances I declare this a mistrial :)
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http
On Wednesday 01 December 2004 17:53, Ross Honniball wrote:
If someone can give me a good reason why this is so, it will stop it
annoying me so much.
I'm sure someone on the _MYSQL_ list will give you a jolly good reason or two.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open
are you trying to prevent?
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http
On Thursday 02 December 2004 00:37, denys wrote:
wouldn't it be possible to display the text in a form text area and put
it state to disabled ?
But if someone really want your text he just have to rewrite it...
sigh
View source copy paste
--
Jason Wong - Gremlins Associates
next you need it.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com
Construct a stripped-down, bare-bones, *working* example that illustrates your
problem. (Working in the sense that it is free from syntax and other errors
that are not the focus of the problem).
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web
such as del[] ???
manual PHP and HTML
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http
anyone
have any suggestions for regarding this.
Try using double quotes.
Also just like performing SQL queries, it's a very good idea to build up the
command you want executed, store it in a string ($cmd), then echo it to see
whether it looks good, then exec($cmd).
--
Jason Wong - Gremlins
);
make use of the extra arguments to exec() (see manual) so that you can see
what's being output.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
keep
espousing?
Now can we go back to discussing php and databases.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list
please remind me? I know it was dead simple, but cant
remember the command.
google sql unique
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
?
is this possible?
Yes.
if so, how?
Tutorials that shows how to upload and store image/binary files in a database
also usually shows how to retrieve them (and in the case of images, also how
to display them).
One function you'll find useful is
imagecreatefromstring()
--
Jason Wong - Gremlins Associates
On Sunday 31 October 2004 18:32, Arne Essa Madsen wrote:
I have the following problem:
This one does not work:
$query = SELECT * from user where name='$userid' and
pass=password('$password');
print $query;
$result = mysql_query($query, $link);
Use mysql_error().
--
Jason Wong
would be sufficient. If you suspect MySQL is
the culprit then a single query would be sufficient.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
On Saturday 30 October 2004 12:33, balwantsingh wrote:
how i can open the printer dialouge box of browser in PHP. pls. help.
You don't because you can't.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet
be
displayed in next page.
You can pass values from client-side using Javascript either via the URL
($_GET) or form ($_POST) or cookies ($_COOKIE). You can't manipulate the
session variables directly.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
On Wednesday 27 October 2004 13:57, Perry, Matthew (Fire Marshal's Office)
wrote:
Does anyone know a free MySQL backup program to schedule regular backups?
www.mysql.com
google mysql mailing list
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems
Functions (Perl-Compatible) Pattern Modifiers
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http
to be propagated from page to
page whether by cookies, URL or form. In other words you *have* to send it
one way or another.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
, but I can't believe that dbase is exactly popular amongst php
users. Its lack of popularity could explain the lack of response.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
].' ttlpst =
'.$HTTP_POST_VARS[ttlpst].' mnthpst = '.$HTTP_POST_VARS[mnthpst].'
ttlicon = '.$HTTP_POST_VARS[ttlicon].' mnthicon =
'.$HTTP_POST_VARS[mnthicon].' WHERE fid = $fid;
echo $sql;
Make use of mysql_error().
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems
look up the manual entry for UPDATE, you'll find that you're missing
the commas separating the columns.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
On Monday 11 October 2004 16:47, Stuart Felenstein wrote:
I can't seem to figure this out.
Right now I'm still trying to get the multi page form
down.
For the facts, running php 4.3.8, apache 1.3.x
Register Globals are enabled
If you don't have a specific reason for this to be enabled you
) and hence setting
your field value to it is meaningless.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before
On Monday 11 October 2004 09:49, andy wrote:
First, read manual MySQL Functions
Second, decide whether you want to compile using the bundled MySQL library. If
so the above tells all you need to know. If not you need to install the devel
package for MySQL.
--
Jason Wong - Gremlins Associates
on data coming from the database.
You're not supposed to use stripslashes() on data coming from the database --
read up on addslashes() and also search manual for magic quotes.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting
the following more simple methods:
- Send user a system generated password with which they can login and
subsequently change.
- Send user an activation link which once clicked on would activate them and
allow them to choose a password.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source
link which once clicked on
would activate them and
allow them to choose a password.
What is the advantage in sending someone a password AND making them click on a
link to activate?
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design
properly. Have a separate table where each
record contains a user_id and the record_id to which it is linked.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
and not the database / tables
I wish to use.
Have php pull the data required, have php output the appropriate javascript
code using the pulled data _instead_ of the 'preformatted values'.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting
.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
?
If you insist, you can use something like:
SELECT clumsy_column_name AS goodname FROM ...
Refer to MySQL documentation for more info.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications
if data is not sanitised. Where do you begin? Where do you end?
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives
':
loop through recordset looking for 'photoID'
when found, use mysql_data_seek() to grab the previous and next records
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
blocked port 25) - thus you are forced to send your mail through
your ISP's SMTP server.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
.
SMTP = localhost
SMTP = 587
I believe the 587 is the port number to use.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list
whether any messages have been posted to the
list then have a look at the archives. Messages to the list will appear in
the archives almost immediately.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet
tutorial for details.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l
all the time. Any ideas?
Use strtotime() and maybe PHP's other date/time functions then plug into your
query.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
. That would tell you
whether a mail was injected into the queue.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives
(involving few
relationships) then MySQL is more than sufficient and a tried and tested
solution. This probably covers the vast majority of the data storage needs of
web apps. No sense in going for a DB with features you're never ever going to
use and is probably slower to boot.
--
Jason Wong
- Their host only supports MySQL
SQLite is a different matter and the obvious new base for beginners, but
for real applications ...
Use Postgresql!
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications
not mistaken, I think he means that *unless* you have a big cheque
book to pay for Oracle then MySQL is the next fastest thing around.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
suggestions b/c I'm stuck?
1) post some *concise* code that illustrates your problem
2) state exactly what and how it is not working
3) post any error messages that you get (having first made sure that FULL
error reporting is enabled).
--
Jason Wong - Gremlins Associates - www.gremlins.biz
On Saturday 31 July 2004 23:25, Vincent Jordan wrote:
I have tried to add some html such as strong$firstname $lastname
/strong...; however when I do this there is nothing displated in
the email message.
google html mime message
Or look on www.phpclasses.org
--
Jason Wong - Gremlins
.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
, somewhere is not using the system's DNS
resolve mechanism. As I don't have a Windows box handy I'm afraid I cannot
help you.
Sometimes things are not done for practical purposes.
Right.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design
there will be no difference whether you connect using IP address or
hostname.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before
table but still doesn't produce any results.
mysql_error() would let you know that there was an error in your query.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
and be done with? Why wait 1 second,
another second, ... ?
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives
);
mysql_query() returns a resource id.
$last_id = urlencode ($last_id);
header(Location: UserMain.php?custid='$last_id');
So the above is meaningless.
Please check the previous responses where you have been pointed to a more
appropriate function to use.
--
Jason Wong - Gremlins Associates
On Wednesday 21 July 2004 05:00, Pablo M. Rivas wrote:
sleep() is the brute deffense of the brute force attack...
You can make a script that opens simultaneous attacks
One thing to bear in mind is that sleep() will hog resources and can lead to
DOS.
--
Jason Wong - Gremlins Associates
You have started a new thread by taking an existing posting and replying to
it while you changed the subject.
That is bad, because it breaks threading. Whenever you reply to a message,
your mail client generates a References: header that tells all recipients
which posting(s) your posting refers
On Tuesday 20 July 2004 10:09, Vincent Jordan wrote:
Is there a way to get the ID (custid PK UNIQUE AUTO_INCREMENT) from
mysql after INSERT then pass to final page using urlencode to pull cust
record?
manual MySQL Functions
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source
your DNS properly. Or just use the IP address.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http
On Saturday 17 July 2004 09:31, Ross Honniball wrote:
Attention all Sql gurus,
Is there a way to FORCE mysql resolve specific conditions within a query
before wasting it's time trying to resolve other conditions?
www.mysql.com
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open
On Friday 16 July 2004 16:01, Tim Van Wassenhove wrote:
In article [EMAIL PROTECTED], Jason Wong wrote:
On Friday 16 July 2004 08:05, Justin Patrin wrote:
If you're simply trying to get '@email.com' then use strstr().
Of courseI'm just so used to pregs...
Well the advantage
On Friday 16 July 2004 08:05, Justin Patrin wrote:
If you're simply trying to get '@email.com' then use strstr().
Of courseI'm just so used to pregs...
Well the advantage of using a regex is that you can perform some form of
validation on the address.
--
Jason Wong - Gremlins
you use phpinfo() you will see that the ini file you need to edit is called
php.ini. Note the path and edit that file, if it's not there then copy one of
php.ini-* there.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting
your answer or ask on the
mysql mailing list.
I have a primary key in a table the is setup and working
with auto increment.
Now I want to change it so it will start auto incrementing from 1000. So
each entry will be:
1001, then 1002,
--
Jason Wong - Gremlins Associates
in a table ?
Depends on what type of LOCK you specify. Refer to your DB docs for details.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
is:
SELECT DISTINCT col1, col2, etc FROM table ...
Please follow the examples in the manual and incorporate error checking when
using mysql.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications
session_write_close() before you redirect.
header(location: user.php?action=0);
You should be using an absolute URI rather than a relative one.
And just to be safe always have an exit() right after your redirect header(s).
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source
() even when
you haven't entered anything into them. If you want to check that something
has been entered into them then use:
if (!empty($POST['doo'] ...
but depending on what type of inputs your application accepts you may have to
do further tests.
--
Jason Wong - Gremlins Associates
', date_modified = '-00-00 00:00:00', date_closed =' at line 6
You'll need to escape the string containing the query before you can insert
it.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications
1 - 100 of 617 matches
Mail list logo