to go about it.
Thanks in advance.
best,
Matt
- Original Message -
From: Chris Hewitt [EMAIL PROTECTED]
To: Matthew K. Gold [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, July 05, 2002 7:34 AM
Subject: Re: [PHP] how to resort results of a query
Matthew,
Its a new query unless
Hi,
How can I set things up so that a user can resort the results of a query?
Also, how can I make certain columns into links? I'm making a site that
will list college courses. When users decide to browse listings by
discipline, or college, I'd like the titles of the courses to be links to
subscribe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
subscribe [EMAIL PROTECTED]
matthew de Jongh
president
the spa! internet
voice (413) 539-9818
www.the-spa.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
my understanding is that you could write it like this:
? echo 'a href='.$address.''; ?
-Original Message-
From: Martin Johansson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 25 June 2002 5:25 PM
To: [EMAIL PROTECTED]
Subject: [PHP] function echo ' '
Is there a way to express php
If you know its grayscale...
function GrayScaleToHex( $val ) {
$norm = $val * 2.55 + $val/100;
$hex = sprintf(%02X, $norm);
return '#' . $hex . $hex . $hex;
}
Should get you close enough.
Matt
René fournier wrote:
Anyone know how I might convert a grayscale value, from between
Hi All,
I am trying to build a client interface for each of my web-hosting
customers, and would like to have them log into the system using the same
username/password combinations that are used for FTP, email etc.
ie: those stored in the Unix system's passwd and shadow passwd files.
I have
Hi All,
I am trying to build a client interface for each of my web-hosting
customers, and would like to have them log into the system using the same
username/password combinations that are used for FTP, email etc.
ie: those stored in the Unix system's passwd and shadow passwd files.
I have
I want to set up a crontab using my hosts control panel, and when i go to
set one up there are boxes for how frequently you want the task to run, and
one labelled Command.
Basically, I want to get a PHP script to run every set amount of time, so
what do I have to type in the Command box to get a
See here: http://www.php.net/manual/en/function.virtual.php
Chris Knipe [EMAIL PROTECTED] wrote in message
news:064401c21654$310e4d40$[EMAIL PROTECTED]...
Yeah, urgh, not exactly what I was hoping on, but I'll give executing perl
a
try... I want to stay as far away as possible from mod_perl
What do you mean by appropriate #! at the top?
Analysis Solutions [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Matthew:
On Tue, Jun 18, 2002 at 08:48:19PM +0100, Matthew Ward wrote:
Basically, I want to get a PHP script to run every set amount
I have PHP installed both as a module, and as a CLI. When I use CURL
from inside the module, it works fine for all connections, including
SSL. When I use the CLI, I can't make SSL connections with CURL. It just
returns 'false'. Anyone know why?
--
PHP General Mailing List
installation? Try running
this through the CLI to check...
if(extension_loaded('curl')){
echo 'curl support present';
} else {
echo 'curl not found';
}
mh.
On 7 Jun 2002, Matthew Walker wrote:
I have PHP installed both as a module, and as a CLI. When I use CURL
from inside
It's 1 based. It returns the number of rows. Not the index of the last
row. (Which would be 0 based.)
On Fri, 2002-06-07 at 19:23, William_dw -- Sqlcoders wrote:
Hiya!,
Does anyone know whether mysql_num_rows is zero or one based?
that is, if I have 5 records will mysql_num_rows() return 4
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,
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: ?=$variable?)
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 doing
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
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: Philip Olson
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://www.grisoft.com
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 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-
From: Rasmus
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: Matthew Walker
Cc: [EMAIL PROTECTED
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
Senior Software
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
All,
I've
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)
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 right
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]...
Hi,
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
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:26 PM
To: [EMAIL
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 PROTECTED]]
Sent
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 PROTECTED
Try this:
?php
$a1[]=ryan1;
$a1[]=ryan1.2;
$a1[]=ryan2;
$a1[]=ryan2.1.1.1.1.1;
$a1[]=ryan3;
$a1[]=ryan3.2;
print(Tesing arrays:br);
for($i=0; $i count($a1); $i++) {
{
echo($a2[$i]);
if ($i != (count($a1) - 1)) {
echo ,br;
}
}
?
Matthew Walker
Senior
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 3,
I'd recommend this script with a few changes.
?
$Emails = array(Get your list of emails into the array somehow);
for($i=0; $icount($Emails); $i++) {
// send email code
usleep(delay in microseconds);
}
?
Matthew Walker
Senior Software Engineer
ePliant Marketing
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 Westerman
123456
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 use php's image
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
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:42 PM
To: [EMAIL
I think what I'm going to end up doing, is using a perl CGI script to do
this part. I /know/ perl can do it easily, and I won't have to hack
together my own threading code.
Thanks for the suggestions though.
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message
Won't work for web connections, because it waits for each connection to
complete before running the next one.
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Richard Creech [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 14, 2002 1:46 PM
To: [EMAIL
shipping rates to display on a page. If you had to query them
one at a time, the delay would be unacceptable. However, with that perl
module, you could query them all at the same time, making it much
faster.
Does anyone know if such a thing exists for PHP?
Matthew Walker
Senior Software Engineer
s 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]
s 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:[EMAIL
Are you using ob_start () and ob_end_flush() ?
If not then declaring ob_start () as the very first ? ob_start (ob_gzhandler);
function call and ob_end_flush() where you want the string to output should do the
trick.
Matthew Luchak
Webmaster
Kaydara Inc
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 checking
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 PROTECTED]
Subject
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 Westerman
hi.. is there any way to use the php oracle function to check to see if
there are any records in the selected set before calling ora_fetch?
ora_exec doesn't error if ther are no records, and ora_num_rows doesn't
return the numbe of rows in the set.,
thanks!
matt
--
PHP General Mailing List
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
construct
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
hi,
when i run script from the CLI, it doens't recognize the oracle library
functions. why is tthis and what can i do aobut it?
thanks everyone!
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
its a solaris box, with apache and oracle. its got php4.0.4 on it right
now, about to upgrade i believe..
On Fri, 8 Mar 2002, Hunter, Ray wrote:
What type of system are you running this on?
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: matthew
Hi,
someone was helping me with this last night at home, but now I am in work I
am still struggling.
I have a user_auth script what works fine, it registers the username and
password as session variables then matches them to the rows entered in the
database - if they don't match it unregisters
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
hi,
I have been working on updating my user auth section.
to authorise users I
have a simple select * from my_users
if there is a matching row I register the input from a text box (username
and password textboxs)
once I have the username and passsword registered as a sessaion var I want
to
Any updates / takers on this problem ??
thanks,
Matt.
-Original Message-
From: DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2)
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 3:04 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP] registering a session variable from a select * query
Content=Matthew Darcy
TITLEBathJobs.com User Login/TITLE
/HEAD
BODY BGCOLOR=#ff LINK=#00 ALINK=#00 VLINK=#00
FONT FACE=Arial Size=4 Color=black
P FORM METHOD=post ACTION=?=$PHP_SELF?
CENTER
TABLE BGCOLOR=#191970 BORDERCOLOR
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
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
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
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 option, I
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-generalm=101069420521799w=2
[prev in list] [next in list] [prev in thread] [next in thread
this is in the ballpark:
http://phpbuildercom/columns/ying2602php3?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 guys can
Hello PHP'ers.
First of all - scince joining this list I have got some great help and it is
really helping my build me site so a BIG thank you to all.
Now back to the help..
I have a table with cols, and say 20 rows in this table.
col: 1 2 3 4 5 6 7
going on, and how to generate the table from these
results.
thanks,
Matt.
-Original Message-
From: Bas Jobsen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 1:59 PM
To: DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2); [EMAIL PROTECTED]
Subject: Re: [PHP] Probably basic but seems
if PHP is NOT a module axps and is build into apache then I was under the
impression you had to recompile apache as PHP was built into apache.
-Original Message-
From: Jackson Miller [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 5:46 PM
To: Greg Donald; PHP List; php
so you are running with apxs and do not need to re-compile as I said.
If you are running with PHP as an apxs then fine, if you have built PHP into
apache then you should need to re-compile.
Matt.
-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February
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
with page names to it.
frameset
frame src=?=$FirstFrame?
frame src=?=$SecondFrame?
/frameset
Niklas
-Original Message-
From: Matthew Darcy [mailto:[EMAIL PROTECTED]]
Sent: 1. maaliskuuta 2002 9:03
To: [EMAIL PROTECTED]
Subject: [PHP] RE: sending multiple frames
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
Hi,
I want to create a dropdown list with options from a table.
ie
HTML
BODY
?php
$sql_select = select * from dropdown_options;
$results = mysql_query($sql_select);
while ($row = mysql_fetch_array($results);
{
echo option VALUE=$row[col1] NAME=option1
}
/BODY
/HMTL
I know this is
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
=.$row[col1]..$row[col2];
}
?
/select
-Original Message-
From: Matthew Darcy [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 10:06 AM
To: [EMAIL PROTECTED]
Subject: [PHP] RE: (HTML related) helping to creating dropdown lists
from fetched arrays.
it does help
]'; [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
-
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 from fetched
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 [mailto:[EMAIL
= mysql_fetch_array($results))
-Original 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
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
Take a look at mysql_data_seek()
Matt
James Taylor wrote:
I have a really simple guestbook that allows someone to post to the book,
then it displays all the entries. Well, there are too many entries now for
just one page and it looks kinda wacky, so I wanted to do something where it
only
No there really isn't. I wrote an extension that does it for me, but
I am waiting to see what the second zend engine will have for this
rather that using my hack. Maybe check the Zend Engine 2 mailing list
to see what the future may hold.
Matt
Mika Tuupola wrote:
Is there a way to
? 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
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
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
Content=vi
META NAME=Author Content=Matthew Darcy
TITLEBathJobs.com User Login/TITLE
/HEAD
BODY BGCOLOR=#ff LINK=#00 ALINK=#00 VLINK=#00
FONT FACE=Arial Size=4 Color=black
P
FORM METHOD=post ACTION=?=$PHP_SELF?
BRCENTER
BathJobs.com Login BRBR
TABLE BGCOLOR=#ff
(../dbconnect.php);
include(../functions/common_functions.php);
session_start();
if (!isset($login_username)) {
?
HTML
HEAD
META NAME=GENERATOR Content=vi
META NAME=Author Content=Matthew Darcy
TITLEBathJobs.com User Login/TITLE
/HEAD
BODY BGCOLOR=#ff LINK=#00 ALINK=#00 VLINK=#00
FONT FACE
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)
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 a php
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
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
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
, 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: RE: [PHP] a user_auth script. The Script
?php
?php
include(../dbconnect.php);
if ($submit == sign!)
{
$admin_string_auth=(select account_name, account_password,
account_admin_level from account_details where account_name='$login_name')
or die (Cant run auth string);
. 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 someone else would see the errors I
: 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 -
From: Matthew
701 - 800 of 1089 matches
Mail list logo