[PHP] creating zip's with php - high memory usage

2008-06-11 Thread Aaron Axelsen
r use the ZipArchive extension, the php memory usages increases - close to 300mb. Is there any way to get around this spike of memory usage from within php? Or is there a better way alltogether to handle this? I'm open to suggestions! - -- Aaron Axelsen [EMAIL PROTECTED] Great hosting,

Re: [PHP] Send XML file with curl functions

2008-04-13 Thread Aaron Axelsen
The problem is that it is a 3rd party API that I am trying to submit data to. I have submitted a request to make the necessary changes for what I'm trying to do. Nathan Nobbe wrote: On Sun, Apr 13, 2008 at 1:07 PM, Aaron Axelsen <[EMAIL PROTECTED]> wrote: Option 2 is what I&

Re: [PHP] Send XML file with curl functions

2008-04-13 Thread Aaron Axelsen
2 and transmit the file so it will come over under $_FILES? -- Aaron Bojan Tesanovic wrote: On Apr 12, 2008, at 11:37 PM, Aaron Axelsen wrote: I am trying to create the following command with the php curl functions: curl -F "[EMAIL PROTECTED]" "http://path/to/api"; The prob

[PHP] Send XML file with curl functions

2008-04-12 Thread Aaron Axelsen
of that variable via curl? I thought just assigning the xml variable to data would work - but it hasn't. Any suggestions? -- Aaron Axelsen [EMAIL PROTECTED] Great hosting, low prices. Modevia Web Services LLC -- http://www.modevia.com -- PHP General Mailing List (http://www.ph

[PHP] PHP Fatal error: Call to undefined function hash_hmac()

2007-09-12 Thread Aaron Axelsen
function hash_hmac() Does anyone have any suggestions as to what might be causing this? -- Aaron Axelsen [EMAIL PROTECTED] Great hosting, low prices. Modevia Web Services LLC -- http://www.modevia.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Changing Session Timeout

2007-04-29 Thread Aaron Axelsen
reports that it has an expiration time of 1.5 hours instead of 3. Does anyone have any ideas why thats happening? Aaron Axelsen wrote: > Everything i've read in the documentation states to call session_start > after you have changed your necessary settings. Do you have a working >

Re: [PHP] Changing Session Timeout

2007-04-27 Thread Aaron Axelsen
007 1:37 pm, tedd wrote: >> At 12:26 PM -0500 4/27/07, Aaron Axelsen wrote: >>> With the following set, its still timing me out. I logged in >>> and waited about 40 minutes, and it was timed out by then. This >>> is getting very confusing, what else could i

Re: [PHP] Changing Session Timeout

2007-04-27 Thread Aaron Axelsen
ession.gc_maxlifetime', $mytimeout); #ini_set('session.gc_probability',1); #ini_set('session.gc_divisor',1); session_start(); Tijnema ! wrote: > On 4/27/07, Aaron Axelsen <[EMAIL PROTECTED]> wrote: >> I now have the following settings: >> >> session_na

Re: [PHP] Changing Session Timeout

2007-04-27 Thread Aaron Axelsen
the computer untouched for an hour. When I came back the session was timed out, and I was required to login. Something still isn't working right. Any ideas? I have checked the settings using phpinfo() and confirmed that the values are in fact being set by the above commands. -- Aaron T

[PHP] Changing Session Timeout

2007-04-26 Thread Aaron Axelsen
#x27;, $mytimeout); #ini_set('session.gc_probability',1); #ini_set('session.gc_divisor',1); session_start(); -- Aaron Axelsen [EMAIL PROTECTED] Great hosting, low prices. Modevia Web Services LLC -- http://www.modevia.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] using return in include files

2007-01-22 Thread Aaron Axelsen
ars that if there are functions in the include page that you can't use return to bail out. What is the desired functionality in this case? Is this a bug in how php handles it? or was return never designed to be used this way? Any thoughts are appreciated. -- Aaron Axelsen [EMAIL PROTECTE

Re: [PHP] local php.ini not recognized in php 5.1.x?

2006-09-03 Thread Aaron Axelsen
gt; of php.ini's? I don't have any idea what went wrong because I compiled php > 5.1.6 with the same options as php 5.0.6. > > Regards > Marten > > -- Aaron Axelsen [EMAIL PROTECTED] Great hosting, low prices. Modevia Web Services LLC -- http://www.modevia.com -

[PHP] Connecting to Webdav with php

2006-09-01 Thread Aaron Axelsen
27;t found anything. Thanks! - -- Aaron Axelsen [EMAIL PROTECTED] Great hosting, low prices. Modevia Web Services LLC -- http://www.modevia.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE+FuvuucONIvD0AMRAl94A

Re: [PHP] LDAPS agaisnt Active Directory

2005-10-20 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have been successful in getting apache to use the cert for .htaccess authentication. But i'm not seeing a clear way on how to make this happen with php. Can anyone offer any suggestions? - -- Aaron Axelsen [EMAIL PROTECTED] Great hosting

[PHP] LDAPS agaisnt Active Directory

2005-10-18 Thread Aaron Axelsen
, but everyone seems to have a different way. What is the best way to accomplish this? - -- Aaron Axelsen [EMAIL PROTECTED] Great hosting, low prices. Modevia Web Services LLC -- http://www.modevia.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla -

[PHP] AutoPostgreSQLBackup Released

2005-04-08 Thread Aaron Axelsen
couple weeks, and so far it's working like a charm. Visit the project page for my details: http://autopgsqlbackup.frozenpc.net Any problems, questions, bugs can be posted on the forum. I hope others can find this as useful as I do! -- Aaron Axelsen [EMAIL PROTECTED] Great hosting, low prices.

Re: [PHP] Very Odd Session Array Problem

2004-12-20 Thread Aaron Axelsen
ESSION['quotes'] array... then you are going to have recursion. It's not exactly an error, but it *is* a recursive array that never ends because it keeps pointing to itself. Hopefully this makes sense? -- Aaron Axelsen [EMAIL PROTECTED] Great hosting, low prices. Modevi

Re: [PHP] Very Odd Session Array Problem

2004-12-20 Thread Aaron Axelsen
;][$key]) i get errors that say RECURSION and its almost like the arrays are making new arrays instead of just storing them in the one session array. It is a very odd problem. Does that make things any clearer? Richard Lynch wrote: Aaron Axelsen wrote: We have the chunk of code at the botto

[PHP] Very Odd Session Array Problem

2004-12-18 Thread Aaron Axelsen
s); //print_r($quotes); //print_r($_SESSION['quotes'][$key]); //$_SESSION['quotes'][$key] = array(); //$quotes = $_SESSION['quotes'][$key]; print "Session"; print_r($_SESSION['quotes'][$key]); -- Aaron Axelsen [EMAIL PROTECTED] Great hosting, low prices. Modevia Web Services LLC -- http://www.modevia.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Coding Advice

2004-07-21 Thread Aaron Axelsen
er to the end? Thanks for your assistance. -- Aaron Axelsen aim: aaak2 email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] include question

2004-06-28 Thread Aaron Axelsen
Thanks, worked wonders. -- Aaron Axelsen Email: [EMAIL PROTECTED] -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 10:40 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] include question On Mon, 21 Jun 2004 10:31:42 -0500

[PHP] include question

2004-06-21 Thread Aaron Axelsen
? Thanks -- Aaron Axelsen aim: aaak2 email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] [PHP 4.3.6] Compiling agaisnt MySQL 4.0.18 on Redhat 8

2004-05-20 Thread Aaron Axelsen
I was trying to upgrade over the older one, which is why the paths are the same. I want to stick with the stable realease -- Aaron Axelsen Email: [EMAIL PROTECTED] -Original Message- From: raditha dissanayake [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 7:47 PM Cc: [EMAIL

RE: [PHP] [PHP 4.3.6] Compiling agaisnt MySQL 4.0.18 on Redhat 8

2004-05-20 Thread Aaron Axelsen
The mysql 3.x was installed with prefix /usr/local/mysql -- Aaron Axelsen Email: [EMAIL PROTECTED] -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 7:08 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] [PHP 4.3.6] Compiling agaisnt MySQL 4.0.18 on

[PHP] [PHP 4.3.6] Compiling agaisnt MySQL 4.0.18 on Redhat 8

2004-05-20 Thread Aaron Axelsen
:1158: undefined reference to `mysql_create_db' ext/mysql/php_mysql.lo: In function `zif_mysql_drop_db': /home/aaron/php-4.3.6/ext/mysql/php_mysql.c:1200: undefined reference to `mysql_drop_db' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 Any suggestions?

RE: [PHP] Include Errors

2004-04-01 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Allow_url_fopen is turned on - --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] Want reliable web hosting at affordable prices? www.modevia.com Web Dev/Design Community/Zine www.developercube.com - -Original Message- From

[PHP] Include Errors

2004-04-01 Thread Aaron Axelsen
' for inclusion (include_path='.:/path/to/php/lib/php') in /path/to/index.php on line 386 Any ideas or suggetsions are greatly welcome. Thanks. - --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] Want reliable web hosting at affordable prices? www.modevia.com Web Dev/D

[PHP] Preg Replace

2004-01-05 Thread Aaron Axelsen
However it doesn't work, any suggestions are appreciated. Thanks. Here is the chunk code: -- Aaron Axelsen AIM: aaak2 Email: [EMAIL PROTECTED]

RE: [PHP] Weird Problem

2003-07-29 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The only setting contained in that table is the one im calling for, and its value is 25. - --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] Want reliable web hosting at affordable prices? www.modevia.com Web Dev/Design Community/Zine

RE: [PHP] Weird Problem

2003-07-29 Thread Aaron Axelsen
$dbname); if (!$db){ echo "Could not connect to database"; exit (); } @$result=mysql_query($sql); if (!$result){ echo "Invalid Sql Command"; exit (); } - --- Aaron Axelsen A

[PHP] Weird Problem

2003-07-29 Thread Aaron Axelsen
$path = $row[0]; print $path; It always prints out "1" But if I run the code at the sql command prompt, it prints out "25", which is the correct value. Does anyone have any ideas why im having this problem?? - --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTE

[PHP] Coding Question

2003-07-20 Thread Aaron Axelsen
tests, and then altering the sql statement with the list option. Is this the best way to do this? Does anyone else have any other suggestions?? Thanks in advance for the assistance. - --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] Want reliable web hosting at affordable prices

RE: [PHP] Storing HTML string in database

2003-07-10 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I had forgotten about that, thanks alot - --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] Want reliable web hosting at affordable prices? www.modevia.com Web Dev/Design Community/Zine www.developercube.com - -Original Message

[PHP] Storing HTML string in database

2003-07-10 Thread Aaron Axelsen
It failes to work, because the $output strings contains "", which messes things up. Is there some way that this can be ignored while entering into the databse? Or am I better of replace all the "" with ''? Thanks for the assistance. - --- Aaron Axelsen AIM: AAAK2

RE: [PHP] $_POST problem

2003-07-09 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Whenever I call a vriable, I do something like $_POST['keyword'] Are you just getting a parse error? - --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] Want reliable web hosting at affordable prices? www.modevia.com Web

RE: [PHP] $_POST problem

2003-07-09 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sometimes in situatinos like that, it does the trick for me, im not really sure why though .., I just now it works :) - --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] Want reliable web hosting at affordable prices? www.modevia.com Web Dev

RE: [PHP] $_POST problem

2003-07-09 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Try: $img_keywords = trim({$_POST["keywords"]}); - --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] Want reliable web hosting at affordable prices? www.modevia.com Web Dev/Design Community/Zine www.developercube.com - ---

RE: [PHP] Sessions

2003-07-08 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Here is a good session tutorial, maybe it will help you see something your missing. http://www.sitepoint.com/article/319 - --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] Want reliable web hosting at affordable prices? www.modevia.com

[PHP] Storing large amounts of text in db

2003-07-07 Thread Aaron Axelsen
way to read that file, store the information in the database so it is easily accessable later. I thinkg that longtext would be the right mysql option for me. One problem I need to conquer is how to maintain formatting in the documents. Any suggestions and comments are welcome. Thanks. - --- Aaron

RE: [PHP] Chomp, Chomp, Chomp

2003-06-20 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The php chop function is suppose to act like the perl chomp. - --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] Want reliable web hosting at affordable prices? www.modevia.com Web Dev/Design Community/Zine www.developercube.com

RE: [PHP] Re: preg_match

2003-06-20 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks, I weas reading on the php website under the preg_match functino and people were saying that you had to excape the $ so that iw ould be evaluated right. That's what got me confused. - --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROT

[PHP] preg_match

2003-06-19 Thread Aaron Axelsen
"$date[$i]";     } - --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] Want reliable web hosting at affordable prices? www.modevia.com Web Dev/Design Community/Zine www.developercube.com -BEGIN PGP SIGNATURE- Version: PGPfreeware 7.0.3 for non-commercial use <h