[PHP] Help on compiling PHP for MIPS, Bus Error thrown

2010-01-22 Thread Angel Sánchez
Hi guys! I've been trying to cros-compile PHP for an embedded MIPS device with no luck, so I decided to build a developing environment inside a virtual machine with QEMU for developing PHP inside first. I have been trying different options for configure and all I get is a Bus Erro 138 when I

[PHP] Re: how to assign a value to a variable inside a class

2006-04-11 Thread Eduardo Raúl Galván Sánchez
Check the overloading methods (__get and __set) for PHP 5.x: http://www.php.net/manual/en/language.oop5.overloading.php Merlin escribió: Hi there, I would like to assign a value inside a class like this: var $db_username = $old_name; Unfortunatelly this does not work and I do get following

Re: [PHP] Re: test for illegal characters and consequences

2006-04-04 Thread Eduardo Raúl Galván Sánchez
You can compare each character against the "standard character set" by means of regular expressions. Angelo Zanetti escribió: Al wrote: Angelo Zanetti wrote: Hi guys. Ive developed a site and now I've come to the stage where I need to test each textfield on each form for illegal charact

[PHP] Re: Database Connections (cont..)

2006-03-31 Thread Eduardo Raúl Galván Sánchez
I don't see a problem with that. My only suggestion is to have one table for each site, in order to avoid usernames of one site to colide with usernames from another site. Ryan A escribió: Hey all, Ok, spoke to the "boss" and he has agreed for me to give you the following info; Heres what the

[PHP] Re: Image resizing problems

2006-03-31 Thread Eduardo Raúl Galván Sánchez
Have you tried imagecopy resized()? John Nichel escribió: I'm pulling my hair out with this gd resizing of an image, and can't figure out where it's screwing up. I've been trying to batch process about 500 images to resize them to a standard size, and for some reason, instead of resizing the

[PHP] Re: File Types for Upload

2006-03-31 Thread Eduardo Raúl Galván Sánchez
IANA has the most updated oficial MIME types: http://www.iana.org/assignments/media-types/ Kevin Murphy escribió: For an expression such as this. $HTTP_POST_FILES['userfile']['type']=="image/gif" I'm looking for an up to date list of all the other media formats (non-images), such as Vide

Re: [PHP] Re: setting the same value to multiple variables

2006-03-31 Thread Eduardo Raúl Galván Sánchez
Anthony Ettinger wrote: ($a, $b) = $c; ^^ I don't get the meaning of this... On 3/31/06, Eduardo Raúl Galván Sánchez <[EMAIL PROTECTED]> wrote: You could use variable variables with an array, like this: $arr = array('readingGoalsEnjoymentLabelClass','reading

[PHP] Re: setting the same value to multiple variables

2006-03-31 Thread Eduardo Raúl Galván Sánchez
You could use variable variables with an array, like this: $arr = array('readingGoalsEnjoymentLabelClass','readingGoalsInformationLabelClass', 'readingGoalsAlphabeticLabelClass','readingGoalsPrintLabelClass', 'readingGoalsPhonologicalLabelClass','readingGoalsPhoneticLabelClass', 'readi

[PHP] SEARCH ENGINE

2003-06-26 Thread David Elìas Sánchez Vásquez
Hi folks First, thanks to Jim for the greeat tree-menu, we are just editing it. Ok, we are doing the tutorial for the Intranet of our University. There is just a lot of information and we want to give the user all the ways to find the information he's looking for. Hence, we need a great search en

[PHP] free dynamic MENU

2003-06-23 Thread David Elìas Sánchez Vásquez
Hi folks I'd like to know if you know any page where I can download a tree dynamic menu made in PHP.. The options of this menu will be pulled from a mysql database thanks David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ABOUT SOCKETS (HELP!)

2003-06-13 Thread David Elìas Sánchez Vásquez
I know this is a PHP forum, but this is really urgent!! A close friend of mine has got many trouble with this problem while developing a Java chat. Any help would be really appreciated. Thanks David. Problem is as follows: I'm programming an applet java chat but I have a big problem and I do

[PHP] UNA AYUDA-NOVATO PHP

2002-12-10 Thread Héctor Fabio Sánchez Velasco
Soy un principiante de PHP , instale PHP 4.2.3 en un servidor NT4 , con SQL SERVER 7.0 y OPTION PACK 4.0 , en el momento que publico una pagina con una conexion a la base de datos SQL me trae la informacion de las tablas hasta aqui todo normal , pero al crear una forma con una variable escondida al

[PHP] Test

2002-03-11 Thread Sánchez
Hello Pablo Sánchez. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Array scanning stops by itself before reaching the end.

2002-02-10 Thread Raúl Sánchez T .
I got this stupid problem: I create an HTML list of inputs: that stretches to some 25 elements. When I try to read the values ("on" or "off") with the code below, PHP won't read past the 8th. element and says it's found an undefined variable (which is $x). No matter what I do, it's always th

Re: [PHP] Form's and oracle

2001-02-03 Thread Iván Sánchez Ortega \"MR\"
"Christoph Kempen" ... > For example: > I¹ts a test php:I\¹ts a test > But oracle wants: I¹¹ts a test I think that a predefined replace function, with ' and " should do the trick... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EM

Re: [PHP] Oracle failed to connect

2001-02-01 Thread Iván Sánchez Ortega \"MR\"
""kaab kaoutar"" ... > Hi! > I'm using orcale8 and as long as oracle8 ocilogon does not work, i tried the > oracle function and i always get: > for Ora_Logon("kaab@KKAnn", "kaab"); > connection failed could not resolve service name Just try to reinstall PHP, and the Oracle 8 libraries for PHP

Re: [PHP] really need help...

2001-01-26 Thread Iván Sánchez Ortega \"MR\"
""Shane McBride"" ... > I am getting this error and I don't understand. I am running > PHP 4.0.4 and Xitami web server on Windows 98SE. I know this > is not the most ideal setup, but I just use it for developing. Usually, webservers running PHP won't allow to execute any commands regarding creati

Re: [PHP] arg....

2001-01-26 Thread Iván Sánchez Ortega \"MR\"
"Kurth Bemis" ... > At 12:31 PM 1/26/2001, Krznaric Michael wrote: > > sorry - here you all go.. > > > // number crunching time > $count++; > $time = date("Y-m-d H:i:s"); > > $result = mysql_query("INSERT INTO links (count) VALUES $count WHERE lid=$id"); > >i'm having a horrible time updating 2 f

Re: [PHP] To much PHP (Newbie)

2001-01-24 Thread Iván Sánchez Ortega \"MR\"
""Chris Lee"" ... > If your refering to old Pascal pre-3.0 in how you could only have X number > of bytes in a file (32k I think) then pascal would not parse the rest, then > no php isnt limited to this, your pages will just get slower and slower > because of more hits. Anyway, if your pages are

Re: [PHP] tengo un problema

2001-01-22 Thread Iván Sánchez Ortega \"MR\"
mnihttpd, y la instalación va de lujo... te instala las extensiones para PHP y el propio PHP automáticamente... -- _ Iván Sánchez Ortega "MR" /|/| |_>(eme)(erre)(punto)(arroba)wanadoo.es / | | | \ /|\No, mamá, no toques ese cab#@@%%## [NO C

Re: [PHP] mixing HTML and PHP code

2001-01-16 Thread Iván Sánchez Ortega \"MR\"
"Alex Black" ... > >> the horse is back from the dead! > > > >huh? > > inside joke. Doh. > > > I don't like to do database connections when I've already output markup, > > > what if something goes wrong, or I want to do a redirect, etc? > > > > If something goes wrong -> It's the DBA fault. :-)

Re: [PHP] tie string value together

2001-01-15 Thread Iván Sánchez Ortega \"MR\"
"Brian Clark" ... > > Not quite; you want the concatenation operator: > > $Birthdate = $year . $month . $day; /* assuming &&day was a typo */ > > This will also work: > > $Birthdate = "$year$month$day"; As i know, databases use a 00/00/ date format, so the thing you may do is $birthdate = $d

Re: [PHP] mixing HTML and PHP code

2001-01-15 Thread Iván Sánchez Ortega \"MR\"
"Alex Black" ... > the horse is back from the dead! huh? > > And aside from that, i don't have a one and only common_head.php ... i have > > a separate plain common head, in plain HTML... the real common_head.php > > should look like (definitively not real PHP sintax): > > right, and though this

Re: [PHP] SMs

2001-01-14 Thread Iván Sánchez Ortega \"MR\"
""Bastian"" ... > Hello! > > A requirement is a special server that sends them, but such a server costs > money, every message costs some. I read somewhere that you could send SMs if you had your mobile phone linked to your computer, and special software to needful to make the PC-mobile interacti

Re: [PHP] mixing HTML and PHP code

2001-01-13 Thread Iván Sánchez Ortega \"MR\"
t text in the place of the spitted-out-from-database-data), and you as PHPer only have to cut out the HTML code (not a really hard work) into two parts. As i see, it can work perfectly this way. How you format the spitted data and stuff is another matter but anyway, getting the code that dream

Re: [PHP] mixing HTML and PHP code

2001-01-13 Thread Iván Sánchez Ortega \"MR\"
"Mark Maggelet" ... > I think you missed something: > > while (fetch_row_from_query()){ >$output = data_from_fetched_row(); >$more_output = more_data_from_fetched_row();?> > > > > > > > tell me that's not easier on your eyes :) Yes, but i wrote that because the w