Hi!
This is my code for sending email to all the emails in
my database:
$connect = mysql_connecT();
$query = "select email from table";
$execute = mysql_db_query("database", $query);
while($r=mysql_fetch_array($execute))
{
$email .= $r('email')
mail("$email", "My Subject", "Line 1\nLine 2\nLi
$link = mysql_connect ("localhost","root","mypassword")
or die ("Could not connect");
I'm pretty sure that the username/password is correct. I can connect
from the linux shell using mysql -u root -p
Dan Cleveland wrote:
>What does your mysql_connect statement look like?
>
>Da
>Warning: MySQL Connection Failed: Can't connect to local MySQL
server >through
>socket '/tmp/mysql.sock' (111)
Did you read the FAQ Did you check the archive??
Edit your php.ini to match the location of the mysql.sock
Bye,
B.
--
PHP General Mailing List (http://www.php.net/)
To uns
[EMAIL PROTECTED] wrote:
>
> Addressed to: "Steve Werby" <[EMAIL PROTECTED]>
> <[EMAIL PROTECTED]>
>
> ** Reply to note from "Steve Werby" <[EMAIL PROTECTED]> Tue, 3 Apr 2001
>15:24:29 -0400
> >
> >
> > I should have said there's no *reliable* way to check whether an email
> > add
Is there any 'easy' way I can get the html headers receved when making a
http connect?
--
php developer / CoreTrek AS| Moody bitch with attitude, seeks nice,
Sandnes / Rogaland / Norway| good-looking guy to dump on.
web: http://www.moijk.net/ |
--
PHP General Mai
Javier Morquecho Morquecho wrote:
>
> Is there an PHP equivalent to the javascript:
> $x= window.confirm("Click OK to continue. Click Cancel to stop.");
>
> if ($x)
>
> Thanks
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
WD wrote:
>
> heres what is result in IE...which shouldnt show up at
> this code isnt parsing like I expect..
>
> if ($HTTP_USER_AGENT = "Mozilla")
> {
> print ("This site best viewed with IE 4 or
> better!\n");
> print ("\n");
> print ("\n");
> print ("\n");
> print ("\n");
> }
> ?>all...
>
>
As in when you pull up a site in your browser, or when you use a script to
make an http connection to another site?
If you are using your browser on a windows box you can use a program called
Proxomitron. Just use it's log window to see all the HTTP connection fun.
It's available at:
http://ww
Maybe a bit offtopic, but is there an equivalent for the NVL function in
Oracle for MySQL?
NVL is a function that returns a given result when a value is null
Thanks,
Dominick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
On 04 Apr 2001 03:15:25 -0500, Plutarck wrote:
> As in when you pull up a site in your browser, or when you use a script to
> make an http connection to another site?
I want to make a connection to a foreign webserver and fetch the headers
as well as the content. I was wondering of a 'painless' w
Hello,
is it meant that
session_register("test");
$GLOBALS['HTTP_SESSION_VARS']['test'] = 'Hello World!';
does not work properly (session variable test is not initialized with the
value 'Hello World!') if register_globals is turned on, but when it is
turned off?
Best regards
Niklas
--
P
Hi,
I need to do a simple thing. I want to read a binary
file (e.g., microsoft word, excel etc) and then
extract only the text from it. I am using simple
fopen() and fread() and when I print out the contents
of the file, it returns me the text but apart from the
text, there is some junk which is
wget -s apache.org
works on *nix or windows, puts all headers and content to a file
eg saves to index.html which contains;
==8<
HTTP/1.1 200 OK
Date: Wed, 04 Apr 2001 09:13:58 GMT
Server: Apache/2.0.16 (Unix)
Cache-Control: max-age=0
===8<===
etc
then content
PS Apach
Did you read the Manual?
>From PHP Manual
=
socket_set_blocking
Description
int socket_set_blocking (int socket descriptor, int mode)
If mode is false, the given socket descriptor will be switched to non-blocking
mode, and if true, it will be switched to blocking mode. This affects call
Try to use $HTTP_SESSION_VARS, it may work for you.
There are many number of notes in Annotated PHP Manual. Some of them may help.
By the way, you don't need to serialize Array/Object for PHP4 session.
Regards,
--
Yasuo Ohgaki
"Christian Dechery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PR
Dear PHP Group [EMAIL PROTECTED],
Congratulations! You just won US$10.00!!
We just gave away US$25,000.00!! And you PHP Group [EMAIL PROTECTED] are
among the lucky 2500 people
randomly selected to receive a FREE US$10.00 Trial Account at TheCasino.com - the
Internet's Premier Online Casino!
"Dominick Vansevenant" <[EMAIL PROTECTED]> wrote:
> Maybe a bit offtopic, but is there an equivalent for the NVL function in
> Oracle for MySQL?
>
> NVL is a function that returns a given result when a value is null
You do know there's a MySQL list, don't you? There's no such beast in
MySQL, but
Hi,
Renze Munnik wrote:
> Have you ever checked the $HTTP_USER_AGENT value from IE?
>
> IE says:
>
> "Mozilla/4.0 (compatible; MSIE 5.01; Windows 95)"
> (for example)
>
> So, you shouldn't be checking for Mozilla. IE says that to.
You should first check for the existence of "IE" in $HTTP_USER_A
php-general Digest 4 Apr 2001 10:18:41 - Issue 607
Topics (messages 46901 through 47007):
Referencing *only* programmer-created session vars
46901 by: Johnson, Kirk
Cookies and flash
46902 by: abraxas.zaratustra.ulatina.ac.cr
Re: query 2 databases from one script
chregu Wed Apr 4 02:15:58 2001 EDT
Modified files:
/php4/pear/Experimental/XML sql2xml.php
Log:
- new function addArray() for adding Arrays to the xml
- new function addSql() for providing sql-strings as input
- constructor takes a dsn or a pear::db object a
ATTENTION: ANY SERIOUS NETWORK MARKETER
TAKE A LOOK AT THE FOLLOWING OPPORTUNITY I CAME ACROSS!!
IF YOU PLUG INTO THEIR PROVEN SYSTEM, THEY GUARANTEE YOU SUCCESS,
AND PROVIDE YOU WITH FREE LEADS TO BUILD YOUR GROUP!!
DO NOT LET THIS SLIP AWAY!! CLICK BELOW AND FIND OUT AS I DID,
WHY THESE
On Tuesday 03 April 2001 23:06, you wrote:
> I am trying to create and open a file in php4 using
>
> $fp = fopen($filename,r)
>
> php4 is compiled as an apache module. I keep gettting errors, and
> cannot create the file. The directory is chmod 777, apache is running
> as user apache.
>
> Any idea
Hehehehe ;)
How much is that on each of us ?
And were do we collect this ?
On Wed, 4 Apr 2001 [EMAIL PROTECTED] wrote:
>
> Dear PHP Group [EMAIL PROTECTED],
>
> Congratulations! You just won US$10.00!!
>
> We just gave away US$25,000.00!! And you PHP Group [EMAIL PROTECTED] are
> among the
Hi!
I tryed the ftp script found in php manual.
I got this errormessage:
---
Warning: Unable to find ftpbuf 0 in
/home/myName/public_html/sess/ftpfile.php3 on line 6
---
What does ftpbuf mean?
Thanks for any help.
Regards
Jan
--
PHP General Mailing List (http://www.php.net/)
To unsub
.
--
===
Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/
Rejoice in the Lord always. I will say it again: Rejoice!
-- Philippians 4:4
http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010404
On Wednesday 04 April 2001 01:47, you wrote:
> Hello.
>
> I posted something about this a few days ago, and am
> reiterating my request again. We're looking for
> PHP case studies that we can use in an upcoming project.
> Interested parties should contact me directly at
> [EMAIL PROTECTED]
>
> an
On Wednesday 04 April 2001 04:43, you wrote:
> Im trying to optimize some php/mysql code. Does anyone know a way to
> measure the amount cpu time a php script consumes?
Use "ab" (ApacheBench - comes with apache) if possible.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The u
Hello, Michael.
We have many case studies on PHP
Please go to http://www.zend.com/zend/cs/
Please let me know if you need any other assistance.
Nettie Feldman, marketing product manager, Zend Technologies Ltd.
email: [EMAIL PROTECTED]
-Original Message-
From: Michael Kimsal [mailto:
php-i18n Digest 4 Apr 2001 10:36:13 - Issue 61
Topics (messages 147 through 149):
Re: Jstring does'nt seemed to be working,,,
147 by: Yasuo Ohgaki
Re: International support
148 by: Yasuo Ohgaki
FREE LEADS FOR OUR GROUP!!
149 by: wealthclub2738933.aol.com
Administr
On Wednesday 04 April 2001 11:23, you wrote:
> Is it possible through the regexp to specify that I
> only want some of the ASCII characters from the binary
> stream? Here is the perl equivalent:
>
> /([\040-\176\s]{3,})/g
>
> I want only those words that are minimum 3 characters
> and I want
Hello List,
I have a small problem reading information from a webpage. I have a list of
about 40 pages that I need to read (doing it in a loop as the layout is the
same on each page).
What I would like to know is whether the information read from a webpage is
actually the information that we see
You get the source code itself.
Also if the webpage in question examines the browser of the requestor your
webserver may get different code than you would if you pulled it up in your
browser yourself.
--
Plutarck
Should be working on something...
...but forgot what it was.
"James Kneebone" <[E
> Hello List,
>
> I have a small problem reading information from a webpage. I have
> a list of
> about 40 pages that I need to read (doing it in a loop as the
> layout is the
> same on each page).
>
> What I would like to know is whether the information read from a
> webpage is
> actually the in
When I said source code, btw, I meant the "html source code", not the
programming source code, lol.
Unless you can access the page through FTP, that is. In which case it
wouldn't be gained through apache, so it wouldn't be parsed.
--
Plutarck
Should be working on something...
...but forgot what
Hello!
Where can I find a nice and COMPLETE safe_mode-description?
At php.net I haven't found the demanded information.
What kind of restrictions do I have relating file-system, /tmpdir,
file-uploads and last not least file-permissions of files who are written
by apache who is running at nobody:
"James Kneebone" <[EMAIL PROTECTED]> wrote:
> I have a small problem reading information from a webpage. I have a list
of
> about 40 pages that I need to read (doing it in a loop as the layout is
the
> same on each page).
>
> What I would like to know is whether the information read from a webpage
Hello Dominick,
Wednesday, April 04, 2001, 12:32:26 PM, you wrote:
DV> Maybe a bit offtopic, but is there an equivalent for the NVL function in
DV> Oracle for MySQL?
DV> NVL is a function that returns a given result when a value is null
>From MySQL manual:
IFNULL(expr1,expr2)
If expr1 is not
>Hehehehe ;)
>
>How much is that on each of us ?
>And were do we collect this ?
Dunno, but they seem to target quite a few lists.. perhaps we all need to
honor them with a unsubscribe..
Just clicking the link they provided..
Give their server something to do :-)
Bye.
B.
--
PHP General Mai
In the script, I have here .
>> header("Location: https://testsecure.e-cbi.org/user_index.php?".SID);
I have been wondering what is "SID"? I ask someone who wrote the script and
he said that it is an environment variable. Does this have to do with the
database session ID? SSL? Anyone kn
Is there an equivalent in PHP of the following code:
equivalent of asp's <%= strTest %>
But not echo ""
Thanks
--
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
Hello,
Does php have some feature of using .dtd or .xsd in parsing an .xml file?
I mean for example if I parse some .xml (which refers to some .dtd) it
checks that the .xml is correct or if not then
gives quite exact error about it.
Andreas
--
PHP General Mailing List (http://www.php.net/)
T
http://www.TheCasino.com: Better Than Life! (tm)
Since 1999 - Now With 100% "Buffer Bonuses" On All Deposits!!
Dear [EMAIL PROTECTED],
This email is to confirm that we have "removed" you from our mailing
list - per your request!
You will no longer be considered for TheCasino.com Monhtly Pr
Hey there,
sorry if this has been covered before. I am not sure if this makes a difference but I
see in some books echo written as:
echo ("Hello");
and in others just:
echo "Hello";
Do the brackets make a difference.
Thanks
On Wed, Apr 04, 2001 at 08:59:00AM -0400, Scott Fletcher wrote:
> I have been wondering what is "SID"?
SID stands for Session ID. (which identifies/maps a running session
to user)
http://www.php.net/manual/en/ref.session.php will explain sessions in
general.
-fkr
--
gpg-fingerprint: 076E 1E
>sorry if this has been covered before. I am not sure if this makes a
difference but I see in some books echo written as:
>
>echo ("Hello");
>
>and in others just:
>
>echo "Hello";
>
>Do the brackets make a difference.
Hmmm, nope. You can also write print "Hello"; or print("Hello");
/Johan
--
> If you want to check where your submit is comming from, then
> you need to check the REFERER url. do so by useing the globa
> $HTTP_REFERER variable.
Except that, as I point out in the message that the person you
responded to replied to, $HTTP_REFERER by no means is
guaranteed to have a va
> This may not matter for your application -- are you writing a
> financial app or a personal portfolio? -- but if you really need
> to authenticate the source of data that comes from some other
> IP address (as is the case with a web browser) then you're into
> PGP keys and signed certificate
http://www.TheCasino.com: Better Than Life! (tm)
Since 1999 - Now With 100% "Buffer Bonuses" On All Deposits!!
Dear [EMAIL PROTECTED],
This email is to confirm that we have "removed" you from our mailing
list - per your request!
You will no longer be considered for TheCasino.com Monhtly Pr
Thanks,
Scott
"Felix Kronlage" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Wed, Apr 04, 2001 at 08:59:00AM -0400, Scott Fletcher wrote:
> I have been wondering what is "SID"?
SID stands for Session ID. (which identifies/maps a running session
to user)
Yes, i tried:
and it worked fine!
""Costas"" <[EMAIL PROTECTED]> wrote in message
9af60k$dof$[EMAIL PROTECTED]">news:9af60k$dof$[EMAIL PROTECTED]...
> Is there an equivalent in PHP of the following code:
>
> equivalent of asp's <%= strTest %>
>
>
>
> But not echo ""
>
> Thanks
>
>
>
>
> --
> PHP
Hi Andreas,
Please let me know if you find something about that, it would be really
nice!
Regards,
Sebastien Roy
[EMAIL PROTECTED]
Andreas Sisask wrote:
> Hello,
>
> Does php have some feature of using .dtd or .xsd in parsing an .xml file?
> I mean for example if I parse some .xml (which ref
Hey there,
anybody know where a list of mime type names can be found? I can generate and Excel
doc - but I dont know the mime names of others such as Word etc etc.
example code:
Thanks
123 123 123
10 10 10
http://www.TheCasino.com: Better Than Life! (tm)
Since 1999 - Now With 100% "Buffer Bonuses" On All Deposits!!
Dear [EMAIL PROTECTED],
This email is to confirm that we have "removed" you from our mailing
list - per your request!
You will no longer be considered for TheCasino.com Monhtly Pr
If you scroll and search this news group you will find an answer already
posted.
""Vlad"" <[EMAIL PROTECTED]> wrote in message
9ae9ia$vuf$[EMAIL PROTECTED]">news:9ae9ia$vuf$[EMAIL PROTECTED]...
> Hi all
>
> How can I enclose files into my letter & send it from the php script
(using
> for example
> From: Erick Papadakis [mailto:[EMAIL PROTECTED]]
>
> Hi,
>
> I need to do a simple thing. I want to read a binary
> file (e.g., microsoft word, excel etc) and then
> extract only the text from it. I am using simple
> fopen() and fread() and when I print out the contents
> of the file, it retur
Hi,
Does anyone know of any PHP code that will take
a URL from a form and go to the web & verify if it
exists?
What about search the META tags as well??
Thanks,
Mark
__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://persona
> -Original Message-
> From: Costas [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 04, 2001 8:08 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] equivalent of asp's <%= strTest %>
>
>
> Is there an equivalent in PHP of the following code:
>
> equivalent of asp's <%= strTest %>
>
> But
"Mark Eckeard" <[EMAIL PROTECTED]> wrote:
> Does anyone know of any PHP code that will take
> a URL from a form and go to the web & verify if it
> exists?
fopen() will do it. You can use the socket functions. curl can be used if
it was configured into your PHP install. You could also use an ex
On Wed, 4 Apr 2001, phpa wrote:
> Hey there,
>
> anybody know where a list of mime type names can be found? I can generate and Excel
>doc - but I dont know the mime names of others such as Word etc etc.
>
> example code:
>
> Thanks
>
>
>
>
>
> header( "Content-type: application/vnd.ms-excel" )
I'm trying to use html "include" syntax in a php page.If I use .shtml the
php gets ignored .If I use php the the
php gets ignored.Is there a way of doing this without using the php include
function?
Thanks
Mike P
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
Hi,
How about these messages from solfix.net What have I done to deserve
these..
Every message I send to this list is followed by one from solfix.. with a
list of message commands..
Already send a message to their postmaster still getting them.
If someone out there knows more about it..
I know this sounds very simple, but I only want certain fields on my form
to be displayed depending on the selected item in a drop-down menu, that is
part of the form. I cannot figure out how to get it to work, and I don't
want to resubmit the form... *** I need it to be done on the fly.*** Y
Hi All,
I have a page with two forms. Both forms have drop-down option
lists that are populated by a the same query. The query and
db connection are all done before either form is introduced
(this is the select statement, mysql_pconnect(), mysql_select_db(),
and mysql_query()).
I am using
use mysql_data_seek() just like you'd use reset() on an array.
from php.net :
"mysql_data_seek() moves the internal row pointer of the MySQL result
associated with the specified result identifier to point to the specified
row number. The next call to mysql_fetch_row() would return that row. "
> -Original Message-
> From: George Wright [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 04, 2001 9:35 AM
> To: '[EMAIL PROTECTED]'
> Subject: [PHP] reusing MySQL results
>
>
> Hi All,
>
> I have a page with two forms. Both forms have drop-down option
> lists that are populated
I'm trying to use html "include" syntax in a php page.If I use .shtml the
php gets ignored .If I use php the the
php gets ignored.Is there a way of doing this without using the php include
function?
Thanks
Mike P
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To uns
I have a docdef.dtd file which defines a document. Now, if I parse some
doc1.xml file which refers to this
docdef.dtd, that is it contains the line
I want to chek if the doc1.xml really is correct as defined - has the syntax
(elements, nesting and whatever I have defined in docdef1.dtd)
And as
I'm trying to use html "include" syntax in a php page.If I use .shtml the
php gets ignored .If I use php the the
php gets ignored.Is there a way of doing this without using the php include
function?
Thanks
Mike P
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To uns
Hi,
Does anyone has some program/script that converts a MS-Acces database to
mySQL (prefferable in a .sql, .mysql or .txt file so i can upload it in
phpMyAdmin).
Thanks in Advance, Bizzk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
If you put this code behind a button in Flash 5 (for example):
on (release) {
//Construct and XML object to hold request type
requestXml = new XML();
requestElement = requestXml.createElement("REQUEST");
requestElement.attributes.request = "";
requestXml.co
...your HTML page...
I got this from www.devshed.com
(http://www.devshed.com/Server_Side/PHP/PHP101_1/page5.html). Check it out!
See You, Bizzk
""Mike"" <[EMAIL PROTECTED]> schreef in bericht
9afcj1$o9l$[EMAIL PROTECTED]">news:9afcj1$o9l$[EMAIL PROTECTED]...
> I'm trying to use h
I'm trying to use html "include" syntax in a php page.If I use .shtml the
php gets ignored .If I use php the the
php gets ignored.Is there a way of doing this without using the php include
function?
Thanks
Mike P
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To uns
Excellent. Thanks for everyone's response.
I put: mysql_data_seek($result_Section, 0);
just ahead of the second while loop and it
works perfectly.
Thanks again, George
> -Original Message-
> From: Mark Roedel [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 04, 2
Sorry, but i'm not sure to understand your response... (maybe it's the question
that I don't understand)
I thought that the question was ansking for a simple way to validate a xml document
with his associated dtd by a php script. It would be very useful for me to validate
the xml document once it
> I'm trying to use html "include" syntax in a php page.If I
> use .shtml the php gets ignored .If I use php the the php gets ignored.Is there a way
> of doing this without using the php include function?
Set up the .shtml extension so that it is parsed as PHP.
Chris
Greetings,
How would I go about using PHP to take an entered password, and check it
against an encyrpted MD5 password in a database or flat-file?
-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-
Chris Hutton - KF4YDF [EMAIL PROTECTED]
Senior Administrator404
Scott Walter wrote:
> I know this sounds very simple, but I only want certain fields on my form
> to be displayed depending on the selected item in a drop-down menu, that is
> part of the form. I cannot figure out how to get it to work, and I don't
> want to resubmit the form... *** I need it
"B. van Ouwerkerk" wrote:
>
> Hi,
>
> How about these messages from solfix.net What have I done to deserve
> these..
>
> Every message I send to this list is followed by one from solfix.. with a
> list of message commands..
>
> Already send a message to their postmaster still getting them
Scott Walter wrote:
>
> I know this sounds very simple, but I only want certain fields on my form
> to be displayed depending on the selected item in a drop-down menu, that is
> part of the form. I cannot figure out how to get it to work, and I don't
> want to resubmit the form... *** I need it
> -Original Message-
> From: Niklas Neumann [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 04, 2001 3:20 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Session variables and register_global
>
> session_register("test");
> $GLOBALS['HTTP_SESSION_VARS']['test'] = 'Hello World!';
>
> does
If I want to find a list of items in one table whose id does not appear
in another table, can that be done in one query?
I can only figure it out if I use two queries.
$result=mysql_query("SELECT id,item FROM table1");
while ($row=mysql_fetch_array($result)) {
$thisid=$row["id"];
$thisi
arg - i' at wits end. i need to parse a text file into a mysql insert
statement. the statement isn't the problem its parsing the text
file. heres a sample of the file
West Chesterfield
(603) 256-8278 V.90
(603) 307-2100 V.90 & K56flex
(603) 307-2200 ISDN / DOV
Hinsdale336
West Chesterfield25
extract(mysql_fetch_array($result));
sets all the variables at once. much neater :)
Maatt
"Jordan Elver" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> If I knnow that a query will only retrun one row, can I do thiss (below)
> rather than using a while
My posts seem to joined to a thread all of a sudden although I'm starting a
new post each time
Mike P
[EMAIL PROTECTED]
--
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 administra
I'm not 100% certain about this, but I believe you want to look at using a
LEFT OUTER JOIN
At 11:37 AM 4/4/01 -0400, bill wrote:
>If I want to find a list of items in one table whose id does not appear
>in another table, can that be done in one query?
>
>I can only figure it out if I use two que
Hello,
I'm trying to build an array out of data submitted from a URL.
Essentially, I want to pull certain records out of a database which have been
selected on another form.
The URL presently looks like this:
superRSS.phtml?150=1150&superRSS166=1166&superRSS168=1168&superRSS175=118
hum, that would do it?
function encrypt_pwd( $pwd ){
if ( function_exists( md5 )){
$password = md5( $pwd );
}else{
$password = $pwd;
}
return $password;
}
py
At 11:12 AM 4/4/01 -0400, you wrote:
>Greetings,
>
>How would I go about using PHP to take an entered password, and check it
On 4 Apr 2001 08:06:06 -0700, Chris Hutton [RaptorNet] <[EMAIL PROTECTED]> wrote:
>How would I go about using PHP to take an entered password, and check it
>against an encyrpted MD5 password in a database or flat-file?
retrieve the record you'd like to check and compare it to
md5($UserEnteredPas
rasmus Wed Apr 4 08:25:44 2001 EDT
Modified files:
/CVSROOTavail cvsusers gen_acl_file.m4
Log:
CVS Account for David Benson (Thies-approved)
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.131 CVSROOT/avail:1.132
--- CVSROOT/avail:1.131 Tue Apr 3 18:42:
"bill" <[EMAIL PROTECTED]> wrote:
> If I want to find a list of items in one table whose id does not appear
> in another table, can that be done in one query?
Absolutely.
SELECT *
FROM table_1
LEFT JOIN table_2 on table_2.id = table_1.id
WHERE table_2.id IS NULL
Read about LEFT JOINs in the man
FYI you can send data like this on the url:
http://www.foo.com/script.php?test[joe]=stump&test[harry]=bar&test[jane]=scott
Then $test will be an array that translates to this in PHP:
'stump',
harry => 'bar',
jane => 'scott');
?>
--Joe
On Wed,
The reason it worked, is that you were setting the value of $HTTP_USER_AGENT
to "Mozilla" by using a single =
That operation was succesful, so the result was true.
Therefore the if() clause was being executed.
On 4/3/01 6:15 PM, "Wade DeWerff" <[EMAIL PROTECTED]> wrote:
> ugh, ok, I was without
Did you try to see if $HTTP_GET_VARS can help you ?
Its an array of every variable posted by GET (the way you described)
Else :
Split the different key/values with the delimiter '&' and thereafter split the
elements in the array by '='
But first split the string into page and variables :
lis
>I tried about everything to get off those stupid msgs. Try going to
>their STMP server, you'll find out that your email-address is a
>valid user on their system. How funny is that? NOT FUNNY!!!
>
>I still haven't found anything to make 'm stop.
They use Xtramail.. it's a mailclient..
I know ho
I humbly and sincerely apologize for this off topic
post. But I just came across a page that I thought
that many of you would find very interesting:
http://web.mit.edu/newsoffice/nr/2001/ocw.html
http://web.mit.edu/newsoffice/nr/2001/ocw-facts.html
MIT is going to start offering their coursewar
I think the function parse_str does exactly what you want.
http://www.php.net/manual/en/function.parse-str.php
- Original Message -
From: "Knut H. Hassel Nielsen" <[EMAIL PROTECTED]>
To: "Mike Gifford" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, April 04, 2001 6:12
Hi
Following is the piece of code, which I am struggling with, now & the
problem is:
I just want to display 4 email address in a textarea and mail them. The
case here is, the available email address has to displayed and as I have
maximum 4 email addresses coming up dynamically, I might g
Dear PhpList wives (E-mail),
Congratulations! You just won US$10.00!!
We just gave away US$25,000.00!! And you PhpList wives (E-mail) are among the lucky
2500 people
randomly selected to receive a FREE US$10.00 Trial Account at TheCasino.com - the
Internet's Premier Online Casino!
Account St
Can't we just get rid of this spam: [EMAIL PROTECTED] and not allow to
continue.
I am sure the list master (in php.net) can do it, for the sake of the list.
Hope he's hearing !.
It's a requisition.
Thanks in adv.
~ Karthick
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROT
Can someone please help me w/the following code? I'm trying to insert data
collected on a form into two tables into my database. I know the
SQL statements work because I tested them individually, but I keep getting
the error "Couldn't execute query 2". Does anyone have any
s
1 - 100 of 212 matches
Mail list logo