Re: [PHP] Variable representation

2012-04-01 Thread Adam Randall
tly do it. I am referring to: $image_{$i} > > === > $i = 1; > while ( $i <= 4 ) { > >if ( trim( $image_{$i} ) <> "" ) { > >echo "http://www.theverseoftheday.info/store-images/"; > . $image_{$i} . "\" title=\"Image "

Re: [PHP] Unable to get output from exec "ssh remote-server 'ping -c4 ip'"

2009-12-29 Thread Adam Randall
$ouput); > > the output is empty. > > the same command (with the remote-server and IP changed to the real ones) > works fine from command line. > > I've added the key/config in the webserver's user .ssh directory so I am > assuming that that there is something wrong with my setup. > > any ideas? > -- Adam Randall http://www.xaren.net AIM: blitz574 Twitter: @randalla0622

Re: [PHP] DailyWTF - Maybe I Needing Later

2009-12-23 Thread Adam Randall
t; > > > Read this, just loved it. Moral of the story (though some may turn it > racist or otherwise moronic): maybe hiring at the lowest possible bidder > isn't always the best idea. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit:

Re: [PHP] Re: Checkbox in PHP form

2009-11-10 Thread Adam Randall
On Sun, Nov 8, 2009 at 9:52 PM, Brian Hazelton wrote: > 'no') { echo "checked="checked";  } ?> value="PFDs" > name=f_sequipment1>PFDs > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.

Re: [PHP] Checkbox in PHP form

2009-11-10 Thread Adam Randall
ox field is always checked. > > > > I thought of JavaScript also but it would have to be a “if $row[33] then > run a JavaScript function” . This is not working for me neither. > > > > Sorry if this seems trivial but I need your help. > > > > Thanks in advance. > > > > > > > > > -- Adam Randall http://www.xaren.net AIM: blitz574

Re: [PHP] =??Q?Esco=AE?= Frontier Acela High Performance Fume Hoods

2009-11-03 Thread Adam Randall
l Pharmacy >> Isolators<http://escoglobal.com/products/hospital-pharmacy-products/detail.php?id=HPI-N>I >> IVF >> Workstations <http://escoglobal.com/products/ivf-workstations/> I Lab >> Animal Research >> Products<http://escoglobal.com/products/lab-an

Re: [PHP] How is this possible?

2009-10-28 Thread Adam Randall
>> >> Hi gang: >> > > http://php.net/manual/en/security.globals.php > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Adam Randall http://www.xaren.net AIM: blitz574 -- PHP General

Re: [PHP] security/deployment issue

2009-10-16 Thread Adam Randall
roup > /home/project" . Have someone this problem? > > > Thanks > > > Augusto Morais > -- Adam Randall http://www.xaren.net AIM: blitz574 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] COM Help (hopefully)

2009-10-09 Thread Adam Randall
05 doesn't seem to think much of it :) While I could go with a VB solution for doing the address scrubbing, I had wanted to set it up in PHP so that I could open one COM connection to the DLL, and then via database burn through a large number of addresses. If I had the skills I'd also rather just create an extension for PHP itself that is a wrapper for the ZP4 DLL. If someone is interested in building that for my company on commission I'd love to discuss that with you. If anyone wants to help me with this I'd greatly appreciate it. Regards, Adam. -- Adam Randall http://www.xaren.net AIM: blitz574 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is there limitation for switch case: argument's value?

2009-08-20 Thread Adam Randall
r 6"; >       break; >   case ($sum==2 || $sum==1): >   echo "sum=2 or 1"; >   break; >       case 0: >       echo "sum=0"; >       break; >   default: >   echo "sum=3/4/5"; >   break; > } > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Adam Randall http://www.xaren.net AIM: blitz574 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Form Spam

2009-08-20 Thread Adam Randall
y. > > http://www.eset.com > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Adam Randall http://www.xaren.net AIM: blitz574 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sanitizing mysql inserts of user data

2009-08-16 Thread Adam Randall
prevent SQL injection attacks? Should I add > anything else? Thanks! > > Dotan Cohen > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Adam Randall http://www.xaren.net AIM: blitz574 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sending email w/ attachments

2009-08-10 Thread Adam Randall
rather stuck and floundering here. > > Thanks, > Skip > > -- > > Skip Evans > Big Sky Penguin, LLC > 503 S Baldwin St, #1 > Madison WI 53703 > 608.250.2720 > http://bigskypenguin.com > ----

Re: [PHP] Re: how to say "inverse your value" (to a boolean)?

2009-08-10 Thread Adam Randall
ve out the middle part of the ternary operator. Expression > expr1 ?: expr3 returns expr1 if expr1  evaluates to TRUE, and expr3 > otherwise. Awesome! > > Also, Adam Randall set up us the bomb. ;-) > (http://www.youtube.com/watch?v=qItugh-fFgg) > >> -Original Mess

Re: [PHP] Re: how to say "inverse your value" (to a boolean)?

2009-08-10 Thread Adam Randall
"green\n"); > > Re: The "?" char in this line above.. > where in the php docs can I read about what that is doing? > I have not come across this construct before today, from you guys. > > thanks > -John > > -- > PHP General Mailing List (http://

Re: [PHP] reason for a "Notice:.." on one site but not another? (Same code.)

2009-08-10 Thread Adam Randall
That should be !== not !=== Adam. On Mon, Aug 10, 2009 at 12:17 PM, Ralph Deffke wrote: > for the same story there are the -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Undefined symbol "ssl_onceonlyinit"

2009-08-08 Thread Adam Randall
2009 at 1:34 AM, Ebbe Hjorth wrote: > Hi, > > Sounds like mac ports and freebsd ports i kinda the same. > > I tried deinstalling the extensions ports, and reinstalling it, meaning it > all gets build from source once more, and it didnt help. > > > / Ebbe > > 2009/8/8

Re: [PHP] Server change affecting ability to send downloaded files???

2009-08-07 Thread Adam Randall
at's going on in the ../../store/files path. Adam. On Fri, Aug 7, 2009 at 5:05 PM, Brian Dunning wrote: > Correct, the files on the server have not changed either, and have been > working fine for a long time. No funny characters. > > On Aug 7, 2009, at 4:59 PM, Adam Randall wrote: >

Re: [PHP] Re: Read/decode barcodes from an image

2008-12-17 Thread Adam Randall
Al wrote: > >> If anything can do it, it'll be ImageMagick >> >> Adam Randall wrote: >> >>> I'm amazed that this either doesn't exist, or is hard to find. I >>> basically am looking for a way to read in an image into PHP, or shell >>>

Re: [PHP] Re: Read/decode barcodes from an image

2008-12-17 Thread Adam Randall
:42 PM, Al wrote: > If anything can do it, it'll be ImageMagick > > Adam Randall wrote: >> >> I'm amazed that this either doesn't exist, or is hard to find. I >> basically am looking for a way to read in an image into PHP, or shell >> out to somet

Re: [PHP] Re: Read/decode barcodes from an image

2008-12-17 Thread Adam Randall
, 2008 at 4:04 PM, Nathan Rixham wrote: > Adam Randall wrote: >> >> I'm amazed that this either doesn't exist, or is hard to find. I >> basically am looking for a way to read in an image into PHP, or shell >> out to something on the Linux side, and determine, and se

Re: [PHP] Read/decode barcodes from an image

2008-12-17 Thread Adam Randall
e barcode will identify the page as a >> separator page which will be used to split the multipage document into >> smaller single or multipage documents. >> >> Has anyone ever heard of anything that might help me in this process? > > Barcode reader? > > Cheers,

[PHP] Read/decode barcodes from an image

2008-12-17 Thread Adam Randall
e document into smaller single or multipage documents. Has anyone ever heard of anything that might help me in this process? Adam. -- Adam Randall AIM: blitz574 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help: DOMXPath->Query, quotes and apostrophes

2007-03-15 Thread Adam Randall
at the data be unencoded to work. I've seen reference to using XSLT to set XPath variables instead, but I don't understand how to do implement this. I would really appreciate any examples on what people have done to get around this issue, if any one has at all. Regards, Adam. -- Adam