[PHP] fs functions & unicode

2002-11-10 Thread Carlos
Php file system functions seem to hate unicode paths or filenames. I was working on generic download script and it works fine for regular ascii(?) files but when i tried a unicode-named file it failed. $file1 = c:\blah\I've Sound [Air] $BD;$N;m(B(Lia).mp3 $file2 = c:\blah\bleh.mp3 readfile, fop

RE: [PHP] PHP and UTF-8

2002-11-13 Thread Carlos
MySQL can store/retrieve utf-8 data just fine, I think the only limitation is searches and other such functions. One other limitation in php seems to be unicode paths/filenames for filesystem functions.. Which I cannot get to work. -Original Message- From: Charles Wiltgen [mailto:lists@;wi

[PHP] Re: When to use design patterns?

2008-02-23 Thread carlos
skylark wrote: Design patterns are really hot today. And I am really interested when and how often they are used. It is said that 99% of the projects don't need them. Design patterns are used to solve common problems to in OOP programming. If you use OOP, chances are you have used a design

[PHP] php5 and xml

2004-02-27 Thread Carlos
ple ... greats Carlos signature.asc Description: This is a digitally signed message part

[PHP] php5

2004-03-02 Thread Carlos
ple ... greats Carlos signature.asc Description: This is a digitally signed message part

[PHP] Read a file

2003-07-08 Thread Carlos Castillo
  Hi,   I need to read a whole file and then look for an info on it, i want to know with which function is better, fopen(), fpasstrhu()...fseek()   Thanks,   Carlos A. Castillo. Ingeniero de desarrollo [EMAIL PROTECTED] Su Aliado

RE: [PHP] Read a file

2003-07-08 Thread carlos castillo
But them how i can look for the tag i need if i have the file in an array, i need to read an xml file and extract the info between tags and . Thanks, Carlos A. Castillo. Ingeniero de desarrollo [EMAIL PROTECTED] Su Aliado Efectivo en Internet

RE: Re[2]: [PHP] Read a file

2003-07-08 Thread carlos castillo
t? Thanks, Carlos A. Castillo. Ingeniero de desarrollo [EMAIL PROTECTED] Su Aliado Efectivo en Internet www.imagine.com.co (57 1)2182064 - (57 1)6163218 Bogotá - Colombia - Soluciones web para Internet e Intranet - Soluciones

[PHP] cookies in asp

2003-07-24 Thread Carlos Castillo
HI,   I have the following problem, i have a website with php and asp files, in one asp file i create some cookie that i need to access on another php file.do you have any idea.???   Thanks,   Carlos A. Castillo. Ingeniero de desarrollo [EMAIL PROTECTED

[PHP] jabber - chmod on files

2003-07-31 Thread Carlos Castillo
how can I modify jabber so it doesn't change the perm of the files?   Thanks!   Carlos A. Castillo. Ingeniero de desarrollo [EMAIL PROTECTED] Su Aliado Efectivo en Internet www.imagine.com.co (57 1)2182064 - (57 1)6163218 Bo

[PHP] delete files from a directory

2003-06-17 Thread Carlos Castillo
Hi, i need to delete all the files that are stored in a dir.i had try with this and nothing happen... passthru ("del $path_adjuntos.$idprod/*.* /q"); i'll aprecciate your help thanks!, and excuse me for my english -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] A bd problem

2003-09-04 Thread Carlos Castillo
a->query($sql); $not = $consulta->fetch_row($res); $not["Descripcion"] = eregi_replace(chr(13),"",$not["Descripcion"]); echo $not["Descripcion"]; when i do an echo for $not["Descripcion"] i can see that it doesnt have all the info of the field Descr

[PHP] RE: [SMARTY] Re: dreamweaver extension

2003-09-15 Thread carlos castillo
I would like to know too, where i can get the dreamweaver extension for smarty, thanks! Carlos A. Castillo. Ingeniero de desarrollo [EMAIL PROTECTED] Su Aliado Efectivo en Internet www.imagine.com.co (57 1)2182064 - (57 1)6163218 Bogotá - Colombia

[PHP] OpenSSL questions

2003-10-01 Thread Carlos Serrao
anks in advance. CARLOS SERRÃO, MSc. DCTI- IS/IT Department - Adetti/ISCTE - IS/IT Research and Development Av. Forças Armadas, 1600-082, Lisboa, PORTUGAL Tel. +351 217903064/+351 217903901/+351 217101177Fax. +351 217935300 Mobile: +351 912506066 PGP FP: 48D6021F0DBBEE36633EAD48E8DCEF56

[PHP] duvida com value

2003-11-18 Thread Carlos Eduardo
alguem poderia me ajudar na seguinte duvida.. em uma pagina php tenho esse campo nela. nome> para ele jogar o conteudo da linha nome para a proxima pagina alterar.php.. mas ele joga apenas por ex: se o nome é carlos eduardo vai apenas carlos , tudo que tem depois do espacamento nao vai par

[PHP] Recomend Book

2001-01-11 Thread Carlos Lora
Hello there, I am new to PHP what would bookm would you recomend? Any help is appreciated. Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] MySql error

2001-11-29 Thread Carlos Gutiérrez
11.02 Can somebody help me ? Regards, Carlos. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Developing new PHP modules

2001-04-10 Thread Carlos Serrão
st regards, _____ Carlos Serrão [EMAIL PROTECTED] http://www.carlos-serrao.com DCTI - IS/IT DepartmentIS/IT Research and Development ADETTI/ISCTE - Av.Forcas Armadas 1600-082 LISBOA Portugal Tel.: +351217903064/+351217903901 Fax: +35

[PHP] PHPemPT

2001-04-11 Thread Carlos Serrão
, _ Carlos Serrão [EMAIL PROTECTED] http://www.carlos-serrao.com DCTI - IS/IT DepartmentIS/IT Research and Development ADETTI/ISCTE - Av.Forcas Armadas 1600-082 LISBOA Portugal Tel

Re: [PHP] mysql_connect does not connect

2004-09-20 Thread Carlos Souza
Sam Hobbs wrote: "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Would you mind spilling the beans? I'm sure everyone is dying to know what the resolution of this thread is. I definitely mind. I don't believe in rewarding bad behavior. It is reasonable to contribute to

[PHP] Re: reading XML

2008-11-21 Thread Carlos Medina
Hi Angelo, try this: http://pear.php.net/manual/en/package.structures.structures-datagrid.structures-datagrid-datasource.xml.php regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to Insert into DOMDocument

2008-12-06 Thread Carlos Medina
Class itself, if you can modify the Header of the XML data over a method/Constant. Greetings Carlos Medina -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: restrict fsockopen spam etc.

2008-12-10 Thread Carlos Medina
architecture. I think you can use a capcha to get the control again over your script. Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: foreach and destroying variables for memory saving

2008-12-10 Thread Carlos Medina
destroy automatically?. Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Need help on MySQL query

2008-12-10 Thread Carlos Medina
tion about MySQL on www.mysql.com and show how to build/make Queries well. Regards Carlos Medina -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: apache and PHP / Eclipse

2008-12-15 Thread Carlos Medina
d debugger, allowing you to test and debug you're code in eclipse. http://www.zend.com/en/community/pdt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php I was playing with that last week at work. It's quite buggy. Try to use Xampp apachefriends.org Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Form email w/attachment

2008-12-18 Thread Carlos Medina
inputfield accept="text/*"> When the upload is ready, use is_uploaded_file() function to check and others to validate the File (important) then move the file with move_ uploaded_ file() to the Directory where you want or attach to the mail you want. Kind Regards Carlos Medina -- PHP Ge

[PHP] Re: Webhotel structure

2008-12-27 Thread Carlos Medina
and you dont know how? What is your System, where ist Your Server System? Do you need some Support from PHP programmer? Please contact me then :-) (reply only to me then) Regards Carlos Medina -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: Architecture patterns in PHP

2008-12-28 Thread Carlos Medina
ns in PHP". This is for me like the question, "what is your favorite IDE". If i need to know about design Patterns in PHP, then i can buy a book about it or i search the Internet for my information. Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] Re: Webhotel structure

2008-12-30 Thread Carlos Medina
Peter Sorensen schrieb: Hi Carlos Thanks for trying to help. As a newbie on web design I was looking for help on about everythink, as a newbie you don't know which questions to ask. With help from other sources I found out how to wipe my webhotel and start over. After a fresh insta

[PHP] Re: redoing website after 7 years

2009-01-07 Thread Carlos Medina
are known and new Versions will be set. If the Client offers you a Job to change the Software is a new Job and must pay. PLease contact a lawyer to get more Information about the legal practice on your Country. Salut Carlos Medina -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] Re: hello

2009-01-08 Thread Carlos Medina
s usually added to such virus attachment emails to help the unwashed fool think it's not a virus *lol*. Cheers, Rob. bigredli...@yahoo.com wrote: Please read the document. Attachment: No Virus found F-Secure AntiVirus - www.f-secure.com I known viruses for Linu

[PHP] Re: ArrayObject - Posibillity to add key => value pair per default?

2009-01-14 Thread Carlos Medina
ffsetSet( key, data) to do this. You can implements the Interface or extend from the Class to extend the functionality (think interceptors __SET and __GET) Regards Carlos Medina -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Zend Framework...where to start? -- do

2009-01-15 Thread Carlos Medina
ich approach is "better" (remember "better" != "raw performance") for you. Col PS FWIW, I have adopted Zend_Framework and while some of the paradigms don't fully suit me I have extended and adapted them to make it work very well for me. Hi Colin, i agree that

Re: [PHP] Please explain: index.php/index/index

2009-01-21 Thread Carlos Medina
on this: http://www.domain.com/index or this http://www.domain.com/index.php Yes this is a Front Controller situation (Pattern). Please show the Zend Framework or other Frameworks that implements this Pattern (maybe the Command Pattern too ). Regards Carlos -- PHP General Mailing List (http://w

[PHP] Re: importing from XML-files

2009-01-22 Thread Carlos Medina
hang an Object or Array? Is this Empty? viele Gruesse Carlos Medina -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: importing from XML-files

2009-01-22 Thread Carlos Medina
Merlin Morgenstern schrieb: Carlos Medina wrote: Merlin Morgenstern schrieb: Hi everybody, I am creating an import script which is getting data out of an xml file. Now I do have a problem with a file where 2 images are included. I need to access the second image name, but can not find out

[PHP] Re: killing a child process from pcntl_exec

2009-01-22 Thread Carlos Medina
ll signal to be effective? If I wait, the child eventually dies.. but I'd like to be able to kill it from the cmdline. thoughts/pointers/comments... thanks Hi Bruce, my ask: it is the pnum really 123? Check it out with ps -aux or ps -aix Regards Carlos Medina -- PHP General Mailing List (htt

Re: [PHP] distinguish between null variable and unset variable

2009-01-22 Thread Carlos Medina
t;" bool(false) bool(false) bool(true) bool(true) bool(true) bool(false) Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Php error

2009-01-24 Thread Carlos Medina
mattias schrieb: ERR_DB_NO_DB_PASS What will this meen? The Database is a foreign DB without passport Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New PHP User with a simple question

2009-01-25 Thread Carlos Medina
ue. For example, when a user clicks the "Home" button on my page it would cause $page = "home"; or clicking the "About Us" button will set $page="about_us"; etc. I think this should be fairly simple but being completely new to php I just cannot s

Re: [PHP] New PHP User with a simple question

2009-01-25 Thread Carlos Medina
to begin. Perhaps I am just going about this the wrong way but from the extremely little I have learned about php, I thought that I could do it this way easily. Thanks for the replies and the help. I truly appreciate it. Hi Christopher, please buy a PHP Book. Read it and if you have any qu

Re: [PHP] New PHP User with a simple question OT

2009-01-25 Thread Carlos Medina
f and then to post a question in a list or forum. I think this is the "normal" way. To the code i think this is very bad php code. You will get more XXS and other exploits with this code. Please tell me what is your site and i show you Regards Carlos Medina -- PHP General Mailing

Re: [PHP] New PHP User with a simple question OT

2009-01-26 Thread Carlos Medina
tedd schrieb: At 11:56 AM +0100 1/25/09, Carlos Medina wrote: Hi Ashley, yes this is the right answer. The "Problem" is not a PHP Question but a programming question. To be clear: i think, the "Problem" can you solve, if you get two or tree books or tutorials about the p

[PHP] Re: PHP Enclosing Tags? Do You Close Your PHP Declarations?

2009-01-30 Thread Carlos Medina
Nitsan Bin-Nun schrieb: I was just wondering whether people enclosing their PHP tags declarations, I don't close these No, is not needed Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Mutiple SQL request

2009-02-04 Thread Carlos Medina
Jônatas Zechim schrieb: Hi there, i've a system that do a query each 3s, does it impact on mysql Server? I mean, can this slow my Server? zechim No. and yes. I think if you are doing a Join Query over 32 Tables without indexes then it will be very slow Carlos -- PHP General Mailing

Re: [PHP] Read a XML (not a file)

2009-02-06 Thread Carlos Medina
t;) ); But if we want to be serious: Use classes to do this is better. Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Carlos Medina
dd an error_log or echo "line is " . __LINE__ or something so you know for certain this is the problem. Hallo, please show in the php.net site the Method is bool move_uploaded_file ( string $filename , string $destination ) String filename and destination are not right... Carlos Medina -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP OOP

2009-02-10 Thread Carlos Medina
a php list... Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Dynamic Form 'on The Fly'

2009-03-18 Thread Carlos Garcia
with this is a simple text : $this = 'thisline' . $cnt; echo $_POST[$this]; Carlos A. Garcia Hernandez > Date: Wed, 18 Mar 2009 12:12:54 -0700 > From: c...@hosting4days.com > To: php-general@lists.php.net > Subject: [PHP] Dynamic Form 'on The Fly' &g

[PHP] Re: thread question

2009-03-31 Thread Carlos Medina
the Browser was closed. The Browser wait for Response and set a timeout Message when the Time is over. Best Regards Carlos Medina -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 500 Internal Error

2009-06-19 Thread Carlos Medina
n you problem can be the MySQL Functions you are doing. Here we need more Information/examples what you are doing. Regards Carlos Thodoris schrieb: Greetings Gurus! I am attempting to use PHP+MYSQL+APACHE and I have downloaded all the latest verions and installed them on a fresh window

[PHP] PHP SOAP Using SAML

2009-06-22 Thread Carlos Medina
Hi Anybody, I am evaluating to use Webservices to solve an knowed Issue. I need to know, if it is Possible to use SAML 1.0 with PHP 4 or PHP 5 and when yes, where can i get information about this Issue or open Source Software,etc. Regards Carlos -- PHP General Mailing List (http

Re: [PHP] Need Help.

2009-07-14 Thread Carlos Medina
. REgards Carlos Ashley Sheridan schrieb: On Tue, 2009-07-14 at 11:59 +0530, Girish Padia wrote: Dear Sir, I am facing two problem while developing my site in php. 1) I want to delete browser history whenever i migrate from one page to another. so that user can never press "Back" bu

[PHP] Re: I have an idea

2009-07-15 Thread Carlos Medina
Martin, i think is a good idea. How do you think to implement this? Carlos Medina -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: I have an idea

2009-07-15 Thread Carlos Medina
Michael A. Peters schrieb: Carlos Medina wrote: Martin Scotta schrieb: Hi Do you noted that all the discussion here are about problems, bugs, or just "urgent pleaaase help me" I have an idea. It is not really THE idea... but it is. What happen if tell this idea to the community? I

[PHP] Re: php.net down?

2009-07-16 Thread Carlos Medina
Thijs Lensselink schrieb: Anybody noticed php.net is down? It's responding to pings. But no pages load. no -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Making several variables into 1 variable

2009-07-28 Thread Carlos Medina
Miller, Terion schrieb: I need to take this: $pastDays = strtotime("-30 days"); $past_day = date("d", $pastDays); $past_month = date("m", $pastDays); $past_year =date("y", $pastDays); And make it into one var to compare to a db field that is formatted like 00/00/00 $result = date("

[PHP] a doubt with class DOM

2009-09-01 Thread Carlos Garcia
if my xml is something big, how reliable is saving changes to my xml this way: $doc->save('file.xml'); or another shape of save changes of my xml? Sorry my english is bad =P.- Thanks.- Best regards, Karl.- Carlos A. Garcia Hernandez José Clemente Orozco

RE: [PHP] a doubt with class DOM

2009-09-03 Thread Carlos Garcia
Thanks for your answer, I change to class simplexml, the class DOM save all tree on RAM, and simplexml used a little RAM, right? He size file XMl is small no more 500 kb, i do not think having problem. Best regards.- _Karl_ Sorry for my english.- Carlos A. Garcia Hernandez José

Re: [PHP] How do YOU set default function/method params?

2009-10-17 Thread Carlos Medina
) ) Here you can send a exception if the needed or required items are not set And set it this into the mail class with $mail->setConfiguration( mailConfiguration $mailConf ) At this point you can get the values from Object $mailConf may be helps Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How APC Work?

2009-10-30 Thread Carlos Medina
Erick Couto schrieb: Hi, How *APC* – Alternative *PHP* Cache store data on cache? memory? file system? i´m developing a PHP application with many requests for read/write on APC stored variables, im scared with future slow down with many IO on APC. Thanks, Erick Couto No Documentation for APC

[PHP] Re: Preview button to show PDF without submitting post data?

2009-11-08 Thread Carlos Medina
n generate the PDF and show it like a "preview" Page, but the User must be able to regenerate the PDF to send it as email (where the same Data will be used or not, please think about, if you want to do this) I think, you must to think more about the usability at this point Regards C

[PHP] Re: PHP Equivalent to Java Jar or Python Eggs

2009-11-30 Thread Carlos Medina
Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: uninstalling wamp

2009-12-26 Thread Carlos Medina
you can read first the Uninstall How To from Apachefriens http://www.apachefriends.org/en/xampp-windows.html Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Happy New Year

2009-12-31 Thread Carlos Medina
tedd schrieb: Hi gang: Happy New Year! May 2010 > 2009. Cheers, tedd Happy new Year, i wish you exited works, exited drinks, exited chicks and course exited code :-D Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Casting objects.

2010-01-19 Thread Carlos Medina
mple). So, using a docblock with a customtag and this seems to be working just fine. Extended ReflectionClass and ReflectionProperty. Thanks, Richard. Hi, i think it will be important since more PHP Developer are using Design Patterns. I think the cast functionality should be implemented once..

Re: [PHP] simplexml - can it do what I need?

2010-02-07 Thread Carlos Medina
Terry, look at the PHP.NET documentation. There indicates the use of simpleXMLElement structures. If you want to extract elements from this object, please read there how this work. By the way, it would be interesting to see, how your XML is made. May be is usefull to use another class like DOM

[PHP] Re: PHP / mySQL Project...

2010-02-22 Thread Carlos Medina
modules and very complex tasks. If you are interessing contact please to this email address. Regards Carlos Medina Don Wieland schrieb: Hello, I am needing assistance IMMEDIATELY in finishing up a project (the developer went in to have shoulder surgery and will be out of commission for 3

[PHP] Re: SQL Syntax

2010-06-16 Thread Carlos Medina
have more than one picture with more attributes each picture, your query will be slow. By increasing the attributes count, you will show, the queries and the maintainment of code will be hard. I have some links here but i am sure, you will find more in google ;-) Regards Carlos Links:

Re: [PHP] Re: SQL Syntax

2010-06-16 Thread Carlos Medina
Am 16.06.2010 15:50, schrieb Jan Reiter: Richard, Carlos, Simcha and Nigel, Thank you all for your answers on this matter. When I read Simcha's mail, it hit me like a hammer! That was what I was looking for! BUT: I have to see, that this creates way to much overhead, as I have to use

[PHP] Login form + User level access

2010-06-29 Thread Carlos Sura
from SALES, He cannot see others menu options, and he can't get access, I was reading that I can do that with Switch, but really I have no idea about it... Any help? Thank you. C

RE: [PHP] Login form + User level access

2010-06-29 Thread Carlos Sura
the idea to get example codes, to base on it, asking : how do I get to london?, not how do I drive a car? Thanks. Carlos Sura. > Date: Tue, 29 Jun 2010 15:58:10 -0400 > To: carlos_s...@hotmail.com; php-general@lists.php.net > From: tedd.sperl...@gmail.com > Subject: Re: [PHP] Log

RE: Re[2]: [PHP] Login form + User level access

2010-06-29 Thread Carlos Sura
Hello Andre, Thank you so much, Now I really get the idea. Oh, can I replace that adding inthe table of access_level a field called: 'level_numbers' ?? would it be the same thing?? Carlos Sura. > Date: Tue, 29 Jun 2010 23:08:51 +0300 > From: an...@oire.org > To:

[PHP] What's wrong in this function? Does not work for me.

2010-07-02 Thread Carlos Sura
Hello, this function does not work for me... And I really don't know what am I doing wrong... Any help?? This function is in a class, and I call it in a form, to create a new user.. $objEmploye=new Employe; if ( $objEmploye->insert(array($name,$lastname,$salary,$dui,$afp,$isss,$nit)

RE: [PHP] What's wrong in this function? Does not work for me.

2010-07-02 Thread Carlos Sura
Hello Ash, No, I don't get an error message, the thing is, my post form, isn't working... I can't post those fields in database when I fill them up in the form... But, I really don't know why... Do you want my form code? all the entire class.php code?? Thank you for help

RE: [PHP] Help with template file and email

2010-07-13 Thread Carlos Sura
Let me get this right... $mymail // If you put an email adress it works, right. You are calling variable $mymail... But, what does contain that var? You are calling $mymail, there has to be a database, or something of those 10 mails you said. -If i'm getting you the point right- If not, my mis

[PHP] user login and access + headers already sent

2010-07-15 Thread Carlos Sura
Hello mates, I'm developing a user registration and access level system... And I wonder... Is there any way to avoid to put code in every header page? Because, almost every page contains javascript, so almost every page cotains tags... And its annoying to look at this: Warning: session_start():

RE: [PHP] user login and access + headers already sent

2010-07-15 Thread Carlos Sura
Hello Richard, Thank you for your answer, I'm looking now... Kranthi, seems to be a pretty good solution, I will give it a try. Thank you. > From: kranthi...@gmail.com > Date: Thu, 15 Jul 2010 21:24:15 +0530 > To: rquadl...@googlemail.com > CC: carlos_s...@hotmail.com; php-general@lists.ph

RE: [PHP] user login and access + headers already sent

2010-07-15 Thread Carlos Sura
Hello paul, thank you for your answer. I'm already fixing all my mess with your suggestions. It is nice to know where to ask to get a good answer. Regards, Carlos Sura. > Date: Thu, 15 Jul 2010 12:22:23 -0400 > From: pa...@quillandmouse.com > To: php-general@lists.php.net

RE: [PHP] help using phpadmin

2010-07-18 Thread Carlos Sura
Hello Isaac Lee. Are you running on Linux or Windows? You might try: mysql> SET PASSWORD FOR ‘root’@'localhost’ = PASSWORD(’yourpassword’); Then restart your service -if needed- If not... Try to edit config.inc.php file. Regards, Carlos Sura -Original Message- From: I

RE: [PHP] help using phpadmin

2010-07-19 Thread Carlos Sura
mysqladmin -u root password new_password Now type: mysql -u root -p Write your new password now :) If none of this work... Please show me your ini* file. If you can't show me your ini* file please reffer to: http://search.mysql.com/search?q=Resetting_permissions.html&lr=lang_en

RE: [PHP] Help with template file and email

2010-07-26 Thread Carlos Sura
Hello Joey, No problem, I'm glad you got it working now. Any other question. Use php-list. Regards, Carlos Sura. From: j.hendrick...@comcast.net To: carlos_s...@hotmail.com Subject: Re: [PHP] Help with template file and email Date: Sat, 24 Jul 2010 08:29:03 -0500 Hi Carlos

RE: [PHP] Re: Do you have some standard for defined the variable in program language?

2010-07-28 Thread Carlos Sura
Hello Jordan, As he said... You may use any. > [1] Which one is correct in any given project or organisation is > different question. Yeah, he got a point there. Regards, Carlos Sura. > To: php-general@lists.php.net > From: php-gene...@garydjones.name > Da

[PHP] Re: Zend framework

2010-09-10 Thread Carlos Medina
tools, but when i work with Zend Framework, i like to compile all needed Servers and PHP by myself. Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] The session problems with a citrix terminal

2010-09-16 Thread Carlos Medina
terminal (thin clients) are connected with the terminal and use the same browser at all. Please if you know a solution for this issue, i will be glad to read it :-) Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Auto-generating HTML

2010-09-20 Thread Carlos Medina
know what is better. You can use some templating system like Zend Framwork and if not possible consider to use str_replace() to "parse" your Template and replace the variables in there. You can use a token like ###VAR_NAME### to address a variable like $var_name or something like this. Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Copying an Object

2010-09-22 Thread Carlos Medina
n this case) to solve the class inheritance. Regards Carlos Medina -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ZipArchive, but without files

2010-09-22 Thread Carlos Medina
- ie something that returns a "string" - is what I'm looking for. Kind Regards Jonathan Hi Jonathan, and what if you serialize your String? You can save Objects in it... Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Copying an Object

2010-09-23 Thread Carlos Medina
es is by using the Design Patterns for PHP... Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Is there a simple way to enforce a private method in a subclass?

2010-12-21 Thread Carlos Medina
e constraint will be failed (you can use only in the class itself). Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: RES: [PHP] XML/PHP web service

2012-08-09 Thread Carlos Medina
Hi, the two options offers here are ok. But please make it secure! Regards Carlos Am 09.08.2012 14:38, schrieb Alejandro Michelin Salomon: > Philip : > > Try this: > > Client: > > $client = new SoapClient( null, array( 'encoding' => 'utf-8'

[PHP] Re: Using PEAR and PHP

2012-08-25 Thread Carlos Medina
Hi Suraj, take my advice: read the Manual! Greets Carlos Am 23.08.2012 19:42, schrieb Suraj Shah: > Hi. > > I am currently working on a website which uses PHP as an integral programming > language as part of it. > > I am trying to replicate the website’s contents from

[PHP] Re: set up mass virtual hosting with apache/nginx and PHP ... best practice2012?

2012-08-25 Thread Carlos Medina
Hi, Read the Apache and PHP Documentation, if you have any questions after this. write again... Greets Carlos Am 22.08.2012 01:26, schrieb D. Dante Lorenso: > All, > > I need to set up a server to enable 5,000 students to have web hosting > provided by the school with PHP and M

[PHP] Re: XML to Array

2013-03-10 Thread Carlos Medina
Hi, use https://github.com/theseer/fDOMDocument. You can install it over PEAR. You can use it like $xml = ''; $dom = new fDOMDocument(); $dom->loadXML($xml); // get attribute $elementNode = $dom->queryOne('//test[@id="my_id"]'); echo $elementNode->node

[PHP] Sync CSV files with MySQL Database.

2013-05-10 Thread Carlos Sura
all the records again. Any idea or example, will be really appreciated. Thanks! -- Carlos Sura.- www.carlossura.com www.carlossura.com/blog

[PHP] Re: scandir doesn't find all files

2013-06-23 Thread Carlos Medina
Hi, check the permissions: if the server can access to files or create files if the FTP creates the files with the right permission if a script is running, check if the script can creates the files with the right permission Regards Carlos Medina Am 22.06.2013 21:10, schrieb Daniel Pöllmann

[PHP] Re: Fwd: Is it possible???

2013-06-24 Thread Carlos Medina
Hi Karl, i dont know what you want to do. But i can say: The $item_amount_in_store variable is not the same to $item_amount_in_Store (case sensitive). It work for me... Regards Carlos Medina Am 24.06.2013 14:02, schrieb Karl-Arne Gjersøyen: > Error in my last post This is correc

Re: [PHP] Fwd: Is it possible???

2013-06-24 Thread Carlos Medina
Amen! Am 24.06.2013 18:17, schrieb Maciek Sokolewicz: > On 24-6-2013 14:27, n...@nobswolf.info wrote: >> You should give a complete programm so we can run exactly >> the same you do, like this: >> >> > >> $item_amount_in_store = 223; >> >> print ("$item_amount_in_store"); > Please please pleas

[PHP] Re: windows files and folders permission

2013-08-23 Thread Carlos Medina
Hola Emiliano, i think you should to redefine your question because i can not understand what you want. Please post parts of the code, examples, errors, etc. regards Carlos Medina Am 23.08.2013 06:28, schrieb Emiliano Boragina: > Night everyone, I did a upload page and when upload a JPG f

  1   2   3   >