I solved it using Javascript to get the referrer of the parent doc, and
pass it as a get request.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Matthew Walker
Sent: Thursday, January 03, 2002 3:46 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] More
I am doing an insert into a EMPTY mysql table.
1 field is an auto increment.
here is the error I get when I do the insert
"Column count doesn't match value count at row 1"
What does this mean ?
Here is the php used to insert it.
Data Submitted
View the records
~
Thanks,
Matt.
--
m as soon as you can.
Tomorrow is a new day; you shall begin it serenely and with too high a
spirit to be encumbered with your old nonsense." - Ralph Waldo Emerson
> From: "Matthew Darcy" <[EMAIL PROTECTED]>
> Reply-To: <[EMAIL PROTECTED]>
> Date: Wed, 23 Jan 2002
eturn-Path: $SiteInfo[Email]\nReply-To:
$SiteInfo[Email]");
arsenic.mth.com is the LAN name of my box. How can I get PHP to send
mail as if it was from the DNS name for the box (mthmarketing.com)?
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
---
Outgoing mail is
script is still
running 13 hours later! Or is this related to the ignore_user_abort?
Regards,
Matthew Delmarter
--
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
Thanks for your reply Martin.
Any ideas why ignore_user_abort would cause this problem?
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 1:16 PM
To: 'Matthew Delmarter'; PHP Mailing List
Subject: RE: [PHP] set_time_limit() in a
I should also mention that the loop is sending mail using mail().
Is it possible that this is the problem somehow?
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 1:16 PM
To: 'Matthew Delmarter'; PHP Mailing List
Subject
I downloaded the current version to test, and I don't know how you call
it stable enough to use. I continually get permission denied errors
accessing the DB. Some of them go away if I refresh, others don't. And
yes, the user has full permissions to the relevant DB.
Matthew Walker
finish the loop OK - but as
mentioned the script is still running 13 hours later. I don't get it.
Any ideas? Is it possible to kill a script via PHP code?
Matthew
PS Here is the script again
-Original Message-
From: Paul Roberts [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 27, 20
1.) I would like to chat about using logins with php. I think this requires
sessions, but I would like to talk about ways to provide "user accounts" and
relate user details to the accounts.
2.) E-Mailing using PHP. How to configure sendmail or qmail to allow PHP to
sendmail out from variables he
Is there any way to get the process id of a script running on Apache?
Regards,
Matthew Delmarter
--
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
Hi,
I am looking at getting users to input their details to be stored in mysql,
I would then like them to have to login to get access to certain functions
when they come back.
Does anyone have a good idea on how to do this,
is the best / only way to do this sessions ?
This must be quite secure
$statement=preg_replace("/ /","",$original,19);
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: hugh danaher [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 12:35 PM
To: Php-General
Subject: [PHP] preg_replace
Note that you can do this:
print "$row[field_name]";
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Bryan Gintz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 11:49 AM
To: PHP List
Subject: [PHP] MySQL Fetch_Array VS. Fe
Looking at what you wanted to do, I realized this isn't going to work.
That line of code will put a BR between each of the first 19 words.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Matthew Walker
Sent: Wednesday, January 30, 2002 12:47
Exactly. The point of MD5 is that there is no way to get the password
back. This makes things much more secure if your site gets hacked.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Demitrious S. Kelly [mailto:[EMAIL PROTECTED]]
Sent: Wednesday
I'd imagine it's because windows zend has to compile them in a slightly
different manner.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 12:41 PM
To: php-li
Did you remember to seed it?
See http://www.php.net/manual/en/function.mt-srand.php for info on how
to seed it.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Benjamin deRuyter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 1:02 PM
You need to send the headers to tell the browser what kind of data
you're sending. Try something like this:
header("Content-type: image/png");
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Sridhar Moparthy [mailto:[EMAIL PR
Does anyone have the answer for this question? I need it too...
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Aras Kucinskas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 10:39 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP and Apache
I've done some investigating on my own. There is no way to do this.
Period.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Matthew Walker
Sent: Friday, February 01, 2002 3:37 PM
To: Aras Kucinskas; [EMAIL PROTECTED]
Subject: RE: [PHP] PH
The entire browser has to close down to clear the auth data.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Lazor, Ed [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 4:41 PM
To: Matthew Walker; Aras Kucinskas; [EMAIL PROTECTED]
Subject
What type of field is 'ip'?
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 9:18 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Trying to put ips into database
I'm
Seeing as the mathematically correct way to round numbers is to round down
to n for n-1<=m<=n.5 and up to n+1 for n.5http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes - that's most likely the answer.. if the echo doesn't help, try
something like this..
$result2 = mysql_query($query2,$db) or die(mysql_error());
If mysql is throwing up an error, that'll present it too you and stop
execution..
-Original Message-
From: Bogdan Stancescu [mailto:[EMA
In your code below, mysql will throw an error if $clientID is empty or
non-numeric because it is not surrounded with quotation marks.. mysql will
treat it as a field name (or just throw a syntax error if it's empty).
-Original Message-
From: Brad Wright [mailto:[EMAIL PROTECTED]]
Sent: 11
This is too much for a text file. You should definitely use MySQL for
this.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Georgie Casey [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 3:22 PM
To: [EMAIL PROTECTED]
Subject: [PHP] A
2002 07:11, Matthew Darcy wrote:
> spotted 1 error already missing the starting " after the printf statment.
>
> Any more ?
>
> -Original Message-
> From: Matthew Darcy [mailto:[EMAIL PROTECTED]]
> Sent: 11 February 2002 23:09
> To: Roy Cabaniss; php
> Subject
Data Submitted
View the records
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cript. The Script
You have the ending } for the if statement?
Nate
- Original Message -
From: "Matthew Darcy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 12, 2002 12:57 AM
Subject: RE: [PHP] a user_auth script. The Script
> was hoping som
Sent: 12 February 2002 16:20
To: [EMAIL PROTECTED]; php
Subject: Re: [PHP] a user_auth script.- Anyone see the problem ?
Check for a closing bracket on this statement
if($row["account_password"]==$login_name // line 14 or 15 needs )
Hope this helps
Hugh
- Original Message -
down any more ?
Try closing all your "{" & "}". count them up, you are missing the closing
bracket on your while statment..
Jim Lucas
- Original Message -
From: "Matthew Darcy" <[EMAIL PROTECTED]>
To: "hugh danaher" <[EMAIL PROTECTED]>
I'd definitely check Line 19. You probably forgot a ;
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Jason Whitaker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 4:01 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Parse Error
Ok I got
Sure is legal. I use it all /over/ the place.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Gary [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 2:26 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PEAR DB class
Hi all,
Before I get
Hi,
After the help given on my last script I got a bit more advanced. I am
trying to write a user auth script and start sessions. I wrote this script
and ran it and I am getting an error on line 4. Once again I cannot see any
problems. I would appriciate you experienced guys casting your eyes ove
Found 1 schoold box error AGAIN I ended line 4 with : not ;
I am now getting the parse error on line 64
Can anyone review this script and tell me where I am going wrong.
Thanks,
Matt.
SCRIPT
START--
BathJobs.com User Log
I have apache compiled and working %100.
I have www.mydomain.com
when I visit thie domain apache loads index.html for my by default - wo my
browser displays www.mydomain.com - but the page viewed is
www.mydomain.com/index.html
I updated index.html (did not touch any apache configuration) adde
got the apache thing sussed.
For some reason windows using ie takes doesn't see changed on the apache
webserver as quick as linux ???
-Original Message-
From: Matthew Darcy [mailto:[EMAIL PROTECTED]]
Sent: 16 February 2002 11:58
To: PHP developers
Subject: [PHP] not really
never mind Matt,
I noticed the missin ); on line 65
Thanks for your help.
Matt.
-Original Message-
From: Matt [mailto:[EMAIL PROTECTED]]
Sent: 16 February 2002 12:05
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] user auth script update.
> I am now getting the parse err
there is a way of using vi/vim to highlight syntax with PHP and HTML.
I am playing with it at the moment.
Matt,
-Original Message-
From: Torkil Johnsen [mailto:[EMAIL PROTECTED]]
Sent: 16 February 2002 13:45
To: [EMAIL PROTECTED]
Subject: [PHP] Text editor for linux
Anyone know of a
Hi,
I have a php user authorise script.
I have 2 fields in a mysql database. user_name and user_password. Password
is encrypted with the mysql password('$password') function.
This is my PHP authorise section of the script.
$sql_authorisation = "SELECT * FROM account_details WHERE
account_nam
I just wanted to come to grips with how sockets/SMTP works. Is it like
this...
1. I open the socket to the SMTP server
2. I fire the mail through - a few thousand emails
3. I close the socket
Also, is step 3 necessary?
Regards,
Matthew Delmarter
--
PHP General Mailing List (http
I just wanted to come to grips with how sockets/SMTP works. Is it like
this...
1. I open the socket to the SMTP server
2. I fire the mail through - a few thousand emails
3. I close the socket
Also, is step 3 necessary?
Regards,
Matthew Delmarter
--
PHP General Mailing List (http
inter? Thanks for the help.
Matthew Berwald
__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Use this:
if (function_exists("imagettftext")) {
//TTF Exists
} else {
//TTF Doesn't exist
}
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Jackson Miller [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 12:4
Sounds really good to be! Now if they would code this into PHP, it would
be perfect. This would solve several security issues.
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Amit Arora [mailto:[EMAIL PROTECTED] (nospam)]
Sent: Wednesday, April 17
You won't get very far if you aren't outputting an image to the browser
using ImageJpeg(), etc.
Matt
Matthew J Gray
UWRF - Information Technology Services
[EMAIL PROTECTED]
Gerard Samuel wrote:
> Im trying to modify a poll script to not use the hard coded image files
> and
123456
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'd recommend this script with a few changes.
);
for($i=0; $i);
}
?>
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: CDitty [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 21, 2002 8:47 PM
To: Liam MacKenzie; PHP
Subject: Re: [PHP] M
Also, non-Unicode TTF fonts will /not/ work with PHP.
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Rahul Bhide [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 9:45 PM
To: zhaoxd
Cc: php mailling list
Subject: Re: [PHP] Can php support ttf
Actually, if he uses a negative index in substr(), he doesn't need to
know the length of the string.
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Tyler Longren [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 9:29 PM
To: Craig West
You can add further variables to the end of your current mail() function to
specify the name of who its from, and the email address that they will send
the message to when they use the reply function on their email program, like
this:
mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2\nLine
Might I suggest using PHP's urlencode() to encode the string, and
Javascript's function unescape()?
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Kevin Stone [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 11:37 AM
To: [EMAIL
Try this:
");
for($i=0; $i < count($a1); $i++) {
{
echo($a2[$i]);
if ($i != (count($a1) - 1)) {
echo ",";
}
}
?>
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: r [mailto:[EMAIL PROT
un,
and be sure to ask if you have any more questions. I always try and
answer questions on the list if I have the time, and know the answer.
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: r [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 11, 2002 7:2
le to keep going.
(Or maybe I'm just too lazy to take the tremendous amount of time it
would take to rewrite our code to not send output before headers...)
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Olexandr Vynnychenko [mailto:[EMAIL PR
Instead of switching hosting companies, why don't you just install
phpMyAdmin on your webspace, that way you can control your mySQL databases
in a far more user-friendly way than SSH will let you do
"Tim Thorburn" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
This is a bit of a tricky one, as a search engine isn't just some 10 line
code you can quickly type and expect to work. It'd be quite complex, because
you have to run several queries for each of the boolean types, and you also
have to account somehow for case-sensitivity.
I'm currently working on
I presume that "quantity" is the number of books that the person has
ordered, and therefore it needs to be a variable (ie with a $ infront of it)
and its also best to do the calculation outside of the SQL statement just to
be sure it works, eg:
if ($submit){
if(isset($booktitle) && isset($quan
It sounds like your just trying to open the file straight from your hard
drive using IE. Unfortunately, PHP doesn't work like HTML files or
JavaScript in that its not IE or any other web browser that "makes PHP
work". It is actually a server that works out all the PHP bits, puts it all
in the righ
I prefer to use isset(), not empty(). It's more accurate, in that it
knows the difference between a variable that just isn't set, and one
that has an empty value (which may be valid).
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Ph
ully dynamic to accommodate it.
So, is there any reliable way to emulate sessions without requiring a
cookie, or a variable passed in every URL?
Matthew Walker
Senior Software Engineer
ePliant Marketing
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://
The sites are not dynamic, but the shopping cart /is/. The problem is,
if people don't have cookies on, when they return to the site to order
more products, they loose the SID that has been appended to the links
inside the cart, and thus loose the contents of their shopping cart.
Matthew W
You're not understanding the problem. This is not an authentication
situation. We are using sessions to track information about what a
customer's OrderID is, and other related information.
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
Fr
see how this could be used to maintain
session data.
But maybe my mind is just trapped in a rut. Please enlighten me.
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 6:04 PM
To: Matth
Blah. That's a really ugly choice, but I suppose we may end up having to
do that.
I'd give my kingdom for always-on cookies. Ah well. I'll look into this
some more once my current project is finished. Thanks for your advice.
(And thanks to everyone else too)
Matthew Walker
Actually, it is $PHP_SELF. Try $_SERVER['PHP_SELF']
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Weston Houghton [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 6:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP 4.2x changes
I'm currently integrating my site with YaBB so that when you log into my
YaBB forums it also logs you into the whole site. I'm also developing a
script that I'm integrating into my main page that checks the password in
the cookie with the one in the database as a security check.
The problem is, t
I'm writing a coding standards document for our programmers, and I need
to know if the 'echo' shortcut PHP tags are always on, or if we need to
assume they might not be on.
(By echo shortcut, I mean this syntax: )
Matthew Walker
Senior Software Engineer
ePliant Marketing
--
When you create an array this way, no numeric indexes are assigned.
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Robert Rothe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 2:35 PM
To: [EMAIL PROTECTED]
Subject: [PHP] I'm
Just attempt to connect. If it succeeds, the server is alive.
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Scott St. John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 6:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] SQL Server test tool
Hi,
I want to create a dropdown list with options from a table.
ie
"
}
I know this is basic but it is to give you an idea of what I want.
I have tried to find an example of this in the book I am using to learn to
no result.
I am guessing this is how it works from the info I have read fr
it does help a little.
I know the html is wrong I used this as an example to what I wanted.
What I need to know is how to use PHP to generate the options in the list
from col1 and show the option 2.
The data for these is got from an array.
so really what I want to know is how to code in PHP
TED]'; [EMAIL PROTECTED]
Subject: RE: [PHP] RE: (HTML related) helping to creating dropdown lists
from fetched arrays.
try this: (I don't have experience w/ mysql, but I do with other dbs)
".$row["col2"];
}
?>
-Original Message-
From: Matt
PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: [PHP] RE: (HTML related) helping to creating dropdown lists
from fetched arrays.
original line:
while ($row = mysql_fetch_array($results);
new line:
while ($row = mysql_fetch_array($results))
-Original Message-
From
al Message-----
From: Matthew Darcy [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 10:37 AM
To: Martin Towell; [EMAIL PROTECTED]
Subject: RE: [PHP] RE: (HTML related) helping to creating dropdown lists
from fetched arrays.
RE: [PHP] RE: (HTML related) helping to creating dropdown lists fr
7;; [EMAIL PROTECTED]
Subject: RE: [PHP] RE: (HTML related) helping to creating dropdown lists
from fetched arrays.
original line:
while ($row = mysql_fetch_array($results);
new line:
while ($row = mysql_fetch_array($results))
-Original Message-----
From: Matthew Darcy [mai
EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: [PHP] RE: (HTML related) helping to creating dropdown lists
from fetched arrays.
original line:
while ($row = mysql_fetch_array($results);
new line:
while ($row = mysql_fetch_array($results))
-Original Message-----
Fro
Yes. MySQL is as stable as the box you run it on. ;)
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 24, 2002 10:06 PM
To: [EMAIL PROTECTED]
Subject: [PHP] mysql 4 windows
Does anyone
the socket to the SMTP server
2. I fire the mail through - a few thousand emails
3. I close the socket
Do I have to close and reopen the socket every few hundred emails?
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello all
I have just created a login script that works fine. At the moment I have a
pretty simple (I have coded this but I am trying to keep it simple to
explain what I am after
if login != ok then
generate HTML for error page
else
Generate HTML for ok page.
end;
what I want to do is
this is in the ballpark:
http://phpbuilder.com/columns/ying2602.php3?page=1
Andy wrote:
> Hi there,
>
> I did recently read an article about security. Now I absolutly see the need
> of recoding my authentification procedure on a community site.
>
> There are questions I hoped some of you gu
Hi,
I asked the group for a suggestion of how to direct 2 frames to 2 different
locations on the click of a link. A suggestion using javascript was sent
back to me.
I am looking for other options can anyone suggest anything.
Many thanks,
Matt
--
PHP General Mailing List (http://www.php.net/
Hi Greg,
I have the java script option, I was wondering if using java script was the
only way to do this ?
I am now guessing it is.
Thanks,
Matt.
-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]]
Sent: 02 March 2002 18:08
To: Matthew Darcy
Cc: [EMAIL PROTECTED]
Subject
thats great.
Thanks Greg.
-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]]
Sent: 02 March 2002 18:26
To: Matthew Darcy
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] PHP directing pages/frames to urls.
On Sat, 2 Mar 2002, Matthew Darcy wrote:
>I have the java script opt
nd is still working great with the CGI version that's in use right now.
Anyone have any ideas?
Thanks for your help,
Matthew Scott
---
Re http://marc.theaimsgroup.com/?l=php-general&m=101069420521799&w=2
[prev in list] [n
Hello all
I have just created a login script that works fine. At the moment I have a
pretty simple (I have coded this but I am trying to keep it simple to
explain what I am after
if login != ok then
generate HTML for error page
else
Generate HTML for ok page.
end;
what I want to do is
if
Hi,
I have a user auth script. Very simple and works.
when I check the username and password I check it against a select all the
values from the user table where the username and password match. (inputted
from a 2 text boxes)
like so
//sets and runs SQL statement that brings back all info on u
Hi Phil thanks for taking the time to reply back.
allow me to share my code (still learning so be gentle.)
I register 2 session vars from 2 input boxes. I then select * from the user
table where the to variables match (username and password) if they match I
want to register the auth_level field
You must place session_start() before any other /output/. It can come
after other code, as long as nothing will be output before it.
Alternately, you can turn on output buffering and just not worry about
it.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message
A quick search on google told me this:
phpfx is a website with the goal of providing free and quality open
source php scripts
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Philip Hallstrom [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20
Because $a=5 is not 'empty'.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: bob [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 5:19 PM
To: [EMAIL PROTECTED]
Subject: [PHP] what is the difference between function and language
were run. The queries consist of the same kind you would be
using.
Debug Data
This page was generated in 0.030305027961731 seconds.
9 queries executed.
----
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Craig West
" error which I guess means no - there's
no sablotron installed - but I was wondering if there is another way to test for
Sablotron? I need a little quicker turnaround time then passing from
voicemail to voicemail at my ISP ;)
thanks,
Matthew
Luchak Webmaster Kaydara
Inc. [EMAIL PROTECTED]
turns true...
any ideas?
____ Matthew
Luchak Webmaster Kaydara
Inc. [EMAIL PROTECTED]
Thanks Ray but what I need to know is if there is indeed a better way than what
I've tried to test if sablotron has been complied or not.
____
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Hunter, Ray [mailto:[
Are you using ob_start () and ob_end_flush() ?
If not then declaring ob_start () as the very first "mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 5:39 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] sockets and flush()
no tables. my test script prints a single stri
thanks. did the trick. no sablotron. :(
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
You could use function_exists() to test if xslt_create() is a defined
function. If not, then error out. If so, carry on. It's not limited
to sablotron che
sure, I've had it working before... what's the hang-up.
____
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Mauricio Sthandier [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 4:17 PM
To: [EMAIL PROTECTE
if you use SID you can get the session out of the url.
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Morten Nielsen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 4:31 PM
To: [EMAIL PROTECTED]
Subject: [PHP
101 - 200 of 1121 matches
Mail list logo