Re: [PHP] Use

2001-01-14 Thread Brian Clark
Hello Alex, (AB == "Alex Black") [EMAIL PROTECTED] writes: AB> can people give me opinions as to why > From: [EMAIL PROTECTED] (Philip Olson) >> Newsgroups: php.general >> Date: 13 Jan 2001 12:18:08 -0800 >> Subject: Re: [PHP] Use > >> My understanding is : >> >> 1. http://www.php.net/) To u

Re: [PHP] tie string value together

2001-01-14 Thread Brian Clark
This will also work: $Birthdate = "$year$month$day"; And so will this: $Birthdate = "${year}${month}${day}"; Jl> And I will insert value in $Birthdate into table. Jl> cheers Jl> Jack -Brian -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] hello

2001-01-15 Thread Brian Clark
nt to change anything on the server UN LESS IM VERY SOM> VERY SURE<<< Agreed. SOM> Ok well I thank you so much. Hope I helped, and best of luck. -Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: [PHP] Upgrade PHP3 to PHP4

2001-01-15 Thread Brian Clark
Hello TOM, (T == "TOM") [EMAIL PROTECTED] writes: T> I would like to upgrade PHP3 to PHP4 on my Turbo Linux, does anyone T> has experience on this? Not specifically on Turbo Linux, but this may shed some light on the subject: http://www.php.net/version4/migration.php T

RE: [PHP] php'ed mysql query

2001-01-16 Thread Brian Paulson
Try printing the $query1 to the browser and see what it looks like that solves 99% of my Query problems. Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: Christopher Allen [mailto:[EMAIL PROTECTED]] Sent

Re: [PHP] Re: XML, what is that supposed to do?

2001-01-16 Thread Brian White
k or a SAX tool. 2) What I understand about XSLT is a) It is a tree based processor so you have all the limitation of the "DOM" b) It is an absolute pig to write code in by hand but other than that it's fine . Regs Brian White --

Re: [PHP] A little problem

2001-01-17 Thread Brian Clark
Hello Emiliano, (EM == "Emiliano Marmonti") [EMAIL PROTECTED] writes: EM> I have a little problem: Sometimes when you invokes some .php EM> page, appears "could not redefine function...". It looks like a Try: -Brian -- You may be recognized soon. Hide. --

Re: [PHP] Apache .htaccess Help (OT)

2001-01-17 Thread Brian Clark
ttp.conf is set to None, depending on where it's at. http://httpd.apache.org/docs/misc/FAQ.html#htaccess-work -Brian -- In the long run every program becomes rococo - then rubble. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] changed database context message

2001-01-17 Thread Brian Clark
Something along the lines of this?: "X-Powered-By: PHP/4.0.2-dev Content-type: text/html" If so, stick this at the top of your script(s): #!/path/to/php -q (obviously change the /path/to/php) -Brian -- There are two ways to write error-free programs, and only the third one works. -- P

Re: [PHP] Cookies still store old value(Help!!)

2001-01-17 Thread Brian Clark
LL STORE NOTHING AND REDIRECT TO LOGIN PAGE. Can i know HS> what the problem is? If you show us some code, maybe. *hint* :-) HS> Hendry Sumilo -Brian -- Once you understand how to write a program, get someone else to write it. -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Grabbing referring keywords.....

2001-01-17 Thread Brian Clark
ey even use that type of query string. That's why I mentioned, "determine which engine it came from." All wild guesses, but that may lead you in the right direction. -Brian -- Simplicity does not precede complexity, but follows it. -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] php 4.0.5.dev will not read php.ini on NT

2001-01-17 Thread Brian Clark
i file path is set to: X Where X is the base directory. I'm not sure about 4.x's phpfino() saying those exact words, but where ever it says it should be, put it in that directory and try it. R> GRRR!!! R> What's up here? R> Thanks -Brian -- If a listener nods his head when

Re: [PHP] PHP not working on Win95/Apache

2001-01-17 Thread Brian Clark
ddType application/x-httpd-php .php .php3 .phtml -Brian -- Disclaimer: Any errors in spelling, tact, or fact are transmission errors. -- 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

Re: [PHP] Postgres pconnect

2001-01-17 Thread Brian Clark
Hello Wade, (HWM == "H. Wade Minter") [EMAIL PROTECTED] writes: HWM> So, can I change all of the pg_connect calls to pg_pconnect call HWM> and have the pages use persistent connections, or is there HWM> something more that needs to be done? Yes. AFAIK. -Brian -- The tr

Re: [PHP] Session and Cookies

2001-01-17 Thread Brian Clark
n HS> store that by using cookies ,but the problem ,some computer can't HS> store cookies,and it caused redirect to main page. So,that i was HS> asked to use Session Object By ASP people,and i wonder how to do HS> that in PHP? http://www.php.net/manual/en/html/ref.session.h

Re: [PHP] stripping the keywords from a search engine... again...

2001-01-17 Thread Brian Clark
way I'm going to look. :) I wouldn't reinvent the wheel; go do some searching, poke through someone's "stats" code. I'm sure this has been done before in PHP, and I _know_ it's been done in Perl -- which is fairly easy to translate. -Brian -- A)bort, R)etr

Re: [PHP] Ethics question...

2001-01-18 Thread Brian Huddleston
ecurity they probably should've done it). There are (or used to be) some number of publically available Linux boxes in the microsoft.com domain. (Mostly in their research labs.) You should be able to do a web or deja search and find info on them if you are really interested. -Brian -- PHP

Re: [PHP] XML Parser is a bit strict

2001-01-18 Thread Brian White
the list administrators, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy http://www.steptwo.com.au/ [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: [PHP] general CGI question

2001-01-19 Thread Brian Clark
ument. Is that not an option? H> thanks, H> Hrishi -Brian -- I got vision, and the rest of the world wears bifocals. -- Butch Cassidy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

Re: [PHP] File upload on linux

2001-01-19 Thread Brian Clark
ath$the_file_name"); M> } M> } Find out what $the_path is and make sure it exists. -Brian -- Is it possible to feel gruntled? -- 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] Error connecting to MySQL server

2001-01-19 Thread Brian Clark
nning after you get that error? Are you trying to connect locally (localhost), or are you trying to connect to another server running mysqld? This can be cause by any number of things. R> Please Help! R> Thanks R> Rosen Marinov -Brian -- An adequate bootstrap is a contradiction in

Re: [PHP] Good Reads

2001-01-19 Thread Brian Clark
k SB> but it seems to leave a lot out and his examples are somewhat... SB> skewed. I hear Julie Meloni's book is good for beginners, but I've never read it. The Wrox books (red covers with photos) are good, as well. http://www.php.net/books.php (`more info' link under each

Re: [PHP] Help with PHP Shell Scripting

2001-01-19 Thread Brian Clark
php4-latest.tar.gz Make sure you have a good installation of PostgreSQL from: http://www.postgresql.org/software.html Configure: ./configure --with-pgsql=/path/to/postgresql/base You may want --enable-force-cgi-redirect, you decide (http://www.php.net/manual/en/html/security.html#security.

Re: [PHP] Off The Topic But Please Help....

2001-01-19 Thread Brian Clark
# ScriptAliased directories, uncomment the following lines. # # To use CGI scripts: # #AddHandler cgi-script .cgi S> Thanks again S> Statbat -Brian -- A society that will trade a little liberty for a little order will lose both, and deserve neither. --Thomas Jefferson -- PHP General Mailing List

Re: [PHP] PDFLib and PHP and pdf_open_image_file

2001-01-19 Thread Brian Clark
t;pict.gif"); gg> i get the error: Cannot find server or DNS Error (The page cannot gg> be displayed). What's wrong. This sounds more like a server or browser problem to me. I don't think this has anything to do with the pdf* functions. -Brian -- You may be recognized soon.

Re: [PHP] temporary unsubscribe mailing list

2001-01-19 Thread Brian Clark
th of WNL> Jan 2001. -- 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] WNL> Thank you. Your servant, ;-) -Brian -- Programming is an unnatura

Re: [PHP] Newbie : info/tut on XML and PHP

2001-01-19 Thread Brian Clark
umns/joe2907.php3 http://www.phpbuilder.com/columns/ RB> Thanks in Advance. RB> ~Rahul -Brian -- Man who pee on electric fence receive shocking news. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] question on time-based function

2001-01-19 Thread Brian Clark
e a windows machine.. in that case you might be able to do the same thing with some scheduler instead of cron, I'm not sure. -Brian -- Opportunity makes a thief. -Francis Bacon, 1598 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: [PHP] Error connecting to MySQL server

2001-01-19 Thread Brian Clark
| References_priv | enum('N','Y') | | | N | | | Index_priv | enum('N','Y') | | | N | | | Alter_priv | enum('N','Y') | | | N | | +-+---+--

Re: [PHP] Compiling PHP with "--with-apxs"

2001-01-20 Thread Brian Clark
nstall of Apache and try building PHP as a DSO again. But, I would probably make sure it's not getting confused by the multiple apxs scripts first. -Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP] XML Processing Instruction ( was "

2001-01-21 Thread Brian White
At 10:50 AM 1/19/12 +0200, Teodor Cimpoesu wrote: >I was refering to whole story of using ` >-- teodor The "" construct comes from SGML/XML - it is called a "Processing Instruction"(PI). It's general purpose is to allow application to leave pieces of information in the XML that aren't strictly p

Re: [PHP] DBase functions

2001-01-22 Thread Brian Clark
Hello Piotr, (PD == "Piotr Duszynski") [EMAIL PROTECTED] writes: PD> Fatal error: Call to unsupported or undefined function PD> dbase_open() in ... PD> What's the problem? You'll probably need to re./configure PHP with the --enable-dbase option. -Brian -- P

Re: [PHP] oops, little problem with mysql

2001-01-22 Thread Brian Clark
t; Now off course I cannot access the databases, what can I do? -Brian -- 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] Local Path of Script

2001-01-22 Thread Brian Clark
Hello Karl, (KJS == "Karl J. Stubsjoen") [EMAIL PROTECTED] writes: KJS> How do I obtain the path of the local script? Or do I have to KJS> build it from the $DOCUMENT_ROOT? I think this is specific to Apache, but try $SCRIPT_FILENAME -Brian -- Syntactic sugar causes ca

Re: [PHP] Newbie: array help....

2001-01-22 Thread Brian Clark
Hello Brian, (BVB == "Brian V Bonini") [EMAIL PROTECTED] writes: BVB> That's what I thought, which seemed to be the obvious BVB> however, when I tried that it returns an error. BVB> "Warning: Variable passed to each() is not an array or object in pagetop.

Re: [PHP] upload files from the local PC/UNIX to the web sever

2001-01-22 Thread Brian Clark
w.php.net/manual/en/html/features.file-upload.html http://www.php.net/manual/en/html/feature-fileupload.multiple.html -Brian -- Caution: Cape does not enable user to fly. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

[PHP] What "PHP" Stands For....

2001-01-22 Thread Brian White
ich makes more sense to me. Anybody know the truth? Regs Brian White - Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy http://www.steptwo.com.au/ [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL P

Re: [PHP] What "PHP" Stands For....

2001-01-22 Thread Brian White
Ok - thanks. That has satisfied my curiosity At 03:32 PM 1/22/01 -0800, jeremy brand wrote: >It has also been come to be known as "People hate perl". ... and tickled the old sense of humour. Regs Brian ----- Brian White Step Two Designs Pty Ltd - SGM

Re: [PHP] Getting warning using split

2001-01-23 Thread Brian Clark
Hello Matt, (MW == "Matt Williams") [EMAIL PROTECTED] writes: MW> $query_string = split("+",$search); $query_string = explode('+', $search); -Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: [PHP] Turning off scrollbar

2001-01-23 Thread Brian Clark
validator.w3.org/ Your content is causing the page to scroll horizontally. It has nothing to do with PHP or any browser settings. Wac> TIA Wac> Ade -Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: [PHP] Non-existant folders??

2001-01-23 Thread Brian White
atically each >time taking what looks like a folder name and making a call to the db using >this name as a variable. >easy,difficult or impossible? >thanx, >adrian > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For addit

[PHP] Re: XML Processing Instruction ( was "

2001-01-23 Thread Brian White
arguable and I am not going there ) - Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy http://www.steptwo.com.au/ [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Editors, again (was Re: [PHP] Beginner in php!)

2001-01-24 Thread Brian White
University of California, Davis | >| [EMAIL PROTECTED] Computer Consultant | >| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu/ | >+-- FBI Special Agent Dale Cooper --

Re: [PHP] Greek PHP mailing list

2001-01-24 Thread Brian White
xactly run a server on your >calculator. =) Are you sure - I thought HP calculators could do it as well? ( Now drifted WAY off topic for the list ... ) Regs Brian ( an engineer by training ... ) - Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultanc

Re: [PHP] Search for the documentation

2001-01-25 Thread Brian Clark
he 'Argument' line in 'Configure User Tools' you could also use php $(CurSel) but you'll have to highlight a word before you hit Ctrl+[number]. If you're not using IE, this should still be pretty easy to configure. If anyone can't get this to work, let me

Re: [PHP] Search for the documentation

2001-01-26 Thread Brian Clark
x27;m in the Beta program), but I'm not completely sure when this new feature was added (some where between 2.00 and 2.10a): If you go into settings and syntax for PHP in Preferences, I see a 'function pattern' text field which has: ^[ \t\s]*function[ \t\s].*\([^;]*$ And I'

Re: [PHP] Search for the documentation

2001-01-26 Thread Brian Clark
(BC == "Brian Clark") [EMAIL PROTECTED] betokened: BC> I'm using Beta 2.10a (I'm in the Beta program), but I'm not BC> completely sure when this new feature was added (some where BC> between 2.00 and 2.10a): BC> If you go into settings and syntax for PHP

[PHP] Why Arrays in Forms? ( Was "Accessing variables from a form" )

2001-02-21 Thread Brian White
ike this: >... >echo ''; >echo ''; >echo ''; >... >?> Regs Brian White - Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTE

Re: [PHP] image orientation/resizing images

2001-02-21 Thread Brian White
t_image_type']}"); >echo $prod_r['product_image']; >exit(); > } > } > Header('Content-Type: image/gif'); > readfile("$DOCUMENT_ROOT/image/nopic.gif"); >?> > >index.php > echo " > > "; >?> - Brian White Step

Re: [PHP] Why Arrays in Forms? ( Was "Accessing variables from a form" )

2001-02-21 Thread Brian White
That's the point - why do I have to have 'name="myArray[]"'. Why do I have to specify the '[]'s at all? Brian At 13:44 21/02/2001 -0800, jason cox wrote: >You don't have to specify them as "PHP arrays". You >can do something like:

[PHP] PHP4 directives in httpd.conf not working

2001-02-25 Thread Brian White
/my/phpinc/path" 3) php3_include_path "/my/phpinc/path" 4) php4_include_path "/my/phpinc/path" None of them have worked - I can't even restart Apache with them in place. "/my/phpinc/path" definitely exists. What am I doing wrong? Regs Brian White ---

RE: [PHP] Tutorial?

2001-03-02 Thread Brian Paulson
You might also go to http://www.devshed.com they have a very good php section. For code to look at go to http://www.weberdev.com/ or http://www.zend.com Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: Jeff

Re: [PHP] Stripping HTML selectively?

2001-03-02 Thread Brian Clark
PHP 3.0.13, PHP4B3." -Brian -- Please do not carbon copy me on list replies. -- 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] any way to count subscribers to PHP lists?

2001-03-03 Thread Brian Clark
his may provide some of those statistics: http://www.zend.com/cgi-bin/m_stats.pl?list=php-general&date=200101 http://www.zend.com/cgi-bin/m_stats.pl?list=php-general&date=200102 http://www.zend.com/cgi-bin/m_stats.pl?list=php-general&date=200103 January 2001, February 2001, and March 200

Re: [PHP] anchor "#" not working?

2001-03-04 Thread Brian White
;tia! >andrew > > > >-- >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] - Brian White

Re: [PHP] anchor "#" not working?

2001-03-04 Thread Brian White
To: [$i] "; } ?> Generated Anchors Generated Anchor number $i \n"; } ?> - Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http:

Re: [PHP] anchor "#" not working?

2001-03-04 Thread Brian White
Well, that came back to me as Garbage, so Just in case - here it is as an attachment. (I hope this works .. ) At 12:09 PM 3/5/01 +1100, Brian White wrote: >OK. The Following code , when put in a file called "anchortest.php". Seems >to work >properly. Might be a

RE: [PHP] HTML book recommendation

2001-03-08 Thread Brian White
. However, I am not really in a position to judge how good it is to "learn" from. Regs Brian White > > This is a bit off-topic, but I'm curious what you PHP'ers would > recommend as > > a good HTML book. I think I need to learn some stylesheet stuff and the >

RE: [PHP] Not isset

2001-03-09 Thread Brian Paulson
try if(!(isset($order))) { $order=$Table."ID"; } hth Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: Mike [mailto:[EMAIL PROTECTED]] Sent: Friday, March 09, 2001 1:34 PM

Fwd: RE: [PHP] HTML book recommendation

2001-03-09 Thread Brian White
>From: "Greig, Euan" <[EMAIL PROTECTED]> >To: Brian White <[EMAIL PROTECTED]> >Subject: RE: [PHP] HTML book recommendation >Date: Fri, 9 Mar 2001 12:00:19 - >X-Mailer: Internet Mail Service (5.5.2650.21) > >I have the OReilly book on Style Sheets an

[PHP] ob_gzhandler strange behavior?

2001-03-12 Thread Brian DeFeyter
I'm running 4.0.4 with two patched files from CVS to fix the gzhandler memory leak. I'm using 'output_handler = ob_gzhandler' in my php.ini to compress output, however I notice that it usually doesn't work. I'll load a page, which will be uncompressed.. then reload it and it comes back compresse

[PHP-CVS] cvs: php4 /ext/sybase php_sybase_db.c php_sybase_db.h

2001-03-15 Thread Brian Bruns
camber Thu Mar 15 17:21:31 2001 EDT Modified files: /php4/ext/sybasephp_sybase_db.c php_sybase_db.h Log: sybase_affected_rows implementation submitted by John F. Dumas <[EMAIL PROTECTED]> Index: php4/ext/sybase/php_sybase_db.c diff -u php4/ext/sybase/p

Re: [PHP] PHP without a webserver

2001-04-14 Thread Brian Clark
esn't need a webserver as an intermediary. It doesn't. You don't have to have a web server installed in order to use PHP. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please do not carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-m

Re: [PHP] HTML and PHP?

2001-04-14 Thread Brian Clark
Hi Steve, @ 11:34:26 PM on 4/13/2001, Steve Werby wrote: ... > echo << > Yes, echo can use here-docs! Is it really that *hard* to take 1 minute to > test for yourself? ;-) > And you can use whatever marker (the 'STOP' above and below) you choose. > Just make sure you don't indent the closing

Re: [PHP] Supplied argument is not a valid MS SQL-Link resource

2001-04-14 Thread Brian Clark
uld not connect to the mssql server"); > $ThisConnect=mssql_select_db('My_Database',$Conn) or die("Could not select My_Database"); > $QueryString="select id, name from my_table"; > $Test=mssql_query($QueryString, $ThisConnect) or die("Could query

Re: [PHP] PHP without a webserver

2001-04-14 Thread Brian Clark
: php -q script.php And read about $argc and $argv. If you're familiar with C, those shouldn't be a problem. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTEC

Re: [PHP] user info?

2001-04-14 Thread Brian Clark
you can't depend on something like IP addresses or hostnames to build Unique IDs because of things like proxies. And I wouldn't depend solely on cookies either. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (htt

Re: [PHP] Any one have PHP voteBOOTH source code...?!?

2001-04-14 Thread Brian Clark
here: http://www.hotscripts.com/ -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- 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-m

Re: [PHP] Forcing Case

2001-04-14 Thread Brian Clark
manual/en/function.ucwords.php :) -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- 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 administ

Re: [PHP] antifraud logic for voting poll, banner clicks

2001-04-14 Thread Brian Clark
rd.net/ -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- 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] HTML and PHP?

2001-04-14 Thread Brian Clark
for large amounts of HTML. If you needed to interpolate variables, then you'd probably want to print(), echo() or use here-doc. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] PHP without a webserver

2001-04-14 Thread Brian Clark
.php.net) or just use a HTML, PHP and a web server. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

Re: [PHP] A tricky problem

2001-04-14 Thread Brian Clark
TABLE. How can I delete this info when the user > leaves or close the browser? You don't. Just store the age of the session (date,time,whatever) in the table along with the other information. Then, when someone visits the site, the dates are checked in the table and the old entries are cleared.

Re: [PHP] What's XML's Purpose??

2001-04-14 Thread Brian Clark
php-general&m=97969195010857&w=2 Use the 'next in thread' link to follow the thread. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: [PHP] What's XML's Purpose??

2001-04-14 Thread Brian Clark
les that are easy to generate and read (by a computer), that are unambiguous, and that avoid common pitfalls, such as lack of extensibility, lack of support for internationalization/localization, and platform-dependency." http://www.w3.org/XML/ -Brian -- PGP is spoken here: 0xE4D0C7C8 P

Re: [PHP] Sorry :(

2001-04-14 Thread Brian Clark
7;re far more likely to become successful with PHP. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- 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] 2 Different Mysql Server Connection Problem

2001-04-14 Thread Brian Clark
Hi Mesut, @ 6:19:04 PM on 4/14/2001, Mesut TUNGA wrote: ... > Warning: MySQL Connection Failed: Can't initialize character set 30 > (path: default) in /home/user/public_html/createtable.php on line 2 http://www.mysql.com/doc/C/a/Cannot_initialize_character_set.html -Brian -- PG

Re: [PHP] converting DATETIME to a readable date.

2001-04-14 Thread Brian Clark
ons correctly: Your original code gives me the same error, but the above code functions normally for me. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Display Formatted Query Results

2001-04-14 Thread Brian Clark
zip varchar(14) NOT NULL, >day char(3) NOT NULL, >date varchar(25) NOT NULL, >time varchar(25) NOT NULL, time and date could be combined. You can use PHP's date conversion functions to convert the date and time into any format you'd like, or vise versa. >phone varchar(1

Re: [PHP] search string

2001-04-15 Thread Brian Clark
Hi Joseph, @ 12:08:46 PM on 4/15/2001, Joseph Bannon wrote: > What is the function to search a string? Basically, I want search a string > (a url) to see if it has "www.yahoo.com" in it and if yes, tell the user > their submission cannot be accepted. -Brian -- PGP is spok

Re: [PHP] test

2001-04-15 Thread Brian Clark
Hi George, @ 7:19:12 PM on 4/15/2001, george wrote: ... > User-Agent: MT-NewsWatcher/3.1 (PPC) > Subject: [PHP] test > Just a test Use news://alt.test next time, please. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mai

Re: [PHP] limiting page for printing

2001-04-15 Thread Brian Clark
he next half of the second sheet or something? I don't understand what you're saying here. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: [PHP] Creating thumbnails

2001-04-15 Thread Brian Clark
if the server has ImageMagick or NetPBM installed. You can use either of those to create thumbnails using system(). -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] store array in a file?

2001-04-15 Thread Brian Clark
e way is to implode() the data from an array into a single line (separated by whatever you wish), then write the line to the file on disk. http://www.php.net/manual/en/function.implode.php > - any way to make the array global once loaded? By using global? http://www.php.net/manual/it/languag

Re: [PHP] Access/SQL Server?

2001-04-15 Thread Brian Clark
Hi Bob, @ 2:40:21 PM on 4/15/2001, Bob Clingan wrote: > What to I need to do/configure in order for PHP 4 to be able to > connect to Access and/or SQL Server databases? http://www.php.net/manual/en/install.configure.php#install.configure.databases -Brian -- PGP is spoken here: 0xE4

Re: [PHP] unregister part of array in session

2001-04-15 Thread Brian Clark
Hi Tobias, @ 7:01:41 PM on 4/15/2001, Tobias Talltorp wrote: ... > I tried this... Didn't work: > session_start(); > session_unregister("array[one]"); ?>> Why not save the values to a temp variable, destroy the session, unset the value you want to unset, t

Re: [PHP] MySQL Data to a HTML-Form

2001-04-15 Thread Brian Clark
he form fields: -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- 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] store array in a file?

2001-04-15 Thread Brian Clark
@ 8:12:51 PM on 4/15/2001, Brian Clark wrote: ... > http://www.php.net/manual/it/language.variables.scope.php Oops. replace 'it' with 'en' -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (

Re: [PHP] unregister part of array in session

2001-04-15 Thread Brian Clark
@ 8:18:31 PM on 4/15/2001, Brian Clark wrote: ... > Why not save the values to a temp variable, destroy the session, > unset the value you want to unset, then register it again? Well I take that back. Read the first two comments here: http://www.php.net/manual/en/function.session-uns

Re: [PHP] search string

2001-04-15 Thread Brian Clark
submission cannot be accepted"; > } else { > print "You are good"; > } ... I doubt there is a need to use regular expressions just to find out of a string has yahoo.com in it. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP G

Re: [PHP] a quick date and session id question

2001-04-15 Thread Brian Clark
this? Yes, with strtotime(): ... > Secondly, Anyone know fof a good tutorial explaining what sessionid's > in php are for and how to use them?? Try here: <http://www.phpbuilder.com/columns/mattias2105.php3> -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon c

Re: [PHP] a quick date and session id question

2001-04-15 Thread Brian Clark
@ 10:56:48 PM on 4/15/2001, Brian Clark wrote: ... > function decipherDate($string, $format) > { Oops, you'll probably want to give $format a default value if one isn't passed. And maybe change the returns if you want to do something like: if(!decipherDate('blah')

Re: [PHP] Want a Good Book for Ref on PHP

2001-04-15 Thread Brian Clark
1 Though it's not something that teaches PHP from the ground up, it's one of the best PHP books that I own. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTEC

Re: [PHP] cookies

2001-04-16 Thread Brian Clark
n/function.setcookie.php Read Example 2. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the lis

Re: [PHP] PHP3 & PHP4 in apache?

2001-04-16 Thread Brian Clark
migration.php#migration.php4.with-php3 -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the li

Re: [PHP] cookies

2001-04-16 Thread Brian Clark
single file, I believe, called cookies.txt in a sub-directory of Netscape's installation directory. In Opera, I have no idea. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-16 Thread Brian Clark
socket, there's not the network layer in > the way which has to be taken care of. > Is this correct? No earthly idea. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [

Re: [PHP] File open Question?

2001-04-16 Thread Brian Clark
Hi David, @ 7:21:15 PM on 4/16/2001, David Serrano wrote: > Can you open a simple text file and store each line of that file in it's own > part of an array? -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing

Re: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-16 Thread Brian Clark
t] > Now, when I connect thru a socket, is the datatransfer between PHP > and MySQL faster than when I connect via a (loop-)network? No idea. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] File open Question?

2001-04-16 Thread Brian Clark
p http://www.php.net/manual/en/function.fgets.php http://www.php.net/manual/en/function.fread.php -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

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