Re: [PHP] PHP Print, PDF (w/FPDF), JavaScript

2009-05-20 Thread Dan Shirah
I can't find anything like this in FPDF 1.53 or in the documentation for version 1.60. I'd be interested if you can pinpoint it. Paul Sorry, you need to load a class extension, see the website below: http://www.fpdf.de/downloads/addons/36/

Re: [PHP] PHP Print, PDF (w/FPDF), JavaScript

2009-05-20 Thread Dan Shirah
notification. HTH Dan

Re: [PHP] How to include a java script in a php tag (form)

2009-05-12 Thread Dan Shirah
=button name=send value=send onClick=javascript:myScript() HTH, Dan

[PHP] output buffer with Chrome issue.

2009-05-01 Thread Dan Joseph
display the information after the php script stops executing. I am outputting this after every echo: echo str_pad( , 4096 ) . \n; flush(); ob_flush(); ob_implicit_flush(); Has anyone else had this issue? Anyone know how to fix it? -- -Dan Joseph

Re: [PHP] output buffer with Chrome issue.

2009-05-01 Thread Dan Joseph
at all even up to 144096 on the pad, but no dice. Ajax unfortunately isn't an option in this particular case. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month.

Re: [PHP] output buffer with Chrome issue.

2009-05-01 Thread Dan Joseph
On Fri, May 1, 2009 at 10:40 AM, Robert Cummings rob...@interjinn.comwrote: On Fri, 2009-05-01 at 10:34 -0400, Dan Joseph wrote: Ajax unfortunately isn't an option in this particular case. Why? Maybe you're thinking about it wrong. Maybe, I'm open to suggestions: Here's the basic way

Re: [PHP] output buffer with Chrome issue.

2009-05-01 Thread Dan Joseph
. This can then be queued for consumption by an AJAX script. Ah ok, I've never used either of those before. I am going to give that a shot and will let you know how it goes. I should be able to bolt that on quickly. Thanks! -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month.

[PHP] Java applet clearing session variables?

2009-04-02 Thread Dan King
, Dan

[PHP] Array Brain Freeze

2009-03-19 Thread Dan Shirah
doesn't contain anything. Am I going crazy or am I doing something wrong? Thanks, Dan

[PHP] Re: Array Brain Freeze

2009-03-19 Thread Dan Shirah
reason $stat_1 doesn't contain anything. Am I going crazy or am I doing something wrong? Thanks, Dan Please disregard...the brain freeze went away and i spotted the problem. The array value name had a [ in it. So when referencing it to assignmy variable I wasn't including the additional

[PHP] numerically named member variables and objects

2009-03-11 Thread Dan Field
. Any ideas? -- Dan Field d...@llgc.org.uk Ffôn/Tel. +44 1970 632 582 Peiriannydd Meddalwedd Senior Software Engineer Llyfrgell Genedlaethol Cymru National Library of Wales

Re: [PHP] numerically named member variables and objects

2009-03-11 Thread Dan Field
On 11 Mar 2009, at 11:42, Dan Field wrote: As far as I was aware, member variable and object names had to start with a non integer chracter, however I am utilising a JSON lib which is providing me with the following resultset. As you can see a member class member is numerically named

Re: [PHP] Whats the correct syntax for using query results in a new query

2009-03-03 Thread Dan Shirah
I'm trying to use the AdminID that returns from query #1 in the WHERE AdminID = AdminID from Query 1 Okay, I think I understand what you are trying to do. //query 1 $query1 = SELECT UserName, AdminID FROM admin WHERE Retail1 = 'YES'; $result1 = mysql_query ($query1) ; while ($row1

[PHP] Execute EXE with variables

2009-02-13 Thread Dan Shirah
Hello all, Can someone point me in the right direction? I'm trying to call an EXE from PHP and pass it two variables. I looked at the exec() command and I see that this can call the executable, but I don't see that it can pass the variables to it. Dan

Re: [PHP] Execute EXE with variables

2009-02-13 Thread Dan Shirah
Use the system() command, and enclose both your command and its parameters in a pair of single quotes, as: system('mycmd -a alfa -b bravo'); Paul -- Paul M. Foster Using both exec() and system() I am getting the error: Unable to fork

Re: [PHP] Using DLL with PHP

2009-02-11 Thread Dan Shirah
MAYBE a little closer to a solution! //VB for Reference Private Declare Function DTM_CONVDMSToMultiTIFF Lib D32_CONV.DLL _ (ByVal FullPathFrom As String, ByVal FullPathTo As String) As Integer Public Function hello(ByVal name As String) As String hello = Hello name World! End

Re: [PHP] Using DLL with PHP

2009-02-10 Thread Dan Shirah
Alrighty, so I went a different route... I created my own ActiveX DLL...one that I know I can register. Starting out really simple: //My VB code Public Function hello() As String hello = Hello World! End Function //My PHP code ?php function Hello() { $new_com = new COM(DMStoTIFF.conv);

Re: [PHP] Using DLL with PHP

2009-02-10 Thread Dan Shirah
It doesn't appear that your function accepts a parameter. What does this do: //VB Public Function hello(ByVal name As String) As String hello = Hello name ! End Function //PHP echo $new_com-hello(Dan); -- Thanks! -Shawn http://www.spidean.com Shawn I tried what you

Re: [PHP] Using DLL with PHP

2009-02-10 Thread Dan Shirah
Just guessing as I haven't used the PHP COM stuff, but what do you get if you change ByVal to ByRef? -- Thanks! -Shawn http://www.spidean.com Ooops! My fault! I created a new dll so I could keep the currently working one and forgot to register it.. Registered and it allowed the

Re: [PHP] Using DLL with PHP

2009-02-09 Thread Dan Shirah
Check out the com [www.php.net/com] functionality Bastien Alrighty, I'm trying to use the COM function, but not getting much of anywhere. This is what I have: ?php // The VB function for reference /*function DTM_CONVDMSToMultiTIFF Lib D32_CONV.DLL _ (ByVal FullPathFrom As String, ByVal

Re: [PHP] Using DLL with PHP

2009-02-09 Thread Dan Shirah
I can't help much, but this might get you started. 1) Does the DLL you are trying to use actually supports COM. I know some don't. 2) I'm pretty sure that the string you pass to new COM('...') should be the name the class as registered with Windows, not the actual file name. They are

Re: [PHP] Using DLL with PHP

2009-02-09 Thread Dan Shirah
I believe you do have to register it with regsvr32 for it to be visible. I think the GUID that Todd mentioned might even work, but I've only ever used the ProgID. If you don't know the ProgID that is registered, you should be able to find it in the Windows registry after you've registed it

Re: [PHP] Using DLL with PHP

2009-02-09 Thread Dan Shirah
H, maybe it's not a problem with the DLL I'm trying to access because just doing a simple: $my_com = new COM(Excel.Application); Gives me the same error: *Fatal error*: Uncaught exception 'com_exception' with message 'Failed to create COM object `Excel.Application': Invalid syntax ' I've

[PHP] Using DLL with PHP

2009-02-06 Thread Dan Shirah
to the DLL. I've looked into W32api, but not sure if that's even what I need. Any ideas? Thanks, Dan

Re: [PHP] Garbage Collection

2009-02-05 Thread Dan Shirah
, you could just do a DELETE FROM my_table where course/tutor id = x But I would recreate an index on the table after deletion of records to keep the speed crisp. Dan

Re: [PHP] Preserving History

2009-02-05 Thread Dan Shirah
tutor_table.tutor_id = course_table.tutor_id AND tutor_table.active_tutor = 'Y' AND course_table.active_course = 'Y' That will return the course title and tutor name for all active events Hope that helps. Dan

Re: [PHP] calculate the time that day ends

2009-02-03 Thread Dan Shirah
Hi gang, I was wondering if there is way to find out what is the time that every day ends? I am planning to add this to the first page on an interface I am developing. -- Thodoris Doesn't every day end at 23:59:59? the next second would be 00:00:00...the beginning of a new day! :) So

Re: [PHP] Another beginner question

2009-01-13 Thread Dan Shirah
On Tue, Jan 13, 2009 at 10:17 AM, Gary gwp...@ptd.net wrote: I have successfully set up the testing server, now I would like to test it out on the remote server, but put does not seem to be working. I saved the php document, click put, nothing seems to happen. I am connected to the remote

[PHP] Suggestions?

2009-01-13 Thread Dan Shirah
at the end? Or should I not even use an array? Thanks, Dan

Re: [PHP] Suggestions?

2009-01-13 Thread Dan Shirah
On Tue, Jan 13, 2009 at 2:09 PM, Eric Butera eric.but...@gmail.com wrote: Are you asking how to do $holidays[] = date; array_push($holidays, date); ? If you were generating dates to compare against today tho, you could just return upon a match at that point and not even store them. No

Re: [PHP] Suggestions?

2009-01-13 Thread Dan Shirah
On Tue, Jan 13, 2009 at 2:14 PM, c...@l-i-e.com wrote: Hard to say without knowing the data structures... You can't do a simple count of the holidays and add that, because you might end up with yet another holiday in the result. Start at 12/23 and want to add 6 business days. You find 1

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Dan Shirah
Hi, I have one form where user fills data using radio buttons. Only one answer goes from here to another page. FORM 1 form action=form2.php method=post input type=radio name=myname value=Answer 5 id=1 / label for=15/label br / input type=radio name=myname value=Answer 1 id=2 / label

Re: [PHP] Couple of beginner questions

2009-01-09 Thread Dan Shirah
so would I be correct that the only advantage to having a page with a php extension is that you can use a testing server? There are FAR more benefits! 1) PHP is FREE! So you save money from the get go 2) PHP is open source! So it is constantly being updated and improved by users/devs. 3)

Re: [PHP] Been staring at the code for too long...

2009-01-09 Thread Dan Shirah
mysqli_stmt_prepare($stmt, UPDATE database.table ( FName, LName, email, phone, url, record, subscribed, date, IPAddress, Business, Address1,

[PHP] Re: [PHP-DB] data from db to a page and then to another page

2009-01-07 Thread Dan Shirah
page you would simply check the posted value of you band radio input: $band_id = $_POST['band']; Hope that helps. Dan

Re: [PHP] redoing website after 7 years

2009-01-07 Thread Dan Shirah
but, I'm more concern does client has to pay the changes/upgrade or it's still my obligation? Of course you charge him. Christ if I was expected to maintain stuff gratis that I wrote 7 years ago I'd be mullahed. -- Richard Heyes I agree with Richard. I bought a car 7 years ago. I

[PHP] Re: [PHP-DB] Re: data from db to a page and then to another page

2009-01-07 Thread Dan Shirah
Thanks for the aswers, but there is still some problems. I tested this code(below) and it works but when I add it to the rest of my code it stops working. Here's the working code: page1: ?php $bandname = Someband; ? form name=goto_info action=band_info.php method=post input

[PHP] Re: [PHP-DB] Re: data from db to a page and then to another page

2009-01-07 Thread Dan Shirah
On Wed, Jan 7, 2009 at 3:01 PM, Mika Jaaksi mika.jaa...@gmail.com wrote: Thanks! I got it working... Excellent, happy to help.

Re: [PHP] Since I speak with some of you more than people I see in person....

2008-12-31 Thread Dan Shirah
or sound I've ever heard in my entire life was as beautiful as those few seconds. My heart literally feels so full that it could burst at any moment. Congrats, Dan! I'm right there with you! My wife is 7 months preggo right now! Wait until you get to feel the kicks every day and see little hands

[PHP] Re: Segmentation fault in php5-imap

2008-12-24 Thread Dan Osipov
conditions and exceptions, in order to avoid the segfault, and at least finish the execution of a script even if the connection is dropped. I will let everyone know if I discover the source of the issue. Nathan Nobbe wrote: On Tue, Dec 23, 2008 at 5:30 PM, Dan Osipov dosi...@phillyburbs.com wrote

[PHP] Segmentation fault in php5-imap

2008-12-23 Thread Dan Osipov
on this particular machine. I've recompiled PHP 5.2.8 from source, upgraded all packages, recompiled libc-client2002edebian, etc. I'm at loss at what I can do to debug this issue further. Can someone recommend what I should check? Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: Segmentation fault in php5-imap

2008-12-23 Thread Dan Osipov
? I found this: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502996 But the patch didn't work. The library is required by php5-imap (which is a standalone package). Thanks! Dan Nathan Nobbe wrote: On Tue, Dec 23, 2008 at 12:34 PM, Dan Osipov dosi...@phillyburbs.comwrote: Hello, I have

[PHP] Re: Segmentation fault in php5-imap

2008-12-23 Thread Dan Osipov
, it segfaults. Otherwise it continues to run successfully. But why does it drop the connection? Thanks a lot for your help!! Dan Nathan Nobbe wrote: On Tue, Dec 23, 2008 at 1:42 PM, Dan Osipov dosi...@phillyburbs.com wrote: Everything matches. The only thing that's different is that the server

Re: [PHP] First record not diplaying

2008-12-22 Thread Dan Shirah
?php // Good to go if (0 == $totalRows_rsSearch) { echo h3Sorry no products were found/h3; } else { echo h3Please click on a product for further information./h3; while ($row_rsSearch = mysql_fetch_assoc($rsSearch)){ echo div class=\productitem\img src=\products.

Re: [PHP] First record not diplaying

2008-12-22 Thread Dan Shirah
Hi, I seem to have a bug in my code but can't see why. My first record does not display when I run a search. Can anyone spot what I have done wrong? Thanks if (0 == $totalRows_rsSearch) { echo h3Sorry no products were found/h3; } else { echo h3Please click on a product for further

[PHP] SimpleXML - issue with getting data out of the object returned

2008-12-18 Thread Dan Joseph
[Enabled] = True ) [Count] = 1 ) When I try and access $x-Package-PackageID I don't get 804, I get: SimpleXMLElement Object ( [0] = 804 ) Could someone tell me how I just get the value 804 out of there? -- -Dan Joseph www.canishosting.com

Re: [PHP] SimpleXML - issue with getting data out of the object returned

2008-12-18 Thread Dan Joseph
On Thu, Dec 18, 2008 at 10:01 PM, German Geek geek...@gmail.com wrote: $val = (string) $x-Package-PackageID; or $val = (int) $x-Package-PackageID; Ha... I would have never figured that out... Thank you to you both! That did the trick. -- -Dan Joseph www.canishosting.com - Plans start

[PHP] Printing

2008-12-17 Thread Dan Shirah
functions in the manual ( http://us2.php.net/manual/en/ref.printer.php) but this does not seem to be the right thing to use to print documents that already exist. Thanks, Dan

Re: [PHP] Printing

2008-12-17 Thread Dan Shirah
Do you want to print this on your office printer or on the website users printer? If you are looking for away to print it on their printer, why not just grab all the files that need to be printed, make a PDF of it, and then use the browsers print feature? -- Jason Pruim

Re: [PHP] Printing

2008-12-17 Thread Dan Shirah
Does it save them to a folder on the server? Or does it save them on the client? If it is on the server then the server would have to send the docs to a printer queue. If it is on the client PHP cannot really do anything about. PHP cannot force the client to print but it could send the

Re: [PHP] Printing

2008-12-17 Thread Dan Shirah
You can't, the best you can do is send the PDF down and let the user choose to do with it what they will -- Bastien So you think I should try and look into a way to have FPDF append each document to the already created document, and once all pages have been added to the PDF force it

Re: [PHP] Printing

2008-12-17 Thread Dan McCullough
I did something similar, but it was some work I did for a company and the application was an internal application that used PHP and a Java applet to send the file to a workers local printer since it cant be accomplished by PHP itself. On Wed, Dec 17, 2008 at 3:30 PM, Dan Shirah mrsqua

[PHP] FPDF Printing Ideas?

2008-12-16 Thread Dan Shirah
ideas to accomplish a selective multiple document print for documents that don't initially exist? Thanks, Dan

Re: [PHP] FPDF Printing Ideas?

2008-12-16 Thread Dan Shirah
On Tue, Dec 16, 2008 at 2:32 PM, c...@l-i-e.com wrote: Just generate a much larger PDF with all the pages they asked for and call it done. :-) I don't think I can do it that way unfortunately. They will be printing 100-300 records in bulk...the amount of time it would take to generate one

Re: [PHP] Quick question regarding $_SESSION and header()

2008-12-11 Thread Dan Joseph
/unsub.php Yep, what bug are you running into? Remember you have session_start() on the next page for it to be there. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm

Re: [PHP] MSSQL_CONNECT problem

2008-12-10 Thread Dan Shirah
Sorry for top posting, that's how my email client sets up the reply... Anyway, I don't know what CLI is? I see the error on the web. As for a DSN, I didn't think I need one connecting this way. That is why the uname, password, database is supplied, no? This should be a dsn-less

Re: [PHP] MSSQL_CONNECT problem

2008-12-10 Thread Dan Shirah
Try something like this: $dbhost=SERVER\\INSTANCE_NAME,PORT; $dbuser=USERNAME; $dbpass=PASSWORD; $db_connect=mssql_connect($dbhost,$dbuser,$dbpass) or die ('Server connection failed'); $mssql_database = mssql_select_db(DATABASE, $db_connect) or die ('DB selection failed');

Re: [PHP] MSSQL_CONNECT problem

2008-12-10 Thread Dan Shirah
Is INTRA_SQL your instance name or database name? If it is the instance name, is that instance setup to use 1433 as the port? I know 1433 is the default port for MSSQL, but the majority of people change that. Correct - intra_sql is the instance, yes, it's using default port 1433 (which

[PHP] PHP OFX connection

2008-12-10 Thread Dan Harrington
successfully created a PHP-based system to connect to a bank's server and download OFX data and consume it. I'm looking to find a way to help reconcile our bank accounts with multiple sources of transactions that can come in and confuse things. Thanks Dan

Re: [PHP] MSSQL_CONNECT problem

2008-12-08 Thread Dan Shirah
Can't seem to connect with MSSQL_CONNECT. The function IS available. I'm in a Windows environment, connecting to a SQL 2000 instance. My code: mssql_connect('INTRA_SQL,1433', 'uname', 'password'); mssql_select_db('database'); I've tried leaving the port out, tried using server IP address,

Re: [PHP] Voting methodology

2008-11-26 Thread Dan Joseph
a cookie. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life.

Re: [PHP] PostTrack Reminder

2008-11-24 Thread Dan Joseph
On Mon, Nov 24, 2008 at 3:05 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: On Nov 24, 2008, at 3:00 PM, Daniel P. Brown wrote: On Mon, Nov 24, 2008 at 2:49 PM, Wolf [EMAIL PROTECTED] wrote: Sure Dan, just pad your metrics with yet another post... :) Much like you just did. ;-P

Re: [PHP] Re: anchor name on URL

2008-11-20 Thread Dan
The Webkist engine afaik is licensed under the GPL, because of the use of the code from the original KHTML. I'm not sure how this fits with M$ proprietary plan however... Webkit is licensed under LGPL and BSD licenses. You say that, have you heard the latest for IE9? They're already

Re: [PHP] implode()

2008-11-18 Thread Dan Shirah
(',',$_POST['BannerSize']); Dan

Re: [PHP] Recursive Static Method

2008-11-13 Thread Dan
repeatedly. If this isn't your problem, and you're still having trouble, paste us the code you're using (or a subset of it) and I'll have a look for you. :) Dan On Thu, Nov 13, 2008 at 7:52 AM, Yeti [EMAIL PROTECTED] wrote: Some code would be quite helpful here. But your scenario should not make

[PHP] PHP / Procmail / MIME decoder, Imagemagick, MySQL, PDF fax management system

2008-11-09 Thread Dan Harrington
for later perusal and searching. And when I wanted to go back a year ago and try to retrieve an old fax, it wouldn't be so hard. :-) Surely someone has done this, but I can't find itand I'm too busy and cowardly to write it myself :-) Thanks Dan -- PHP General Mailing List (http://www.php.net

Re: [PHP] take me off the list

2008-11-06 Thread Dan Joseph
of the last few that actually do look at 'em. I stuck my web site in my sig when we opened for business last spring for the same reason. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man on fire

Re: [PHP] take me off the list

2008-11-05 Thread Dan Joseph
for 3 years :) I'm glad someone finally realized it! -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life.

Re: [PHP] Mailing lists

2008-10-31 Thread Dan Joseph
English down here? We drop the 'U', but they replace it with another 'O' in speech! It's aboot time yoo folks spoke properly, Cummings! ;-P Shouldn't that be proopley, eh? -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm

[PHP] CREATE question

2008-10-30 Thread Dan Shirah
me an ifx_prepare fails message. Can we not use the ifx_query, mssql_query, mysql_query functions to create tables? Can they only be used to select data? Thanks in advance, Dan

Re: [PHP] CREATE question

2008-10-30 Thread Dan Shirah
On 10/30/08, Daniel Brown [EMAIL PROTECTED] wrote: On Thu, Oct 30, 2008 at 2:19 PM, Dan Shirah [EMAIL PROTECTED] wrote: Is it possible for us to use PHP to create temp tables in our database? [snip!] But all that does is give me an ifx_prepare fails message. (Forwarded to PHP-DB

Re: [PHP] PHP Auth

2008-10-30 Thread Dan Joseph
if at the top of each page: if ( !isset( $_SESSION['blah'] ) { header( Location: login.php ); } You should read up on session tracking. That's really what you want. Once the session is established, its really just a matter of Is it there? and If not, what do I do?. -- -Dan Joseph

[PHP] Building an array, kind of?

2008-10-24 Thread Dan Shirah
TGIF? Apparently my brain isn't working this Friday. I'm trying to query my table to get the first 16 ID's. I then want to assign the ID's to a variable and have them comma seperated. // My query to select the first 16 rows $get_charges2 = SELECT FIRST 16 * FROM history WHERE id = '$id; //

Re: [PHP] Building an array, kind of?

2008-10-24 Thread Dan Shirah
from memory. $var=''; while($row = mysql_fetch_array($charge_result2)) { $var .= $row['id'] . ','; } cheers, tedd Thanks all! It works and here is the code I used: $get_charges2 = SELECT FIRST 16 * FROM history WHERE id = '$id; $charge_result2 = ifx_query ($get_charges2,

Re: [PHP] Re: Question about __destruct()

2008-10-22 Thread Dan Joseph
template class to optionally automagically output the footer without needing an explicit call on each page. Never any issues this way? They always run without a hitch? -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day

Re: [PHP] Re: Question about __destruct()

2008-10-22 Thread Dan Joseph
for the information! -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life.

[PHP] Question about __destruct()

2008-10-21 Thread Dan Joseph
some stuff out of the database, and then the php script ends. Does this also cause the deconstruct to execute? -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest

Re: [PHP] How to Execute Exe File from PHP

2008-10-20 Thread Dan Joseph
to execute the script? I tried CURL too, but it does not seem to be working either. http://get.live.com/toolbar/overview If you run the file from command line (dos prompt), does it output anything? -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Dan Joseph
only ever used Joomla, and it was once... -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life.

Re: [PHP] help - php script - no interaction

2008-10-16 Thread Dan Joseph
, and bring it back into 1 page (the content of 3 pages concatinated). Is this doable in php? any other scripts? Thanks. Check into curl, http://www.php.net/curl -- that should do what you want. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread Dan Joseph
On Mon, Oct 6, 2008 at 1:01 PM, Jason Pruim [EMAIL PROTECTED] wrote: But... Which framework is better? :P Oh my.. now we're gonna get all those guys popping back up telling us how dumb we are and how awesome their frameworks are again! -- -Dan Joseph www.canishosting.com - Plans start

Re: [PHP] Selecting all records between a date range

2008-10-02 Thread Dan Joseph
fix that query. Although I'll admitt, I have no way to test that on mysql, but that is how MS SQL works... -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his

Re: [PHP] Robert Cummings

2008-09-30 Thread Dan Joseph
On Tue, Sep 30, 2008 at 2:12 PM, Daniel Brown [EMAIL PROTECTED] wrote: I'd say that deserves a round of congratulations. Many - most, Congratulations! May he grown strong and bring you honor! -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he

[PHP] JSON in PHP5?

2008-09-26 Thread Dan Zilavy
I thought that the json extensions where in =PHP5.2. Here's my example file and the output. What's up? Do I need to install something else. file: ?php echo PHP version: , phpversion(), br/; if (function_exists('json_encode')) echo json_encode() exists; else echo json_encode() doesn't

Re: [PHP] Re: Google Checkout

2008-09-26 Thread Dan Joseph
. If you have demands from your customer base to take their payment via one or the other, you should probably just offer them both. Neither have a per month minimum, and there is no obligation to keep it, so why not offer them both? -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month

Re: [PHP] Re: Google Checkout

2008-09-26 Thread Dan Joseph
On Fri, Sep 26, 2008 at 12:54 PM, Daniel Brown [EMAIL PROTECTED] wrote: Yes, that's correct, Other Dan, that is something I do. Same here. I have Visa/MC, Discover, Amex, PayPal, and Google Checkout. I'll add Revolution Money Exchange when the demand tools are there. Also

Re: [PHP] JSON in PHP5?

2008-09-26 Thread Dan Zilavy
The json extension is included as default if the debug option is enabled, but the json extension isn't included if the debug option is disabled. Bummer! - Original Message From: Nathan Nobbe [EMAIL PROTECTED] To: Dan Zilavy [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Friday

Re: [PHP] JSON in PHP5?

2008-09-26 Thread Dan Zilavy
With debug enable php -m shows json present and without debug json isn't. BTW, I'm on FreeBSD 7.0 if that makes a difference. - Original Message From: mike [EMAIL PROTECTED] To: Dan Zilavy [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Friday, September 26, 2008 12:12:47 PM

Re: [PHP] JSON in PHP5?

2008-09-26 Thread Dan Zilavy
I rebuild again without debug and now it's working. Go figure! Thanks for the help all. - Original Message From: mike [EMAIL PROTECTED] To: Dan Zilavy [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Friday, September 26, 2008 12:12:47 PM Subject: Re: [PHP] JSON in PHP5

Re: [PHP] Search functionality

2008-09-24 Thread Dan Shirah
Its pretty straight forward, you create a query that extracts the name and id of the records with a relevant where clause created on the fly. When outputing the data, each record gets created as a link that then loads another page/div with the total dataset for that record. The question for

[PHP] Search functionality

2008-09-22 Thread Dan Shirah
Hello all, I'm looking for suggestions on how to create a search function within my application. First I'll give you an overview. At the top of my page I have a form that contains name and date fields. When a user puts in some data and selects Search a simple column of results will be displayed

Re: [PHP] Re: Thank you...

2008-09-20 Thread Dan Joseph
Look... Spam the list, but PLEASE do NOT open up this thread again we all let it rest 3 weeks ago. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his

Re: [PHP] Passing variables between pages

2008-09-19 Thread Dan Joseph
. Click on check in, page to check in comes up, does a session_start(), and then you check for that $_SESSION variable to make sure its still them. Check on each page for that session var, if its gone, put 'em back to the log in page. Make sense? -- -Dan Joseph www.canishosting.com - Plans start

Re: [PHP] SESSIONS vs. MySQL

2008-09-19 Thread Dan Joseph
, and utilize session_set_save_handler(). Works well, and less overhead. Like you said, you're under 1 second *NOW*. 1 second might actually even be a long time. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man

Re: [PHP] Passing variables between pages

2008-09-19 Thread Dan Joseph
does your method of doing things w/o sessions accomidate that? Does it use that information from the origin POST? Also, is this secure? Any loop holes? -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light

[PHP] ODBC Functions MS SQL Server 2005

2008-09-18 Thread Dan Joseph
something with the ODBC driver, and updating the ODBC driver isn't an option. Anyone else having this problem? Any suggestions? -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm

Re: [PHP] ODBC Functions MS SQL Server 2005

2008-09-18 Thread Dan Shirah
On 9/18/08, Dan Joseph [EMAIL PROTECTED] wrote: Hi, Anyone else using the odbc_* functions to interact with MS SQL Server 2005? I'm having a problem getting odbc_num_rows() to return anything other than -1 when querying a stored procedure. I can get it to work using Top in a normal query

Re: [PHP] ODBC Functions MS SQL Server 2005

2008-09-18 Thread Dan Joseph
On Thu, Sep 18, 2008 at 3:36 PM, Dan Shirah [EMAIL PROTECTED] wrote: If you already have your results in an array, try using count($result); That should count the number of results returned to your result array. Or you could try uncommenting the mssql extension in your php.ini file

Re: [PHP] ODBC Functions MS SQL Server 2005

2008-09-18 Thread Dan Joseph
, visit: http://www.php.net/unsub.php I looked at PDO, and liked it, but it seems really buggy in the version of php we're running. I had to stop using it. We're running 5.1.2. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest

Re: [PHP] ODBC Functions MS SQL Server 2005

2008-09-18 Thread Dan Joseph
On Thu, Sep 18, 2008 at 5:35 PM, Micah Gersten [EMAIL PROTECTED] wrote: You can't upgrade PHP? Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Dan Joseph wrote: On Thu, Sep 18, 2008 at 4:35 PM, Micah Gersten [EMAIL PROTECTED] wrote: If you

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