Try this when you want to logout:
//elias
"Jason Rennie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> I've been playing around with PHP authentication via HTTP.
>
> I'm using apache, and when i
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I would use something like this:
>
> Select * from table where value1 < 500 AND value2 < 100
>
>
> hope this helps,
> brad
>
> > From: "elias" <[EMAIL PROTECTED]>
> > Date: Fri,
Thank you Brad and Lawrence.
I have agreed to only allow numerical input on this specific field.
And make a new one that allows X and Y ...
Thanks again.
"Brad Wright" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> elias,
&
Hi!
I want to have to fields,
first field is the primary key and is called 'id' and is an integer,
and i want another field of type integer to be also autoincremented...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
I remember seeing a solution for this on PHPBuilder.com plz check it out
"Ashley M. Kirchner" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I have a card system that will ask for the required information, and
> one hits a 'Send' button to send the card.
Hi.
Usually, Any AUTO_INCREMENT field in MySql table will have always an
incrementing value.
Now Suppose I emptied the table and then inserted one record, why not this
record LAST_INSERT_ID is not '1' or '0' and why it is the lastid+1 before I
empty the table?
Can't I reset that pointer w/ delet
www.activestate.com (Perl)
www.editplus.com (good editor for programming)
"Roman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello !
>
> I want to install perl under apache in windows, please send me some
> information
> how can i install, where I find pe
yes, sort of...
both have same number.
"Alexander Skwar" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
So sprach »elias« am 2001-07-26 um 11:23:56 +0200 :
> first field is the primary key and is called 'id' and is an intege
thanks David ;)
"David Robley" <[EMAIL PROTECTED]> wrote in message
0107261823110B.03813@www">news:0107261823110B.03813@www...
> On Thu, 26 Jul 2001 19:13, elias wrote:
> > Hi.
> >
> > Usually, Any AUTO_INCREMENT field in MySql table will have always
dump=$str";
//elias
--
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]
why don't you save just before the submit was clicked?
what if he clicks submit and then he quickly closes and cancels everything
out? (you just saved for vain!)
"Richard Kurth" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there a way to run a function wh
Then you must be one of the 3% who voted "Bad" at cnet.com ;)
"Martin Marconcini" <[EMAIL PROTECTED]> wrote in message
001401c11673$9b2926a0$[EMAIL PROTECTED]">news:001401c11673$9b2926a0$[EMAIL PROTECTED]...
> > languages. It is called HTML-kit! I absolutely love it and felt I had
> to
> > share
> It is free.
How it's for free? and what's than then:
http://www.chami.com/html-kit/register/
"Daniel Goldin )" <[EMAIL PROTECTED]> wrote in message
000601c1166a$9602e0c0$033a22c7@daniel">news:000601c1166a$9602e0c0$033a22c7@daniel...
> Recently there's been a thread about what editor is best for
$varname = "hi!";
function read_global()
{
$varname = $GLOBLS["varname"];
}
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How can I read in all of the global variables and give them local
> scope? PLEASE HELP ME.
--
PHP General Mai
a = b means
PASSWORD(a) = PASSWORD(b)
therefore,
if correct password is 'a' and it was stored in the database like
PASSWORD(a) then the user's inputed password is 'b' and must be equal like:
PASSWORD(a) = PASSWORD(b)
=
"Balaji Ankem" <[EMAIL PROTECTED]> wrote in message
002801c11741
maybe the field is too small to hold the whole value?
some code might also help.
"Gerard Samuel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey all. Another thought. In a form I have there is a drop down box
> with age groups. ie 20-25 26-35 etc. If I
I have hosting plan that doesn't support MySQL nor any Databases...Just PHP.
I'm wondering if there is any text database class that simulates the MySql
queries and function calls.
I mean text database, like all the values and data is stored in a raw text
file.
--
PHP General Mailing List (ht
Yes, But I still want to know if any Text Database class exist...
"Henrik Hansen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> [EMAIL PROTECTED] (Elias) wrote:
>
> > I have hosting plan that doesn't support MySQL no
Thanks guys, I had no idea about this:
http://www.php.net/manual/en/ref.dba.php
I'll take a look to make sure if that's what i really want.
"Elias" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have hosting plan that do
you really can't do that...
try translating the decoding algorithm to PHP.
"Dean Martin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I use a PHP self-validating form for taking orders off my site. (on submit
> it calls itself and if there are no errors a se
http://www.php.net/manual/en/ref.dba.php
wasn't what I really wanted,
Any other ideas to use text databases?
"Elias" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have hosting plan that doesn't support MySQL nor any Da
thanks for sharing http://www.freesql.org link!
"Henrik Hansen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> [EMAIL PROTECTED] (Elias) wrote:
>
> > Yes, But I still want to know if any Text Database class exist...
>
tions and joints.
"Henrik Hansen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> [EMAIL PROTECTED] (Elias) wrote:
>
> > http://www.php.net/manual/en/ref.dba.php
> > wasn't what I really wanted,
> >
> >
ecute chmod filename newmode (as ftp user)
hope this gives a hint,
//elias
"Stephan HüBner" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello all,
>
> another newbie-question, probably... :-)
>
> And sorry for my (poss
when you submit this form, PHP will give a array variable called $name
you can store in in MySql as:
now to reget the array, you can select it back from MySql and split it as:
//elias
"Matthew Delmarter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[
You can use the GD Image Library calls to draw a graph,
http://www.php.net/manual/en/ref.image.php
"Dr. Evil" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I have a PHP application, and I need to display some dynamic data as a
> simple line graph (a gif or
I tried it and it works good!
"Muhv" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
>
> Why this code will make empty line between each text line???
>
> $linkFile='link.txt';
> $links=file($linkFile);
> $fs=fopen($linkFile,'w+');
> for ($i=0; $i if (count(e
Hello,
I made a query that uses count(*)
now how can i get the results sorted following the biggest count(*) result?
--
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 administrato
can you show us the code that does the window.open('myfile.php?test=hey')
for example ?
"Eduardo Kokubo" <[EMAIL PROTECTED]> wrote in message
016e01c119b4$d784d920$a102a8c0@cttmar">news:016e01c119b4$d784d920$a102a8c0@cttmar...
I passed some vars to another page using window.open and it worked fin
Edit your PHP.ini file and change the error_reporting to:
error_reporting=E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR ; show only errors
"Liviu Popescu" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a lot of php scripts developed with php3.
> I've installed
or.php?nome=$nome & curriculo=$curriculo
&
> interesse=$interesse & adicionais=$adicionais & publicacoes=$publicacoes";
> print "\", \"f3_professor\", [\"toolbar=no\"]);\n";}
>
> print "";
> ?>
> - Ori
pt is more easier than
PHP.
Good luck.
//elias
"Richard Lyle" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi Everyone,
>
> I'm currently looking at "Lua" for use as a embedded scripting language
for
> our game,
es makes the data mysql safe (i.e. allows me to store quotes in
the
> column, just in case they are in the array).
>
> Warren Vail
>
> -Original Message-
> From: elias [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 31, 2001 4:05 AM
> To: [EMAIL PROTECTED]
> Subj
Basically if you don't have this file you can't use it.
try to see if it exist first. If not go to www.php4win.de or www.php.net and
download the complete PHP Win32 binaries.
"Liviu Popescu2" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have installed PHP4 m
or data
> (65k runs out fast), and that is a bit slower as well.
>
> Warren
>
> -Original Message-
> From: elias [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 31, 2001 8:09 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Re: storing array in mysql
>
> Yes true, you
check php.ini and the key "error_reporting"
"Melania Popescu" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a lot of php scripts developed with php3.
> I've installed php4 and I get some warnings when I
> evaluate variables there are not set (are empty
It's called identing.
It's just there to make the script more readable. That's common to almost
all programming languages.
Some programmers doesn't ident they code anyhow.
Basically you increase the ident whenever you enter in a deeper code block.
"Kyle Smith" <[EMAIL PROTECTED]> wrote in message
Hello!
I have two arrays:
$keys = array("a", "b", "c", "d");
$vals = array(1, 2, 3, 4);
I would like to get an associative array holding this:
$aarray = array("a" =>1, "b"=>2, "c"=>3, "d"=>4);
I know I can do it with a "while" loop...but I wonder if there is any
builtin PHP function that can d
hehe:)
but what have you wrote already? 3 words? :)
"Damien Camus" <[EMAIL PROTECTED]> wrote in message
sb67ed5f.072@senlis_gwia">news:sb67ed5f.072@senlis_gwia...
Sorry for my english but i'm french
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
same same...
Thought there was a PHP function to do that...instead of looping,
"Tim Ward" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How about ...
>
> foreach ($keys as $key=>$value) $new_array[$value] = $vals[$key];
&
Why you ppl. do this:
if ($condition) {
//action 1
//action 2
//action 3
}
instead of this:
if ($condition)
{
//action 1
//action 2
//action 3
}
with the '}' you'll see directly the new code block that belongs to the IF
statment.
anyway...it's just a style aft
If you're running Windows system and you've got the windonws 98 SE original
cdrom, you can just install from it PWS from:
CDROMDRIVE:\addons\pws (...)
"Kyle Smith" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Where do i download the best software (prefebly fre
How can I update only N fields from the database?
usually we do:
UPDATE table1 SET field='VALUE' WHERE condition1
now I want to update fields with a certain condition but only X fields out N
total fields.
ie:
id value
--- ---
1a
2b
3c
4d
5e
how can i update such lik
Hi again.
$result = mysql_query("SELECT id FROM table");
$id_array = array();
while ($r = mysql_fetch_array($result))
$id_array[] = $r["id"];
// now $id_array[] is an array of IDs that was grabbed from the database.
Any faster and/or better approache to build the $id_array?
--
PHP Gener
$count]=$resultset ["ID"];
> $count++;
> }
>
>
> for ($count=0;$count<2;$count++){
> "update table1 set field='VALUE' WHERE ID=".$array[$count]";
> $result = mysql_query ($sqlstring,$db) or die (mysql_error());
> }
>
> -Original Me
t won't work with other db.
Best wishes,
Andras.
"elias" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Someone purchased items from my site let's say 3 items out of 5 total. All
> items are the same. I just want to u
> So it's experimentation time. I've never tried, but as LIMIT works on a
> SELECT, try it on an update. And let us know what happened.
> Miles
>
> At 10:30 AM 8/2/01 +0200, elias wrote:
> >How can I update only N fields from the database?
> >
> >usually we d
I guess you mean by "extra functions" the what so called extensions.
Actually mail() and date() are builtin but if you want extra functions you
have to install extra extensions.
"Kyle Smith" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
How do i set up extra f
Please post in text format.
session_start();
if (isset($login))
{
session_register("name", "pwd");
$name=
$pwd =
} else if (isset($logout))
{
session_unregister("name");
session_unregister("pwd");
}
-
"Balaji Ankem" <[EMAIL PROTECTED]> wrote in message
00db01c11be2$57e26c20$
ecrement the items in stock by 3.
>
> Just an idea...
>
> Do you know about database normalization? How is the database designed?
>
>
>
> -Original Message-
> From: elias [mailto:[EMAIL PROTECTED]]
> Sent: August 2, 2001 6:32 PM
> To: [EMAIL PROTECTED]
&g
Fait cela toi même.
"Said El Maataoui" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
merci
_
Le journal des abonnés Caramail - http://www.carazine.com
--
PHP General Mailing List (http://www.php.net/
Yes!
Try:
"Zippy" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi,
>
> I am having trouble with some data i am retrieving from a mysql
> database.
>
> after a query i am using mysql_fetch_array in a while loop to retrieve
> data. ie;-
>
> $row = mysql_fetc
Hello.
I have two MySql databases running on different servers. I have no root
access and only PHP + Mysql and MysqlAdmin.
How can i take a dump of first database (which is about 1MB) and restore
that dump on the second one?
Actually, I'm doing a structure dump, but the outputed SQL text is ver
No I don't really have Telnet accessI have only access to phpMyAdmin
2.0.1 via my Hosting Control Panel...
And it happens that both servers have this tool to access the database.
How can I copy from a server to another?
Please Help!
"Jon Farmer" <[EMAIL PROTECTED]> wrote in message
[EMAIL
As for snap two, try echoing the filename you're trying to fopen:
do:
$fn = "http://babynames.pregnancy.yahoo.com/bnfname?n=$name";
echo "$fn\n";
$fp = fopen($fn, "r");
Weird...maybe this yahoo service was doing at that moment?
"Tribun" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">new
hope this helps:
///
http://";, 7) == 0) $url = substr
($url, 7);
$p = strpos ($url, '/');
if (empty ($p)) {
$req = "/";
} else {
$req = substr ($url, $p);
}
if ($fp) {
fputs ($fp, "POST $req HTTP/1.0\n");
send_headers ($fp);
fputs ($fp, "Content-type: application/x-www-f
In windows 2000 unless you set permission to write files you can't!
I mean that you have to explicitly specify that a certain folder can be
written to.
"..." <[EMAIL PROTECTED]> wrote in message
001d01c1215b$0c7613d0$14794ad3@maidew3qujo5j0">news:001d01c1215b$0c7613d0$14794ad3@maidew3qujo5j0...
M
Can't the operator request a report and hit the Print button in his browser?
You also make sure that the report looks nice when printed from the browser.
"Fernando Avila" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello php-general,
>
> I made a system i
Hmm...Maybe because you're installing PHP as CGI.
ISAPI runs fast only only once as you want. But it's not really stable.
"Tribun" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Tach!
>
> Is that correct, that my php.exe opens each time when a user access a pa
Good work Kyle!
"Kyle Smith" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
My first WORKING SCRIPT!!!
http://www.stupeedstudios.f2s.com/index.php
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
PHP IDE for Linux Only
a.. Coffeecup Editor (the best IDE for PHP on Linux) PHP editor
b.. HTML/PHP editors Quanta
c.. HTML/PHP editors Blue Fish
d.. HTML editors AswEdit
On Windows
a.. PHP IDE and Editor "PHP Coder" and mirror
b.. Zend PHP IDE
c.. IDE for PHP scripting (Web browser)
ction
quality) to use it on my sites.
"Phil Driscoll" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thursday 16 August 2001 7:35 pm, Elias Santiago wrote:
> > I believe that IIS passes the script name to php.exe with the first
I've had PHP 3 to 4.01 and now 4.06 running under NT4 SP6a and now with W2K
& IIS 5. From my experience, the %s %s is a requirement of IIS (not PHP).
This according to Microsoft rules (apparently %s %s is CASE SENSITIVE):
http://support.microsoft.com/support/kb/articles/Q245/2/25.ASP
The %s %s h
Found MS explanation! (at least the only place I've found the reason WHY %s
%s must be used)
http://support.microsoft.com/support/kb/articles/Q276/4/94.ASP
I know, this is a KB article for Python, but look closely at the line that
says:
"(The two "%s" after the executable are required for conso
Why not use something easier like phpSniff.
http://phpsniff.sourceforge.net/
You don't need a browscap.ini or troubling around with get_browser();
Elias Santiago
"Christopher Raymond" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
"Thomas Deliduka" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> A little background... Skip to "THE JIST" if you wanna make this quick.
>
> I am on this webmaster's list where most of the people are fairly new
> webmasters. They're just getting the hang of thi
I have learned (and used) both PHP and ASP. However, when I was beginning
with PHP, I always made it first on ASP then re-implemented on PHP. I
always found PHP to be easier, shorter (but more powerful) logic (scripts
are shorter than ASP).
I guess it has served me well, I have learned to do it
Just by looking at M$ history we all know that their only interest is
$$money$$. Even if the product is not fully tested/bug-free and if 20% of
it works, they spit it out and leave the dirty work (and headaches) to the
system administrators and everyone else who's not a "plain non-technical
user"
You need to go to:
Tools -> Internet Options -> Content (tab) -> Autocomplete -> clear the box
beneath "User names and passwords on forms" also press "Clear Passwords" if
you're concerned about passwords being remembered. Just check/uncheck the
options you need.
"Gabe Da Silveira" <[EMAIL PROTE
Not necessarily an answer but on my work (a computer center for medical
students) we use a propietary Perl web-based course software and when doing
attachments on email messages on the system's bulletin board, the system
sends a header with "appplication/octet-stream" and IE 5.5 "attaches" the
.ht
Almost all modern technologies are the evolution of previous ones:
C -> C++,Perl, PHP, Python; Basic -> QBasic -> VBasic/ASP;
Even new languages like Rebol are based (in one way or another) to previous
languages. Anyone could develop a parser/interpreter for any new language
they could devis
an error, try to count your "if"
> statements and "endif;" maybe something is missing.
>
> Youri
the correct structure would be:
Note that curly braces (expression group) does not need the semicolon after
them.
If the IF, ELSEIF or ELSE constructs just need to exec
by decrease our percent of profits. Just
click the link below to set up an appointment with one of my sales
representatives today!
Brian Elias
President
Hansons Windows & Siding
P. S. This a one time email offer only good for the next 9 day
or until we decrease our tax problem.
That's the request string of the W32Nimda worm, it has propagated very fast
in the Internet.
Info and tool for removing it are at:
http:[EMAIL PROTECTED]
If you are running under an IIS webserver, it could be the server itself
that could be infected and sending the request string to itself. Th
201 - 274 of 274 matches
Mail list logo