[PHP] Re: Reuse MySQL prepared statement

2008-09-29 Thread Nathaniel Hall
I have figured out the problem. While I was resetting the first query and not closing it, I was closing the second query. That kept any subsequent queries from running. Thanks Jack! -- Nathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reuse MySQL prepared statement

2008-09-29 Thread Nathaniel Hall
Eric Butera wrote: > On Mon, Sep 29, 2008 at 11:21 AM, Richard Heyes <[EMAIL PROTECTED]> wrote: >>> Use a tree structure (I assume it's a tree type menu that has already >>> been written and save yourself the hassle. The PEAR HTML_TreeMenu code >>> can Create a tree structure from a Tree object (my

[PHP] Re: OT - Visio Network Charting Application

2008-09-29 Thread Nathaniel Hall
Jim Lucas wrote: > To all curious... > > I realize that this has nothing to do with PHP, but here goes. > > I have Googling, but not able to find a mailing list on "visio review" and > "visio top 10" and other search terms related to visio. So, I thought I would > ask for the lists opinions on v

[PHP] Re: Reuse MySQL prepared statement

2008-09-29 Thread Nathaniel Hall
Nathaniel Hall wrote: > Lastly, the only time I receive error messages is when I use > mysqli_stmt::close. I should probably note that the error messages I receive when using mysqli_stmt::close are related to the statement handle being removed. -- PHP General Mailing List (http://www.p

[PHP] Reuse MySQL prepared statement

2008-09-29 Thread Nathaniel Hall
I am trying to use a prepared MySQL statement after retrieving the results from a previous query (it's for a multi-level menu). The first query works fine, but the second query does not. I have tried using mysqli_stmt::reset and mysqli_stmt::close, but had no luck with those either. Lastly, the

Re: [PHP] Performing Multiple Prepared Queries

2007-10-03 Thread Nathaniel Hall
i_stmt_free_result function. It would > probably be best to place the free_result call after each call to > fetch. Check > http://www.php.net/manual/en/function.mysqli-free-result.php for more > details about it. > I thought I had tried that, but apparently not. It works now. Th

[PHP] Performing Multiple Prepared Queries

2007-10-03 Thread Nathaniel Hall
ns outside of the foreach loop and it partially works. It starts displaying the information it is supposed ($fname $lname) but it repeats the rest of the information. Any thoughts? -- Nathaniel Hall, GSEC GCFW GCIA GCIH GCFA Spider Security -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Command line script

2007-05-02 Thread Nathaniel Hall
Greg Donald wrote: On 5/1/07, Nathaniel Hall <[EMAIL PROTECTED]> wrote: > I am attempting to run a script that will run from the command line > nightly to update a field in a database. I already created a script > that would access the database and insert most of the inf

Re: [PHP] PHP Command line script

2007-05-01 Thread Nathaniel Hall
further than here, even when hard coding the information. $logout->bind_param("s", date('m\-d\-Y\TH\:i\:s')); $logout->execute(); $logout->close(); } -- Nathaniel Hall, GSEC GCFW GCIA GCIH GCFA Spider Security -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Command line script

2007-05-01 Thread Nathaniel Hall
) { // <--- Will not go any further than here, even when hard coding the information. $logout->bind_param("s", date('m\-d\-Y\TH\:i\:s')); $logout->execute(); $logout->close(); }

Re: [PHP] Another SYSTEM Function Question

2007-04-27 Thread Nathaniel Hall
Richard Lynch wrote: On Thu, April 26, 2007 3:27 pm, Nathaniel Hall wrote: The command I am running is system("arp " . $_SERVER['REMOTE_ADDR'] . See also: http://php.net/exec Thanks to all for you help. I apparently missed that exec was the proper function

[PHP] Another SYSTEM Function Question

2007-04-26 Thread Nathaniel Hall
g echo. I would like to be able to assign what is returned to a variable so that I can do additional work on it. Any ideas? -- Nathaniel Hall, GSEC GCFW GCIA GCIH GCFA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Find MAC Address in PHP

2007-04-26 Thread Nathaniel Hall
chris smith wrote: On 4/25/07, Nathaniel Hall <[EMAIL PROTECTED]> wrote: Davi wrote: > Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu: > >> On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote: >> >>> >>> does not give me any >>> ou

Re: [PHP] Find MAC Address in PHP

2007-04-24 Thread Nathaniel Hall
Davi wrote: Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu: On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote: does not give me any output. I have copied arp to a place that the apache user can execute from and ensured arp is executable. Use exec and the extra

Re: [PHP] Find MAC Address in PHP

2007-04-24 Thread Nathaniel Hall
Richard Lynch wrote: On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote: I am attempting to find the MAC address of systems visiting my page from the local LAN. I have tried several things, but it appears it will not let me run system commands. For example, running " does not give m

[PHP] Find MAC Address in PHP

2007-04-20 Thread Nathaniel Hall
ut. I have copied arp to a place that the apache user can execute from and ensured arp is executable. This is on a Fedora Core 6 box running PHP 5.1.6-3.4 and Apache 2.2.3-5. Any help is appreciated. -- Nathaniel Hall -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Mark Email as Urgent

2005-10-13 Thread Nathaniel Hall
Richard Lynch wrote: > On Thu, October 13, 2005 12:47 pm, Nathaniel Hall wrote: > >>I have a PHP script that automatically sends an e-mail when accessed. >>Is there any way to mark the e-mail that is sent >>as urgent or flagged? >> >>Any help is appreciated. &g

[PHP] Mark Email as Urgent

2005-10-13 Thread Nathaniel Hall
I have a PHP script that automatically sends an e-mail when accessed. Is there any way to mark the e-mail that is sent as urgent or flagged? Any help is appreciated. -- Nathaniel Hall, GSEC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP code in a MySQL record

2005-07-28 Thread Nathaniel Hall
using >? echo $that_var; ?< and I have tried escaping everything, but that still didn't work. Any ideas? Nathaniel Hall [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php