Re: [PHP] store array into session variable and get it back later

2008-10-01 Thread Larry Brown
how about: $bci = $_SESSION['bc']; foreach($bci-crumb as myCrumb) { echo br/value['name'] :.$myCrumb['name'].br/; echo br/value['link'] :.$myCrumb['link'].br/; echo br/value['id'] : .$myCrumb['id'].br/; } You are wanting to loop through the crumbs rather than looping objects. There

Re: [PHP] fsockopen in phpmailer and tls

2008-09-07 Thread Larry Brown
On Sat, 2008-09-06 at 14:53 -0400, Robert Cummings wrote: On Sat, 2008-09-06 at 14:38 -0400, Larry Brown wrote: On Sat, 2008-09-06 at 14:06 -0400, Robert Cummings wrote: On Sat, 2008-09-06 at 14:02 -0400, Larry Brown wrote: OK. So I broke down and re-created my mail server due

Re: [PHP] fsockopen in phpmailer and tls

2008-09-06 Thread Larry Brown
On Fri, 2008-09-05 at 00:58 -0400, Robert Cummings wrote: On Thu, 2008-09-04 at 23:20 -0400, Larry Brown wrote: I am having a ball of a time trying to figure this one out... If anyone has dealt with this before I'd love to get some morsels of wisdom from you... I am trying to connect

Re: [PHP] fsockopen in phpmailer and tls

2008-09-06 Thread Larry Brown
On Sat, 2008-09-06 at 14:06 -0400, Robert Cummings wrote: On Sat, 2008-09-06 at 14:02 -0400, Larry Brown wrote: OK. So I broke down and re-created my mail server due to its age. I am now running the latest sendmail and it is still failing. The message in the sendmail log

[PHP] fsockopen in phpmailer and tls

2008-09-04 Thread Larry Brown
might be a red herring. -- Larry Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fun with SOAP.

2008-04-30 Thread Larry Brown
can handle attachments? I'd really rather not mess around with nusoap or the pear soap package. I don't see anywhere on the manual where it is possible to download attachments. Hopefully someone else has dealt with this before. -- Larry Brown [EMAIL PROTECTED] -- PHP General Mailing

Re: [PHP] validating mysql bound date

2008-03-07 Thread Larry Brown
|| $month != $m || $day != $d){ //handle invalid date input here } If you do all of that (which is really 5 lines of code) you should be pretty sure it's a correct/valid date. On Tue, March 4, 2008 10:12 pm, Larry Brown wrote: Thanks, I ended up doing: $incomingQuestDatePieces

[PHP] validating mysql bound date

2008-03-04 Thread Larry Brown
Does anyone know if there is a builtin function for checking the formatting of an incoming date to verify it is /MM/DD. I know how to convert between formats but want a quick way to check an incoming variable to ensure it will be handled properly by mysqld. Larry -- PHP General Mailing

Re: [PHP] validating mysql bound date

2008-03-04 Thread Larry Brown
Its been a long week already... -MM-DD. On Tue, 2008-03-04 at 20:16 -0500, Larry Brown wrote: Does anyone know if there is a builtin function for checking the formatting of an incoming date to verify it is /MM/DD. I know how to convert between formats but want a quick way to check

Re: [PHP] validating mysql bound date

2008-03-04 Thread Larry Brown
to verify correct format of the date when working with mysql that there might be some built in that is faster etc. Thanks though... On Wed, 2008-03-05 at 14:34 +1100, Chris wrote: Larry Brown wrote: Its been a long week already... -MM-DD. On Tue, 2008-03-04 at 20:16 -0500, Larry Brown

[PHP] reading incoming xml

2008-03-01 Thread Larry Brown
I am running apache with php. I set up a curl script to send an xml request to the php page I'm authoring and want to handle the xml on the incoming message. My $_POST array is empty though. Is there some other place I should be looking? $_SERVER shows the incoming message as a post but again

Re: [PHP] reading incoming xml

2008-03-01 Thread Larry Brown
'.$vendorCompanyID.'/Data' in the $data output. I do get the hello so I know I am hitting the server and when it is set to $_SERVER as listed above I get the expected array but $_POST is empty. Larry On Sat, 2008-03-01 at 16:59 -0500, Nathan Nobbe wrote: On Sat, Mar 1, 2008 at 4:12 PM, Larry Brown [EMAIL

Re: [PHP] reading incoming xml

2008-03-01 Thread Larry Brown
sent by libcurl. Use CURLOPT_HTTP_VERSION to change HTTP version. -nathan -- Larry Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] reading incoming xml

2008-03-01 Thread Larry Brown
CURLOPT_HTTP_VERSION to change HTTP version. -nathan -- Larry Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] reading incoming xml

2008-03-01 Thread Larry Brown
Lauderdale, FL 33308 | TEL 954-607-4207 | FAX 954-337-2695 | Email: [EMAIL PROTECTED] | MSN Chat: [EMAIL PROTECTED] | SKYPE: bestplace | Web: bestplace.biz | Web: seo-diy.com -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Saturday, March 01, 2008 9:43 PM

[PHP] XML encoding variable simpleXML on Linux

2008-02-22 Thread Larry Brown
I am using PHP on Linux to communicate with an XML peer. I pull and push documents from and to their server. On the console I use UTF-8 as far as I can tell. When I send these documents should my leading tag read: ?xml versionnn=1.0 encoding=UTF-8? or is the encoding done by PHP and how do I

Re: [PHP] XML encoding variable simpleXML on Linux

2008-02-22 Thread Larry Brown
) On Feb 22, 2008, at 4:52 PM, Larry Brown wrote: I am using PHP on Linux to communicate with an XML peer. I pull and push documents from and to their server. On the console I use UTF-8 as far as I can tell. When I send these documents should my leading tag read: ?xml

[PHP] accessing one object's attribute from another

2007-09-09 Thread Larry Brown
Hi all, I've be developing with a structured approach for a long time and am working at improving my site by adding some classes etc. I however, am running into an odd thing that I can't figure out what a reasonable search syntax would yield the desired solution. The problem is as follows:

Re: [PHP] accessing one object's attribute from another

2007-09-09 Thread Larry Brown
On Mon, 2007-09-10 at 12:45 +1000, Chris wrote: Larry Brown wrote: Hi all, I've be developing with a structured approach for a long time and am working at improving my site by adding some classes etc. I however, am running into an odd thing that I can't figure out what a reasonable

RE: [PHP] foreach loop changed after 4.3 - 4.4 upgrade

2005-08-24 Thread Larry Brown
Yes, tested and verified. It was the accelerator. They have multiple binaries, one for each version of PHP. Matching the new binary to the new version of PHP solved this problem. Thanks again. Larry On Tue, 2005-08-23 at 20:35, Larry Brown wrote: Sorry, that last one went out without

RE: [PHP] foreach loop changed after 4.3 - 4.4 upgrade

2005-08-23 Thread Larry Brown
On Tue, 2005-08-23 at 05:30, Ford, Mike wrote: -Original Message- From: Larry Brown To: php Sent: 23/08/05 02:28 Subject: [PHP] foreach loop changed after 4.3 - 4.4 upgrade I had a foreach loop working on an array as such: $multiarray = array(array('person','person'),array

RE: [PHP] foreach loop changed after 4.3 - 4.4 upgrade

2005-08-23 Thread Larry Brown
Sorry, that last one went out without a comment. I think this is most likely the cause. I haven't dug back into it yet to verify, but it makes the most sense. Thanks everyone... Larry On Tue, 2005-08-23 at 05:30, Ford, Mike wrote: -Original Message- From: Larry Brown To: php Sent

[PHP] foreach loop changed after 4.3 - 4.4 upgrade

2005-08-22 Thread Larry Brown
I had a foreach loop working on an array as such: $multiarray = array(array('person','person'),array('another','another')) the array was put through foreach($multiarray as $subArray){ do something with array } on each loop I would see $subArray= array([0] = 'person',[1] = 'person') and then

Re: [PHP] foreach loop changed after 4.3 - 4.4 upgrade

2005-08-22 Thread Larry Brown
I found that the only way to get the function to behave is to add the key... foreach($multiarray as $key=$subArray) Now it displays as it previously did where $subArray is concerned. Is there something I'm missing here? Was I the only person not using keys? On Mon, 2005-08-22 at 21:28, Larry

[suspicious - maybe spam] [PHP] [suspicious - maybe spam] detecting a leading hyphen from post data

2005-03-20 Thread Larry Brown
I know this is pretty petty, but it is a sunday and I'm missing this for some reason... I'm trying to detect a leading hyphen in an element of an array. I've been using strpos to find strings and if getting 1 as the result, I know it was at the beginning of the string. However, -, \-, nor /^-/

Re: [PHP] Re: Printing invoices

2004-06-20 Thread Larry Brown
I would highly recommend pdf. I use it for different reports. I use pdflib which my employer has gratiously afforded; however, I believe there is an open source version. I don't know how well it works, but pdflib creates some really attractive results. Larry. On Sun, 2004-06-20 at 19:33,

RE: [PHP] mail() problem

2004-06-02 Thread Larry Brown
Sounds like a problem for the maintainers of the spam blocking software? You can't correct the problem with the headers if you don't know what the spam software is objecting to. It may be objecting to the fact that the source is 127.0.0.1? -Original Message- From: Rick [mailto:[EMAIL

RE: [PHP] Simple preg I think

2004-05-30 Thread Larry Brown
That works for me... $testVal = this is the ./command; if(preg_match(/\.\//i, $testVal)) { echo hello; } This printed hello, then I removed the slash and it did not match and did not print hello. Sounds like it is a logic problem, or the variable is not arriving as you expected.

[PHP] array key starting with digit ending with string

2004-05-27 Thread Larry Brown
I have an unusual situation where I have to communicate with an MS based soap server. They have named one of their variables with a name leading with a 1 such as 1variable. Nusoap loads the variable descriptions from the wsdl document and compares the variable names I am trying to send with the

RE: [PHP] session var puzzle

2004-04-18 Thread Larry Brown
In the last pair of examples where it fails, you know you are first assigning the value of $Data['ID'] to the $_SESSION['CategoryID'] and the over-writing that value with the value of intval($Data['ID'])? Why are you assigning $Data['ID'] to it if you are going to overwrite it? If those other

RE: [PHP] how to validate a domain

2004-04-13 Thread Larry Brown
According to google there are several soap services that offer whois. It looks like a lot of them are old outdated links, however some still seem to exist. I'm not sure how anyone could ever profit from free soap services unless they gave the service for free for long enough to become the

RE: [PHP] $HTTP_SESSION_VARS still holds original values even after unset?

2004-04-04 Thread Larry Brown
Something else in your code is messing you up if you cannot change the value after setting it in the first place. This happens all the time in my code as my client makes decisions along the way. Try a small test creating a session variable, displaying it, changing it, and redisplaying it. If it

RE: [PHP] php as default value in html

2004-04-04 Thread Larry Brown
When someone pulls up a form and fills it out, they subsequently submit that form. When submitting a form your browser creates a one on one connection with the server where the server inputs the data from your form before or after the next person without mixing the two. (no matter if the two

[PHP] debug on build

2004-03-25 Thread Larry Brown
Does anyone know what --enable-debug gives you when building php? Does this hinder normal operation of php or just take a small hit in performance to be able to render more debug information when needed? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Let's start a php-advanced list!

2004-03-07 Thread Larry Brown
what do you guys think of using a tag for discussion messages? This way people that don't want to weed out lengthy discussions and attachments etc can filter them out of list messages. A tag such as discussion in the subject line? Just my two cents. Larry -Original Message- From: Marc

RE: [PHP] Re: RFC: Job listings

2004-03-07 Thread Larry Brown
I don't see how it could be to anyone's disadvantage. As a matter of fact, I think that it would be great to also have it available as a soap service as well. If people well versed in different open source projects were able to be listed on each projects' sites and provide soap service as well,

[PHP] scope problem

2004-03-05 Thread Larry Brown
Apparently I'm having some kind of meltdown here. Can anyone explain the logic behind why the following variable has the original value and how I can pull/push the value to access it at the end? while loop { $variable = 100; while loop { switch($othervar)

RE: [PHP] scope problem

2004-03-05 Thread Larry Brown
Thanks for the help, but it turned out to be the nut on top of the keyboard! Something I missed. Good to know my concept of scope with php is still healthy (at least). Thanks -Original Message- From: Richard Davey [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 11:17 AM To: PHP

RE: [PHP] [Q] Problems invoking a PHP script - Have no hair left to pull - Please help [:-)

2004-02-10 Thread Larry Brown
is the html code you have listed below the file register_new_member.php? Is it in the same directory as the previously successful script? -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Michael T. Peterson Sent: Tuesday, February 10, 2004 9:48 PM To: [EMAIL PROTECTED]

RE: [PHP] SQL help

2004-02-10 Thread Larry Brown
Correct me if I'm wrong...PLEASE.. but, I believe you are looking for... SELECT * FROM user_data left join image_data on user_data.User_ID=image_data.User_ID where image_data.Default_Img = 'Yes' GROUP BY user_data.User_ID I haven't used enum('Yes','No') so I'm taking your word for the fact that

RE: [PHP] check if user session exists

2004-02-09 Thread Larry Brown
I don't know of a function, but you could possibly read the directory where the SID files are stored. I use sessions a lot; however, I've not tried to accomplish this. I don't know if by default you can read the SID directory from a script or if this is blocked for security reasons or not. If

RE: [PHP] Session troubles

2004-02-04 Thread Larry Brown
I know I may be displaying severe ignorance, but I have to ask... What do you mean by this page also uses paging? What is paging? Larry -Original Message- From: DL [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 4:20 PM To: [EMAIL PROTECTED] Subject: [PHP] Session troubles

RE: [PHP] Seems Simple enough

2004-01-26 Thread Larry Brown
you need one of the to if's to be either $Balance =1 elseif($Balance 1000) or $Balance 1 elseif($Balance = 1). Yours has the first saying everything equal to or greater than 10001 which 1 is not else everything less than or equal to which 1 is not. =) Larry

RE: [PHP] Variables not working!

2004-01-20 Thread Larry Brown
It is most likely globals. Access the variables by... echo $_GET['fname']; or $_POST['fname']; if you are using post which it doesn't appear you do. Larry PS it is adviseable to leave globals alone in php.ini since it is set that way for security concerns. -Original Message- From:

RE: [PHP] Is this possible ?

2004-01-18 Thread Larry Brown
Toby's solution still holds in this scenario. Actually exactly has you have rem'ed out. You get back two components to the array, first array[0] holds the concatenated string you made with the while loop and the second array[1] holds the total number of result rows from your query. Larry

RE: [PHP] Image Header Issues

2004-01-17 Thread Larry Brown
try adding showpicture.php?pid=111384img=x.jpg to the end even though you aren't using that variable, IE may see that the type is jpg here. I have this same problem/workaround in place right now for a script that wouldn't work with IE without it for downloading pdf. (pdf was generated on the fly)

RE: [PHP] Image Header Issues

2004-01-17 Thread Larry Brown
. Thanks Larry -Original Message- From: Toby Irmer [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 5:12 PM To: Larry Brown; Bob Eldred; PHP List Subject: Re: [PHP] Image Header Issues I have the same problem. Strange: I have a session_start(); before the header... if I take that out

RE: [PHP] Image Header Issues

2004-01-17 Thread Larry Brown
to figure out some sorta security without using sessions. Thanks, for at least pointing me in the right direction. Now if we could figure out why this would be happening, that would be great. Bob - Original Message - From: Toby Irmer [EMAIL PROTECTED] To: Larry Brown [EMAIL PROTECTED

RE: [PHP] Re: Session expiry issues in IE, still.

2004-01-06 Thread Larry Brown
Interesting point. After all, to remove a cookie you simply give it an expire time in the past. However, it should only explain the lack of cookie receipt. Since the user is able to surf for a period of time on the site before getting the boot, I wouldn't think it would apply. In the last post

RE: [PHP] Submit Button Refresh Problem?

2004-01-05 Thread Larry Brown
we need more code than ? makeArrays(); ?... By the looks of that alone, it appears that you have that inserted into the html somewhere around the submit button. If that is the case, the function will run every time you load the page. You have to set a trigger to determine whether it should run

RE: [PHP] PHP, Server-Side?

2004-01-04 Thread Larry Brown
You can create a soap server. I have one set up, the client side runs a function which is translated into xml sent to the other server (in my case over ssl) the other server translates to php, executes the function and returns the results. You create the actual code for the function on the

RE: [PHP] PHP Accelerator Support?

2004-01-04 Thread Larry Brown
I use the accelerator, but I don't have a lot of users. I use it to protect confidential information in the event the web server screws up and starts displaying my scripts instead of parsing them etc. It works smooth as silk for me though. I just can't tell you anything about high volume

RE: [PHP] PHP $_SESSION Expiring in IE

2004-01-03 Thread Larry Brown
I use sessions with IE all the time without such a problem. Are there any points in the program that redirect the user off site and back or something with that affect that IE might be handling in a wierd way? Do you have pages that detect the browser and feed alternate content based on the

RE: [PHP] No cookie is being set?

2004-01-02 Thread Larry Brown
shouldn't $row[member_id] be $row['member_id']. In case anyone can profit from this, when I find a function doesn't work right and I am using variables in its execution I run an echo/die combination immediately before the function to verify the data being fed to it is as it should be. In this

RE: [PHP] Array into $_SESSION

2004-01-02 Thread Larry Brown
session_register(user); session_register(authLevel); session_register(sessionExpire); $user=$userDataFromForm; $authLevel = $authLevelFromDB; $sessionExpire = time() + 3600; etc... -Original Message- From: Cesar Aracena [mailto:[EMAIL PROTECTED] Sent: Friday, January 02, 2004 2:11 AM

RE: [PHP] Array into $_SESSION

2004-01-02 Thread Larry Brown
Sorry, my bad. This is the Register Globals on version... with RegisterGlobals off you would simply use.. $_SESSION['user'] = $userDataFromForm; $_SESSION['authLevel'] -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Friday, January 02, 2004 11:33 AM

RE: [PHP] urlencoding.

2004-01-01 Thread Larry Brown
How about this one? Add it to an include for the site and use it whenever you have an error check. function goBack($newSite,$errMsg) { $send = ; foreach($_GET as $key=$value) { $send = $send..$key.=.$value; } $goTo = urlencode($newSite.?errMsg=.$errMsg.$send);

RE: [PHP] Setting a 'life-time' clock to a displayed information

2004-01-01 Thread Larry Brown
The timer on the client browser would have to be done in some client-side language. On the server side you can place any order information that is out with a supplier in a db field along with the time it was pulled. When the next supplier submits a request, the db is parsed for pending jobs

[PHP] PHP New Year

2003-12-31 Thread Larry Brown
Happy New year all! Looking forward to bigger better things this year. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How do I protect downloadable files?

2003-12-30 Thread Larry Brown
You could have your authorization info in the mysql db including file locations that are stored along with the authorization level necessary to download them. If the person is authenticated to download the file, the php script uses the file location info from the db to open the file and generate

RE: [PHP] How do I protect downloadable files?

2003-12-30 Thread Larry Brown
Time for them to upgrade to OSX... I've not tried to crack that nut. Is there anyone here who has successfully managed headers for Mac users? It's hard to believe it hasn't been done. -Original Message- From: Kim Steinhaug [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 8:04

RE: [PHP] HTML via echo or not

2003-12-29 Thread Larry Brown
I agree. I think embedding the ?php ? tags is messy and harder to follow. I do however, treat echo like print. ie echo The thought would \have\ to be clear.; I've not use CR,. I'll have to look at that. Thanks -Original Message- From: Robin Kopetzky [mailto:[EMAIL PROTECTED] Sent:

RE: [PHP] programming the onclick() event in an anchor

2003-12-25 Thread Larry Brown
You can place form tags around the anchors and use hidden tags and send via post so the variable is not obvious. A user reading the source would see this though... echo form name=\form1\ action=\https://this.site.com/somePage.php\; method=\post\\n; echo a

RE: [PHP] Can't upload file greater than 11kb

2003-12-23 Thread Larry Brown
The input type=hidden ... is more than a convenience for the client. It must be before the ...type=file... tag and after form.. (at least with Mozilla Firebird as the client) If you have it in there and remember it is in bytes not kb and set it to a size large enough the script accepting the file

RE: [PHP] Re: progress in PHP

2003-12-23 Thread Larry Brown
How does perl show progress of the upload if it is a server side scripting language and php can't do it because it is server side? -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 12:46 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re:

[PHP] using PDI to pull from data already read into a variable?

2003-12-22 Thread Larry Brown
I have written scripts to upload pdf files into mysql. I have the scripts created to access those files and produce them for the user on the fly. All well and good. Now I have a need to access one of those files and insert its contents into a new pdf report. I have purchased the PDFlib+PDI and

RE: [PHP] PROBLEMS WHEN EXTRACING DATA FROM MSSQL DATABASE WITH PHP

2003-12-22 Thread Larry Brown
Is your field too small? MySQL doesn't complain when you give it a string longer than it can accept based on the field's size. It just cuts off what doesn't fit :-) -Original Message- From: Dale Hersh [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 6:50 PM To: [EMAIL

RE: [PHP] PROBLEMS WHEN EXTRACING DATA FROM MSSQL DATABASE WITH PHP

2003-12-22 Thread Larry Brown
My bad, didn't read far enough... -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 7:04 PM To: Larry Brown; Dale Hersh; PHP List Subject: RE: [PHP] PROBLEMS WHEN EXTRACING DATA FROM MSSQL DATABASE WITH PHP Larry Brown mailto:[EMAIL

RE: [PHP] Re: HTTP headers, IE and downloading

2003-12-22 Thread Larry Brown
In hopes that this may be of help to you...I had a hell of a time getting IE to download pdfs that I create on the fly and finally with the help of a couple people I got the magic code which was... $len = strlen($buf); //buf was holding the pdf doc. header(Pragma: public); header(Expires: 0);

RE: [PHP] File upload problem

2003-12-20 Thread Larry Brown
According to the documentation you have to have the maxfilesize tag before the input tag. -Original Message- From: Dino Costantini [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 6:34 PM To: [EMAIL PROTECTED] Subject: [PHP] File upload problem i'm trying to write a page

[PHP] mysql load_file retreival

2003-12-20 Thread Larry Brown
I have set up a script to recieve a pdf file and store it in a mysql db using update db set field=load_file('fileIncludingFile') where id=$id. Afterwards I can see the file has been uploaded into the blob field successfully and without errors. Now I want to get the file back out. I set up a

RE: [PHP] sessions problem

2003-12-20 Thread Larry Brown
Make sure you have session_start(); at the beginning of each script you run from the time you start inserting variables to the time you want the session to end. -Original Message- From: Nitin [mailto:[EMAIL PROTECTED] Sent: Saturday, December 20, 2003 10:48 AM To: PHP-General Subject:

RE: [PHP] mysql load_file retreival

2003-12-20 Thread Larry Brown
1:24 PM To: PHP List Subject: RE: [PHP] mysql load_file retreival LOAD_FILE() shouldn't be escaping the data. Are you actually calling : echo header()? the header function should not be echoed. header('Content-type: application/pdf'); echo result[0]; -Original Message- From: Larry Brown

RE: [PHP] mysql load_file retreival

2003-12-20 Thread Larry Brown
seeing gthe pdf data, check for whitespace outside php tags and any extraneous echo's or print's, that would very likely cause the pdf to not be able to be read properly. Chris -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Saturday, December 20, 2003 10:36 AM

RE: [PHP] mysql load_file retreival

2003-12-20 Thread Larry Brown
Subject: RE: [PHP] mysql load_file retreival Gald to hear it works now. Are you base64 encoding it for any particular reason? Seems to me that it would waste a lot of db space as base64 encoding adds quite a bit to the filesize. Chris -Original Message- From: Larry Brown [mailto:[EMAIL

[PHP] nusoap

2003-11-11 Thread Larry Brown
Does anyone here have any solid experience with nusoap? Their list has low volume and I am finding it difficult to find any useable examples or descriptions of real life uses and how to configure the server/client. In particular I'm currently trying to figure out the correct syntax to produce

RE: [PHP] php temp table question (for mysql)

2003-10-31 Thread Larry Brown
[mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 4:43 PM To: Larry Brown; PHP List Subject: Re: [PHP] php temp table question (for mysql) From: Larry Brown [EMAIL PROTECTED] Does anyone know whether the use of persistent connections with php will allow a temp table created by a script

[PHP] PDFlib not working with explorer based on PHP created file in memory

2003-10-29 Thread Larry Brown
If anyone can help, please... I have a page that points to a PHP page that dynamically creates a pdf file using PDFlib. The page uses a link such as site.com/page.php?variable=value. That in turn executes the script that uses the variable/value to pull info from the db and generate the page.

RE: [PHP] PDFlib not working with explorer based on PHP created file in memory

2003-10-29 Thread Larry Brown
My apologies for waisting anyone's time. I found the posting in the archives that had the correct code to use. -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 3:39 PM To: PHP List Subject: [PHP] PDFlib not working with explorer based

[PHP] php temp table question

2003-10-27 Thread Larry Brown
Does anyone know whether the use of persistent connections with php will allow a temp table created by a script to linger around and cause a problem with the next execution of the script when it tries to create the temp table again? Also if it does present a problem with the next script execution

[PHP] php temp table question (for mysql)

2003-10-27 Thread Larry Brown
Does anyone know whether the use of persistent connections with php will allow a temp table created by a script to linger around and cause a problem with the next execution of the script when it tries to create the temp table again? Also if it does present a problem with the next script execution

RE: [PHP] PHP with Frames (cont.)

2003-10-27 Thread Larry Brown
Are you trying to access variables between frames or just get a php script to run when it is one frame. I have php pages running in frames in a number of places. You could not access variables between the frames though. You would have to use a client side script to do that. You could have

[PHP] else needed?

2003-07-19 Thread Larry Brown
On if statements, I periodically don't want anything to happen if the requisite is not met. In most cases just writing the statement in the format if (this) { do that; } and nothing more will work. However, I periodically get weird results with this and found the only fix was to do a... if

[PHP] console script html tags?

2003-07-14 Thread Larry Brown
How can I rid myself of the html tags around error messages when writing console scripts? (Besides avoiding errors) Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Client script opensource plea

2003-07-13 Thread Larry Brown
This, most certainly OT, is a plea for fellow developers oriented in OpenSource solutions to help resolve a problem in case you have dealt with it before. I have written a PHP app that uses function keys at times to help speed data processing for my client VIA javascript. This app works fine

[PHP] php mysql array question

2003-07-11 Thread Larry Brown
Is there any php function to pull a query into an array? I know there is a way to get the first row of the results in an array, but I'm having to loop through each row pushing the row onto an array to get the result I'm looking for and it seems like a lot of code for something that I would think

RE: [PHP] IE Pagelength issue

2003-06-09 Thread Larry Brown
: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 8:48 PM To: PHP List Subject: RE: [PHP] IE Pagelength issue Yes, the entire page is visible when selecting view source. And again, it does view ok in Mozilla. I will try breaking the table into smaller tables and see

RE: [PHP] IE Pagelength issue

2003-06-08 Thread Larry Brown
, Inc. (727) 723-8388 -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 9:37 PM To: 'Larry Brown'; 'PHP List' Subject: RE: [PHP] IE Pagelength issue If you view source in IE, do you see the entire page? If so, then it's an IE display issue

[PHP] IE Pagelength issue

2003-06-07 Thread Larry Brown
I am running into a strange problem. I have a script that parses a database for results. It cycles through the data one record at a time looking for matches to the query. Up til now I haven't had any problems as the results have been limited in length. Now I have one that has a significant

RE: [PHP] IE Pagelength issue

2003-06-07 Thread Larry Brown
Just as an additional note: the page has one continuous table so another potential problem would be a limit to the length of a table? Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 1:55

RE: [PHP] IE Pagelength issue

2003-06-07 Thread Larry Brown
information in addition to removing any one of them. So there are various buttons throughout. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 6:08 PM To: 'Larry Brown'; 'PHP List' Subject: RE

[PHP] mysql field getting cut off

2003-05-30 Thread Larry Brown
If anyone can help I seem to be stuck on a problem getting a mysql field inserted correctly. For instance the first page would have a field such as... input type=text name=field size=12 info that is placed into the field is St. Petersburg, FL (without the quotes) the php code for the

RE: [PHP] mysql field getting cut off

2003-05-30 Thread Larry Brown
. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 9:44 PM To: 'Larry Brown'; 'PHP List' Subject: RE: [PHP] mysql field getting cut off If anyone can help I seem to be stuck on a problem getting

[PHP] table cell space under image in IE

2003-03-13 Thread Larry Brown
Has anyone had to address this problem before? I've created a table and placed an image inside. The image is around 12 pxl high and when the table is displayed in Mozilla the cell border is up against the image on all sides. On IE however, the top of the image is up against the cell border but

RE: [PHP] table cell space under image in IE

2003-03-13 Thread Larry Brown
('pic3') onMouseOut=change_back('pic3') /FORM /TD /TR Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 12:07 PM To: Larry Brown; PHP List Subject: Re: [PHP] table cell space under image

RE: [PHP] Re: table cell space under image in IE

2003-03-13 Thread Larry Brown
I just posted the code and have the tags on separate lines for clarity, but in the source they are on the same line with no space between the tags. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Roman Sanchez [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: [PHP] table cell space under image in IE

2003-03-13 Thread Larry Brown
What kind of @%#$%#! is that? Why would they have /form take up visible space? Hmm, I guess I'll have to find a new angle or hide the closing form beyond the table. Thanks... Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Roman Sanchez [mailto:[EMAIL

[PHP] Version 5?

2003-03-06 Thread Larry Brown
Someone mentioned a facet of version 5 to be expected that I am really looking forward to. Does anyone know what the release target date is? I didn’t see any mention of it on php.net. Larry S. Brown Dimension Networks, Inc. (727) 723-8388

[PHP] deciperhing oop

2003-03-03 Thread Larry Brown
Can someone who is used to using php oop help me figure out why this fails? I know there are probably a thousand classes already designed to do this and probably 100 times more efficient, but this is how I learn. From what I've read this should work but there is obviously something I'm missing.

RE: [PHP] deciperhing oop

2003-03-03 Thread Larry Brown
. (727) 723-8388 -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 6:50 PM To: Larry Brown; PHP List Subject: Re: [PHP] deciperhing oop the second argument in the mysql_select_db call in not in scope. you should be using $this-db instead of $db Jim

  1   2   >