Re: [PHP] Email verification (was: [PHP] Removing Invalid Users)

2001-07-04 Thread Steve Werby
email address is not valid. IMO, the only way to verify that an email address exists *and* is being used by the person who supplied it (I assume in most cases this is the whole point) is to send a unique string or URL and check that the recipient responds with the string in an email or visi

Re: [PHP] Email verification (was: [PHP] Removing Invalid Users)

2001-07-04 Thread Steve Werby
> "Steve Werby" <[EMAIL PROTECTED]> writes: > > Like Tom said, use regex to check the email is of a valid format. A small > > percentage of servers can be contacted to find whether an email address is > > valid, but fewer and fewer are allowing this so it

Re: [PHP] Running PHP as a cron job....

2001-07-08 Thread Steve Werby
rongly suggest adding authentication via an .htaccess file and passing the user/pwd to lynx (see "man lynx") so that your script which is probably only intended to be run via cron isn't available for anyone on the web to access. -- Steve Werby President, Befriend Internet Servic

Re: [PHP] Running PHP as a cron job....

2001-07-08 Thread Steve Werby
"Ben Bleything" <[EMAIL PROTECTED]> wrote: > Interesting method, with the lynx... I imagine that if you've only built > the DSO, then that would be the way to do it.. if it worked. It works. -- Steve Werby President, Befriend Internet Services LLC http://www.befr

Re: [PHP] Running PHP as a cron job....

2001-07-08 Thread Steve Werby
for every problem. BTW, I split my shell scripting between bash and PHP, used to do shell scripting in Perl, but I rarely use it anymore so I'm much faster scripting in PHP. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http

Re: [PHP] easy mysql question

2001-07-08 Thread Steve Werby
st-Subscribe: <mailto:[EMAIL PROTECTED]> -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- 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 admi

Re: [PHP] Question about how to do this...

2001-07-08 Thread Steve Werby
was directly within the calling code then it needs it in the include'd file too and if it wouldn't have in the calling code then it won't in the include'd file. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (htt

Re: [PHP] Name of an array???

2001-07-09 Thread Steve Edberg
$ArrayName = 'Thing'; $$ArrayName = array(5,6,7,8); now, echo $ArrayName;==> Thing echo $$ArrayName; ==> Array echo ${$ArrayName}[0]; ==> 5 See http://www.php.net/manual/en/language.variables.variable.php for more info

Re: [PHP] sorting results of opendir()

2001-07-09 Thread Steve Edberg
{ echo "$F\n"; } If you're using PHP4, you can replace everything after the sort($FileList) with the more compact: foreach($FileList as $F) { echo "$F\n"; } See http://www.php.net/manual/en/function.sort.php for more info on sorting arrays.

Re: [PHP]need an opinion on this idea of mine...!!

2001-07-09 Thread Steve Werby
php? index.php if you're simply include()'ing the content from bio.php. If you're using Apache AliasRewrite magic and the URLs for each file are pointing to the script index.php then it will be set to bio.php. A good way to learn is to write short test scripts, add phpinfo() to the code

RE: [PHP] Oracle 8i + non perstistant database connections remaining open.

2001-07-10 Thread Steve Brett
you could move to a database that supports hot backups. postgresql perhaps ? > -Original Message- > From: Thies C. Arntzen [mailto:[EMAIL PROTECTED]] > Sent: 10 July 2001 10:40 > To: Taylor, Stewart > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Oracle 8i + non perstistant database connecti

RE: [PHP] Average of column...

2001-07-10 Thread Steve Brett
VG(age) as avgage FROM bat_rost WHERE ownerID = '$teamID'"); $row = mysql_fetch_array($age_result); $average_age=$row["avgage"]; echo "Average age of ".$teamID." is ".$average_age; read the php manual pages on stuff like mysql_fetch_row and mysql_fetch_a

RE: [PHP] time compare in my sql

2001-07-12 Thread Steve Brett
have a look at date_format in the mysql help and pull your sate filed out as a date Steve > -Original Message- > From: Jack [mailto:[EMAIL PROTECTED]] > Sent: 12 July 2001 21:04 > To: [EMAIL PROTECTED] > Subject: [PHP] time compare in my sql > > > Hi folks

RE: [PHP] Alternative to phpMyAdmin

2001-07-12 Thread Steve Brett
mysql front is by far my favourite available from mysql download section. Steve > -Original Message- > From: Steph [mailto:[EMAIL PROTECTED]] > Sent: 12 July 2001 05:01 > To: [EMAIL PROTECTED] > Subject: [PHP] Alternative to phpMyAdmin > > > Hi all! I love php

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Steve Brett
if you install mysql on a windoze machine then you can administer ANY mysql database going through the socket. i do it all the time. Steve > -Original Message- > From: Alexander Skwar [mailto:[EMAIL PROTECTED]] > Sent: 12 July 2001 19:15 > To: Matthew Loff > Cc: '

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Steve Brett
ere in the states. i install mysql and php in windows and then develop at home, then i update the live db throught mysql-front. Steve > -Original Message- > From: Alexander Skwar [mailto:[EMAIL PROTECTED]] > Sent: 13 July 2001 10:15 > To: Steve Brett; Alexander Skwar; Matthew Lof

Re: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Steve Brett
> -Original Message- > From: Alexander Skwar [mailto:[EMAIL PROTECTED]] > Sent: 13 July 2001 10:57 > To: Steve Brett; Alexander Skwar; Steve Brett; Matthew Loff; Steve > Brett; 'Steph'; [EMAIL PROTECTED] > Subject: RE: [PHP] Alternative to phpMyAdmin &g

Re: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Steve Brett
not relevant. where is the problem ? Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: echo vs printf

2001-07-16 Thread Steve Brett
use echo quite a lot. only use printf when i have to put cash amounts in and stuff like that. Steve "Brother" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Why should I use printf instead of echo and vice versa? > > As fo

[PHP] Re: string search

2001-07-16 Thread Steve Brett
have a look at ereg() (regular expression match) functions in manual. they'll do exactly what you want. Steve "Joseph Bannon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I need a search function (if statement) that perfor

[PHP] escape char hell

2001-07-16 Thread Steve Brett
r problems ? new records added to the db now have all html chars translated on input and translated on query. many thanks, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

[PHP] Re: escape char hell

2001-07-16 Thread Steve Brett
sorry posted to wrong group Steve "Steve Brett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi, > > i've got myself into a bit of a mess. i have a database with approx 4000 > records (mysql) and when i pop

Re: [PHP] echo vs printf

2001-07-16 Thread Steve Brett
i seem to remember reading somewhere that print acts like (is) a function, presumably returning false if it cannot print to screen, whereas echo just dumps it. also you can drop vars in print like print "you have $points points"; whereas to echo it you'd have to concatenate the

Re: [PHP] Credit card number checker?

2001-07-16 Thread Steve Sobol
at you want. Those of you who need it should e-mail me. -- JustThe.net LLC - Steve "Web Dude" Sobol, CTO - [EMAIL PROTECTED] Donate a portion of your monthly ISP bill to your favorite charity or non-profit organization! E-mail me for details. -- PHP General Mailing List (http://www.php

Re: [PHP] email counter

2001-07-17 Thread Steve Brett
how about using php mail functions if you've got the support on your server then a simple form to send the mail and you can track everything you need to ... Steve "Jorg krause" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTE

[PHP] Re: mail() help

2001-07-17 Thread Steve Brett
as afr as i know it's a recompile with a path to sendmail ... great when it works though ! Steve "Patrick W. Rateliff" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am getting this error when using the trying to use the

Re: [PHP] Prevent user to close web browser

2001-07-19 Thread Steve Brett
dn't find it on a porn site. ;-) Steve "Slavomir Slizik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > So, try to surf some free erotic,porn sites. They're full of that > window-spawing stuff :( > > slavko > >

[PHP] Re: Sessions + Variables + includes

2001-07-19 Thread Steve Brett
page from then on has this include file '; session_destroy(); exit; } i use the meta http=equiv to direct them to the index page of the site if they are verified. Steve "Dosenbrei" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]

[PHP] Re: Basic database questions.

2001-07-19 Thread Steve Brett
it certainly isn't the case. not as robust as postgresql for 100's of concurrent users but feature rich and easy to use. time to jump off the micro$oft bandwaggon - you'll never look back !! Steve > thanks everyone, > > - seb > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Re: Basic database questions.

2001-07-19 Thread Steve Brett
n get away with installing the three progs and off you go. let me know if you need any further help. Steve "Seb Frost" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks Steve that's exactly the kind of 100% definate answers I

[PHP] Re: Session problems

2001-07-19 Thread Steve Brett
id' resgister the session var first then change / set it. don't actually know if it makes a diff .... Steve "Bernie Kruger" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I use this simple session scrip

[PHP] Re: Session problems

2001-07-19 Thread Steve Brett
another thing you could try is find out where the php session data is stored and see if the session files are there - i think on win2k they are in c:\php\sessiondata ... Steve "Bernie Kruger" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]

Re: [PHP] Re: Basic database questions.

2001-07-19 Thread Steve Brett
i meant for writing your code etc and testing. i generally write stuff on my windows machine and then ftp them to the production server after i've tested/debugges them etc. Steve "Seb Frost" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTEC

Re: [PHP] Re: Session problems

2001-07-19 Thread Steve Brett
you only need to register vars with the session once. Steve "Rudolf Visagie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi Bernie, > > Do a session_register in the second script as well: > > session_start(); &g

Re: [PHP] Help..Parse error

2001-07-19 Thread Steve Edberg
http://www.php.net/manual/en/configuration.php#configuration.file for more info. You can also check your config via the phpinfo() function. - steve At 1:45 AM -0400 7/20/01, Jack Sasportas wrote: >I have some code that runs under php3, but under 4 I get a parse error >on this sp

[PHP] Re: Zipping Output Before Sending To Browser

2001-07-20 Thread Steve Brett
yup. what you need is ob_start("ob_gzhandler"); at the beginning of the bit you want to compress, usually at the top of the script and //ob_end_flush(); to send the output to the browser. bit of a time lag as the browser decompresses but should save you a bomb on bandwidth. check out the php man

Re: [PHP] PHP & MySQL

2001-07-20 Thread Steve Werby
anted to clarify that what Susan suggested will reverse the sort direction which is not what the poster asked for. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: [PHP] Unlink Woes

2001-07-20 Thread Steve Werby
rver. If you're running PHP as a CGI then it runs with the privileges of the user who owns the CGI file. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: [PHP] Displaying tables

2001-07-20 Thread Steve Werby
er to > display all of the tables with all of their information? Get phpMyAdmin from http://www.phpwizards.net/. Or see mysql_list_tables(), mysql_list_fields(), etc. See http://www.php.net/manual/en/ref.mysql.php. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.

Re: [PHP] Mysterious MYSQL Error..

2001-07-22 Thread Steve Edberg
Do you know if you've even made a valid database connection? Try echoing $this->database as well. If that is null, you haven't connected to your database; perhaps the username, password and or permissions were changed, so that you're unable to connect from your PHP program

Re: [PHP] PHP & MySQL

2001-07-23 Thread Steve Brett
'order by text asc' will sort in alphabetical order A-Z .. and your query should be select [campo] from table where campo like 'A%' ... seems like an expensive way of sorting ... i think mysql has natural order sorting functions in there somewhere ... Steve "

[PHP] Re: One2Many Logic Problem - phpMySQL bibliography

2001-07-23 Thread Steve Brett
wouldn't the structure of the database be determined by the fact you have a many to many relationship ? i.e. the two tables would decompose into three with a 'link' table defining the many to may part ? steve "Mike Gifford" <[EMAIL PROTECTED]> wrote in message

Re: [PHP] Using $$ to access a variable

2001-07-23 Thread Steve Edberg
es.variable.php On the other hand, are you absolutely sure that something (other than whitespace) is actually IN $HTTP_POST_VARS['ld_val'] ?? - steve At 5:36 PM + 7/23/01, [EMAIL PROTECTED] wrote: >Please forgive my probably newbie question... >I am cycling thru m

[PHP] Re: declaring variables in PHP???

2001-07-24 Thread Steve Brett
the zend ide @ www.zend.com is a pretty cool debugging env. Steve "René Moonen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I'm using PHP for a few weeks now, so you can imagine that I'm making a lot of typing errors.

[PHP] Re: php stand alone

2001-07-24 Thread Steve Brett
i don't think the last post was right, there is some stuff at phpbuilder about using php with shell access, i guess you could write a shell script that is called from cron ... here you go ... http://www.phpbuilder.com/columns/darrell2319.php3 Steve "Adrian D'Costa&quo

[PHP] IE -> View Source

2001-07-25 Thread Steve Haemelinck
Some sites are able to disable the source view in ie. How do you do that? Haemelinck Steve Personal: Haemelinck.be - Developers Unite :) Junior WebDeveloper http://www.haemelinck.com/ [EMAIL PROTECTED] Work: MCT IT Consulting - Take consulting 2 the next level Junior IT Consultant http

[PHP] Newbie: Simple site search >> To bit more Complex...

2001-07-30 Thread Steve Wright
// no hits echo "Sorry. Search on $searchstr returned no results.\n"; } pclose($fp); } ?> I think it centers around the line whcich contains but am not definate: while( $buffer = fgetss ($fp, 4096 )) { Any help

[PHP] Newbie: Site search, more than one directory

2001-07-30 Thread Steve Wright
// no hits echo "Sorry. Search on $searchstr returned no results.\n"; } pclose($fp); } ?> I think it centers around the line whcich contains but am not definate: while( $buffer = fgetss ($fp, 4096 )) { Any help much appreciated.. Steve Wright

[PHP] file upload problem - urgent help needed

2001-07-31 Thread Steve Brett
does not have permission to write to /foo/bar/tmp'. is there ANY way round this ? Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: Upgrading to Windows 2000

2001-07-31 Thread Steve Brett
instalation under windows 2000 is very simple. just reinstall php. Steve "Amarjit Jutley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > We are presently running PHP on a Windows NT 4.0 platform and all is working > correctly,

[PHP] Re: exec problem

2001-07-31 Thread Steve Brett
the file creates a file called edb-backup_ which is a zipped copy of the dump file. should be simple for you to substitute the mysql dump commands etc. Steve <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi I'm trying to create a scri

Re: [PHP] Re: window.open (javascript)

2001-07-31 Thread Steve Brett
ive used a very similar function and found that javascript like single queted strings passed into it. i.e. java_function('link/to/file') just noticed in the original post that double quotes were used Steve "Dave" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECT

[PHP] Re: Session life time

2001-07-31 Thread Steve Brett
check this in php.ini session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and cleaned up Steve "Sheni R. Meledath" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

[PHP] Re: Upgrading to Windows 2000

2001-07-31 Thread Steve Brett
indeed. i also use the cgi version. Steve "Bernie Kruger" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I am running PHP 4.0.5 on Win2K. The ISAPI module gave me lots of headaches > and crashed the server ever

[PHP] Good Tutorial

2001-07-31 Thread Steve Wright
Hey, I have done a few tutorials, but they aren't very long, and have only covered a small amount of what i need to know. Can anyone recommend any good comprehensive tutorials out thier, and/or any good books that would be worth purchasing. Kind Regards, Steven Wright --

[PHP] HELP!! What wrong with this code...

2001-07-31 Thread Steve Wright
Hey, i am getting an error passed back for this line of code, the rest of the code is below: echo "Your feedback has been sent to mailto:$address";>$name"; the error is: Parse error: parse error, expecting `','' or `';'' in /www/customers/stevewrightonline.co.uk/form/do_sendform.php on line 2

[PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Steve Wright
I have to say, after only being a member of the list for a while that the attitude of B van Ouwerkerk to be disgraceful. Everybody needs help sometimes, and no one can know it all.. so if you don't have anything positive to say, then don't say anything! Thanks for reading, St

Re: [PHP] Re: What tools do you use to develop PHP?

2001-07-31 Thread Steve Wright
I personally use a program called EditPlus, because it supports every darn language that i can think of, Java, C, C++, PHP, Perl, HTMl, etc.. etc... And it is really custimizable too! - Original Message - From: Anton Stroganov <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, Ju

[PHP] Types of table....

2001-07-31 Thread Steve Wright
else clicked while in the process?? Thanks.. Steve

[PHP] Visual Login

2001-07-31 Thread Steve Wright
How can i go about doing a visual login on a web page... instead of the pop up window i have at the min like with .htaccess ?? I apologize if this is in the manual, but i couldn't see it Kind Regards, Steve

[PHP] How can i make it so....

2001-08-01 Thread Steve Wright
Hi, I have modified an authentication script to my own liking, but being new, don't know how to go about my next stage. Once the user has inserted the UN, and PW, it is campared against the MySQL database, nowm what i want to do is get rid of the login form which still appears, and is very an

[PHP] Re: Error using databases

2001-08-03 Thread Steve Brett
check the cache settings in IE and change to check for new version always. sounds like you're reading a cached version of your page. Steve wrote in message news:[EMAIL PROTECTED]... Hi: I'm coding my first programs in PHP using MySQL in Windows. I instaled the Xitami Web Server f

RE: [PHP] another REGEX question

2001-08-03 Thread Steve Edberg
u're interested in little speed tweaks, use single quotes - ' - rather than double quotes - " - here. With double quotes, PHP searches the quoted string for variables or escape characters to replace. -steve > >-Original Message- >From: Julian Simpson [mailto

Re: [PHP] sample or tutorial for conditional pulldown menus

2001-08-07 Thread Steve Werby
7;ve found that it only makes sense when very few target users will have javascript disabled and the potential contents of the select boxes are less extensive than make and model detail. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (ht

[PHP] you might like this

2001-08-08 Thread Steve Wright
> For those of you with a scientific disposition some Theories to ponder > over . especially the cat one > > An American magazine held a competition, inviting its readers to submit > new scientific theories on ANY subject. Below are the winners: > > 5th place (Subject: Probability Theory) >

Re: [PHP] CGI error

2001-08-09 Thread Steve Brett
i tend to get this error when the page being called doesn't exist. check the link and the file name Steve "Phil Driscoll" <[EMAIL PROTECTED]> wrote in message 01080909463405.04245@linux">news:01080909463405.04245@linux... > On Thursday 09 August 2001 09:46, k

Re: [PHP] subroutines?

2001-08-09 Thread Steve Werby
eed to declare the variables global within each function that access them or access the variable via the $GLOBALS array. $var = 'something'; function go() { return $GLOBALS["var"]; } or function go() { global $var; return $var; } echo go(); -- Steve Werby Pres

[PHP] Re: it works at last!

2001-08-13 Thread Steve Brett
oh dear. Steve "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Okay I got it working! > > http://www.futurebird.com/wordstream/index.php3 > > go on give it a try! > > Susan > > > -- > [EMAIL PROTECTED] > ht

RE: [PHP] ucwords Except 'The' 'And' etc?

2001-08-13 Thread Steve Edberg
le to programmatically determine, eg; 'Dr. Martin van Hooten Hears a Who' in this case, van should be lower case, since it isn't referring to a medium-capacity box-like automobile, tennis shoe brand, or naval vanguard. -steve At 11:07 AM -0500 8/13/01, Boget, Chr

Re: [PHP] UPDATE syntax

2001-08-13 Thread Steve Werby
x27;$post[$i]' WHERE > > ID='$counts'" If each row has a unique value for ID then it will only update a single row. When in doubt what is happening store the SQL statement in a var like $sql and then echo $sql to the screen to check it over, pasting into database commandl

RE: [PHP] ucwords Except 'The' 'And' etc?

2001-08-14 Thread Steve Edberg
' : ' ')); foreach ($EXCEPTION_LIST as $Word) { $String = preg_replace("/(\s+)$Word(\s+)/i", "\\1$Word\\2", $String); } # Replace invariants $String = " $String "; foreach ($INVARIANT_LIST as $Word) { $String = preg_rep

Re: [PHP] Instalation

2001-08-14 Thread Steve Brett
i think pgp has a quick install text file that is superb. sorta step-by-step simple and complicated. Steve "Jean-Arthur Silve" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... check de readme or install files provided in each one ! At 15:

[PHP] Re: session security issue

2001-08-14 Thread Steve Brett
got me worried now, are there any problems with security doing it that way Steve "Christian Dechery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have pages that uses session for security that looks something like this:

Re: [PHP] Unix vs PC test for server

2001-08-16 Thread Steve Edberg
rned string, though. - steve At 4:59 PM +0200 8/16/01, Alexander Wagner <[EMAIL PROTECTED]> wrote: >Paul S. wrote: >> I design a website on a PC, and upload it to UNIX. Of course, there >> are always one or two variables that I have to keep track of as to >> w

Re: [PHP] problems with a netscape post

2001-08-19 Thread Steve Lawson
Try giving the form a name? I normally use something like... Any it works in NS 4+ SL - Original Message - From: "Quentin Gillet" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 19, 2001 10:06 AM Subject: RE: [PHP] problems with a netscape post > I have the same pr

Re: [PHP] Errors

2001-08-19 Thread Steve Edberg
then you can test for its existence like so: if (!isset($page)) { $page = false; } or $page = 0...whatever's appropriate. -steve At 4:45 PM +0200 8/19/01, BRACK wrote: >Hi > >I'm getting strange errors if I add >"LoadModule php4_module ../php/sapi/ph

Re: [PHP] while loop with if statement - here's the attachment

2001-08-20 Thread Steve Brett
did you do it again ? :-) pasting you code is ok ... Steve <[EMAIL PROTECTED]> wrote in message BB6D932A42D6D211B4AC0090274EBB1D2EF0EE@GLOBAL1">news:BB6D932A42D6D211B4AC0090274EBB1D2EF0EE@GLOBAL1... > > Here's the attachment - I hate it when I do that! :) >

Re: [PHP] while loop with if statement - here's the code

2001-08-20 Thread Steve Brett
try using mysql_num_rows() to get the number of rows returned by the query. you need to supply it with the identifier for the query not the sql you sent to the query. not exactly sure what you're trying to do though ... Steve <[EMAIL PROTECTED]> wrote

Re: [PHP] while loop with if statement - here's the code

2001-08-20 Thread Steve Brett
okay - read all the code now. this might be a better way: 0) { for ($x=0;$x<$numrows;$x++) { $id=$one["id"]; $title=$one["title"]; $description=$one["description"]; print " $title$description\n \n "; } // end of for } else { print " NO RESULTS\n \n "; } ?> -- PHP Ge

[PHP] Re: Multi-Task on PHP by submitting a form!

2001-08-20 Thread Steve Brett
you're there already. have an if statement on mail.php: if (isset($posted_info)) { // send mail here // do db insert here } // end of if Steve "Jack" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear all > I was

[PHP] Regular Expressions....

2001-08-21 Thread Steve Wright
HEy, i am having major problems trying to work out this regular expression. Regular expressions are still quite new to me, and i don't fully understand them, so please bear with me... thanks! This is what i wanmt to do, turn the following block of text: if (top != self) top.location.replace(sel

Re: [PHP] Sorting IP Address Data

2001-08-23 Thread Steve Edberg
<<8) + $t] = $A; instead, though. If you wanted 'em in REVERSE order, use krsort() instead of ksort(). Usual 'untested code' warnings apply. - steve At 2:15 PM +1000 8/23/01, Chris Fry <[EMAIL PROTECTED]> wrote: >Chris, > >Understand the problem now. &g

Re: [PHP] Sorting IP Address Data (oops!)

2001-08-23 Thread Steve Edberg
in REVERSE order, use krsort() instead of ksort(). Usual 'untested code' warnings apply. - steve -- + Open source questions? + | Steve Edberg University of California, Davis | | [EMAIL PROTECTED]

Re: [PHP] numrows

2001-08-23 Thread Steve Brett
i'd have a look at the table structure. also if you're using <> to denote inequality then use != both of the previous posts are incorrect Steve "Chris Fry" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Shoul

[PHP] PHP object orientation with "Application Frameworks" or "Foundation Class Libraries"

2001-08-23 Thread Orr, Steve
tion? AtDhVaAnNkCsE, Steve Orr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] The future of PHP - object orientation

2001-08-23 Thread Orr, Steve
What kind of PHP application development frameworks, class libraries, or templates are widely used? Is SiteManager any good? How about phplib? Others? Doesn't the future of object oriented PHP depend on good foundation classes? Any comments on PHP object orientation? Steve Orr -- PHP Ge

[PHP] Re: konquerer and php

2001-08-24 Thread Steve Brett
konquerer is krap. :-) only kidding. i seem to remember that konquerer has specific settings for script execution - it may be worth checking out the setup... Steve "Scott" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a d

Re: [PHP] POST problem

2001-08-28 Thread Steve Edberg
#x27;] and $HTTP_POST_VARS['age'] -steve At 10:39 AM -0700 8/28/01, Mashrab Kuvatov wrote: >Hi everybody, >i'm a newie in php, but i have a general understanding >of it. > >Recently, i've installed PHP as a static module on my >Apache-1.3.19 and tried a

RE: [PHP] is_numeric for php3

2001-08-28 Thread Steve Edberg
what i'd >like to see. function is_numeric($Something) { return (string)(1.0*$Something) == $Something; } should work. -steve +----+ | Steve Edberg University of California, Davis | | [EMA

Re: [PHP] Quick TXT document stuff

2001-08-30 Thread Steve Edberg
.StupeedStudios.f2s.com >Home of the burning lego man! > >ICQ: 115852509 >MSN: [EMAIL PROTECTED] >AIM: legokiller666 -- + Open source questions? + | Steve Edberg University of California, Davis | | [EMAIL PROTECTED]

Re: [PHP] Engine Question

2001-09-04 Thread Steve Edberg
PHP4's configuration syntax has changed; see http://www.php.net/manual/en/configuration.php Try using the line php_flag engine on -steve At 11:35 AM -0700 9/4/01, PHP List wrote: >Hi, >I am trying to update my server to php4. Everything seemd to compile fine

Re: [PHP] PHP Redirect in the middle of code?

2001-09-10 Thread Steve Edberg
ly works because CF does output buffering implicitly. So, I'd guess you need to do option (2). -steve At 10:37 AM -0400 9/10/01, Andrew Penniman wrote: >I am trying to figure out how to use PHP to redirect the user to a new >location *after* processing and most likely outputting

Re: [PHP] PHP Redirect in the middle of code?

2001-09-10 Thread Steve Edberg
I learn something every day, here :) According to my McGraw-Hill HTML Programmer's Reference [please, no messages about HTML not being 'programming'!], the META tag _should_ only occur in the container. Of course, we all know how closely browsers adhere to the HTML specs ;P

Re: [PHP] header redirection

2001-09-14 Thread Steve Edberg
lease most more info, and perhaps the relevant parts of the script if possible. By the way, I'm pretty sure you don't need those trailing newlines ("\n\n") there; PHP takes care of that for you. I don't know if that's the source of your problem or not...

[PHP] Re: Get the beginning array number

2001-09-18 Thread Steve Edberg
n this to $value = reset($array); But if you need the key value as well, you (I think) WILL have to do it _lallous' way: reset($array); list($key, $value) = each($array); For more info, see http://www.php.net/manual/en/ref.array.php -steve > >"Brandon

[PHP] Re: excuting several sql statements in one time

2001-09-20 Thread Steve Edberg
y($query, $dbconnect) or die(mysql_error()); Also, you don't need a trailing ';' on the SQL query statement (you DO need it, of course, at the end of the PHP statement). See http://www.mysql.com/doc/I/N/INSERT.html for more information. -steve At 11:58 AM +0200 9

Re: [PHP] Run or execute a php cript within a php cript.

2001-09-20 Thread Steve Edberg
ntrol-structures.switch.php http://www.php.net/manual/en/function.include.php http://www.php.net/manual/en/function.header.php for more information. -steve At 8:46 AM +0200 9/21/01, hvm wrote: >Hi all. > >Is there a command to execute (run) from HTML or a php4 script

[PHP] Re: How to update a variable on a other frame.

2001-09-21 Thread Steve Brett
you need to update the page that the frame displays. call the page and then use 'target=' to direct the output to the frame of your choice. Steve "Hvm" <[EMAIL PROTECTED]> wrote in message 001001c14270$8a563380$0601a8c0@Hans">news:001001c14270$8a563380$06

Re: [PHP] fired!

2001-09-21 Thread Steve Edberg
At 1:49 PM +0200 9/21/01, <[EMAIL PROTECTED]> wrote: >lets have a php-beer for all the dot.com unenployed! > My PHP 4.0.5 doesn't have php_beer() function :( Is that available in CVS tree? -- + Open source questions? -------

[PHP] Re: Legal advice

2001-09-21 Thread Steve Brett
why not just drop access and move to postgresql or mysql. go on .. make the leap; you know you want to Steve "Jon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > We are working with PHP & MYSQL, and we wou

<    6   7   8   9   10   11   12   13   14   15   >