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

2009-06-30 Thread Louie Miranda
1.txt, File2.txt, File3.txt, -- 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 > May be array_merge($array, explode(",", $string)). > >

[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 Mi

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

2009-04-02 Thread Louie Miranda
around 30mb or something? And, no error. Maybe, something is wrong on the config? -- 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 wrote: > Michelle Konzack wrote: > > > Hello Per, > > > >

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

[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_

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

2008-02-05 Thread Louie Miranda
$result = $curl->execute(); if (!PEAR::isError($result)) { //echo $result."\n"; } else { //echo $result->getMessage()."\n"; } $curl->close(); } else { //echo $result->getMessage()."\n";

[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

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

2007-10-21 Thread Louie Miranda
27;) > > > > perhabs another parameter order, but I think It won't work. > > Stopping it might work, but restarting... > > > > > > > > On Fr, Okt 19, 2007 at 04:32:45 +0800, Louie Miranda wrote: > > > Is it possible to restart Wind

[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 Is A

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

2006-10-17 Thread Louie Miranda
Some lines i used to display the text on an image.     imagettftext($background, 8, 0, 18, 140, $black, "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

Re: [PHP] Session_id within URL

2006-04-11 Thread Louie Miranda
t "old" IDs are void > Embed a second token in the GET/POST data that also expires > Challenge users for passwords before particularly sensitive actions > > -- > Like Music? > http://l-i-e.com/artists.htm > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://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

[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

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

2006-02-21 Thread Louie Miranda
, "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]) http://www.axishift.com //JSM-W

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

2006-02-21 Thread Louie Miranda
): &line_1_1=%2B88and%23 Image displayed: 88and - only missing + and # What could i be missing? -- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com //JSM-W

[PHP] PHP GD and Unicode

2005-08-10 Thread Louie Miranda
en 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://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] adding items on a input box and a checkbox.

2005-04-10 Thread Louie Miranda
t("exist: $itemValue"); }; // end if exist }; // end if itemvalue }; // end of foreach ### code ### Is it possible 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

[PHP] Counting numbers on while..

2005-03-28 Thread Louie Miranda
9 miranda edit | 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 r

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

[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, aft

[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] counting chars..

2004-12-15 Thread Louie Miranda
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

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

2004-12-08 Thread Louie Miranda
ide 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 PROTEC

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

2004-12-08 Thread Louie Miranda
string.. Array ( [0] => 2 [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] 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] 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

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]

[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 a number range from user input.. (weight)

2004-11-05 Thread Louie Miranda
gt; largest > weight > > You can probably figure ways to streamline this, but I think it may answer > your basic question. The best solution is one that works for you reliably, > and there have to be at least 50 ways to do this. This is just one. > > good luck, > >

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

2004-11-04 Thread Louie Miranda
> 1.001,1.5,11.97 > > Then, the following SQL statement will pull the appropriate value: > > SELECT value FROM weights WHERE 1.3 BETWEEN fromweight AND toweight > > Much warmth, > > Murray > http://www.planetthoughtful.org > Building a thoughtful planet, &g

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

2004-11-04 Thread Louie Miranda
t the number using 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 weig

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

2004-11-04 Thread Louie Miranda
.6 would fall under 2.0 and neither > of them would fall 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] &g

[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

[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. --

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

2004-10-24 Thread Louie Miranda
ache() and it have no effect. > Is there some alternative to file_exists() that I can use?? 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 > > -

[PHP] clearstatcache, how to use?

2004-10-24 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 Mirand

Re: [PHP] simple math computation..

2004-10-04 Thread Louie Miranda
0 > > -- > Regards, > Matthew Fonda > > > > On Sun, 2004-10-03 at 23:26, Louie Miranda wrote: > > the percent of 20% is = .20 right? > > how can i compute the correct value for this? > > > > my $totalCost is $4,000 and when i compute it to .20 u

[PHP] simple math computation..

2004-10-03 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

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

2004-10-03 Thread Louie Miranda
t;rb"); fpassthru($fp); and it did work. but im 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 corrup

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

2004-10-03 Thread Louie Miranda
ap! please help. -- 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. On Fri, 17 Sep 2004 15:04:44 +0800, Louie Miranda <[EMAIL PROTECTED]> wrote: > im not sure if i coded one of my application wrong, i am displaying an > image by displaying the itemcode and just adding a ".jpg" extension at > the end. > > li

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

2004-09-17 Thread Louie Miranda
y 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] $i++, incrementing by 10's

2004-09-16 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:

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

2004-09-15 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? R&OS pdf class? help: addTextWrap

2004-09-07 Thread Louie Miranda
being listed. 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
; } > > "); > > ?> > > try simply escaping the "\" before the "n" with an additional "\" or in > other words: use "\\n" instead of "\n". PHP will interpret "\\" as an "\". > > > > -- &

[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 thi

[PHP] PHP, over javascript code simple \n

2004-08-19 Thread Louie Miranda
se it wont 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? -- 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] Compile

2004-08-16 Thread Louie Miranda
"raditha dissanayake" <[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/) &

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

Re: [PHP] Re: Compile

2004-08-15 Thread Louie Miranda
PHP script? And if so, how? > > > > Watty > > > > > > -- > 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] 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?

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

2004-07-28 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

[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] Adding +7 more days on date() value problem

2004-07-27 Thread Louie Miranda
think its useless if im just going to do + on the DD (Day) value. Hmm :? ## cut: " .$plus7[0]. " " .$plus7[1]. " " .$plus7[2]. " Current Date: $curdate +7 Dats Date: $plus7 "); ?> ## -- Louie Miranda http://www.axishift.com -- PHP General Mailing List

[PHP] Re: select * on all current?

2004-07-26 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 Mi

[PHP] Re: select * on all current?

2004-07-26 Thread Louie Miranda
t;group by office > > > Just one more thing. You don't 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://lis

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

2004-07-26 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 w

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

2004-07-26 Thread Louie Miranda
Hmm, it seems 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 r&os 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 -- L

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] 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: 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 (

[PHP] expiring login by 5 days period

2004-07-18 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

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

2004-07-18 Thread Louie Miranda
all spaces on the filename. My problem now is, i dont know how to catch spaces and convert them to "%20" ## code, using PEAR DB ## while ($q->fetchInto($row)) { print (" " .$row[0]. " " .$row[1]. " " .$row[2]. "

Re: [PHP] PHP Hosting

2004-07-08 Thread Louie Miranda
let me assure you that this is not one of those shady pyramid schemes > you've been hearing about. 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

[PHP] session, explain?

2004-07-05 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, v

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

2004-06-28 Thread Louie Miranda
d- browser function UpdateQty(item) { itemId = item.name; newQty = item.options[item.selectedIndex].text; document.location.href = 'cart4.php?action=update_item&id='+itemId+'&qty='+newQty; } ho

[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

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] 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

[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

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

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

2004-02-25 Thread Louie Miranda
ing? I dont have any 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] 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

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?

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&qu

[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] 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

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

2004-01-15 Thread Louie Miranda
, it is more reliable to get the image type from >getimagesize(). If im going to use 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

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

2004-01-15 Thread Louie Miranda
userfile']['tmp_name'], $uploadfile)) { ## 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] 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 PROTECT

[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://w

Re: [PHP] calling include inside a function?

2003-12-11 Thread Louie Miranda
Just put the include inside the function. 1"; include("oongae.txt"); echo ""; print "2"; } ?> -- - 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] 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

[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

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&quo

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]>

[PHP] Unicode translation

2003-12-02 Thread Louie Miranda
generates 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

[PHP] php: file upload program limitation..

2003-10-29 Thread Louie Miranda
ad a file lower 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

Re: [PHP] using ImageGIF

2003-10-16 Thread Louie Miranda
yes, thanks for the information. Is there any other similar types like gd that can create gif's? -- - Louie Miranda http://www.axishift.com - Original Message - From: "Paul" <[EMAIL PROTECTED]> To: "Louie Miranda" <[EMAIL PROTECTED]>; <[EMAIL PR

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 PROTE

  1   2   >