Re: [PHP] Re: A native Windows binding for PHP

2004-07-29 Thread Travis Low
opment of your library more powerful and useful so it will be an advantage for people to buy those extensions and tools from you instead of developing themselves. Regards, Manuel Lemos -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing L

Re: [PHP] Grab a range of rows from a mysql result

2004-07-13 Thread Travis Low
1000+ records from a mysql table that I am breaking up to make my PHP application run faster. I have figured out how to compute the range but I don¹t know how to pull out a group of rows within a range from a mysql result resource. Anyone have any insights into how I can do this in PHP? VR/Tim -- T

Re: [PHP] placing values in html teaxtarea

2004-07-12 Thread Travis Low
calculations I my field called $test ends up containing "This is a test". Here is what I tried: I can add the $test to input like this but not a textarea. Name: Is this possible? Thanks, Doug -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP Gene

Re: [PHP] Get users MAC-address of visitor

2004-06-23 Thread Travis Low
e/she could be logged in using a session the rest of his visit. I could also store the MAC-address of the user in encoded form in a cookie so that i won´t have to retrive the MAC-address "the hard way" on every visit. Comments and tips would be greatly appreciated! Yours supersinerely,

Re: [PHP] Fw:

2004-06-14 Thread Travis Low
ssword and username when i give directly to mysql, it is accepting. Warning: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) in /var/www/html/whatnew/a.php on line 3 Warning: MySQL Connection Failed: Access denied for user: '[EMAIL PROTECTED]' (Using passw

Re: [PHP] php as user apache

2004-06-03 Thread Travis Low
PHP scripts to run as the user and group associated with the apache virtual host? cheers, Travis -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP Coding Standards

2004-06-01 Thread Travis Low
Justin Patrin wrote: Travis Low wrote: [I hate K&R indenting] And I'm one of them. :-) I like the K&R version because it saves verticaly space and most editors can't really handle correct tabbing... Arrggghh...TABS. Don't even get me started on tabs... cheers, Travi

Re: [PHP] Re: PHP Coding Standards

2004-05-30 Thread Travis Low
r there being a document out there that sort of laid it out pretty well. Anyone know where I might find a copy? PEAR has a page in their documentation about coding standards: http://pear.php.net/manual/en/standards.php HTH, Mike -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnst

Re: [PHP] triggering php scripts...

2004-05-30 Thread Travis Low
server? or if a file from a particular directory is downloaded... I don't think you can do that unless the php script is used to access the file or perform the download you speak of. cheers, Travis -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General M

Re: [PHP] ColdFusion / SQL > PHP / mySQL HELP!

2004-05-28 Thread Travis Low
otice I said "designer" not "developer". I want to learn PHP / mySQL but in order to complete this project I also need to understand ColdFusion in order to replicate the site functionality. Any advice on what I should do? Thanks in advance for your help, Chris -- Travis Low <m

Re: [PHP] Re: php and java applets

2004-05-21 Thread Travis Low
ypass the Java access control systems. I suppose I could use https, but does that encrypt the url and post data? I think you have found yourself trapped in the java applet sandbox. You need to create a signed applet. see http://www.radinks.com/java/sandbox/ for a brief guide. all the best -- T

Re: [PHP] Cpanel accounting library

2004-05-21 Thread Travis Low
So all of the stuff you see when you create an account the normal way (using the Cpanel web interface) will be displayed unless you stop it. That's what the flush() and the ob_* stuff does. If you find more information, that would be great. We can trade notes. cheers, Travis -- Travis Low &l

Re: [PHP] why i could not use DB.php?

2004-05-18 Thread Travis Low
gt; > David Oilfield > China Lottery Online Co. Ltd. > Email:[EMAIL PROTECTED] > Mobile:13521805655 > Phone:010-83557528-263 > -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] i need help

2004-05-17 Thread Travis Low
m the following text [i:abcdef] but the inside text is different at time eg abcdef, bcdefg, etc etc how can i trim [i:(some text here)] so that i can replace them with nothing. eg these are to be trimmed. [i:abcdef] [i:bcdefg] [i:xyzab] [i:priftds] how can i trim them.. thanks -- Travis Low <mailt

Re: [PHP] what do '?' and ':' do?

2004-05-17 Thread Travis Low
inition->getModule($obj_type); $module_dir = ($module == "") ? "" : $module."/"; what does the semicolon and the question mark do? TIA R> ----- -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.daw

Re: [PHP] create if table not exists

2004-05-16 Thread Travis Low
asc;'; $sql_create = "CREATE TABLE ".$table." ( id int(11) NOT NULL auto_increment, username varchar(100) NOT NULL, comment text, PRIMARY KEY (id) ); Sorry, I'm not even sure if this is a php thing as much as it is also mysql. - John -- Travis Low <mai

Re: [PHP] New Newbie Question

2004-05-15 Thread Travis Low
hen I go to insert the value into a form like this Time: size="50"> it only displays 2004-05-15 why is this????? Annoying Master Station Log Time: size="50"> -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: SuExec and PHP

2004-05-14 Thread Travis Low
I sent this a couple days ago and haven't heard a peep. Can anyone help me? Or, is there a better place I could be asking these questions? cheers, Travis Travis Low wrote: Greetings. We have a need for our PHP scripts to run as the user and group associated with each Apache virtual d

Re: [PHP] md5() with rand() || Strange results, need help....

2004-05-13 Thread Travis Low
me know. md5() results in a 32 character string. What kind of field are you storing it in? -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.d

Re: [PHP] PHP5 - instanceof

2004-05-12 Thread Travis Low
possible to determine if B is an instance of A without instantiating it? Thanks Martin -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SuExec and PHP

2004-05-12 Thread Travis Low
so I'm getting more lost, not less. Please help! cheers, Travis -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTTP_RAW_POST_DATA

2004-05-11 Thread Travis Low
d mean always. No, no, that's crazy talk. :-) cheers, Travis -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: protecting web page

2004-05-08 Thread Travis Low
tant, you might be able to generate non-printable PDF files, or generate images containing the desired text, or stuff like that. Just to make copying/printing harder. cheers, Travis -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (h

[PHP] Profiling (Was: Re: [PHP] PHP Website Architecture)

2004-05-07 Thread Travis Low
keep them split up locally and combine into one when published live. -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A work around my HTTP_REFERER Prob...

2004-05-07 Thread Travis Low
pying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. *** -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] auto saving data in forms

2004-05-07 Thread Travis Low
fijnd a solution to solve that problem and who can help me. I accept solutions in other langages than PHP like JAVA + XML. thanks, Marc -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: word to pdf via web server ??

2004-05-04 Thread Travis Low
uld probably look at the Adobe Distiller license. Adobe sells a Distiller server for 100 users for $5000, unlimited users for (cough) $15,000. See their website for details. cheers, Travis -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Maili

Re: [PHP] Select from 24 tables

2004-05-01 Thread Travis Low
g about, then I stand corrected, and John Nichel's initial response is all that's needed. A huge table count is often evidence of a need for some refactoring. --------- michal migurski- contact info and pgp key: sf/cahtt

Re: [PHP] php user management functionality

2004-05-01 Thread Travis Low
approach but if we have to rip the functionality out of another app, has anybody seen an app (open source/free) that has a serious login/admin/user management function that we should look at... thanks bruce [EMAIL PROTECTED] -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com&

Re: [PHP] Select from 24 tables

2004-05-01 Thread Travis Low
malized applications such as you suggest are when the customers are asking for quick-and-dirty stopgap solutions. Then it makes sense to optimize for the application writer. However, I have found that stopgap solutions have a way of becoming permanent. These days, I usually turn d

Re: [PHP] Select from 24 tables

2004-05-01 Thread Travis Low
#x27;re trying to, though. Last option is putting your query in a loop and executing it 24 different times, but you _really_ need to just fix the database structure now. -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.

Re: [PHP] PHP and AS/400

2004-04-30 Thread Travis Low
o connect from PHP (in a linux box) to an AS/400 database. I don't even know if I can use ODBC. Have you done this? -William -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and AS/400

2004-04-30 Thread Travis Low
Wow, what a concept. I found this link by searching the PHP site for "AS/400": http://publib-b.boulder.ibm.com/Redbooks.nsf/RedpieceAbstracts/redp3639.html cheers, Travis William Lovaton wrote: Hi, Is there a way to integrate PHP with AS/400?? -William -- Travis Low <

Re: [PHP] making changes on arrays

2004-04-29 Thread Travis Low
own functions to affect changes on values or at least better understand what I'm looking at in other people's examples/comments at the online PHP manual. Thank you in advance. Katie __ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http

Re: [PHP] Re: php mail() scaleability

2004-04-25 Thread Travis Low
What options? cheers, Travis -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about the mail() php function

2004-04-23 Thread Travis Low
om/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] overloaded, overworked ereg statement?

2004-04-23 Thread Travis Low
//preg_match("|>(.*)|i",$regs[1],$temp); eregi("",$file_text,$regs); ereg(">(.*)",$regs[1],$temp); $template_body = $temp[1]; // stuff $document_title and $document_body into the "official" template /* snip */ ?> -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Scripting practices

2004-04-23 Thread Travis Low
Also, for the lazy variable typing. To me, strong typing means pounding the keyboard extra hard. cheers, Travis Travis Low wrote: It's not necessary. If you want to go to that much trouble, I would switch to Java for the speed. I stick with PHP for the shorter development time. c

Re: [PHP] Scripting practices

2004-04-23 Thread Travis Low
first line? Just curious, thanks! Gabe -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Making an app unviewable during system maintainance

2004-04-20 Thread Travis Low
has pg_dump. Both of these are pretty much all you'd need, and neither requires any site downtime. Exactly. Use the DB to make the snapshot, then back up the snapshot. cheers, Travis - michal migurski- contact info and pgp k

Re: [PHP] Making an app unviewable during system maintainance

2004-04-20 Thread Travis Low
tegrity might be a reason. However, I agree -- don't back up the database directly -- use whatever utilities the database provides to dump the database, then back up the dump. Depending on how well the dump utility works, you might be able to do away with the downtime. cheers, Travis

Re: [PHP] Whats faster? text files or mysql?

2004-04-20 Thread Travis Low
ng it in a mysql table? [/snip] Sounds like the perfect opportunity to set up a test! File I/O is always slower. -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sessions getting destroyed for *Some* clients

2004-04-19 Thread Travis Low
High-quality 4x6 digital prints for 25¢ http://photos.yahoo.com/ph/print_splash -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why are Session Variables carried over into a brand new browser window?

2004-04-17 Thread Travis Low
g from the previous browser. Thanks in advance for your help, Bob Bruce, Winnipeg, Manitoba Canada -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Unwanted e-mails

2004-04-16 Thread Travis Low
TO GET THEIR ACT TOGETHER AND FIX THE SYSTEM SO THAT WE C*A*N* UNSBSCRIBE ! I just unsubscribed and re-subscribed, no problems at all. Did I miss anything? :-) cheers, Travis -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PH

Re: [Re: [PHP] PHP editor]

2004-04-15 Thread Travis Low
page... [snip] Your assumption about Google would be incorrect, it has nothing to do with page size as most of their pages are predominately text. See http://www.w3.org/TR/html401/struct/text.html#whitespace for a more detailed dissertation on white space in HTML. -- Travis Low <mailto:[EMAIL PROTECTED

Re: [PHP] PHP editor

2004-04-15 Thread Travis Low
Millions WorldWide... http://search.jobsgrabber.com -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP version usage statistics?

2004-04-14 Thread Travis Low
over netcraft's site. -- Travis Low <mailto:[EMAIL PROTECTED]> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php