Search found 20 matches

by liderbug
Thu Sep 26, 2013 11:20 am
Forum: PHP General
Topic: Speedup the sending of email
Replies: 1
Views: 825

Speedup the sending of email

Looking for some advice. I've copied a PHP/Mail script <psudo code> setup; build_email_body; mysql select email from cust where... while (fetch... { use relay.dnsexit.com (user/passwd); set headers, smtp, body $mail = $smtp->send($em[0], $headers, $body); if error... } So it runs fine except it take...
by liderbug
Wed Sep 11, 2013 7:48 am
Forum: PHP General
Topic: When will flush() work again?
Replies: 10
Views: 2596

Re: When will flush() work again?

John, FC16 is a Linux box, as is FC14, with no anti-virus SW. And I was able to get both of my Linux boxes to work just fine even outputing my data as a table - row... row... row... one every second. I've been through the PHP man page for flush more times than I can count. I'm thinking that the entr...
by liderbug
Tue Sep 10, 2013 8:06 am
Forum: PHP General
Topic: When will flush() work again?
Replies: 10
Views: 2596

Re: When will flush() work again?

Commented out flush on both boxes [fc16/fc14] - nothing shows up until the script is done, so flush() is needed/required. I also copied my php.ini to my hosted site - htaccess - suPHP_ConfigPath /home/user/public_html - php.ini and it still doesn't work. I'm comparing phpinfo() - well trying - is no...
by liderbug
Mon Sep 09, 2013 10:18 am
Forum: PHP General
Topic: When will flush() work again?
Replies: 10
Views: 2596

Re: When will flush() work again?

It's my hosting service OLM.net PHP Version => 5.2.17 They're not going to roll back to a previous ver of php just for me Also... http://php.net/manual/en/function.ob-flush.php 9 Lee 1 year ago As of August 2012, all browsers seem to show an all-or-nothing approach to buffering. In other words, whil...
by liderbug
Sun Sep 08, 2013 4:13 pm
Forum: PHP General
Topic: When will flush() work again?
Replies: 10
Views: 2596

Re: When will flush() work again?

My hosting service upgraded from ??? 4.1 to 4.2 or something like that and flush/ob_flush just quit. The PHP manual pages - somewhat hidden in the man page is "it's broken and all the tweeking in the world won't fix it." (well something like that). I'm trying to find out "if" it will be fixed or not...
by liderbug
Thu Sep 05, 2013 1:30 pm
Forum: PHP General
Topic: perfect form
Replies: 0
Views: 780

Re: perfect form

Sounds like something I've got - it starts with a table (spreadsheet) id, first, last, email...... and each line starts: <a href=edit.php?id=$id>$id</a> </td><td>$first...... At the top of the script: 13 $list = array ('id', 'first', 'last', 'delivery', 'misc', 14 'renew', 'address', 'city', 'state'...
by liderbug
Thu Sep 05, 2013 7:28 am
Forum: PHP General
Topic: When will flush() work again?
Replies: 10
Views: 2596

When will flush() work again?

A release or two back the command flush(); became equiv. to null();. It's causing me a real problem as I have a web page that takes just over the timeout limit to run and kills the script (hosted site - TO not settable). When flush worked it would display each output line of the script and would run...
by liderbug
Sun Aug 25, 2013 7:51 am
Forum: PHP Scripts
Topic: Realtime dynamic flowchart
Replies: 1
Views: 1268

Realtime dynamic flowchart

I love to plagiarize - ah, find open source... I want/need to display a flowchart on my website. What I'd like to do is have a working area, say upper center, and when you click on the next box it moves up or down. On a diamond/decision Yes/No the whole screen shifts(redraws) to the proper position....
by liderbug
Fri May 31, 2013 5:30 am
Forum: PHP coding => General
Topic: Flush() not working
Replies: 0
Views: 719

Flush() not working

I have a script that takes a couple of minutes to run with about 175 lines of output to the screen. I want to watch the output as it runs - warm fuzzies that everything is proceeding OK. It use to work, then my hosting company upgraded PHP to 5.2.xx. I've found a reference, 1 only, that 5.2.3+ that ...
by liderbug
Thu Feb 16, 2012 6:24 pm
Forum: PHP Scripts
Topic: Butterworth filter
Replies: 0
Views: 694

Butterworth filter

Has anyone written a Butterworth filter in PHP? I really hate reinventing the wheel.

Thanks
by liderbug
Fri Feb 10, 2012 5:19 pm
Forum: PHP coding => General
Topic: Realtime graph with Phplot
Replies: 0
Views: 431

Realtime graph with Phplot

I have a little seismic sensor and would like to run a realtime graph. Kind of like marquee in html. I've got the code that reads the file, creates the graph and displays it - works like a champ. Now I want to put a forever loop in there that will array_pop data [0] and get and array_push to data[10...
by liderbug
Sat Jul 23, 2011 6:00 am
Forum: PHP coding => General
Topic: Password with aes_encrypt
Replies: 1
Views: 506

Re: Password with aes_encrypt

Never min - loose nut behind keyboard. :oops:
by liderbug
Fri Jul 22, 2011 6:14 pm
Forum: PHP General
Topic: Password with aes_encrypt
Replies: 0
Views: 341

Password with aes_encrypt

I have this web page (I inherited - uses PEAR) where people can register and login and etc etc etc... During registration the <input type=password ... submit executes $pwquery = "select aes_encrypt('" . $_REQUEST['PASSWORD'] . "','abc123xxx')"; $res = $dbc->query( $pwquery ); $row = $res->fetchRow()...
by liderbug
Fri Jul 22, 2011 5:51 pm
Forum: PHP coding => General
Topic: Password with aes_encrypt
Replies: 1
Views: 506

Password with aes_encrypt

I have this web page (I inherited - user PEAR) where people can register and login and etc etc etc... During registration the <input type=password ... submit executes $pwquery = "select aes_encrypt('" . $_REQUEST['PASSWORD'] . "','abc123xxx')"; $res = $dbc->query( $pwquery ); $row = $res->fetchRow()...
by liderbug
Mon Jul 18, 2011 6:49 am
Forum: PHP coding => General
Topic: Yes/No disable text box
Replies: 4
Views: 951

Re: Yes/No disable text box

Ah, Short and sweet (very sweet) (two beers fer u) :D

Thanks
by liderbug
Sun Jul 17, 2011 9:55 am
Forum: PHP coding => General
Topic: Yes/No disable text box
Replies: 4
Views: 951

Re: Yes/No disable text box

Buy dat person a beer. :D Took a bit - not knowing the code and figuring out what I could cut out and what I couldn't - customer wouldn't be to happy with a google ad popping up :o So I ended up with: ------------------------------------------------------ Budget: [ No. Open Bidding. ^/v ] ----------...
by liderbug
Sat Jul 16, 2011 6:46 pm
Forum: PHP coding => General
Topic: Yes/No disable text box
Replies: 4
Views: 951

Yes/No disable text box

I've got a requirement for a pair of radio buttons - Yes-No. If No then the input type=text disabled. If Yes then enabled. I found the perfect script - minor problem <form> <form> script </form> </form> - You can't do that. No nested FORM. Ideas.

Thanks
by liderbug
Fri Jul 01, 2011 7:48 pm
Forum: PHP coding => General
Topic: What's the difference?
Replies: 1
Views: 453

What's the difference?

include ("afile.php");
include ('afile.php');
include "afile.php";
include 'afile.php';

Taste?
I was on the php manual page - include to verify something and found all 4.
Same for require & _once.

Thanks
by liderbug
Fri Feb 18, 2011 9:30 am
Forum: PHP coding => Mail
Topic: dropping <a href=ht
Replies: 1
Views: 547

dropping <a href=ht

Search didn't help - so I have to ask... I've got a php script that contains: $htmlmsg .= "<a href=http://website.com/rack/$l[2]?id=$id><b>$l[2]</b></a><br>\n"; which generates this <a href=http://website.com/rack/2011-02-03.pdf?id=1717> my problem is the "<a href=ht" goes poof and they get tp://web...
by liderbug
Mon Feb 14, 2011 7:38 pm
Forum: Your Scripts
Topic: Flipbook from a PDF
Replies: 0
Views: 3986

Flipbook from a PDF

All on my Linux box: [ note: my pdf was ~80 pages ] 1) # pdftoppm book.pdf book 2) for every ppm file # ppmtojpeg <$n.ppm >$n.jpg Eedit the following to match your "book[name]" -------------------------------------------------------------------------------------------- <form action=index.php method=...