RE: [PHP] More on images...

2002-01-03 Thread Matthew Walker
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

[PHP] can anyone explain this error ?

2002-01-23 Thread Matthew Darcy
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. --

RE: [PHP] can anyone explain this error ?

2002-01-23 Thread Matthew Darcy
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

[PHP] mail() question

2002-01-23 Thread Matthew Walker
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

[PHP] set_time_limit() in a loop

2002-01-24 Thread Matthew Delmarter
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

RE: [PHP] set_time_limit() in a loop

2002-01-24 Thread Matthew Delmarter
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

RE: [PHP] set_time_limit() in a loop

2002-01-24 Thread Matthew Delmarter
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

RE: [PHP] Outreaching (announcement)

2002-01-25 Thread Matthew Walker
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

RE: [PHP] set_time_limit() in a loop

2002-01-27 Thread Matthew Delmarter
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

[PHP] 3 Topics - I would like to disscuss off the group mail list.

2002-01-28 Thread Matthew Darcy
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

[PHP] get process id of a script?

2002-01-28 Thread Matthew Delmarter
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

[PHP] setting up a "members Login" section on a webpage.

2002-01-29 Thread Matthew Darcy
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

RE: [PHP] preg_replace() 'space' the final frontier

2002-01-30 Thread Matthew Walker
$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

RE: [PHP] MySQL Fetch_Array VS. Fetch_Object

2002-01-30 Thread Matthew Walker
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

RE: [PHP] preg_replace() 'space' the final frontier

2002-01-30 Thread Matthew Walker
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

RE: [PHP] How can I decrypt a password I previously coded with md5()?

2002-01-30 Thread Matthew Walker
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

RE: [PHP] zend encoded files dont work

2002-01-31 Thread Matthew Walker
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

RE: [PHP] problems with mt_rand()

2002-01-31 Thread Matthew Walker
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

RE: [PHP] Help with JPGraph in PHP.

2002-01-31 Thread Matthew Walker
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

RE: [PHP] PHP and Apache authorization: how to logout. Help!

2002-02-01 Thread Matthew Walker
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

RE: [PHP] PHP and Apache authorization: how to logout. Help!

2002-02-01 Thread Matthew Walker
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

RE: [PHP] PHP and Apache authorization: how to logout. Help!

2002-02-01 Thread Matthew Walker
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

RE: [PHP] Trying to put ips into database

2002-02-08 Thread Matthew Walker
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

[PHP] Rounding....

2002-02-10 Thread Matthew Clark
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

RE: [PHP] 2 conditions why wont they work??

2002-02-10 Thread Matthew Clark
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

RE: [PHP] 2 conditions why wont they work??

2002-02-10 Thread Matthew Clark
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

RE: [PHP] A MYSQL COUNTER

2002-02-11 Thread Matthew Walker
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

RE: [PHP] a user_auth script. The Script

2002-02-12 Thread Matthew Darcy
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

[PHP] a user_auth script.- Anyone see the problem ?

2002-02-12 Thread Matthew Darcy
Data Submitted View the records -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] a user_auth script. The Script

2002-02-12 Thread Matthew Darcy
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

RE: [PHP] a user_auth script. 1 down any more ?

2002-02-12 Thread Matthew Darcy
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 -

RE: [PHP] a user_auth script. 1 down any more ?

2002-02-12 Thread Matthew Darcy
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]>

RE: [PHP] Parse Error

2002-02-12 Thread Matthew Walker
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

RE: [PHP] PEAR DB class

2002-02-14 Thread Matthew Walker
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

[PHP] Problem in a user auth script. Advice please.

2002-02-16 Thread Matthew Darcy
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

[PHP] user auth script update.

2002-02-16 Thread Matthew Darcy
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

[PHP] not really a php question but can't hurt to ask.

2002-02-16 Thread Matthew Darcy
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

RE: [PHP] not really a php question but can't hurt to ask.

2002-02-16 Thread Matthew Darcy
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

RE: [PHP] user auth script update.

2002-02-16 Thread Matthew Darcy
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

RE: [PHP] Text editor for linux

2002-02-16 Thread Matthew Darcy
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

[PHP] session password problems.

2002-02-17 Thread Matthew Darcy
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

[PHP] smtp server and socket connections

2002-02-18 Thread Matthew Delmarter
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

[PHP] smtp server and socket connections

2002-02-18 Thread Matthew Delmarter
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

[PHP] question

2002-02-20 Thread Matthew Berwald
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

RE: [PHP] Checking for TTF in a script

2002-04-16 Thread Matthew Walker
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

RE: [PHP] SafeExtract() ... extract securily

2002-04-17 Thread Matthew Walker
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

[PHP] Re: Image functions

2002-04-19 Thread Matthew Gray
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

[PHP] test

2002-04-20 Thread Matthew Tapia
123456 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Mass Mail {?!}

2002-04-21 Thread Matthew Walker
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

RE: [PHP] Can php support ttf??

2002-04-22 Thread Matthew Walker
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

RE: [PHP] remove last character in a string

2002-04-22 Thread Matthew Walker
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

[PHP] Re: mail function

2002-05-06 Thread Matthew Ward
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

RE: [PHP] Re: how to send spaces in the url

2002-05-09 Thread Matthew Walker
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

RE: [PHP] simple array question (Am a Newbie kindly excuse.)

2002-05-09 Thread Matthew Walker
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

RE: [PHP] Newbie question to everybody....PHP

2002-05-11 Thread Matthew Walker
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

RE: [PHP] setcookie() in 4.2.0

2002-05-11 Thread Matthew Walker
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

[PHP] Re: PHP Hosting ...

2002-05-12 Thread Matthew Ward
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]... >

Re: [PHP] Search Engine With Boolean Support <--Please help

2002-05-12 Thread Matthew Ward
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

[PHP] Re: PHP and mySQL

2002-05-13 Thread Matthew Ward
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

[PHP] Re: PHP file Opening Problem

2002-05-13 Thread Matthew Ward
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

RE: [PHP] help with undefined variables, please

2002-05-14 Thread Matthew Walker
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

[PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
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://

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
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

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
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

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
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

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
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

RE: [PHP] PHP 4.2x changes

2002-05-14 Thread 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

[PHP] How YaBB logs in

2002-05-15 Thread Matthew Ward
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

[PHP] PHP Tag question

2002-05-15 Thread Matthew Walker
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 --

RE: [PHP] I'm doing something wrong....

2002-05-15 Thread Matthew Walker
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

RE: [PHP] SQL Server test tool

2002-05-15 Thread Matthew Walker
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

[PHP] creating dropdown lists from fetched arrays.

2002-02-24 Thread Matthew Darcy
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

[PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays.

2002-02-24 Thread Matthew Darcy
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

RE: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays.

2002-02-24 Thread Matthew Darcy
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

RE: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays.

2002-02-24 Thread Matthew Darcy
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

RE: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays.

2002-02-24 Thread Matthew Darcy
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

RE: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays.

2002-02-24 Thread Matthew Darcy
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

RE: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays.

2002-02-24 Thread Matthew Darcy
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

RE: [PHP] mysql 4 windows

2002-02-24 Thread Matthew Walker
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

[PHP] sending mail via SMTP server

2002-02-26 Thread Matthew Delmarter
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

[PHP] RE: sending multiple frames to different pages

2002-02-28 Thread Matthew Darcy
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

[PHP] Re: Building secure authentification with sessions

2002-03-01 Thread Matthew Crouch
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

[PHP] PHP directing pages/frames to urls.

2002-03-02 Thread Matthew Darcy
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/

RE: [PHP] PHP directing pages/frames to urls.

2002-03-02 Thread Matthew Darcy
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

RE: [PHP] PHP directing pages/frames to urls.

2002-03-02 Thread Matthew Darcy
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

[PHP] headers showing up in browser using PHP as CGI handler

2002-03-02 Thread Matthew Scott
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

[PHP] sending multiple frames to different pages

2002-03-05 Thread Matthew Darcy
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

[PHP] registering a session variable from a select statment.

2002-03-05 Thread Matthew Darcy
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

RE: [PHP] registering a session variable from a select * query.

2002-03-06 Thread Matthew Darcy
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

RE: [PHP] Session_start()

2002-03-07 Thread Matthew Walker
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

RE: [PHP] Re: Phpfx, what is it?

2002-03-20 Thread Matthew Walker
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

RE: [PHP] what is the difference between function and language construct?

2002-03-21 Thread Matthew Walker
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

RE: [PHP] counter for HIGH traffic site

2002-04-08 Thread Matthew Walker
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

[PHP] sablotron XMl XSLT

2002-04-09 Thread Matthew Luchak
" 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]  

[PHP] flock and unix/apache

2002-04-09 Thread Matthew Luchak
turns true...  any ideas? ____ Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED]  

RE: [PHP] sablotron XMl XSLT

2002-04-09 Thread Matthew Luchak
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:[

RE: [PHP] sockets and flush()

2002-04-09 Thread Matthew Luchak
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

RE: [PHP] Re: sablotron XMl XSLT

2002-04-09 Thread Matthew Luchak
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

RE: [PHP] PHP.ini Session section

2002-04-09 Thread Matthew Luchak
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

RE: [PHP] SESSIONS in javascript

2002-04-10 Thread Matthew Luchak
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

<    1   2   3   4   5   6   7   8   9   10   >