allow that. But, I've been told you could do it via sockets...
Were you able to bypass the dialog box?
-john
> First, is the site a Corporate intranet where the server knows about all of
> the shared printers connected to the network? Or, is the site accessed over
> the interne
ng a little weird.
For example, this url
http://localhost
opens a Save File Dialog Box, and ask me to save/cancel the file (instead
of showing the index page).
What is causing that?
The DirectoryIndex is configured as
DirectoryIndex index.html index.php index.cgi index.asp
Any suggestions?
The world is waiting, are you ready?"
-+___+-
On Thu, 29 Nov 2001, lallous wrote:
> John,
>
> Question 1,
> are you using PHP as ISAPI or CGI?
>
>
> "John Monfort" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTE
t;/path/to/file/filename.txt";
!/path/to/sendmail -argument $var $var < $attached_file;
** Doublecheck the syntax...the concept should be the same.
See if that helps!
-john
__John Monfort_
_+---+_
P E P
Has anyone here worked with the Mercantec Merchant Account?
If so, do you have (or know where I can get) a payment module? Or,
information on how I can process cards myself?
I'm looking for something like AuthorizeNet offers.
Please help.
-john
__John Monfort
Hello all,
I'm writing a PHP application that will run on a cd-rom. I have two
questions:
1) Apache Server
I wanted to add the apache server on the disk. What are the minimum
files that I need, for apache to run? i.e.
apache.exe
httpd.conf
etc.
2) Configuration File PAT
I have been asked to convert an ASP/MS Access system to PHP. I would be
interested in hearing the thoughts of anyone with exp. of this. Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To con
Hi,
I'm a little confused. I see the advantage of PHP within HTML.
However, a few of the examples of ECHO include the '\n' char. Since
this is not valid within HTML, I conclude they are addressing this for
OUTSIDE HTML. Please advise. Thanks.
--
John Kolve
Running a script that requires:
"Trans-sid enabled in php"
How would I find if this is enabled or disabled? Did a phpinfo() on the
server but could not find this? Was it a misprint?
Thanks,
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROT
e:
> When you doa phpinfo() look at the top block. you will probably see
> something like ./configure --enable-track-vars --enable-trans-sid etc. If
> it is not here your PHP module was not compiled with trans-sid enabled.
>
> --Jon
>
> At 09:13 PM 12/10/2001 -0500, John
Hi
Also see http://www.web-cards.de/create.php3?rubrik=29
P for Pachyderm!
John
Rasmus Lerdorf <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Not that I think PHP needs a mascot, but I have always liked the
> mole/groundhog. Someo
This doesn't explain why mm is causing such a memory bloat though.
Mark, are you storing big arrays as session variables? I am using
mm myself for sessions and never have these problems (I only store
less than 1K of data in sessions anyway).
Regards, John
Jeremy Allen <[EMAIL PROTECTED
Hi Yasuo,
I seem to remember having similar problems understanding objects and
references
also and you guided me here. Manuel is a good programmer and if he also has
problems, I'm a bit worried for novices. Objects and references are not
intuitive :(
Regards, John
Yasuo Ohgaki &l
This is a known bug with persistent database connections. Switching to
non-persistent connections or ISAPI avoids this problem.
Phillip Oertel <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> does anyone know what
>
> Warning: Unknown persistent list entry type
I would recommend switching to the oci_* functions. More reliable.
Bye, John
Berlina <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi to everybody,
>
> first sorry for my poor english.
>
> im trying to use persistents conn
You mean something like this:
http://www.astronomy.net/forums/
> -Original Message-
> From: Jimmy Bäckström [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 20, 2001 4:54 PM
> To: PHP General List
> Subject: [PHP] Create a Bulletin Board
>
>
> Yo!
> I'm thinking of writing a bulletin
Do you know where I can either:
1) download the PHP binaries for Digital True64 OSF1 V5.1 732 alpha
or
2) get a OSF specific configuration file for compilation ?
My goal is to run latest PHP under apache 1.3.19 with MySQL 3.22.20a on a
dec osf.
Thanks in advance,
John Tran
--
PHP General
hints from anyone as to how to do this?
Or am I on the wrong track, altogether? Someone else suggested that I use an
HTML 'upload', but I can't find anything about this in my HTML
documentation.
Any help much appreciated!!!
John
> -Original Message-
> From: Renzi, Seb
public_html/qiksys/images/temp.jpg' in
/home/jalmberg/public_html/qiksys/upload.php on line 57
couldn't move file!
==
I check the php.ini file and safe mode is turned off. I've also tried with a
text file, same result. I have permission to access the above d
PHP, obviously. I'm
just trying to ask obvious questions.
Alternatively, can my PHP application log-in, and thus obtain permission?
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To cont
Adam,
Just ran phpinfo and you are correct: the Apache User/Group is "nobody".
H'. This sounds like a problem. Hope there is an answer!
- John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
h my
servername/username/password changed to protect the innocent (me!)
Thanks to Adam for putting me on the right track, vis-a-vis file
permissions.
John
=
echo ("$userfile");
echo ($HTTP_POST_FILES['userfile']['nam
t how it is coded...
http://phpmyedit.sourceforge.net
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
You don't say where the failure is, but I'm guessing its when you do the
mysql_query. Your INSERT statement looks a bit odd.
Try:
$sql = "INSERT INTO orders (product,name,email)
VALUES ($product,$name,$email)";
John
--
PHP General Mailing List (htt
(I host on unix).
Thanks,
john.,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
ul "you don't know
how big a question that is!"
Just my opinion.
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
You need to convert all the times you are comparing into a number such as
seconds since the Unix epoch (Jan 1, 1970 I think). Then you can use the
usual programming syntax to do what you want.
Look here for more ideas:
http://www.php.net/manual/en/function.time.php
John
> -Origi
One thing I would do different is:
switch ($fcol){
case 000:
break;
case 050:
break;
default:
break;
}
To me the switch/case code is easier to read/maintain.
I know that doesn't actually solve your repetition problem but it will make
it a little easier to look at.
John Guynn
This
You can always add a "From: [EMAIL PROTECTED]" to the fourth field
which includes additional email headers.
However, the real solution is for your provider to fix their setup to change
the address to a proper one as the mail moves through and leaves their
system.
John
> -Ori
ives). The
only thing is, I need to do this on my Win98 system..
Thanks in advance,
John
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
your directory
structure. The way I got around this was to read the tmp file with the file
system, and write it using FTP (which can log in to your area.)
Hope this helps.
John
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
Hello everyone,
I'm looking for a guestbook script that lets you moderate the new
entries, before they are posted.
Do you know any?
PHP or Perl.
Please let me know.
__John Monfort_
_+---+_
P E P I E D E S I G N S
a database abstraction layer as an insurance policy
(changing databases)?
If so then just choose the one that provides you an easier upgrade path.
John Lim
PS: ADODB is modelled on Microsoft's ADO, so it's popular among converted
ASP programmers. If you
one of these people, ADODB might be attract
I haven't checked date( ) in the manual, but could work?
"Boget, Chris" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In the previous version we had (4.0.3), the following
> worked:
>
> echo date( "m/d/Y h:ia" );
>
> to display the date on the first line an
gt;
> jason
>
>
>
> > Hello PHP,
> >
> > Is there any ways to use php with irc?
> >
> > --
> > Best regards,
>
>
>
>
>
--
John Donagher
Application Engineer
Intacct Corp. - Powerful Accounting on the Web
408-395-0989
720 U
Just a question that has been besetting me for a while:
which is better for debugging -- vardump( ) or print( ) ?
Does anyone have a preference? Why? Is one better than the other?
Thanks for answering this prickly question!
John Lim
--
PHP General Mailing List (http://www.php.net/)
To
[EMAIL PROTECTED] (Mike P) writes:
> Can I use Mysql fetch_row to specify which row i want to get?
> Like---$row[5]=mysql_fetch_row($result) ?
You might try:
// move row pointer to 5th row
mysql_data_seek ($result, 4);
// fetch current row
list (...) = mysql_fetch_row ($result);
--
PHP Ge
Any chance we can get the [LISTNAME] subject prefixing so all my filters
don't break? :)
John
On Mon, 18 Jun 2001, Rasmus Lerdorf wrote:
> We have re-enabled the PHP mailing lists. They are now running from a
> temporary machine sitting on the floor of my spare bedroom. A more
At 12:15 PM 6/18/2001 -0700, Rasmus Lerdorf wrote:
>We have re-enabled the PHP mailing lists. They are now running from a
>temporary machine sitting on the floor of my spare bedroom. A more
>permanent home is in the works.
>
>-Rasmus
Does this also refer to the news server?
Jo
I had some issues with that recently. It turns out that PHP will not
pick up the checkboxes, unless you use the GET method.
You can then access your vars with HTTP_GET_VARS.
This was discovered on
WIN98+ PHP 4.03pl1 + Apache 1.3++
&
WIN ME + PHP 4.03pl1 + Apache 1.3++
Hello All,
It's good to have this list up again. Thank you, to all involved.
Question:
Printing a webpage (from the browser) and bypassing the print dialog
box.
I have a portable survey (laptop) that let's the user print the
results...via with windows.print(). By default, whe
er you far more flexibility.
> Thanks in advance,
> // Tobias Talltorp
>
>
>
--
John Donagher
Application Engineer
Intacct Corp. - Powerful Accounting on the Web
408-395-0989
720 University Ave.
Los Gatos CA 95032
www.intacct.com
Public key available off http://www.keyserver.net
Key fingerprint = 4024 DF50 56EE 19A3 258A D628 22DE AD56 EEBE 8DDD
and they are at step 5, and want to go back to step 2. How could I get
it to store the data inputed on steps 3,4 etc. Session Vars? Hidden form text
fields?
Any help gratly appreciated.
John Harding
At 11:24 AM 6/22/01 -0600, Unni wrote:
>Is there a user group in Colorado?
>
>Thanks
>
If there is one, I'd like to be a part of it.
John Meyer
[EMAIL PROTECTED]
Programmer
If we didn't have Microsoft, we'd have to blame ourselves for all of our
programs crashin
On Sun, 24 Jun 2001, David Robley wrote:
> On Mon, 25 Jun 2001 12:04, Tim Thorburn wrote:
> > Hi,
> >
> > Working on a site that needs some billing information. Once upon a
> > time done in ASP where we had the option to use the FormatPercent
> > command - is there an equivalent command within PH
www.pepiedesigns.com
PHP 4
Perl 5
MySQL
ASP
Apache
Web Access Panel
SSH
and a whole lot more...
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+_
I used it.
It's a great tool.
Did you have any specific question?
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-
The company that houses our servers only has php 3.0
installed. I need a function that can unzip files.
Are there any methods(functions) that can handle this
in php3.0 or any version of php that's before php 4.0.
Thank you,
John
__
D
GOOD shopping cart should have. Include the small as well as the large
items. I'm not asking that you write the code for me, only that you point
me in the right direction.
Any help would be greatly appreciated.
Thanks in advance!
-John
_
Is there an environmental variable like in Active
Server Pages ( HTTP_REFERRER ) that tells you the page
you just came from.
Thanks.
__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
PHP Genera
e?
Or another trick might be to show them a low res version of the graphic, then
require payment before you give the the high res one.
---
John Meyer
[EMAIL PROTECTED]
Programmer
Those who sacrifice liberty for security deserve neither -- Ben Franklin
--
PHP General Mailing List (http://www.php
the "print screen" will take a screenshot
> on windows machines, as someone else mentioned)
Agreed, but how about only showing a very small image. Large enough for them
to know what it is, but not large enough that saving it would do them much good.
--
John Meyer
[EMAIL PROTECTED]
Pro
My map says, 'I am here'!
On Thu, 5 Jul 2001, McShen wrote:
> where are u guys?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL P
Thanks in advance.
-John
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-
--
PHP General Mailing List (http://www.ph
ata.txt", "w+");
> $counter = 0;
> while ($counter <6)
> {
> fwrite($fp, $counter . "\n");
> $counter = $counter +1;
> }
> fclose ($fp);
> ?>
Is it writing anything out?
--
John Meyer
Programmer
[EMAIL PROTECTED]
--
PHP Gene
I tried that, but it didn't work.
if (ctype_alnum($var)) {
echo "ok";
}else {
echo "no";
}
I got an 'undefined function' error.
php4.0.4pl1
Did I miss something ?
-john
__John Monfort_
_+---
> Maxim Maletsky
> Founder, Chief Developer
>
> PHPBeginner.com (Where PHP Begins)
> [EMAIL PROTECTED]
> www.phpbeginner.com
>
>
>
>
> -Original Message-
> From: John Monfort [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 08, 2001 12:59 AM
>
=
AddSlashes($value);
}
will the values be changed outside of the loop?
John Meyer
[EMAIL PROTECTED]
Programmer
If we didn't have Microsoft, we'd have to blame ourselves for all of our
programs crashing
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
having truly global variables is a very bad idea. In fact, you should be
trying to limit your need of global variables, so that your program can
count on the integrity of the variables.
John Meyer
[EMAIL PROTECTED]
Programmer
If we didn't have Microsoft, we'd have to blame ourselves
I have been reading about this function and I have a question. The PHP
manual warns about using it if your AUTO_INCREMENT ID field is a BIGINT. I
am using type INTEGER. Am I okay with this one, or should I use the MySQL
function.
John Meyer
[EMAIL PROTECTED]
Programmer
If we didn't
mysql_auery($query) or die(echo mysql_error());
}
}
What I'd like to know is, is this correct, incorrect, redundant, etc?
John Meyer
[EMAIL PROTECTED]
Programmer
If we didn't have Microsoft, we'd have to blame ourselves for all of our
programs crashing
--
PHP General
>
> mysql_auery($query) or die(echo mysql_error());
By the way, I know this line should be mysql_query
John Meyer
[EMAIL PROTECTED]
Programmer
If we didn't have Microsoft, we'd have to blame ourselves for all of our
programs crashing
--
PHP Gene
> >If we didn't have Microsoft, we'd have to blame ourselves for all of our
> >programs crashing
If we didn't have microsoft, 'Crashing Programs' wouldn't be part of our
daily vocabulary :)
__John Monfort_
_+---+_
P E P I E D E
e types in that
> file i can detect it being accessed, instead of included, and redirect them
> elsewhere?
>
> Thanks guys!
>
> - Noah
The best compromise I have seen is to name your file -> somefile.inc.php
--
Regards,
John Weaver
--
PHP General Mailing List (http://
; document_root.
>
> -Rasmus
Sorry, I should have been more clear. If you write modular code, your
included file will be nothing but a group of functions. Call a file with
nothing but functions in it and you get; . I can't
see the security problem you refer to.
--
Regards,
John Weave
gt; because the server won't do the php code in an inc file...
>
> how do I change this!?
Name the file ... functions.inc.php and insure that you have the php start
and end tags on it.
--
Regards,
John Weaver
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
On Tuesday 10 July 1979 12:39 am, [EMAIL PROTECTED] wrote:
> on 7/10/01 12:30 AM, John Weaver at [EMAIL PROTECTED] wrote:
> > Sorry, I should have been more clear. If you write modular code, your
> > included file will be nothing but a group of functions. Call a file with
is sent to the printer.
I haven't done it, but It is covered in most XML tutorials.
-john
> All the versions i've worked with will avoid spliting a table across pages.
> So use that fact to nudge the wanted behaviour :
>
>
>
>
> crank out 60 lines
At 06:27 PM 7/15/01 +0100, sunny AT wde wrote:
>i've been looking for an adequate answer all morning in the archives,
>
> fwrite($file, $articletext);
>
Don't you have to do a fopen beforehand?
John Meyer
[EMAIL PROTECTED]
Programmer
If we didn't have Mi
? What if they're 14? Allowing the processor to worry about
this means less maintenance on your code later and removes some entropy from
your system.
John
--
John Donagher
Application Engineer
Intacct Corp. - Powerful Accounting on the Web
408-395-0989
720 University Ave.
Los Gatos CA 95032
ww
On Mon, 16 Jul 2001, Christopher Ostmo wrote:
> John Donagher pressed the little lettered thingies in this order...
>
> > My suggestion is to run an authorization for an extremely small amount of
> > money ($1.00 is fairly standard) and that will tell you if the account i
On 17 Jul 2001, Steve Sobol wrote:
> From 'John Donagher':
> >> accounts, and too many bogus cards would not look good.
> >>
> >
> >My suggestion is to run an authorization for an extremely small amount of money
> >($1.00 is fairly standard)
> What companies issue card numbers that are not 16 numbers? Are
> they non-US cards? I haven't ever seen a card that wasn't 16 numbers.
A valid VISA card has between 13-16 digits.
I believe AMERICAN EXPRESS only has 15 digits.
-john
__John Monfort_
Hello and thank you.
I'm trying to find a function(method) or existing
code taht takes the number of minutes that have passed
in a day and returns the time of the day. For
example:
780 minutes == 1pm,
0 minutes == 12am,
etc,etc.
so I'm looking for code that when you enter the number
o
Thank you all for your help and immedate responses.
The following worked:
$current_time = date("h:ia", mktime(0,780));
Thank ye all again :)
--- John Holcomb <[EMAIL PROTECTED]> wrote:
> Hello and thank you.
>
> I'm trying to find a function(method) or
Amen !
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-
On Tue, 17 Jul 2001, Sterling Hanenkamp wrote:
> Just thought I'd se
Amen !
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-
On Wed, 18 Jul 2001, Chris Lambert - WhiteCrown Networks wrote:
> W
úyÕ»åu$Fz-A|úyÕ»åu$Fz-A|ú
yÕ»åu$Fz-A|úyÕ»åu$FÇVæËúMËÞ=ÛÚ
Even when I try to use an IV, it still doesn't ever decrypt, or sometimes it
will give me an error about the key being too long.
Thanks very much in advance,
John
Reply To This Message
--
PHP General Maili
>http://www.bayarea.net/webclient.php3?id=2"</A>;);
According to the PHP documentation #2 should work, but
I keep getting an error saying that it's unable to
include the file. #1 works when I leave off ?id=2,
but I need to pass
Thanks.
__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
')
Even better, a quick look at the User Contributed Notes at
http://www.php.net/imagecreate
John
>It would help if you can post the code you're using, rather than just
>the error message.
>
>> Can some one help me
>>
>> When i try tu use imagecreate
Hello everyone,
This is slightly off topic, but I'm sure you guys are the best group to
answer this.
I have a client who needs a wireless website, that interacts with PHP and
MySQL. In addition to that, the client wants to be able to track the
geographical location, of the user--who will
ourcing a customized browser.
Thanks for the info.
-john
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-
On Wed
probably suggest using more of a "What PHP can do" tactic rather than
"Who's using PHP". I'm sorry, but the latter tactic seems like a jumping
on the bandwagon approach.
John Meyer
[EMAIL PROTECTED]
Programmer
If we didn't have Microsoft, we'd hav
Hello everyone,
I'm looking for a PHP/MySQL script that keeps traffic stats, similar to
what the Counter.com script offers.
Do you know where I can one that offer the following features?
The ideal script would:
-track user domain and IP
-track page viewed
-provide a graphical display o
got to www.hotscripts.com download anything you want.
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-
On Fri, 27 Jul 2001,
Kyle,
http://www.php.net/manual/en/ref.mail.php is the correct URL, but the easiest way to
access these sort of things is:
http://www.php.net/mail (substitute mail with any function name)
HTH,
John
>ummm... problem
>
>Forbidden
>You don't have permission to
_insert_id implement some internal session function, or
something to that effect? How does it account for that?
Please help.
Thanks in advance.
-John
__John Monfort_
_+---+_
P E P I E D E S I G N S
ww
Many thanks, Daniel!
I trully appreciate it.
-john
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-
On
...And if all else fails, try www.webmonkey.com, devshed.com or search
for 'mysql tutorials' on google.com.
If you need a desktop reference, then I recommend the following books:
'MySQL and mSQL' -- by O'Reilly
'PHP Professionals'--published by WROX.
__John Monfort
>...ASP has gotta have something good about it cause microsoft uses it!
>
Hmm...you can get in sooo much trouble with that statement. Microsoft, in
any language, is not a synonym for 'quality'. Innovative? maybe. Quality?
no.
That statement should be your first reason why PHP is better. :-)
>
print ("$Menu_Text1 \n");
print ("\n");
print (" \n");
}
if ($Menu_More1 != "")
{
print (" More... \n");
}
print (" \n");
?>
Just by the piont that you can see
being turned on?
...that's what it requested in the first place.
Am I missing something?
Please help.
-John
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.
Or, you could do two steps
1) retrieve the last inserted ID, with mysql_last_inserted_ID (or
something like that).
2) then, all records with id(s) greater then the_last_id_number minus
five.
something like
$most_recent = select mysql_last_id();
select * from TABLE where id > '$mo
on to give that
user admin priviledges.
I hope that help...
-john
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-
On
Hahahaha !!
I've received s many of these e-mails...
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-
On 6 Aug 2001, ke
Could you please give us some error messages, please?
>$connect = mysql_connect("localhost","user_name","password");
> $select_data = mysql_select_db("ardani_cd_collection");
> $query = "SELECT * FROM main where description = '$song_title'";
> $result = mysql_query($query);
>
> while
I haven't had much experience with dealing with uploaded files. Are there
any links that would help me to deal with these files using PHP from a
server-side.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
Instead of posting the code, I'll give you the link:
http://www.phpbuilder.com/columns/bealers2904.php3?page=1
Short and long of it is the subject line.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
>I'm currently running my site on a win2k server, I'm using PHP for my tag
>board. Today a hacker managed to overwrite the text file I was using to
>store all the messages, which really isn't that big a surprise considering
>the permissions to the folder it is kept in are wide open thanks to my
1801 - 1900 of 6920 matches
Mail list logo