Re: [PHP] echo vs. print() performance?

2001-12-14 Thread Jim Lucas
that my site uses. I will try an get that data together by the first of next week. it will show microsecond time lines of include(), requires(), print() echo"", , and other related functions. Lets me know what you would like to see. Jim Lucas - Original Message - From: &qu

[PHP] Re: [PHP-DB] while...if statements???

2001-12-18 Thread Jim Lucas
I would do a mysql_num_row(); on your results to see if it returning anything at all. Jim - Original Message - From: "Jay Fitzgerald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 18, 2001 12:08 PM Subject: [PHP-DB] while...i

Re: [PHP] Error while calling a function

2001-12-18 Thread Jim Lucas
Try putting a closing "?>" php tag just before the final HTML. Jim - Original Message - From: "J.F.Kishor" <[EMAIL PROTECTED]> To: "PHP Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, December 18, 2001 5:26 AM Subject: [PHP] Error while calling a function > hi all, > > I have got a pr

Re: [PHP] OPEN_BASEDIR from user point of view (instead server admin)

2001-12-18 Thread Jim Lucas
php will return you four $vars to work with. check this out. http://www.php.net/manual/en/features.file-upload.php then work with the tmp file and get done with it what needs to be done before the script closes cause php will delete the file when the script is done. jim - Original Message --

Re: [PHP] PHP4 on Windows98 with PWS4

2001-12-18 Thread Jim Lucas
make sure you copy all the correct dll's into the c:\windows\system or system32 directory. the dll's have to be in a location that is included in the window PATH in the autoexec.bat Jim - Original Message - From: "Alex Shi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, Decemb

Re: [PHP] JavaScript & php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-18 Thread Jim Lucas
actually Martin, that is what Martin was doing. href="javascript:function_name()" calls to a js function. my suggestion would be to write it this way. text that way, if the client clicks the link/button before the page is done downloading the page. it won't stop the page from finishing. if yo

Re: [PHP] Working with designers...

2001-12-18 Thread Jim Lucas
hope you don't plan to use that example table in netscape 4.x - Original Message - From: "Mark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 18, 2001 4:10 PM Subject: Re: [PHP] Working with designers... On Tue, 18 Dec 2001 16:00:09 -0800, Fre

Re: [PHP] JavaScript & php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-18 Thread Jim Lucas
CTED]> Sent: Tuesday, December 18, 2001 4:16 PM Subject: Re: [PHP] JavaScript & php question - mainly JS though so slightly OT but hep needed!!! :o) On Tue, 18 Dec 2001 15:58:10 -0800, Jim Lucas wrote: >actually Martin, that is what Martin was doing. >href="javascript:function_na

Re: [PHP] Working with designers...

2001-12-18 Thread Jim Lucas
PHP] Working with designers... > LOL. > > Use Netscape 4. > > Now there's a condtradiction you don't hear every day. > > Mike > > Jim Lucas wrote: > > > hope you don't plan to use that example table in netscape 4.x > > > > - Origin

Re: [PHP] Access rights for php files on Linux?

2001-12-18 Thread Jim Lucas
your scripts have to have to be readable by your apache user/group if it can't read them then it can't run them. now as for being allowed to only view files of yours, you would want to place the apache user in your group. this will give it access to read your files, but so will others running ap

Re: [PHP] Help on dealing with arrays of HTTP_POST vars

2001-12-19 Thread Jim Lucas
in your SearchOrder() function change the for() to a foreach() Jim - Original Message - From: "Carlos Fernando Scheidecker Antunes" <[EMAIL PROTECTED]> To: "PHP-GENERAL" <[EMAIL PROTECTED]> Sent: Wednesday, December 19, 2001 10:15 AM Subject: [PHP] Help on dealing with arrays of HTTP_POST

Re: [PHP] sessions var

2001-12-19 Thread Jim Lucas
as long as the domain of the cookie is set to yoursite.com it will be readable from whateveryouwant.yoursite.com but if the domain is set to www.yoursite.com you won't be able to read it from yoursite.com Jim - Original Message - From: "Mehmet Kamil ERISEN" <[EMAIL PROTECTED]> To: <[EMA

Re: [PHP] Slash problem

2001-12-19 Thread Jim Lucas
it is a thingy called magic quotes. setup in the php.ini file. turn it off and they will go away. or, if you can't add a stripslashes() to every variable that will passed this way. Jim - Original Message - From: "Evansville Scene" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wedn

Re: [PHP] mySQL query question

2008-11-16 Thread Jim Lucas
Chris wrote: Jim Lucas wrote: [EMAIL PROTECTED] wrote: Ok, so just that I am clear, you are SELECTing and pulling all the data that you are submitting in the above INSERT statement from the DB initially, then you are only modifying the confirm_number value and then re- submitting all the

Re: [PHP] Help insert not working, implode errors....

2008-11-17 Thread Jim Lucas
, I would argue that this code never worked, unless you changed the order of the arguments being passed to your implode() calls. The arguments are backwards in all three calls. check out this http://php.net/implode it might give you insight on how to make it work. -- Jim Lucas "

Re: [PHP] implode()

2008-11-18 Thread Jim Lucas
;;} > > someone please help > Including the error that is generated would be a good place to start when asking for help. To us, it is pretty obvious what the problem could be. But the error would help. -- Jim Lucas "Some men are born to greatness, some achieve greatness,

Re: [PHP] Help insert not working, implode errors....

2008-11-18 Thread Jim Lucas
BannerSize']) ) { $BannerSize = implode(',', $_POST['BannerSize']); } else { $BannerSize = $_POST['BannerSize']; } } else { $BannerSize = ""; } The latter one would assume that you would only receive a valid

Re: [PHP] Scheduling scripts?

2008-11-18 Thread Jim Lucas
available. > > Cheers, > > tedd > > I used http://bulldog.tzo.org/webcal/ for my wife and a few friends. Seemed nice and easy to setup. Looks like it is end of life, but they have started a new version, http://www.webcalng.com/ looks pretty much the same. Might give

Re: [PHP] Invalid Arguements

2008-11-19 Thread Jim Lucas
used I got. Terion Why don't you show us a snippet of code that is the form page for this. Let us see what you are trying to describe to us. Even if you switched it to a the name attribute still needs to contain the brackets if you expect to pass more then one field in the same form.

Re: [PHP] reading XML

2008-11-20 Thread Jim Lucas
#38739 Jim Lucas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] reading XML

2008-11-20 Thread Jim Lucas
simplest way to accomplish this small challenge? Thanks in advance. Or this one even http://us2.php.net/manual/en/function.xml-parse.php#83416 Jim Lucas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] adding key-> value pair to an array

2008-12-03 Thread Jim Lucas
le with name $percentage in $row > $percentage = ($browseCount / $totalCount ) * 100; > $row->$percentage = $percentage; > I don't think the above will work either, afaik php doesn't allow you to have variable names start with numbers. Also, there is a high possibility tha

Re: [PHP] adding key-> value pair to an array

2008-12-03 Thread Jim Lucas
$totalCount ) * 100; > Were you intending to just say $row->percentage instead of calling $percentage? >  } > } > > > Please somebody tell me how to achieve this. > Thanks in advance. > Aniket -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: $_POST suddenly empty; $_GET and _$REQUEST fine

2008-12-03 Thread Jim Lucas
t;> >> http://www.newmars.com/test.php >> name=formname enctype="multipart/form-data"> >> >> >> >> > > looks like you already fixed it.. works fine for me on your server: > > array(1) { ["testvar"]=> string(2) &quo

Re: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-04 Thread Jim Lucas
t of php classes that will be able to read the text with the formatting included and convert it to a standard document format. The standard format that it will end up in has yet -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Jim Lucas
("Location: > ViewHomescape_SpecHome.php?AdminID=$AdminID&WorkOrderID=$WorkOrderID&ReturnPage=$ReturnPage"); > } else { > header ("Location: Welcome.php?AdminID=$AdminID&msg=Nothing > works Does it"); > } > } els

Re: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-04 Thread Jim Lucas
Shawn McKenzie wrote: > Jim Lucas wrote: >> Boyd, Todd M. wrote: >>>> -Original Message- >>>> From: Jagdeep Singh [mailto:[EMAIL PROTECTED] >>>> Sent: Thursday, December 04, 2008 8:39 AM >>>> To: php-general@lists.php.net &

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Jim Lucas
or problem. If he has a parse error, it makes no difference where he places the above lines. Nothing is going to work. It should be done via one of the three methods that mention in my other email. Jim Lucas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-05 Thread Jim Lucas
Andrew Ballard wrote: > On Thu, Dec 4, 2008 at 10:35 PM, Jim Lucas <[EMAIL PROTECTED]> wrote: >> I was going to say that I haven't yet decided on what the final output >> format is going to be. Probably either rtf or OpenXML. >> >> How about I ask for sugges

Re: [PHP] Include directive..

2008-12-09 Thread Jim Lucas
... All Your normal stuff ... php_value auto_prepend_file '/path/to/file.php' The above code will include your php file as a standard php include every time someone visits the given VirtualHost block. Hope this helps. -- Jim Lucas "Some men are born to g

Re: [PHP] Include directive..

2008-12-09 Thread Jim Lucas
ender > immediately by e-mail if you have received this e-mail by mistake and delete > this e-mail from your system. If you are not the intended recipient you are > notified that disclosing, copying, distributing or taking any action in > reliance on the contents of this information i

Re: [PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Jim Lucas
$FileName = str_replace("/", "", $FileName); > $FileName = str_replace(".jpg", "", $FileName); > > Well its late friday afternoon here, I'm ready to break away from my > desk...maybe on monday I will be able to get it working (right now o

Re: [PHP] header modify errors

2008-12-15 Thread Jim Lucas
hings I'm missing? > Thanks > Terion > Make sure you have no .htaccess or blocks that are overriding your php.ini settings. Plus, make sure you restart to make the changes take effect. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some

Re: [PHP] Re: header modify errors

2008-12-15 Thread Jim Lucas
"Why not fix the warning instead of hiding it." But that isn't what the OP is asking for. I think the OP understands why it is giving this warning, but is looking for a way to not display the error. Sounds like his production environment is setup to where it does not display th

Re: [PHP] new xampp server problem w/mail

2008-12-15 Thread Jim Lucas
r > installing any software and configuring any files that may need altered in > the server's configuration files such as php.ini etc... > > email me at linia...@yahoo.com if you can help. > > Thanks, > Ian Why is it a requirement to use mail() ?? Why not use a pack

Re: [PHP] new xampp server problem w/mail

2008-12-15 Thread Jim Lucas
Lets keep things on the list! Ian Lin wrote: > Jim Lucas, > > Thank you for your advise! > > It is not necessarily crucia that I use the mail() function, but that > is what I usually use when writing email scripts for my clients because > thier servers all support it. I

Re: [PHP] Phpmyadmin password

2008-12-17 Thread Jim Lucas
your password. > > http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html > > Thank you, > Micah Gersten > onShore Networks > Internal Developer > http://www.onshore.com > > > That is the case, but only if the op is using http auth if they are using config

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Jim Lucas
= mysql_connect() or die(mysql_error()); Mind you that the above is not recommended in production code. But, it works for trying to figure out this type of problem. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them.&quo

Re: [PHP] IE8 and HTML5

2008-12-19 Thread Jim Lucas
27;s a feature and that thrashing was > chrome indexing (read harvesting information) your hard drive. > > Mark > This is why I removed it from my system. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them."

Re: [PHP] Regular expressions (regex) question for parsing

2008-12-22 Thread Jim Lucas
> non-matched lines are saved... > > Any ideas, what's the best way to go about this? Preg_matc, preg_split > or something incorporating explode? > > Rene > Something along the line of this? $line ) { if ( preg_match('|^\$.* %\\\r\\\n$|', $line ) ) {

Re: [PHP] Help with a Search Function

2008-12-24 Thread Jim Lucas
derID FROM pd_textad WHERE WorkOrderID<>'' "; > if (!empty($CustomerName)) { > $sql .= "AND Customer LIKE '%". $CustomerName ."%' "; > } > if (!empty($SalesRep)) { > $sql .= "AND

Re: SV: [PHP] Round to a given value?

2008-12-25 Thread Jim Lucas
Anders Norrbring wrote: On Wed, 2008-12-24 at 20:38 +0100, Anders Norrbring wrote: Rounding an integer to the closest divisor by ten is easy with round() and a negative precision, but I turn out to be lost if I want to round to a given number.. Example, round to the closest 5000, or close

Re: [PHP] What does

2008-12-28 Thread Jim Lucas
i.e., after ?>): > > > > I receive a: > > Parse error: syntax error, unexpected T_STRING > > What's up with that? Apparently the php interpreter is considering > " something else? > > Cheers, > > tedd > short tags are enabled. Disable them i

Re: [PHP] IE Problem Detecting Post Variables

2008-12-31 Thread Jim Lucas
tion... You have your grey button associated with your "Default Theme" button and you have your default button associated with your "Alternate Theme" button Is this correct? -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatne

Re: [PHP] system() Question

2008-12-31 Thread Jim Lucas
ss by reference is, not saying that the function is used that way. My apologies. no worries So help me God, if you two don't stop fighting, I'm going to turn this car around (;-P) Getting in some practice for new little one? :) Happy New Year to all, and to all a safe night

Re: [PHP] Posting Data?

2009-01-02 Thread Jim Lucas
ser, then you should look into the Firebug for FF. It allows you to modify page content and then resubmit it. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by Wil

Re: [PHP] How to count transfered kBytes in File-Download

2009-01-02 Thread Jim Lucas
wnloads 2) how to allow users to make partial downloads any suggestions? Oh, I should note, that the URL's looks like: /?what=music&where=h§ion=foo&name=I_love_php5.ogg and the input to the function is already sanitized. Thanks, Greetings and nice Day/Evening Miche

Re: [PHP] Please point me in the right direction

2009-01-02 Thread Jim Lucas
php and ask if it isn't the best solution? David Hope the above helps. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare -- PHP Genera

Re: [PHP] Re: Re: How to count transfered kBytes in File-Download

2009-01-04 Thread Jim Lucas
Michelle Konzack wrote: Hello Eric, Am 2009-01-04 14:33:37, schrieb Eric Butera: On Sun, Jan 4, 2009 at 1:39 PM, Michelle Konzack wrote: [ '/usr/share/tdphp-vserver/includes/02_functions.inc' ] function fncPushBinary($type='show', $file, $mime='') { $BUFFER=1024;

Re: [PHP] How to count transfered kBytes in File-Download

2009-01-05 Thread Jim Lucas
lling flush() after each echo, just to make sure that they don't run over PHPs memory limit. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML package on PHP

2009-01-07 Thread Jim Lucas
nk you for any hints. > > Best regards, > > Merlin > Give this a shot http://www.cmsws.com/examples/xml/xml2php/xml2php2xml-2005-09-09.tar.gz if you go to http://www.cmsws.com/examples/xml/xml2php/example.php you can see an example of the output -- Jim Lucas "Som

Re: [PHP] can a session be used in a query?

2009-01-07 Thread Jim Lucas
;]; //to print out the value of column > 'var1' for each record > } > }else{ > echo 'No records found.'; >} > ?> > > anyone have ideas for me, the session user is working, and I need to use it > in the query to pull only

Re: [PHP] Adressing XML Objects

2009-01-07 Thread Jim Lucas
know which xml library you are using. i >> believe you said youre running php4 earlier, right? >> >> so which xml library have you settled on? >> >> btw; php4 has DOMXML as a native extension, but the api is a bit >> cumbersome. >> >> -nathan >&

Re: [PHP] Adressing XML Objects

2009-01-07 Thread Jim Lucas
Jim Lucas wrote: > Merlin Morgenstern wrote: >> Hello Nathan, >> >> I upgraded to PHP 5, so I am using nativ support. >> >> Best regards, Merlin >> >> Nathan Nobbe schrieb: >>> On Wed, Jan 7, 2009 at 1:10 PM, Merlin Morgenstern >>

Re: [PHP] redoing website after 7 years

2009-01-07 Thread Jim Lucas
by turning register_globals back on would be of no concern. To me, all the above sounds logical. If I am missing something, please point it out. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II,

Re: [PHP] redoing website after 7 years

2009-01-08 Thread Jim Lucas
Robert Cummings wrote: > On Wed, 2009-01-07 at 16:16 -0800, Jim Lucas wrote: >> Nathan Rixham wrote: >>> Richard Heyes wrote: >>>>> but, I'm more concern does client has to pay the changes/upgrade or >>>>> it's still "my obligati

Re: [PHP] [SOLVED] Re: can a session be used in a query?

2009-01-08 Thread Jim Lucas
tp://ancientstones.com http://earthstones.com > > > Umm, example of the solution that actually works would be great. I understand what you are saying, but the in six months the guy that is having this same/similar problem will be looking at the above code snippet and ask hi

Re: [PHP] header("Location: ") wont show up in logs of either server

2009-01-08 Thread Jim Lucas
gt; Any ideas? > > Make sure you are looking at the right log file. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing

Re: [PHP] mysqli_query and mysqli_fetch_array

2009-01-08 Thread Jim Lucas
$results->close(); } else { die("Query Error: ".$dbc->error . " Q={$q}"); } $dbc->close(); ?> I have never used mysqli_* before, so I'm not sure if this is going to do what I think it is, but it should start you down the road to recovery

Re: [PHP] header("Location: ") wont show up in logs of either server

2009-01-08 Thread Jim Lucas
i can see the data coming back from someserver.com Again, make sure you are checking the right log file. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespe

Re: [PHP] Editing in a text area field

2009-01-09 Thread Jim Lucas
S or PDF or other output mechanisms. > > Consider their input as sacrosanct (except for dangerous/evil input). > > -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V b

Re: [PHP] is_readable() returns 1 if file is still uploading

2009-01-10 Thread Jim Lucas
status? I tried is_readable(), but this only returns false if the file is missing. It will also return false if your user doesn't have permission to read the file. This is the error msg from php: parser error : Premature end of data thank you for any help. regards, merlin -- Jim

Re: [PHP] Need List Advice

2009-01-19 Thread Jim Lucas
elpful contributor to the list in > general will buy you some Brownie Points[tm]. > Hey, are those Brownie Points calculated by "your" software? Isn't that a little weighted to your favor? On a side note: Are you going to bring the weekly summary tool back online any tim

Re: [PHP] New PHP User with a simple question

2009-01-25 Thread Jim Lucas
c-content.html The second is with Javascript and/or CSS http://www.devarticles.com/c/a/HTML/Preloading-HTML-Content-with-CSS/ http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm Hope these help. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some

Re: [PHP] New PHP User with a simple question

2009-01-26 Thread Jim Lucas
imple* answer. If you have to give him provisos >> about security, OOP, or Javascript afterward, fine. >> >> Paul >> >> -- >> Paul M. Foster >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/un

Re: [PHP] profiler web server

2009-01-26 Thread Jim Lucas
soussou97 wrote: > Hi; > > I have a web server (apache 2.2 + PHP5) which process must be watched for > measuring the perf ? > > Regards; All I see here is a statement. Do you actually have a question for us? -- Jim Lucas "Some men are born to greatness, some achiev

[PHP] Re: Re : [PHP] profiler web server

2009-01-27 Thread Jim Lucas
being used. Then using ps I run the following command ps aux If you are running windows, then I'm not sure what you can use. I use a program call Secure Task Manager. I'm sure there are better programs. But have never looked for them. > Regards; > > > > _

Re: [PHP] Empty $_REQUEST

2009-01-27 Thread Jim Lucas
AND passwd='$hashed'"; Change that last line to this: AND passwd=md5('{$passwd}')"; > $result=issue_query($query); > if (pg_num_rows($result)==0) { > $_SESSION['status']='bad'; > header("location

Re: [PHP] Connection error on URI

2009-01-28 Thread Jim Lucas
rks fine. > > Any suggestions would be greatly appreciated. > > Peace, Love & Curly Fries, > Skip > > -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V

Re: [PHP] Re: New to PHP question

2009-01-28 Thread Jim Lucas
', $total); >> ?> >> >> Thanks for the help everyone. > > It has specifically to do with how the browser renders the page. part of > the spec for rendering is that newlines are ignored, and the only way to get > a line to break in a browser window is with the

Re: [PHP] Re: help with end of line charater

2009-01-30 Thread Jim Lucas
y didn't press enter, a \r\n will be added, > and even if they did add press enter on the last line, it'll be stripped > out upon viewing the list of email addresses. > > > Taking your code, reworking it a little, this is what I came up with. Saving Page{$msg}"; ?> Hope this helps -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: help with end of line charater

2009-01-31 Thread Jim Lucas
n or not. > > Cheers, > > tedd > > I don't think majordomo can talk to a DB can it? Or maybe he doesn't want to configure it to do so even if it can. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon

Re: [PHP] Blank page of hell..what to look for

2009-02-02 Thread Jim Lucas
e other way is to cut/paste your code into sections. Cut out a large chunk of it, see if it works, if it does, paste it back in and remove a smaller chunk, rinse/repeat until your find the error of your ways... :) Better yet, use a IDE the does code highlighting. This would point you to the p

Re: [PHP] Is it possible to send POST vars through a header redirect?

2009-02-03 Thread Jim Lucas
gt; > Thanks, T > > No, it is not possible. You will need to look into cURL or something else. But it cannot be done via the header() function. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twe

Re: RES: [PHP] Mutiple SQL request

2009-02-04 Thread Jim Lucas
r. Example: if this runs a logon and you have 100 or 1000 users logging > on at roughly the same time, then you will have contention for the > resources. > > Can you check your indeces and run explain plans on the queries to see if > any of them can be optimised to run quicker? >

Re: RES: [PHP] Mutiple SQL request

2009-02-04 Thread Jim Lucas
y both need to be specified /in the same/ index for and index to be used. Otherwise, some random index might be used. But you will get the best performance if both are listed in the same index. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some

Re: [PHP] Passing an undetermined amount of arguments by reference

2009-02-04 Thread Jim Lucas
, $d); > > Than > > $a = escape($id, a); > > and so forth. > > Does this make sense? Is it possible to do? > > Thanks in advance, > Jay > -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust

Re: [PHP] Passing an undetermined amount of arguments by reference

2009-02-04 Thread Jim Lucas
Jay Moore wrote: > Shawn McKenzie wrote: >> Jay Moore wrote: >>> Jim Lucas wrote: >>>> Jay Moore wrote: >>>>> Greetings list. >>>>> >>>>> Say I have a function that escapes a string before being pas

Re: [PHP] Reg-ex help

2009-02-04 Thread Jim Lucas
[1] => seg [2] => title ) [1] => Array ( [0] => {:seg 'title' cache:} [1] => seg [2] => title [3] => cache ) ) Hope this starts you down the right path. -- Jim Lucas &quo

Re: [PHP] Connect local app to a web app

2009-02-05 Thread Jim Lucas
the data back and save into localhost database. > > Mysql replication... :) -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Maili

Re: [PHP] Connect local app to a web app

2009-02-05 Thread Jim Lucas
Paul >>> >>> -- >>> Paul M. Foster >>> >>> -- >>> PHP General Mailing List (http://www.php.net/) >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> >> You can set up a web service using XML-RPC

Re: RES: [PHP] Connect local app to a web app

2009-02-05 Thread Jim Lucas
, with socks, XML, XML-RPC. > > Thanks > > Zechim. > > -----Mensagem original- > De: Jim Lucas [mailto:li...@cmsws.com] > Enviada em: quinta-feira, 5 de fevereiro de 2009 18:13 > Para: Alpár Török > Cc: Paul M Foster; php-general@lists.php.net > Assunto: R

Re: [PHP] How can I use a function's default arguments but change one of the end ones in the list?

2009-02-05 Thread Jim Lucas
o your thing... } This allowed for us to include/exclude whatever we wanted from the it is a little long winded to get to what you are looking for ( I think ) But it worked for us. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness

Re: [PHP] Read a XML (not a file)

2009-02-06 Thread Jim Lucas
echim > > test.php mind you that the header() call within the include is going to change the default headers(), so be sure to reset the content-type one you come out of the include file. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and

Re: [PHP] preg_match question...

2009-02-06 Thread Jim Lucas
that you need to match on some of the text, give us an example of the text that you are trying to match. And give us examples of the input text you are trying to match to. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon th

Re: [PHP] Re: Reverse IP lookup

2009-02-16 Thread Jim Lucas
esy | OS/2 >>* Killfiling google & banter.com: jonz.net/ng.htm >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > This one too. http://www.robtex.com/ip/XX.XX.XX

Re: [PHP] display_errors and error_reporting not enough?

2009-02-17 Thread Jim Lucas
o set it in every script during runtime as you > mentioned. > I would look at doing this only for a testing area, but not for a production area. If they are one in the same, then you could setup to different sub domains, one for testing and one for production. They can point to the

Re: [PHP] Full versus relative URLs

2009-02-17 Thread Jim Lucas
>> > for that matter, you could use variables to specify the relative path to make it absolute within each of the production and dev environments. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." T

Re: [PHP] php cli memory leak error

2009-02-17 Thread Jim Lucas
ript=./bcom.php > === Total 1 memory leaks detected === > > This is hosted on a FreeBSD 7 machine with: > PHP 5.2.8 with Suhosin-Patch 0.9.6.3 (cli) > > Anyone knows what is happening ?? > I have to mention that the array is printed as expected. > how are you call it? What

Re: [PHP] php cli memory leak error

2009-02-17 Thread Jim Lucas
ents are you passing? etc... >> >> Show us your command line params... >> >> > > I am calling it from the command line like this: > > ./bcom.php -f test -d test -o test > > :-) > > But it really doesn't matter because it seems to leak e

Re: [PHP] Opinions Please, Describing PHP as Web Framework of C and C++

2009-02-17 Thread Jim Lucas
of Assembly language. >>> >>> >> Hahaha that was a good one Shawn. I almost fall of the chair :-) . > > What's so funny? Assembly is just a framework for microcode. > > Cheers, > Rob. So, what is the level that actually polarizes the sectors on th

Re: [PHP] Having trouble with a multidimensional array menu

2009-02-18 Thread Jim Lucas
Daevid Vincent wrote: I'm trying to build a multi-array menu (but open to using classes or something if that makes this easier). Does anyone have a solution already working? I'm very close, but I can't seem to get my "directories" to work and I end up with extraneous blocks. here's what I need

Re: [PHP] Having trouble with a multidimensional array menu

2009-02-18 Thread Jim Lucas
Daevid Vincent wrote: I'm trying to build a multi-array menu (but open to using classes or something if that makes this easier). Does anyone have a solution already working? I'm very close, but I can't seem to get my "directories" to work and I end up with extraneous blocks. here's what I need

Re: [PHP] ms-word reading from PHP on linux O.S

2009-02-23 Thread Jim Lucas
ho $extracted_plaintext; # if you want to see your paragraphs in a web page, do this echo nl2br($extracted_plaintext); fclose($fh); } } This will grab the plain text out of a word document. Version 97' - 2003' It

Re: [PHP] help installing phpDocumentor

2009-02-23 Thread Jim Lucas
rst result is this http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_phpDocumentor.quickstart.pkg.html Is this what you are looking for? -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them.&quo

Re: [PHP] help installing phpDocumentor

2009-02-23 Thread Jim Lucas
jim white wrote: > Jim Lucas wrote: >> jim white wrote: >> >>> I have tried to install phpDocumentor, but am having problems getting it >>> to run. Finding install directions has so far eluded me. Are there any >>> installatio

Re: [PHP] help installing phpDocumentor

2009-02-23 Thread Jim Lucas
Back on the list... jim white wrote: > Jim Lucas wrote: >> jim white wrote: >> >>> Jim Lucas wrote: >>> >>>> jim white wrote: >>>> >>>> >>>>> I have tried to install phpDocumentor, but am having pro

Re: [PHP] syntax

2009-02-24 Thread Jim Lucas
rget=_TOP>http://badge.facebook.com/badge/1542024891.237.919247960.png"; border=0 > alt="Terion Miller's Facebook profile"> > Vince Lombardi - "Winning is habit. Unfortunately, so is losing." > Nobody has asked to confirm, but what format is `stamp`?

Re: [PHP] syntax

2009-02-24 Thread Jim Lucas
Terion Miller wrote: Nobody has asked to confirm, but what format is `stamp`? Unix Timestamp, MySQL Timestamp, MySQL Date stamp??? -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Sce

Re: [PHP] syntax

2009-02-24 Thread Jim Lucas
Jim Lucas wrote: Terion Miller wrote: Nobody has asked to confirm, but what format is `stamp`? Unix Timestamp, MySQL Timestamp, MySQL Date stamp??? -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Nig

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