Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Francisco C Soares
other than php.net/oop5. Try, Tente, http://www.killerphp.com/tutorials/object-oriented-php/ Success! Sucesso! ___ Francisco C Soares ( *Junior* ) 403790c89847cdbe5a262146de8fb93139c4 BLOG dotjunior.blogspot.com <http://dotjunior.blogspot.com/>

[PHP] Alternative session control system

2011-12-26 Thread Francisco M. Marzoa Alonso
Hello, I need an alternative session control system different from the PHP standard one, that does not need to use the headers, because it's for a series of scripts that will be accessed through AJAX javascript code inserted in different places of a web page which headers I do not control, so I ca

[PHP] Problems with CURL using an HTTP Proxy on PHP5

2011-12-16 Thread Francisco M. Marzoa Alonso
Hello, The following code is failing and I do not find the cause (please, note that checkurl value and CURLOPT_PROXY are NOT the real values I'm using, of course): $ch = curl_init(); $checkurl = 'http://mycheckhost.com/'; curl_setopt ($ch, CURLOPT_TIMEOUT, 6000); c

[PHP] Problems with proc_open and getmypid

2011-11-14 Thread Francisco M. Marzoa Alonso
Hello, I'm developing a PHP application that runs on GNU/Linux with php cli. A process must launch another one and store its pid, so I use proc_open and then proc_status to achieve that. The child process must also get its own pid and write it down to a file. After that, the calling process shou

[PHP] Re: very strange session behavior -- fails on port 80, works on 9090

2009-03-20 Thread francisco j sanchez
/who might be switching the domain (apache, php, client-side?)? Thanks again! --fjs-- On Fri, Mar 20, 2009 at 08:35, Shawn McKenzie wrote: > Shawn McKenzie wrote: >> francisco j sanchez wrote: >>> hello. I have been working on this bug for days now, and have scoured >>>

[PHP] very strange session behavior -- fails on port 80, works on 9090

2009-03-20 Thread francisco j sanchez
s empty, in which case you are redirected to the search page. please let me know if you need any more information. any help would be _very_much_appreciated_!!! thanks! --fjs-- -- francisco j sanchez -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 500 Internal Server Error

2007-09-30 Thread Francisco Frost
t all the files are there. "Per Jessen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Francisco Frost wrote: I'm getting an error with my PHP, I'm running Apache 2.2.6 and every time I try to access a PHP page on the Apache server, it says HTTP 500 Internal

[PHP] 500 Internal Server Error

2007-09-30 Thread Francisco Frost
I'm getting an error with my PHP, I'm running Apache 2.2.6 and every time I try to access a PHP page on the Apache server, it says HTTP 500 Internal Server Error, can anyone help? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Select record by ID

2007-01-28 Thread Francisco M. Marzoa Alonso
On dom, 2007-01-28 at 18:20 -0600, Larry Garfield wrote: > On Sunday 28 January 2007 5:54 pm, Francisco M. Marzoa Alonso wrote: > > On dom, 2007-01-28 at 18:51 -0500, nitrox . wrote: > > > I took the quotes off. I thought that quotes around numbers was wrong > > >

Re: [PHP] Select record by ID

2007-01-28 Thread Francisco M. Marzoa Alonso
On dom, 2007-01-28 at 18:51 -0500, nitrox . wrote: > I took the quotes off. I thought that quotes around numbers was wrong also. Quotes are no necessary around numeric values, but they aren't wrong neither, simply optional. > I added the error checking and this is the error: > > Could not perfo

Re: [PHP] Select record by ID

2007-01-28 Thread Francisco M. Marzoa Alonso
nd paste from my own code and you've not $query defined on your one. I prefer to store first the query on a string to show it complete if there's an error late, because it may show also the point. On lun, 2007-01-29 at 00:39 +0100, Francisco M. Marzoa Alonso wrote: > The first thing th

Re: [PHP] Select record by ID

2007-01-28 Thread Francisco M. Marzoa Alonso
The first thing that I probably do is to check for possible errors from DB: $result = mysql_query("SELECT * FROM inf_member WHERE user_id='$user_id' "); if ( ! $result ) { die ("Could not perform query $query: ".mysql_error()."\n"); } Regards, On dom, 200

Re: [PHP] DATE

2007-01-27 Thread Francisco M. Marzoa Alonso
On sáb, 2007-01-27 at 23:51 -0500, Ron Piggott wrote: > I have date in the variable $date_reference in the format -MM-DD. > How do I find out the date before this and the date after this? Ron > http://us3.php.net/manual/en/function.date.php#68716 RTFM :-P signature.asc Description: This

Re: [PHP] Re: My objects eats too much (and weird!) memory

2007-01-27 Thread Francisco M. Marzoa Alonso
wrote: > Francisco M. Marzoa Alonso wrote: > > AFAIK there's no other way to measure memory usage on PHP than this, if > > you know something better it could be more constructive if you show it. > > The last time I looked I think the xdebug module allowed you to get the > memory co

Re: [PHP] My objects eats too much (and weird!) memory

2007-01-27 Thread Francisco M. Marzoa Alonso
On sáb, 2007-01-27 at 20:05 +, Roman Neuhauser wrote: > # [EMAIL PROTECTED] / 2007-01-26 20:40:34 +0100: > > I've written this to check memory consumption of PHP5 objects, because > > I'm having memory problems with an OO XMLParser that I've written. > > It measures something else though. The

[PHP] My objects eats too much (and weird!) memory

2007-01-27 Thread Francisco M. Marzoa Alonso
Hello! I'm new here, so I do not know if attachments are allowed, so I put my code below. I've written this to check memory consumption of PHP5 objects, because I'm having memory problems with an OO XMLParser that I've written. When I execute the code from cli, I get: $ php MemTest.php Obj1 u

[PHP] readdir problem with white spaces

2006-06-15 Thread Francisco Morales
Hello, I the following problem with readdir When I read the directory, if the file has more than one "white spaces", readdir only return me the file with one space ... so if I have on the file system . "ROAD 1 005.JPG" or "ROAD1 0005.JPG" php readdir return me ROAD 1 005.JPG

Re: [PHP] "No input file specified." error.

2004-12-21 Thread Francisco Javier Escoppinichi Fernandez
Curt Zirzow escribió: * Thus wrote Francisco Javier Escoppinichi Fernandez: Hi Curt, * Thus wrote Francisco Javier Escoppinichi Fernandez: Hello people. I got a little problem here, and I already searched on Google for possible solutions, but I still can't figure how to fix it. I'm de

Re: [PHP] "No input file specified." error.

2004-12-21 Thread Francisco Javier Escoppinichi Fernandez
Hi Curt, * Thus wrote Francisco Javier Escoppinichi Fernandez: Hello people. I got a little problem here, and I already searched on Google for possible solutions, but I still can't figure how to fix it. I'm developing a CMS Application on PHP. On my dev machine I'm running Apac

[PHP] "No input file specified." error.

2004-12-21 Thread Francisco Javier Escoppinichi Fernandez
Hello people. I got a little problem here, and I already searched on Google for possible solutions, but I still can't figure how to fix it. I'm developing a CMS Application on PHP. On my dev machine I'm running Apache 1.3.33 + PHP 4.3.9 as a module, and on my production machine i'm running Apache

[PHP] [SOLUTION] Re: [PHP] Objects and sessions

2004-12-09 Thread Francisco M. Marzoa Alonso
Thomas Munz wrote: I think, its not possible to init an Objeect on a session. Yes, it can. The problem was with serialization. With session.auto_start set to 1 on php.ini, seems like session's objects are unserialized before loading the script, so the class is not loaded when the session unseri

[PHP] Objects and sessions

2004-12-09 Thread Francisco M. Marzoa Alonso
Following code: class SessionTestC { protected $value; function __construct ( $val ) { $this->value = $val; } function GetValue () { return $this->value; } } if ( isset ($_SESSION['TestObj'])) { echo 'Session Test is set to: '.$_SESSION['TestObj']->GetValue().''; }

[PHP] Overriding static members?

2004-11-25 Thread Francisco M. Marzoa Alonso
Can I override static members in someway under PHP5? Is the answer is negative, Why not? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Getting static member for a class which name is stored in a variable

2004-11-25 Thread Francisco M. Marzoa Alonso
I've code like follows: class TestClass { public static $Data = 'This is the data'; } $Obj = new TestClass (); $ClassName = get_class ($Obj); echo $ClassName::$Data; ?> It gives me an error like: Parse error: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM ... I've found googling that it means t

Re: [PHP] Sorting...

2004-11-17 Thread Francisco M. Marzoa Alonso
If each element of the array is a string with those contains, it should be sorted as you want just calling sort function. It will considerate also rest of characters, of course, but the most significative should be the first ones. Another alternative is to wrote a quicksort function in PHP cust

[PHP] php broken pipe

2004-11-16 Thread Rui Francisco
wing error [nativecode=Unable to complete network request to host "127.0.0.1". Error writing data to the connection. Broken pipe] And continue the loop of the records of the query. Is this a regular beaviour ? How can it be solved ? I'm using Pear DB for database access. Thank you in adv

[PHP] Dinamically adding methods to an object instance?

2004-11-15 Thread Francisco M. Marzoa Alonso
I've seen that's possible to add public members to objects dinamically, such as: class TestClass { public $One=1; } $Obj = new TestClass (); $Obj->Two = 2; echo $Obj->Two; ?> There'll be a public "Two" member that's not defined in the class. Is it possible to add methods dinamically to an obj

[PHP] explode and PATH_SEPARATOR

2004-11-15 Thread Francisco M. Marzoa Alonso
Taking this code: define (PATH_SEPARATOR, "/"); $String="Root/One/Two/Three/Last"; $arr = explode ( PATH_SEPARATOR, $String ); var_dump ( $arr ); $arr = explode ( "/", $String ); var_dump ( $arr ); ?> It works fine in second case returing a five elements array, but in the first one it returns a

[PHP] Shell_exec timeout question

2004-11-11 Thread Rui Francisco
HI, Does anybody know if its possible to execute a command through exec, shell exec, system and if the program doesn't terminate in N seconds returns control to PHP ? Thanks in advance Rui Francisco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

[PHP] Callback function as parameter

2004-11-10 Thread Francisco M. Marzoa Alonso
Hi everybody, I want to wrote a function that receives another function as parameter that will be used as a Callback. Well, better a bit of code than thousand words: class TreeNode { ... function Traverse ( CallBack ) { $rtn = CallBack ($this); foreach ($this->Sons as $Son) {

Re: [PHP] Shell Script error

2004-11-10 Thread Rui Francisco
ght on the database, and the database doesn't implement security measures like Mysql for access from other hosts. The problem is that if i run the script on the browser it works, but on the command line on Windows machine it doesn't work Thanks in advance Rui Francisco Angelo Zanetti wr

[PHP] Shell Script error

2004-11-10 Thread Rui Francisco
Error: connect failed). Does anybody know what is the problem ? Thanks in advance Rui Francisco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Re: VOTE TODAY

2004-11-05 Thread Francisco M. Marzoa Alonso
That's true for Germany and France and probably another european countries, but in Spain by example we've just 512/128kbps paying the same that a french by 6Mbps/512kbps. Never mind, this dammed country continues being more the North of Africa than the South of Europe... Best regards, Michelle

Re: [PHP] Determining system resources

2004-11-04 Thread Francisco M. Marzoa Alonso
Greetings Robin, As far as you cannot lock another processes in the system, so this will not give you the security that the resources will not change -and probably they'll do it- while you're trying to download that file. Best regards, Robin Getz wrote: I have been unable to find a php function

Re: [PHP] Re: VOTE TODAY

2004-11-03 Thread Francisco M. Marzoa Alonso
This is my second and last message on this issue. Perhaps this list is not the best place to discuse about politics, but it isn't for create and follow personal issues neither. In my (not-so :-P) humble opinion everyone that follows this kind of threads is as guilty of making noise as the one wh

Re: [PHP] Unexpected results with object to array cast

2004-11-03 Thread Francisco M. Marzoa Alonso
result its perfectly logical, indeed. Francisco M. Marzoa Alonso wrote: Produce the following output: TestClass Object ( [self:private] => TestClass Object *RECURSION* ) Array ( [ TestClass self] => TestClass Object ( [self:private] => TestClass Object *RECURSION* ) ) While I expect to find

[PHP] Unexpected results with object to array cast

2004-11-03 Thread Francisco M. Marzoa Alonso
This code: function __construct () { $this->self = $this; } } $Obj = new TestClass (); print_r ( $Obj ); echo ""; $Arr = (array) $Obj; print_r ( $Arr ); ?> Produce the following output: TestClass Object ( [self:private] => TestClass Object *RECURSION* ) Array ( [ TestClass self] => Te

Re: [PHP] Re: [users@httpd] November 2, 2004

2004-11-02 Thread Francisco M. Marzoa
Jordi Canals wrote: On Tue, 2 Nov 2004 17:57:02 +0100, Enrico Weigelt <[EMAIL PROTECTED]> wrote: BUT: i personally think its okay to talk about such offtopics when they're so generally important. Perhaps is so important to US citizens, but not to much people outside the US ... That's full

Re: [PHP] Help with preg_match_all()

2004-10-31 Thread Francisco Javier Escoppinichi Fernández
Thanks! Worked like a charm! *Problem solved* On Mon, 1 Nov 2004 03:01:12 +, Curt Zirzow <[EMAIL PROTECTED]> wrote: > * Thus wrote Francisco Javier Escoppinichi Fernndez: > > Hello people... > > > > I'm relatively a beginner with regular expressions, so I

[PHP] Help with preg_match_all()

2004-10-31 Thread Francisco Javier Escoppinichi Fernández
I need to create a expression to get all the tags from the HTML with preg_match_all() in order to have them in a array... Can you help me with this.. I already Googled for that, but I really don't understand too well :P -- Francisco Javier Escoppinichi Fernández Email: [EMAIL PROTECTED] Web:

[PHP] bless function: a better aproach

2004-10-27 Thread Francisco M. Marzoa Alonso
Giving it a round, this seems to be a better aproach than the previous one. It has the advantage of provide direct access to the original array obtained from casting without boring about ___FAKE_KEYS_. function obj2array ( &$Instance ) { $clone = (array) $Instance; $rtn = array (); $rt

[PHP] bless function

2004-10-27 Thread Francisco M. Marzoa Alonso
Ok, I think I've got it now. The code is autoexplicative, the only restriction is that the object must be converted to an array using the function obj2array instead of a direct cast. There's another ways to do this without the needless of that obj2array function, but I think this is not really

Re: [PHP] Problem with Regular expression

2004-10-27 Thread Francisco M. Marzoa Alonso
Try with \s instead of \b, I meant: $pattern = "/(\sand\s)|(\snot\s)|(\sor\s)|(\s&&\s)|(\s&\s)|(\s\.\s)|(\s\+\s)|(\s\|\|\s)|(\s\|\s)/i"; kioto wrote: Hi all. I have a problem: i want subs any characters from a string but i don't have fix the problem. The string that i want to manipulate is the v

Re: [PHP] [SOLUTION] Re: [PHP] Convert an array in an object instance

2004-10-27 Thread Francisco M. Marzoa Alonso
instead. Anyway I think it should be easily fixed (when I've time to do it, now I must work in another thing :-| ) Francisco M. Marzoa Alonso wrote: Ok, I've write a function that emulates the Perl's bless one. It works pretty well. The idea comes to me when Rob suggest to parse th

[PHP] [SOLUTION] Re: [PHP] Convert an array in an object instance

2004-10-27 Thread Francisco M. Marzoa Alonso
Ok, I've write a function that emulates the Perl's bless one. It works pretty well. The idea comes to me when Rob suggest to parse the serialized data. I think this is better -or at least faster- than parsing all serialized data to modify object values: Just convert the object to an array, mod

[PHP] Re: Add methods to object dinamically

2004-10-26 Thread Francisco M. Marzoa
Greg Beaver wrote: Sort of :) In PHP5, this will work. [...] Very nice, thanks a lot :-) However, you won't have access to private or protected data members. Damn! that's exactly what I want! :-( It is always better to rigidly define your methods, and extend the class as someone else suggested. Th

[PHP] Add methods to object dinamically

2004-10-26 Thread Francisco M. Marzoa Alonso
I've seen that's possible to add members to objects dinamically, in example: class MyClass { private $a; } $MyObject = new MyClass (); $MyObject->b = 1; Now $MyObject has a public member called 'b' that has a value of '1'. The question is, is it possible to add methods in the same way? I meant s

Re: [PHP] Protecting Commercial PHP Scripts

2004-10-26 Thread Francisco M. Marzoa Alonso
Nick Wilson wrote: * and then Francisco M. Marzoa Alonso declared I was wondering if anyone might have suggestions or useful links on protecting commercial php scripts. I am about to design a system that would be pretty valuable in a very niche market and would not wish the script to be

Re: [PHP] Protecting Commercial PHP Scripts

2004-10-26 Thread Francisco M. Marzoa Alonso
Nick Wilson wrote: Hello all, I was wondering if anyone might have suggestions or useful links on protecting commercial php scripts. I am about to design a system that would be pretty valuable in a very niche market and would not wish the script to be passed on to others once downloaded. Suggesti

Re: [PHP] Re: Convert an array in an object instance

2004-10-25 Thread Francisco M. Marzoa Alonso
Curt Zirzow wrote: * Thus wrote Francisco M. Marzoa Alonso: FYI, the reason I need this is because I'm creating my own object's serialization routines. Why would you want to do this? I was walking through the forest when, suddenly, a white light comes from the west through

Re: [PHP] Re: Convert an array in an object instance

2004-10-25 Thread Francisco M. Marzoa Alonso
Marek Kilimajer wrote: Francisco M. Marzoa Alonso wrote: [EMAIL PROTECTED] wrote: No. You need to remember that in most cases where you cast a variable from one type to another, you will experience data (precision) loss. This is also the case in converting an object to an array. Only the

Re: [PHP] Re: Convert an array in an object instance

2004-10-25 Thread Francisco M. Marzoa Alonso
[EMAIL PROTECTED] wrote: No. You need to remember that in most cases where you cast a variable from one type to another, you will experience data (precision) loss. This is also the case in converting an object to an array. Only the properties are copied over (since functions can not be part of an a

Re: [PHP] Substr

2004-10-25 Thread Francisco M. Marzoa Alonso
You can also use split function if you do not know about regular expressions and do not want to learn: $string = "pid_1_date_2004_10_25"; $regs = split ("_", $string ); print_r ($regs); ?> I think its autoexplicative. Shaun wrote: Hi, I have a string as follows: pid_1_date_2004_10_25 pid tells m

Re: [PHP] Substr

2004-10-25 Thread Francisco M. Marzoa Alonso
Use regular expresions: $string = "pid_1_date_2004_10_25"; preg_match ( '/^pid_(.*?)_date_(.*?)$/', $string, $regs ); print_r ($regs); ?> Shaun wrote: Hi, I have a string as follows: pid_1_date_2004_10_25 pid tells me the Project_ID and date tells me the date(!). I need to extract this informatio

[PHP] Convert an array in an object instance

2004-10-25 Thread Francisco M. Marzoa Alonso
Hi, Is it possible to convert an array in an object instance? I can convert an object in an array as follows: $Test = new MyClass (); $TestArray = (array) $Test; Then I've an array with all members of the object $Test, but it seems that I cannot simply do: $TestObject = (MyClass) $TestArray; To rec

[PHP] Serializing objects with protected members

2004-10-22 Thread Francisco M. Marzoa Alonso
Hi, I'm trying to wrote my own serialization routines and I've found a previsible problem: protected members are not visible to my serialization routine. This is ok and it should be as is, but I've seen that PHP's serialize function have access to that members anyway, so the question is: Is the

Re: [PHP] change server unix->win

2004-10-20 Thread Francisco M. Marzoa Alonso
Just a point: this will be a problem if they have some forward slashes that are not specifying file paths, i.e. URLs in the code like http://www.whereveryouwant.com/ will be substituted by http:\\www.whereveryouwant.com\ Greg Donald wrote: On Wed, 20 Oct 2004 13:17:08 +0200, Patrick Fehr <[EMA

Re: [PHP] Nesting level too deep - recursive dependency?

2004-10-18 Thread Francisco M. Marzoa
Brent Baisley wrote: I was looking at this before and I'm not even sure what you are trying to do. For one, you are testing to see if the contents of a class variable are equal to a class instance: $TestObj->myself == $TestObj Which seems a logic equivalent to: $TestObj->myself == TestClass()

Re: [PHP] Nesting level too deep - recursive dependency?

2004-10-18 Thread Francisco M. Marzoa Alonso
Ah, OK thanks for your advice Chris. Chris Dowell wrote: Francisco You really need to post this to [EMAIL PROTECTED] - this list is for us lowly users of PHP, the developers and maintainers of the language have their own list. Cheers Chris Francisco M. Marzoa Alonso wrote: Can someone tell me

Re: [PHP] Nesting level too deep - recursive dependency?

2004-10-18 Thread Francisco M. Marzoa Alonso
Can someone tell me if I should fill a bug report about this or is it my fault??? Francisco M. Marzoa Alonso wrote: This code: class TestClass { public $myself; function __construct () { $this->myself = $this; } } $TestObj = new TestClass (); if ( $TestObj->

[PHP] Nesting level too deep - recursive dependency?

2004-10-18 Thread Francisco M. Marzoa Alonso
This code: class TestClass { public $myself; function __construct () { $this->myself = $this; } } $TestObj = new TestClass (); if ( $TestObj->myself == $TestObj ) { echo "They are same.\n"; } ?> Gives me a "Fatal error: Nesting level too deep - recursive dependency?" on lin

RE: [PHP] PHP- Dependant dropdown based on Mysql queries

2004-08-30 Thread Francisco Puente XFMP (QA/EMC)
sed by PHP and the server response is good so far. Kind regards, Francisco -Original Message- From: Vail, Warren [mailto:[EMAIL PROTECTED] Sent: August 30, 2004 4:32 PM To: Francisco Puente XFMP (QA/EMC); Brent Clements; [EMAIL PROTECTED] Subject: RE: [PHP] PHP- Dependant dropdo

RE: [PHP] PHP- Dependant dropdown based on Mysql queries

2004-08-30 Thread Francisco Puente XFMP (QA/EMC)
with some ideas provided from this list, but if you've coded this before would be more thank appreciated. Thanks a lot man! Francisco -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED] Sent: August 30, 2004 4:24 PM To: Francisco Puente XFMP (QA/EMC) Cc:

RE: [PHP] Re: PHP- Dependant dropdown based on Mysql queries

2004-08-30 Thread Francisco Puente XFMP (QA/EMC)
Hi Torsten, I believe this is what I need, I'll give it a try, and I'll add the 'onChange()' event as you say. I'll get back to the list once I did some extra effort trying this ;-) Kind regards, Francisco -Original Message- From: Tor

RE: [PHP] PHP- Dependant dropdown based on Mysql queries

2004-08-30 Thread Francisco Puente XFMP (QA/EMC)
se to populate the javascript code to be used but I disregard this since the data from the database is pretty big and a lot of user accessing at the sime will put the load on the roof. I'm sure there is an easier way to go.. Thanks a lot! Francisco -Original Message-

Re: [PHP] Problem with str_replace

2004-08-29 Thread Francisco Javier Escoppinichi Fernández
Hah! Beginner's mistake! I think I need some rest... I'm skipping some basic details :) *PROBLEM SOLVED* Thank you people... -- Francisco Javier Escoppinichi Fernández Email: [EMAIL PROTECTED] Web: http://www.fire-dragon.net/ MSN: [EMAIL PROTECTED] Cel: 044 (612) 348 91 00 "S

Re: [PHP] Problem with str_replace

2004-08-29 Thread Francisco Javier Escoppinichi Fernández
On Sun, 29 Aug 2004 19:36:49 -0400, John Nichel <[EMAIL PROTECTED]> wrote: > Francisco Javier Escoppinichi Fernández wrote: > > Hello people... > > > > I have a little problem here... I hope you can help me... > > > > I'm building a simple template s

[PHP] Problem with str_replace

2004-08-29 Thread Francisco Javier Escoppinichi Fernández
ong? Thank you very much in advance for your help. P.S. Sorry for my bad english. -- Francisco Javier Escoppinichi Fernández Email: [EMAIL PROTECTED] Web: http://www.fire-dragon.net/ MSN: [EMAIL PROTECTED] Cel: 044 (612) 348 91 00 "Sólo hay 3 cosas que no vuelven atrás: la palabra emitid

[PHP] PHP 4.3.8 + Apache 1.3.31 + Oracle 9.2.0.4 Segmentation Fault

2004-08-24 Thread Francisco Puente XFMP (QA/EMC)
ith no luck. As stated above, removing oracle support it works great! It's a php problem? it's apache's? oci? Any help will be very very welcome! Francisco

[PHP] Multiple upload files with php problem!!

2003-07-09 Thread Francisco Morales
Hi, I need to upload multiples files using php, but with the same "" tag, somebody can help my, is this feature supported by php?. Anyboy knows how to invocate the browser windows that allow to select more than one file for upload ? thanks a lot

[PHP] Multiple upload files with php

2003-07-09 Thread Francisco Morales
Hi, I need to upload multiples files using php, but with the same "" tag, somebody can help my, is this feature supported by php?. Anyboy knows how to invocate the browser windows that allow to select more than one file for upload ? thanks a lot

[PHP] Me again...

2003-02-24 Thread Francisco Mosse \(c\)
me (ShortName), UNIQUE ShortName_2 (ShortName) ); It seems that the problem resides in ShortName.... but I still don´t understand what to do... Thanks a lot!!! Francisco _ Francisco Mosse - [EMAIL PROTECTED] - Webmaster de http://www.alipso.com - Centro de Capacitación DELFOS (http://www.delfosweb.com.ar). 4821-3353 / 4823-9334 - http://www.TangoStore.com 4371-7500 _

[PHP] How does PHP transforms an integer on a string? like "3" onto "three"

2003-02-14 Thread Francisco
Does PHP transforms an integer on a string? Like: "78" onto "seventy eight" How does it do it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP session logger

2002-12-26 Thread Francisco Vaucher
You have all the /tmp/session_xxx files that contain info about the sessions variables... Well, I need a logger to watch them... nothing else Francisco M. Vaucher Departamento IT Tyco / ADT Security Services Buenos Aires - Argentina mailto:[EMAIL PROTECTED] -Mensaje original

[PHP] PHP session logger

2002-12-26 Thread Francisco Vaucher
Hi to all, i'm trying to find a logger to watch the files in /tmp/session_xxx any help? Francisco M. Vaucher

RE: [PHP] array()

2002-11-05 Thread Francisco Vaucher
Yeah, whatever, I looked o_O in the manual and i didn't find the answer. I wrote here and also didn't find the answer... Sorry if we aren't all perfect, and dedicated as you are... Have a 'crappy day' Francisco M. Vaucher Departamento IT Tyco / ADT Security Services

[PHP] array()

2002-11-05 Thread Francisco Vaucher
Hi people, is there a way to retrieve an array from a function ? like: "Test1", "ASDF" => "Test2"); return $test; } //outiside de function echo $test; // <- the array ?> This doesn't work. So, any clue ? Regards and tks in advance! f.

[PHP] function()

2002-11-05 Thread Francisco Vaucher
Hi to all, I have a problem with function() and some variables. The issue is this I declare the function, suppose: function test_func($param1) { echo $param1; } when I call the function like; works OK! But if I try something like this: This doesn't work. I need to get some var

RE: [PHP] Get HTML data from an URL

2002-10-28 Thread Francisco Vaucher
s, f. -Mensaje original- De: Foldenyi Tamas [mailto:ftomi@;1982.hu] Enviado el: lunes, 28 de octubre de 2002 14:26 Para: Francisco Vaucher CC: [EMAIL PROTECTED] Asunto: Re: [PHP] Get HTML data from an URL > I need to know if there is a way to get HTML data from an URL. http://www.php.ne

[PHP] Get HTML data from an URL

2002-10-28 Thread Francisco Vaucher
Hi people, I need to know if there is a way to get HTML data from an URL. i.e. I need to get to stock values from the page of wall street. So I think that I can use some code to connect to that URL and get the data. It's this possibly ? Regards, and thanks in advance! f.

RE: [PHP] String manipulation

2002-10-24 Thread Francisco Vaucher
11:29 Para: Francisco Vaucher; '[EMAIL PROTECTED]' Asunto: Re: [PHP] String manipulation Well, what you really trying to do? Validate the format of an email address? If so, what you really should be doing is looking for an existing library of code which validates email address formats agai

[PHP] String manipulation

2002-10-24 Thread Francisco Vaucher
Hi to all (again ;-) I need one or more PHP functions to handle a form input. i.e. you write: [EMAIL PROTECTED] I have to check that after the '@' comes 'test.com'. I think this is easy, Any help on this ? regards in advance... f. -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Paging HOWTO for PHP n' MYSQL

2002-10-02 Thread Francisco Vaucher
e, or the URL to get one ? Regards, and thanks in advance... Francisco M. Vaucher -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP with Oracle

2002-10-01 Thread Francisco Vaucher
Have you tried to check the access permissons ? Maybe the Oracle/PHP user/app doesn't have the right permissons in that directory. Regards, Francisco M. Vaucher Departamento IT Tyco / ADT Security Services Buenos Aires - Argentina mailto:[EMAIL PROTECTED] -Mensaje original---

RE: [PHP] GET POST Problem

2002-10-01 Thread Francisco Vaucher
m going to try that, tks Francisco M. Vaucher Departamento IT Tyco / ADT Security Services Buenos Aires - Argentina mailto:[EMAIL PROTECTED] -Mensaje original- De: Matt Schroebel [mailto:[EMAIL PROTECTED]] Enviado el: martes, 01 de octubre de 2002 8:42 Para: Francisco Vaucher Asunto: RE: [

[PHP] GET POST Problem

2002-10-01 Thread Francisco Vaucher
ave to make a refresh. IE wount send the information itself." I'm running an Apache Server under RH 7.2. and PHP 4.2.0/1 With IIS I don't have this problem. Anyone have an idea for this issue ? I think that is a directive in the php.ini file. But I don't know wich one is. Help would be appreciated Thanks" Francisco M. Vaucher

RE: [PHP] GET - POST problem

2002-09-30 Thread Francisco Vaucher
OK. That would be a solution. I've been working with this one, but I can't send back the information. Maybe i'm doing something wrong (I really think this). What I've been wondering if this is a common problem ¿? Francisco M. Vaucher Departamento IT Tyco / ADT Security S

[PHP] GET - POST problem

2002-09-30 Thread Francisco Vaucher
e Server under RH 7.2. With IIS I don't have this problem. Anyone have an idea for this issue ? I think that is a directive in the php.ini file. But I don't know wich one is. Help would be apreciated Thanks Francisco M. Vaucher mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

[PHP] PHP as smart .bat files on windows?

2002-07-12 Thread Francisco Reyes
Any experiences on using PHP as a replacement for bat files? For instance I can't find how to pass a parameter to a PHP program when running PHP as a scripting/CGI language. For regular bat files I can reference parameters by using $1 Anything like that with PHP under windows? -- PHP General

[PHP] Smarty compared to Roadsend?

2002-06-23 Thread Francisco Reyes
Anyone has any comparative info between Smarty and Roadsend frameworks? I saw them mentioned on an email, along with horde and binarycloud, and they look interesting. I have looked at horde and found it difficult to get even the basics due to lacking documentation and configuration files which I

Re: [PHP] Who's having a good hosting experience these days?

2002-05-07 Thread Francisco Reyes
On Sun, 5 May 2002, Marcus James Christian wrote: > about $11ish or less a month. Traffic is minimal, and like I say the > only tech support calls I've had to make this past year were when the > hosting service tweeked and freaked something thus messing it all up. You did not mention your requi

Re: [PHP] Re: Seeking comments: Horde or BinaryCloud

2002-05-02 Thread Francisco Reyes
On Thu, 2 May 2002, Manuel Lemos wrote: > Francisco Reyes wrote: > > Anyone has had a chance to use/try both Horde and BinaryCloud? > > So far I tried Horde and got very dissapointed by the installation process > > and "philosophy". > > > > For Binar

[PHP] Seeking comments: Horde or BinaryCloud

2002-05-02 Thread Francisco Reyes
Anyone has had a chance to use/try both Horde and BinaryCloud? So far I tried Horde and got very dissapointed by the installation process and "philosophy". BinaryCloud seems interesting, but was wondering if anyone could comment on it before I try it. In particular the PDF manual(?) doesn't reall

[PHP] installing php-interbase support

2002-03-14 Thread Francisco Jesus Castillo Pinazo
Hi, I would like to solve this problem on my apache-php instalation Fatal error: Call to undefined function: ibase_connect() in /home/pcash/public_html/includes/conexioninterbase.inc on line 7 To solve first i have try to do [root@www download]# rpm -i php-interbase-3.0.16-2bc.i386.rpm error:

[PHP] Where to look for developers?

2002-02-20 Thread Francisco Reyes
Suggestions where to place an ad for a part time/per project developer? I looked at several sites and none of them seemed heavily trafficed or like a "good place". Also the major places likes monster.com probably charge a fee to list. The links I found were from the "Developers and Job Opportuni

[PHP] Connecting to a Sybase server?

2002-02-12 Thread Francisco Reyes
Anyone successfully using Sybase with PHP? I have looked at the archives and the online notes to the manual, but still have not been successful connecting to a sybase server. We are trying with the CT drivers. In particular I don't see how to specify the "database" and port. sybase_connect is: in

[PHP] sorting multi-dim arrays based on keys (like SQL's ORDER BY)

2001-03-15 Thread Francisco Hernandez
hi, How could i sort data in a multi-dim array? for example: $data = array( array("Job 3","House Party","Done"), array("Job 1","Days End","Done"), array("Job 5","Light Wave House","Done"), array("Job 2","The Amazon","Not Done"), array("Job 4","Fear","Not Done") ); I want to

[PHP] Open a new window

2001-02-01 Thread Francisco Aguilera
Hi, I have a peace of code PHP like this: http://www.php.net"); print ("Wait ."); ?> But the word 'Wait' doesn't appear. I'm looking for a function that open a new window and write in the sentece "Wait " I'm sure you could help me. Thanks --