[PHP] Push an Array, Comma separated.

2009-06-30 Thread Louie Miranda
GPS Administrative Page v2.3.12 (BETA)My array: Array ( [0] = Demo2.txt [1] = Demo.txt [2] = Demo.txt ) How could I push the values as: - Demo2.txt, Demo.txt, Demo.txt? Not sure which approach is good. $saveFiles = array(); array_push($saveFiles, $ufName); Help -- Louie Miranda (lmira

Re: [PHP] Re: Push an Array, Comma separated.

2009-06-30 Thread Louie Miranda
, -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Quality Web Hosting - www.axishift.com Pinoy Web Hosting, Web Hosting Philippines 2009/6/30 João Cândido de Souza Neto j...@consultorweb.cnt.br May be array_merge($array, explode(,, $string)). -- João Cândido de Souza Neto

[PHP] Upload large 100MB of PDFS to MySQL using PHP, Is my settings ok?

2009-04-02 Thread Louie Miranda
? -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Quality Web Hosting - www.axishift.com Pinoy Web Hosting, Web Hosting Philippines

Re: [PHP] Re: GeoIP?

2009-03-16 Thread Louie Miranda
Thanks for this! -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Quality Web Hosting - www.axishift.com Pinoy Web Hosting, Web Hosting Philippines On Mon, Mar 16, 2009 at 3:48 PM, Per Jessen p...@computer.org wrote: Michelle Konzack wrote: Hello Per, Am 2009-03-15 15

Re: [PHP] Can PHP do this? -- w/o using event handler

2008-03-03 Thread Louie Miranda
Thanks everyone. I think, I will go with the sockets. Louie On Tue, Mar 4, 2008 at 12:36 AM, Richard Lynch [EMAIL PROTECTED] wrote: On Mon, March 3, 2008 1:57 am, Louie Miranda wrote: Could PHP do.. 1. Connect and send a parameter to a remote host 2. Wait for the host to reply

[PHP] Can PHP do this? -- w/o using event handler

2008-03-02 Thread Louie Miranda
Could PHP do.. 1. Connect and send a parameter to a remote host 2. Wait for the host to reply -- not using event handler 3. Send XML data to the host -- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :)

[PHP] Re: How could i do this on CURL?

2008-02-06 Thread Louie Miranda
BTW, I just have read your script. I'll try it tomorrow. Looks like it will work for me. Louie On Feb 6, 2008 3:33 PM, Louie Miranda [EMAIL PROTECTED] wrote: It ain't easy. I have also read the FAQ of cURL http://curl.haxx.se/docs/faq.html#Can_I_use_curl_to_send_a_POST_PU 3.18 Can I use

[PHP] How could i do this on CURL?

2008-02-05 Thread Louie Miranda
parameters that i had just sent 3. file: connect - sends a XML post to the remote url (remote url, closes the connection and application) Could i send two CURL request in one instance? while waiting? -- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com Security Is A Series Of Well

[PHP] Re: How could i do this on CURL?

2008-02-05 Thread Louie Miranda
-getMessage().\n; } $curl-close(); } else { //echo $result-getMessage().\n; } } .. ? On Feb 6, 2008 9:17 AM, Manuel Lemos [EMAIL PROTECTED] wrote: Hello, on 02/05/2008 10:34 PM Louie Miranda said the following: I was able to create a working CURL connection

Re: [PHP] Is it possible to restart Windows Apache (service) on a PHP script?

2007-10-21 Thread Louie Miranda
. Stopping it might work, but restarting... On Fr, Okt 19, 2007 at 04:32:45 +0800, Louie Miranda wrote: Is it possible to restart Windows Apache (service) on a PHP script? i have installed PHP/Apache on a Windows machine. Added the ext windows32 service. But could not find any

[PHP] Is it possible to restart Windows Apache (service) on a PHP script?

2007-10-19 Thread Louie Miranda
Is it possible to restart Windows Apache (service) on a PHP script? i have installed PHP/Apache on a Windows machine. Added the ext windows32 service. But could not find any how to or information online. Please help! -- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com Security

[PHP] Displaying Arabic Texts as Image (Problems: arabic chars is reversed?)

2006-10-17 Thread Louie Miranda
, fonts/$fonts, $line_4);Please help!-- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com//JSM-W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PEAR] array on addElement, does not work = QuickForm

2006-10-15 Thread Louie Miranda
Ok thanks a bunch. On 10/13/06, Ian Warner [EMAIL PROTECTED] wrote: Louie Miranda wrote: Now i know. Wow, this is really a great tool. Can i filter CCexpiry for month and year.. lets say if today is october 2006 and user selected may 2006 (where it should had been expired already). Can

Re: [PHP] Session_id within URL

2006-04-11 Thread Louie Miranda
://www.php.net/unsub.php -- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com //JSM-W

Re: [PHP] Mathematical CAPTCHA

2006-03-08 Thread Louie Miranda
What i meant was. A CAPTCHA for: example.. one plus 10 = 11 The answer will be the CAPTCHA string On 3/7/06, Kim Hunter [EMAIL PROTECTED] wrote: a quick google of CAPTCHA php shows quite a few On 3/7/06, Louie Miranda [EMAIL PROTECTED] wrote: Is there a pear package or class for PHP

[PHP] Mathematical CAPTCHA

2006-03-06 Thread Louie Miranda
Is there a pear package or class for PHP? -- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com //JSM-W

[PHP] Special Chars on Form to Image (GD), not displaying properly.

2006-02-21 Thread Louie Miranda
, $black, includes/resources/$fonts, $line_1_1); .. ? I made a couple of tests and found this variables. The data that will be pass: +88and# Data from the url (address box): line_1_1=%2B88and%23 Image displayed: 88and - only missing + and # What could i be missing? -- Louie Miranda ([EMAIL

Re: [PHP] Special Chars on Form to Image (GD), not displaying properly.

2006-02-21 Thread Louie Miranda
. imagettftextalign($background, 8, 0, 385, 120, $black, includes/resources/$fonts, +88+and#$line_1_1, $alignment='R'); This one displays +88+and# properly on the GD image. I only get problems when displaying it from form to php gd. What could i be missing? :( -- Louie Miranda ([EMAIL PROTECTED

[PHP] PHP GD and Unicode

2005-08-11 Thread Louie Miranda
But when i try it on a image, that has been created with GD. It does nothing. I just want to confirm, it what im doing with the fonts possible thru GD/Jpeg? Please help, if this aint possible. I think imight purchase the PDFLib instead to test the unicode support. -- Louie Miranda http

[PHP] adding items on a input box and a checkbox.

2005-04-10 Thread Louie Miranda
to add a input box, where i can add ex: quantity of items and at the same time they can check the box? is it possible on my code? please help!. -- Louie Miranda http://www.axishift.com -- under development

Re: [PHP] adding items on a input box and a checkbox.

2005-04-10 Thread Louie Miranda
It's possible, but what's the point of having a qty and a checkbox? Because, i want my QTY(input) form to be edited right away. Its the basic code. -- Louie Miranda http://www.axishift.com -- under development

[PHP] Counting numbers on while..

2005-03-28 Thread Louie Miranda
| delete 10 miranda edit | delete And so on.. What i wanted it to do was.. 1 louie edit | delete 2 miranda edit | delete And so on.. I was wondering how can i get it to count only the rows, and dont repeat from 1 to 10 on all rows. Please help! -- Louie Miranda

[PHP] Get a PAGE

2005-01-27 Thread Louie Miranda
that can do this? -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Get a PAGE

2005-01-27 Thread Louie Miranda
I think pear http_download, does a diff job. sorry. how can i get a html page on my local folder, using php? On Fri, 28 Jan 2005 14:52:42 +0800, Louie Miranda [EMAIL PROTECTED] wrote: Im trying to capture the whole page of a certain courier service. What i want to do is, after i got the form

Re: [PHP] Get a PAGE

2005-01-27 Thread Louie Miranda
thank you. Is it possible to only show a certain from and end field? On Fri, 28 Jan 2005 00:59:05 -0600, Jon [EMAIL PROTECTED] wrote: I use libcurl for such functions On Fri, 2005-01-28 at 14:52 +0800, Louie Miranda wrote: Im trying to capture the whole page of a certain courier service

[PHP] counting chars..

2004-12-15 Thread Louie Miranda
?php $string = function yes good; $display = count_chars($string); echo $display; ? i know this is wrong, but how can i count chars used here? -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help me split chars w/o spaces by 2... like: 2004

2004-12-08 Thread Louie Miranda
[1] = 0 [2] = 0 [3] = 4 ) -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] help me split chars w/o spaces by 2... like: 2004

2004-12-08 Thread Louie Miranda
[EMAIL PROTECTED] wrote: have you tride using chop() ? # begin code $year_split = date(Y); $chars = chop($year_split); $chars[0] // = 2 $chars[1] // = 0 $chars[2] // = 0 $chars[3] //= 4 # end code I hope that will help From: Louie Miranda [EMAIL PROTECTED] Reply-To: Louie

[PHP] while inside a function

2004-12-05 Thread Louie Miranda
i have a while statement inside a function, but it seems like it dont work. is this possible? function hello() { while ($apo-fetchInto($row)) { print hello 2; } }; /eof -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] while inside a function

2004-12-05 Thread Louie Miranda
sorry, i overlooked on something. i need to rest for a while, im working on a wrong program thats why it wont work. heh, :(. thanks again. -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] getting the highest number in 3 db fields?

2004-11-18 Thread Louie Miranda
I have a db field of 3. - prolog - transmodal - asian I wish to get the highest number of those three, in different fields. Im thingking of.. if (row0 = row1) ... how about row2? confused.. -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] getting the highest number in 3 db fields?

2004-11-18 Thread Louie Miranda
thanks, im not aware that php also has max(), ty. On Thu, 18 Nov 2004 23:46:01 -0700, Dennis Seavers [EMAIL PROTECTED] wrote: Try using the SQL aggregate function MAX() or the PHP function max() [Original Message] From: Louie Miranda [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: 11/18

Re: [PHP] getting a number range from user input.. (weight)

2004-11-05 Thread Louie Miranda
Message- From: Louie Miranda [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 10:06 PM To: Murray @ PlanetThoughtful; [EMAIL PROTECTED] Subject: Re: [PHP] getting a number range from user input.. (weight) I have this on my db. mysql select * from rates_dhl where weight_kg

[PHP] getting a number range from user input.. (weight)

2004-11-04 Thread Louie Miranda
13.23 How can i get the range of: .1 to fall under .5 and 1.3 to fall under 1.0 and 1.6 to fall under 2.0 and so on.. any ideas? -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] getting a number range from user input.. (weight)

2004-11-04 Thread Louie Miranda
under 1.0. You must be using some logic that I am not getting. Can you be a little more specific? Warren Vail -Original Message- From: Louie Miranda [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 7:09 PM To: [EMAIL PROTECTED] Subject: [PHP] getting a number range

Re: [PHP] getting a number range from user input.. (weight)

2004-11-04 Thread Louie Miranda
the dot, and then compare the number that follows to make the decision. (I am sure you knew that) Devarj Louie Miranda wrote: OK, here is what it should do. I have a fixed range of weights from .5 to 20.0 Kg (kilogram) and for each weight it has a succeeding value, i cannot jump

Re: [PHP] getting a number range from user input.. (weight)

2004-11-04 Thread Louie Miranda
a thoughtful planet, One quirky comment at a time. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] best php script that counts current online users, question.

2004-10-26 Thread Louie Miranda
Hi, i got tired testing free php scripts that does count current online users and i could not find the best one yet. maybe someone can help me. im looking for a current counter for online users, php script that does count even if its inside a proxy with one ip. i can't find one. -- Louie

[PHP] clearstatcache, how to use?

2004-10-25 Thread Louie Miranda
the file_exists? or before? here's my code ## $itemCode_SHOW = $row[2]; $filename =(/www/images/stockprod/$itemCode_SHOW.jpg); if (file_exists($filename)) { $itemCode_SHOW = $row[2]; } else { $itemCode_SHOW = noimage; } clearstatcache(); ## -- Louie Miranda http://www.axishift.com

Re: [PHP] Problem with file_exists() and clearstatcache()...

2004-10-25 Thread Louie Miranda
?? I hope I'm explaining it clearly... FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] simple math computation..

2004-10-04 Thread Louie Miranda
? -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] simple math computation..

2004-10-04 Thread Louie Miranda
PROTECTED] wrote: Howdy. It seems to work fine for me, perhaps you have a typo along the lines some where. ?php $totalCost = 4000; $shippingestimate = $totalCost * .20; echo $shippingestimate; ? echoes 800 -- Regards, Matthew Fonda On Sun, 2004-10-03 at 23:26, Louie Miranda wrote

[PHP] output a PDF, over header(). causes corruption on the file?

2004-10-03 Thread Louie Miranda
'); // It will be called downloaded.pdf header('Content-Disposition: attachment; filename=downloaded.pdf'); // The PDF source is in original.pdf readfile('original.pdf'); ? what other alternatives can you suggest? i need this asap! please help. -- Louie Miranda http://www.axishift.com -- PHP

[PHP] Re: output a PDF, over header(). causes corruption on the file?

2004-10-03 Thread Louie Miranda
still waiting for other people's comment. On Mon, 4 Oct 2004 09:24:33 +0800, Louie Miranda [EMAIL PROTECTED] wrote: Im trying to output a pdf over a browser so i can hide the url link to it. but this one causes corruption. Try this.. http://dev.axishift.com/php/getpdf.php i got this part

[PHP] $i++, incrementing by 10's

2004-09-17 Thread Louie Miranda
is it possible to increment by 10's? or 20's? i have this piece of code, but it selects from 1 to 1000 and counts by 1's. for($i = 1; $i = 1000; $i++) -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] detect a file if it exist and display an image

2004-09-17 Thread Louie Miranda
. my problem now is the $itemCode is on a database and the image filename is on directory. Will it be possible to detect a image file it exist or not? -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: detect a file if it exist and display an image

2004-09-17 Thread Louie Miranda
this might work. ?php $filename = '/path/to/foo.txt'; if (file_exists($filename)) { echo The file $filename exists; } else { echo The file $filename does not exist; } ? On Fri, 17 Sep 2004 15:04:44 +0800, Louie Miranda [EMAIL PROTECTED] wrote: im not sure if i coded one of my

[PHP] auto converting a $string to ALL Upper Case.

2004-09-16 Thread Louie Miranda
Is there a PHP syntax that can convert a $string result to all UPPER CASE? -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] main(): open_basedir restriction in effect., help

2004-09-10 Thread Louie Miranda
is on a cpanel machine.. -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] anyone using? ROS pdf class? help: addTextWrap

2004-09-07 Thread Louie Miranda
. do you guys have any example that is working? -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP, over javascript code simple \n

2004-08-21 Thread Louie Miranda
\ or in other words: use \\n instead of \n. PHP will interpret \\ as an \. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] PHP, over javascript code simple \n

2004-08-19 Thread Louie Miranda
work anymore.. what i want is js should use the \n instead. is there any alternative for \n? so it can display properly on php? ?php print( if (document.rpcjs_louie.ColCustName.value == \\) { walangfield += \Missing: Firstname\n\; } ); ? -- Louie Miranda http://www.axishift.com -- PHP General

[PHP] Re: PHP, over javascript code simple \n

2004-08-19 Thread Louie Miranda
Got it. use ' and not because php reads if its under On Fri, 20 Aug 2004 11:10:24 +0800, Louie Miranda [EMAIL PROTECTED] wrote: Im having problems. Because my javascript is inside a PHP code. Now below are 1 line code of a print function that display this on the html header. i must put \n

Re: [PHP] Compile

2004-08-16 Thread Louie Miranda
[EMAIL PROTECTED] i think you are looking for something like turck mmcache. Do you know if Turck MMCache works with PHP 5.0? Teddy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Louie Miranda http

Re: [PHP] Re: Compile

2004-08-15 Thread Louie Miranda
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Compile

2004-08-15 Thread Louie Miranda
try this: http://turck-mmcache.sourceforge.net/ -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Graphing Webstats using MRTG/PHP/MYSQL?

2004-07-29 Thread Louie Miranda
has anyone know any tools related to this? Graphing Webstats using MRTG/PHP/MYSQL? -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Graphing Webstats using MRTG/PHP/MYSQL?

2004-07-29 Thread Louie Miranda
i was thingking more of php+mysql, then mrtg will get all the data from the sql or the php. something like that On Thu, 29 Jul 2004 10:50:09 +0300, Skippy [EMAIL PROTECTED] wrote: Quoting Louie Miranda [EMAIL PROTECTED]: has anyone know any tools related to this? Graphing Webstats using MRTG

Re: [PHP] issue a value on header, not working..

2004-07-27 Thread Louie Miranda
ah ic, thanks. it now works fine. thanks also for the tip! :) On Mon, 26 Jul 2004 23:29:06 -0700, Justin Patrin [EMAIL PROTECTED] wrote: On Tue, 27 Jul 2004 11:59:14 +0800, Louie Miranda [EMAIL PROTECTED] wrote: This outputs a filename on $catchresult, and im working on redirecting

[PHP] Re: select * on all current?

2004-07-27 Thread Louie Miranda
need distinct because you are already using group by. Mike -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http

[PHP] Re: select * on all current?

2004-07-27 Thread Louie Miranda
now its working, i was wondering if we can do max(dateposted) on update? mysql update datafiles set status = '1' where max(dateposted); ERROR : Invalid use of group function hmm? seems, not to be working at all. On Tue, 27 Jul 2004 14:43:58 +0800, Louie Miranda [EMAIL

[PHP] Adding +7 more days on date() value problem

2004-07-27 Thread Louie Miranda
its useless if im just going to do + on the DD (Day) value. Hmm :? ## ?php $curdate = date(Y-m-d); $plus7 = explode(-, $curdate); print ( pcut: .$plus7[0]. .$plus7[1]. .$plus7[2]. /p Current Date: $curdatebr +7 Dats Date: $plus7 ); ? ## -- Louie Miranda http://www.axishift.com -- PHP

[PHP] Re: [phpug-ph] expiring logins with-in 5days, nde pwede cookies.

2004-07-27 Thread Louie Miranda
HAHAHAHHAHA http://ph.php.net/manual/en/function.strtotime.php :) -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] issue a value on header, not working..

2004-07-26 Thread Louie Miranda
simple but, its really not working.. -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] good PHP to PDF libary?

2004-07-25 Thread Louie Miranda
do those pdf class support Unicode? So far, pdflib only supports unicode. -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] good PHP to PDF libary?

2004-07-23 Thread Louie Miranda
Im looking for some good and complete and advanced PHP to PDF libarary. So far, i have seen pdflib and ros pdf class. But i really would like to hear from you guys what is best? my only main goal for this is to create a low - res pdf and a hi - res business card pdf template. thanks -- Louie

[PHP] adding *** on email address upon view

2004-07-22 Thread Louie Miranda
What command in php? can i convert certain text ex the [EMAIL PROTECTED] to [EMAIL PROTECTED] -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: adding *** on email address upon view

2004-07-22 Thread Louie Miranda
or how about using the spam protection on php's site when u insert a comment check he manual links: http://nl.php.net/manual/en/function.eregi-replace.php Is source available for this page? -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net

[PHP] expiring login by 5 days period

2004-07-19 Thread Louie Miranda
string with the regdate and my 5 days expiration? pls help! -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: expiring login by 5 days period

2004-07-19 Thread Louie Miranda
thread close. thanks again! k, i'll try to convert those ts. $reg = 2004-07-20; $end = 2004-07-21; if ($reg $end) { print ok; } else { print not ok; } -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] catch $variable with spaces, and convert them

2004-07-18 Thread Louie Miranda
); }; ## end of code ## thanks -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Hosting

2004-07-09 Thread Louie Miranda
. No, sir. Our model is the trapezoid! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session, explain?

2004-07-06 Thread Louie Miranda
session_start(); setcookie(cartId, session_id(), time() + ((3600 * 24) * 30)); return session_id(); Can someone help me figure out what does the session of this code means? -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: javascript prob with php on ther browsers (old or new)

2004-06-28 Thread Louie Miranda
never mind, i got it solved. On Mon, 28 Jun 2004 11:13:01 +0800, Louie Miranda [EMAIL PROTECTED] wrote: Whenever i load this on my old/mac broweser like IE5, etc. The whole page just wont show up. How can i load this on php? to load it right? this loads ok on my new browser, im confused

[PHP] javascript prob with php on ther browsers (old or new)

2004-06-28 Thread Louie Miranda
my point? -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] running php even without .php extenstion, how can i do this?

2004-05-26 Thread Louie Miranda
I have seen similar sites that runs php. but without the extension. like: example.com/hello/great?ID=19 How can i do this? Run the php even without the .php extension -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] running php even without .php extenstion, how can i do this?

2004-05-26 Thread Louie Miranda
I got what you mean, but can we do this on the whole directory instead by files? Like for example the whole / directory and /subdirectory/ so i wont be doing that editing every files? The example you gave is working, btw. -- - Louie Miranda http://www.axishift.com - Original Message

[PHP] auto closing session?

2004-03-17 Thread Louie Miranda
for me. How can i solve that problem? Is their a command that will auto destroy the session after 5hours or so? -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] apostrophe ( ' ) on a form, adding \; How can i fix this?

2004-02-25 Thread Louie Miranda
filters for this? Any help is much appreciated! Thank you! -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] apostrophe ( ' ) on a form, adding \; How can i fix this?

2004-02-25 Thread Louie Miranda
Ok thanks, will check the manual also. Right now its working!~ -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem: Failed to write session data (lack of resources?)

2004-01-26 Thread Louie Miranda
. Im open to all possible solutions. I hope someone from the list can enlighten me on my problem. -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem: Failed to write session data (lack of resources?)

2004-01-25 Thread Louie Miranda
, btw, on some of my php pages i always have sessions. -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem: Failed to write session data (lack of resources?)

2004-01-25 Thread Louie Miranda
actually /tmp is under /root and it contains 10G of space free still. What could be wrong here? Is it im loosing hardware resources, etc? -- - Louie Miranda http://www.axishift.com - Original Message - From: Mike Migurski [EMAIL PROTECTED] To: Louie Miranda [EMAIL PROTECTED] Cc: [EMAIL

Re: [PHP] Problem: Failed to write session data (lack of resources?)

2004-01-25 Thread Louie Miranda
i mean under / -- - Louie Miranda http://www.axishift.com - Original Message - From: Louie Miranda [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 26, 2004 9:54 AM Subject: Re: [PHP] Problem: Failed to write session data (lack of resources?) actually /tmp is under

Re: [PHP] Very Simple one for u all :-)

2004-01-15 Thread Louie Miranda
like this? if ($value == $value_fetch) { do something } elseif ($value == $value_fetch { do something on this matter } else { error } -- - Louie Miranda http://www.axishift.com - Original Message - From: Dave Carrera [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 15

[PHP] filtering filename.ext on file-upload.

2004-01-15 Thread Louie Miranda
)) { ## code ## -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: filtering filename.ext on file-upload.

2004-01-15 Thread Louie Miranda
this and if the user did not use an ie browser, hm it will mess up things. Based on what i just read, it will not work on all. But thanks for the suggestion. pathinfo() hmm, will check it out. i think now i can more filter the results. -- - Louie Miranda http://www.axishift.com -- PHP General

Re: [PHP] Re: filtering filename.ext on file-upload.

2004-01-15 Thread Louie Miranda
if JPEG is = image/pjpeg how about PDF files? thanks, Louie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] detecting flash in php

2004-01-08 Thread Louie Miranda
is there anyway of detecting flash? in php -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] getenv of document_name in php

2004-01-07 Thread Louie Miranda
What is the getenv of document_name in php? -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] can't access a GET variable on function?

2003-12-15 Thread Louie Miranda
$emailto = $_GET['EmailTO']; function wtemp_mainbody() { print Contact (; echo $emailto; print ) Info; } Why can't i display a GET variable from a function? Or should i registered it on global session? -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http

[PHP] calling include inside a function?

2003-12-11 Thread Louie Miranda
I can't call an include inside a function, is this possible? -- function elo() { include (what.txt); } -- even -- $point = include (what.txt); function elo() { echo $point; } -- -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] calling include inside a function?

2003-12-11 Thread Louie Miranda
Its possible -- - Louie Miranda http://www.axishift.com - Original Message - From: Louie Miranda [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 11, 2003 3:34 PM Subject: [PHP] calling include inside a function? I can't call an include inside a function

Re: [PHP] calling include inside a function?

2003-12-11 Thread Louie Miranda
Just put the include inside the function. ?php post(); function post() { print font size=\2\1/fontbr; include(oongae.txt); echo br; print font size=\2\2/fontbr; } ? -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Unicode translation

2003-12-02 Thread Louie Miranda
the correct character. Any bright ideas on this? -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Unicode translation

2003-12-02 Thread Louie Miranda
Does all unicode characters have an equivalent key-stroke? and in even different fonts? -- - Louie Miranda http://www.axishift.com - Original Message - From: Leif K-Brooks [EMAIL PROTECTED] To: Luke [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 11:52 AM

Re: [PHP] Re: Unicode translation

2003-12-02 Thread Louie Miranda
Yes, i just learned that windows uses a decimal code and there is a hex value too. Well, since some unicode characters dont have a decimal value, its really getting harder to solve this kind of problems. :( -- - Louie Miranda http://www.axishift.com - Original Message - Luke [EMAIL

[PHP] php: file upload program limitation..

2003-10-29 Thread Louie Miranda
than 1mb it uploads it. Where the problem anyway? -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] using ImageGIF

2003-10-16 Thread Louie Miranda
http://url cannot be displayed, because it contains errors.) And how would you know that gif is supported? PNG and JPEG is shown on phpinfo(); -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] using ImageGIF

2003-10-16 Thread Louie Miranda
And here's the error [Fri Oct 17 10:52:20 2003] [error] PHP Fatal error: Call to undefined function: imagegif() in /Volumes/WWW_Root/louie/test.php on line 6 -- - Louie Miranda http://www.axishift.com - Original Message - From: Louie Miranda [EMAIL PROTECTED] To: [EMAIL PROTECTED

  1   2   >