[PHP] XML, Parser and newbie links

2001-01-16 Thread Robert Mena
Hi, recently I was given the task to create an application to generate xml files in order to exchange data. Since my knowleadge of xml is close to zero :) I also received an english text explaining the DTD and an example of how the file should be written. So I got to a point where I simply

Re: [PHP] Future plans (4.1) ?

2001-02-04 Thread Robert Mena
Hi Rasmus, thanks for you reply. As some of the phpers already stated I also disagree about the visibility issue. But it's IMHO anyway (besides I do not have technical skills enough to try to implement it). I'll check the template you mentioned but I was wondering if a

[PHP] Oracle + PHP + RH 6.2 (and 7.0)

2001-03-17 Thread Robert Mena
Hi, I was wondering if anyone has some links about articles, code snippets or tips regarding the use of oracle as rdbms and php. I have experience with mysql so I am considering the use of an abstraction layer to access so I could easily por existing apps. BTW. Does anybody know If the latest

[PHP] libclntsh.so.8.0 : oracle+php under linux rh 6.2

2001-03-22 Thread Robert Mena
Hi, I've succesfully installed a oracle 8.1.7 (chose server option) under a development redhat 6.2 box. I've compiled php as DSO with a --with-oci8=path/to/ORACLE_HOME and it compiled ok. If I try to start httpd I keep getting Cannot load /etc/httpd/modules/libphp4.so into server:

[PHP] Oracle + apache + php + linux Red Hat 6.2(update)

2001-03-22 Thread Robert Mena
Hi, I've managed to install oracle and to compile and install php (--with-oci8). Unfortunately when I start the server it gives me a httpd dead but subsys locked. Searching the archives I found one link to PHP.net manual (http://www.php.net/manual/en/ref.oci8.php) where it tells me that I

[PHP] oracle 8i stored procedures + php access

2001-12-27 Thread Robert Mena
Hi, I have a delphi application that uses oracle as db server with stored procedures (running ok). I've been trying to make a php version of such application with no luck so far. I've created a user to access such thing and I keep getting the following error Warning: OCIStmtExecute: ORA-06550:

[PHP] oracle 8i stored procedures + php access

2001-12-27 Thread Robert Mena
Hi, I have a delphi application that uses oracle as db server with stored procedures (running ok). I've been trying to make a php version of such application with no luck so far. I've created a user to access such thing and I keep getting the following error Warning: OCIStmtExecute: ORA-06550:

[PHP] Support for GIF, PNG and JPEG. How ?

2001-12-31 Thread Robert Mena
Hi, I was wondering if there is a wayto compile php with gd support for the gif, png and jpg file types. As far as I know gd dropped gif support while ago when it added png. regards, __ Do You Yahoo!? Send your FREE holiday greetings online!

[PHP] problems with php 4.1.1 (strtok?)

2002-01-04 Thread Robert Mena
Hi, I have a script to upload/insert records in a mysql db. I was running fine before the upgrade (php 4.0.4pl1) now it confuses the columns starting with the column number 9. I've attached a one line file that I used with the scripts. the problem seems to be with strok and null values. One of

[PHP] output compression and imp 2.x not working under IE

2002-01-05 Thread Robert Mena
Hi, I've recently upgraded my server to php 4.1.1 and turned on the output compression under php.ini. For some browsers (IE 5/5.5 so far) it made imp stop working. Does anybody know if this is a limitation of php, imp or explorer ? Anyone has tried that with the latest imp/horde ? thanks.

[PHP] strtok bug

2002-01-13 Thread Robert Mena
Hi, does anybody know when the strtok bug introduced in 4.1.1 will be fixed ? Will we have a 4.1.2 or should I try to grab a cvs tree (assuming that it is already solved) ? thanks. __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail!

[PHP] Re: strtok bug

2002-01-14 Thread Robert Mena
. Best regards, Robert --- Manuel Lemos [EMAIL PROTECTED] wrote: Hello, Robert Mena wrote: Hi, does anybody know when the strtok bug introduced After 4.0.6 . in 4.1.1 will be fixed ? Will we have a 4.1.2 or should I try to grab a cvs tree (assuming that it is already solved

[PHP] Strange behaviour : php accessing Oracle (PLS-00553: character set name)

2002-02-15 Thread Robert Mena
Hi, Ie developed some scripts to access oracle. Using my development machine it works great. When I switch to the production server I keep getting Warning: OCIStmtExecute: ORA-06550: line 3, column 33: PLS-00553: character set name is not recognized ORA-06550: line 0, column 0: PL/SQL:

[PHP] Oracle NLS : Access from PHP

2002-02-27 Thread Robert Mena
Hi, I have some script to access an Oracle database using stored procedures. When I access a development database everything runs fine. When I access the production database I get errors PLS-00553: character set name is not recognized ORA-06550. The problem seems to be related to NLS. So in

[PHP] building a crawler with PHP

2002-05-13 Thread Robert Mena
Hi, I'd like to know if anyone has good references (links, ps, pdf etc) about building a crawler and tips regarding doing that with PHP. This would be mostly for learning purposes. thanks. __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience

[PHP] SAFE_MODE + deleting files

2001-11-22 Thread Robert Mena
Hi, I have enabled the safe mode in a virtual host that uses php in order to try to prevent the user from uploading (via ftp) a php that could sniff around other's people files. Unfortunately I got stucked in a problem. this site uses php to upload and manage some files remotely. The webserver

[PHP] Segmentation fault (11) : mcrypt

2001-08-14 Thread Robert Mena
Hi, I've trying to use mcrypt and php (4.06 or 4.07-dev) with no luck. Everytime I use I got a [notice] child pid 16630 exit signal Segmentation fault (11) in my apache's error.log. I am using the latest libmcrypt-2.4.15 and php (a hour ago cvs update). Is this a known bug ? './configure'

[PHP] mcrypt segfault (still)

2001-09-05 Thread Robert Mena
Hi, a couple of weeks ago I posted a problem with mcrypt under php with at least 4.0.5,4.0.6 and 4.0.7-dev. The server works ok until you use a mcrypt function (it segfaults). The bug has been reported in bugs.php.net and assigned. Unfortunately so far no solution or news regarding this.

[PHP] Permutation in PHP

2001-09-16 Thread Robert Mena
Hi I am looking for an algorithm to generate the permutation of the elements of a vector, say a,b,c. Does anybody know / have implemented such (in PHP or different languages). Best regards. __ Terrorist Attacks on U.S. - How can you help? Donate

[PHP] Detecting error in OCIExecute calls

2001-05-08 Thread Robert Mena
Hi, I am accessing an oracle database from PHP using stored procedures available. I'd like to detect when a problem occurs in order to stop trying to fetch results. In mysql I check for rc=0 as an error. The php doc does not tell if this applies to oracle as well. The code is something like

[PHP] PHP 4.0.5 - segmentation fault when using OCI8

2001-05-11 Thread Robert Mena
Hi, I have a development machine with 4.0.4pl1 which has been used for creating a set of scripts to access oracle (using stored procedures). It seems to be working fine (the problems that I've encountered seems to be related to the oracle/procedure itself). Last night I moved the scripts to the

Re: [PHP] PHP 4.0.5 - segmentation fault when using OCI8

2001-05-12 Thread Robert Mena
) - Thanks. --- Thies C. Arntzen [EMAIL PROTECTED] wrote: On Fri, May 11, 2001 at 06:51:35AM -0700, Robert Mena wrote: Hi, I have a development machine with 4.0.4pl1 which has been used for creating a set of scripts to access oracle (using stored procedures). It seems to be working fine

[PHP] Which DB abstraction ?

2001-06-21 Thread Robert Mena
Hi, I am in a middle of the process of chosing which DB will be used for future projects. I've been using Mysql for almost 5 years (coupled with php of course) but it seems to have reached it's limits (actually the lack of some features). The other options include some traditional comercial

[PHP] 4.0.6 + mcrypt = segmentation fault

2001-06-30 Thread Robert Mena
Hi, I've recently downloaded and instaled PHP4.0.6 in my linux box. Eveything seems fine expect by the fact that my mcrypt scripts started to cause a segmentation fault in apache. libmcrypt 2.4.4 php 4.0.6 Linux RedHat 7.0 + updates ldd libphp4.so libpam.so.0 = /lib/libpam.so.0 (0x4014f000)

[PHP] To be or not to be : safe mode

2001-07-03 Thread Robert Mena
Hi, I've decided to turn on/set safe_mode, document_root and open_basedir in apache's httpd.conf in order to make the scripts a little more secure (some upload files such as image) in a virtual host. Everything worked fine except for a couple of scripts. Those scripts (used for file upload)

[PHP] PHP/Apache security question : bugtraq, suExec etc

2001-07-09 Thread Robert Mena
Hi, I follow bugtraq and recently there was a thread regarding safe_mode of php and how to break it. The thread was killed without a conclusion to where this is really a new threat or the same problem (scripts executed with sage uid/gid of the web server). So, I was wondering if the php-dev team

[PHP] enable_dl : manual not clear enough?

2001-07-09 Thread Robert Mena
Extension Loading Directives Hi, While reading the english version of the manual I got stucked in a part that seems a little confusing. enable_dl boolean This directive is really only The main reason for turning dynamic loading off is security. With dynamic loading, it's possible to

[PHP] Converting from paradox DB to mysql

2001-07-13 Thread Robert Mena
Hi, Does anybody knows how can I convert from a Paradox DB to mysql ? I've searched freshmeat.net but pxtools gives me core dump and unixODBC seems to be just the driver (i.e I'd have to write a convertion tool). Thanks. __ Do You Yahoo!? Get

[PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread robert mena
Hi, One server that hosts several domains ended up with the message Owned by W4n73d H4ck3r.While still performing an audit I am very confident that this was caused by a php script (it is a linux server) uploaded via FTP or by a defective site hosted (perhaps vulnerable version of a CMS). The

Re: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread robert mena
tips regarding the php part (like disabling some functions etc). But since I am also copying you directly please feel free to email me privately. Thanks again. On Nov 9, 2007 11:41 AM, Daniel Brown [EMAIL PROTECTED] wrote: On Nov 9, 2007 9:27 AM, robert mena [EMAIL PROTECTED] wrote: Hi, One

Re: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread robert mena
Hi Daniel, According to the audit this happened yesterday. I am searching astalavista but could not find anything, probably because I am being too specific. From the php side (or closely) what steps would you recommend in order to have a better security? I could not find a consistent 'list' of

Re: [PHP] Re: Tipos about which CMS use

2007-05-29 Thread robert mena
PROTECTED] wrote: I've said it before and I'll say it again: Wordpress. Joomla/Mambo are also a good choice. -- itoctopus - http://www.itoctopus.com robert mena [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi there, I'd like to replace my 'intranet' site with a CMS system

[PHP] Chat system

2007-06-19 Thread robert mena
Hi, I am looking for a simple php chat system (no registration, no private channels). Unfortunately the ones I've found (phpopenchat, phpfreechat) are too complicate, requiring the user to register or fail to work properly in IE6 or IE7. Any tips? -- PHP General Mailing List

Re: [PHP] Chat system

2007-06-19 Thread robert mena
Hi Daniel, Thanks. How can the user chooses the nickname? How about the list of connected users? On 6/19/07, Daniel Brown [EMAIL PROTECTED] wrote: On 6/19/07, robert mena [EMAIL PROTECTED] wrote: Hi, I am looking for a simple php chat system (no registration, no private channels

[PHP] Which Chat system to use

2007-08-04 Thread robert mena
Hi, I need to add a simple chat system to my site and I am trying to find out good solutions, free or paid. Some of the requirements : - php :) - uses some sort of template system (smarty better) - support for private chats - source code available - one chat room (except for private chats

Re: [PHP] Re: Which Chat system to use

2007-08-06 Thread robert mena
: robert mena escreveu: Hi, I need to add a simple chat system to my site and I am trying to find out good solutions, free or paid. Some of the requirements : - php :) - uses some sort of template system (smarty better) - support for private chats - source code available - one

[PHP] Live support system (in php)

2007-08-23 Thread robert mena
Hi, I am looking for solutions to enable live support in my websites. I was told that phplivesupport (http://www.phplivesupport.com/) is a good solution but it seems to be dead (no anwser to emails, always offline). Does anybody have another solution (with source code available) within the same

[PHP] Loosing session data between requests

2007-09-06 Thread robert mena
Hi, I am facing a strange problem. I have two servers (both Centos 4.5, httpd 2.0.52, php 5.1.6) and in one of them a webmail (uebimiau) looses session data between requests and in another it does not. I've compared php.ini from both with nothing different except for some memory limits they are

Re: [PHP] Loosing session data between requests

2007-09-06 Thread robert mena
Edward, My session.save_path = /tmp. The sess_X is created but with no contents On 9/6/07, Edward Kay [EMAIL PROTECTED] wrote: robert mena wrote: I've checked both /tmp and the session file sess_x in one server is empty and in another has the data. Both $_SESSION are ok (I've

[PHP] Improving development process / help with developer setup

2008-05-10 Thread robert mena
Hi, I am looking for tips regarding improving the development process. I'll explain my current setup and please feel free to comment. My developers all use windows + eclipse PDT, the workspace is hosted (via samba) in a Linux server with Apache/PHP/MySQL. I am in the process of adopting Unit

Re: [PHP] Improving development process / help with developer setup

2008-05-19 Thread robert mena
to don't mix OS. saludos gabriel On Sat, May 10, 2008 at 1:44 PM, David Otton [EMAIL PROTECTED] wrote: 2008/5/10 robert mena [EMAIL PROTECTED]: I am looking for tips regarding improving the development process. I'll explain my current setup and please feel free to comment. My

Re: [PHP] Improving development process / help with developer setup

2008-05-19 Thread robert mena
Hi Zoltan, If the windows would be used just for IE I think it's cheaper to have one windows machine (server 2003/2008), have the users connect via terminal service (rdesktop). I think it's easier than having to install/maintain than multiple windows installations, even if it is a virtual

Re: [PHP] Improving development process / help with developer setup

2008-05-19 Thread robert mena
Unfortunately this is not an option due to budget :) I use Mac myself (with VMWare fusion) but would not be feasible to depoly this with all the devel team. Or depending on your budget, Switch the developers to Macintosh computers, install windows via parallels, and then you can test in

[PHP] PHP and SAP

2008-07-05 Thread robert mena
Hi, I'd like to know if there are any tutorials about SAP and PHP. I'm moving to a new company and there is the need to provide some sort of access to internet/intranet to resources available in SAP. Since I work with PHP I am wondering what kind of support, tips, info I can get in order to

[PHP] Corrupted ZIP files (downloaded via a php script) : Internext Explorer 7

2008-07-16 Thread robert mena
Hi, I have a set of files stored in a directory and I need to serve those via a php script (in order to protect, control access etc). The problem is that zip files (exe also) get corrupted when I try from IE7. I've read the posts from this list and google etc with no idea of how to solve it.

[PHP] Searching MySQL with Japanese chars

2008-10-17 Thread robert mena
Hi, I am developing my first application that will have to handle with japanese data stored in a MySQL database. After digging a while it seems that I'd have to set all pieces (from the charset of the apache, to the encoding of the templates and database fields) set to UTF-8. I'd like to know

[PHP] Setup tips for oracle 9i development

2005-08-30 Thread robert mena
hi, I'd like to start developing php applications that will access oracle 9i databases. I am trying to setup a development enviroment using Linux so I was wondering what should I download/install from oracle's web site in order to compile php with 9i support. I am assuming that there is some

[PHP] include not working properly?

2006-03-07 Thread robert mena
Hi, I am facing a strange problem. One of my classes uses a include(Log.php) to enable to to use the Log class that comes with pear. *Fatal error*: require_once() [function.requirehttp://www.manaushoteis.tur.br/function.require]: Failed opening required 'Log.php'

[PHP] Printing library in PHP ?

2006-03-13 Thread robert mena
Hi, I am currently migrating an application originally written with Delphi to PHP. Everything is going fine except the printing of the reports that does not produce the same visual result (i.e does not look the same or has some aligmment issues). From what I've read I should use CSS to achieve

[PHP] Re: Printing library in PHP ?

2006-03-14 Thread robert mena
Hi Manuel, I am trying to print from the client side. The client will be windows. Thanks. On 3/13/06, Manuel Lemos [EMAIL PROTECTED] wrote: Hello, on 03/13/2006 09:44 AM robert mena said the following: I am currently migrating an application originally written with Delphi to PHP

Re: [PHP] Re: Printing library in PHP ?

2006-03-20 Thread robert mena
: This is more of an HTML question than it has to do with PHP, and you sound like a noobie :) Only useful info I can give you is to use THEAD in tables to hold headers, browsers put that row first on every page when breaking large table on several pages. Boban. robert mena wrote: For example

Re: [PHP] Re: Printing library in PHP ?

2006-03-20 Thread robert mena
Hi Burhan, Thanks. I'll try that but even tough my clients now uses windows I generally do not like to be too commited to a single platform. -rm On 3/15/06, Burhan [EMAIL PROTECTED] wrote: robert mena wrote: Hi Manuel, I am trying to print from the client side. The client

Re: [PHP] Printing library in PHP ?

2006-03-20 Thread robert mena
Hi Steve, This seems to be a good alternative. I've found pdflib($), ezPDF (dead?) e this fpdf as different ways to generate pdf. One drawback is that I'd have to construct all my documents 'by hand'. For trully dynamic this is no problem but for those that only differs at the name of the

[PHP] Security in php/ajax scripts

2006-03-20 Thread robert mena
Hi, I am slowly converting my webapps to use the 'ajax' technology. I'd like to know what 'best practices' should I use when it comes to authenticate, identify the requests in a more restricted context. So far I've migrated some 'open' areas where the user, without having to identify himself

[PHP] Unable to compile php 5.1 / 5.1RC ok

2005-11-26 Thread robert mena
Hi, I am trying to compile php 5.1 but it fails with pdo error messages './configure' '--with-apxs2' '--with-mysql=/usr' '--enable-soap' '--with-xmlrpc' --with-zlib --enable-pdo=shared --with-pdo-mysql=/usr ext/sqlite/.libs/sqlite.o(.text+0x1365): In function `zm_startup_sqlite':

Re: [PHP] Controling buffer: php/smarty or apache?

2006-01-23 Thread robert mena
. From what I've read, adding extra column information to the table tag and making sure the doctype is correct so you don't end up in quirks mode are both large factors. Using 'wget ---save-headers' and 'diff' will help you find any small difference between the pages. David robert mena

[PHP] php + apache.src.rpm

2001-04-18 Thread Robert Mena
Hi, I've donwloaded apache_1.3.12.src.rpm from RedHat's site and I am trying to build it. Unfortunately it keeps giving me error + adding selected modules o rewrite_module uses ConfigStart/End disabling DBM support for mod_rewrite (perhaps you need to add -ldbm, -lndbm or -lgdbm

[PHP] zlib.output_compression - how to turn it on

2001-05-01 Thread Robert Mena
Hi, after downloading and compiling php4.0.6dev (from cvs) I've decided to try the new much improved zlib output support (already enabled in 4.0.5). The announcement from the changelog says check the zlib.output_compression ini. I've searched the php.net site as well as the mailing lists but

Re: [PHP] zlib.output_compression - how to turn it on

2001-05-02 Thread Robert Mena
Yasuo, thanks for the reply. Yes I do have zlib support (shows me in phpinfo()). Sorry the stupid question but How do I check the size of the page ? If I access it and use save as I will have the uncompressed version right ? Which .ini directive did you use ? - thanks If you want to check

[PHP] Mcrypt + urlencode : how to pass encrypted values

2001-05-07 Thread Robert Mena
Hi I am developing an application which will encrypt (using mcrypt library) some data. Everyting is ok except the fact that I can no longer have links (GET) passing the values. For ex. I used to have a href=script.php?plaintext=foobar now I need to pass that foobar value encrypted. a

[PHP] design pattern/code generators

2005-01-29 Thread robert mena
Hi All, I am looking for advice regarding design patterns/code generation in PHP5. I have a simple code generation tool (written in PHP) to interface with database. It works fine for simple situations but seems a little strange for more complex ones. Suppose I have a table user (id, name, age)

[PHP] Advice with encrypting+storing sensitive data

2002-12-04 Thread Robert Mena
Hi, I need to develop an application where the protection of the data (to be stored on a database) should be very important (perhaps the principal requirement). THe goal is to have the data stored in a way that even the admin or anyone that hacks the web and/or database server could not (or

Re: [PHP] Advice with encrypting+storing sensitive data

2002-12-05 Thread Robert Mena
Thanks Bahwi, I agree with you regarding the client-side aspect. But since we are talking about a regular web-based application in php I think I will have to deal with that. The other security concerns are already addressed, such as the use of SLL to encrypt the traffic and possibly the use of

[PHP] Win32 php : MS Access support (odbc support)

2002-12-19 Thread Robert Mena
Hi, I will have to retrieve data stored in a MDB (MS Access) database. Since this MDB file be hosted in a Windows machine I'd like to have a CGI version of PHP with ODBC support so I can retrieve the data locally and send to a remote mysql database automatically. Since I've never used the CGI

[PHP] Problems to compile php (cvs)

2003-01-26 Thread Robert Mena
Hi, I usually fetch php from cvs a couple of times in order to try new features etc. Unfortunately since the beginning of this week I have been unable to compile, no matter what I do. I have been cvsing daily, buildconf and the same ./configure settings I have been using for ages. ./configure

[PHP] strange behaviour with 4.3.0 : warning of an unspecified open_basedir

2003-01-29 Thread Robert Mena
Hi, I've upgraded the php version from 4.2.2 to 4.3.0 yesterday and some of my users started complaining about errors in php scripts. The errors do not occur all the times and the messages shown are weird (for me at least) ! The user is accessing a php file located under

[PHP] Problems with 4.3.0 cli and paths

2003-01-31 Thread Robert Mena
Hi, I have upgraded my server with the 4.3.0 version. The cli was upgraded also and all my scripts started to crash. I ususally put a #!/husr/local/bin/php -q in all scripts that need to be executed from the crontab. All the sudden the scripts ended with error messages such as Warning:

[PHP] another problem with 4.3.0 : imagecreatefromjpeg undefined

2003-01-31 Thread Robert Mena
Hello again, another problem with 4.3.0. I have gd support but after the upgrade my scripts started complaing : Fatal error: Call to undefined function: imagecreatefromjpeg() My ./configure (the same used for ages). './configure' '--with-apxs' '--with-ttf' '--with-xml' '--with-gd' '--with-ftp'

[PHP] Help with secure virtual host setup

2003-08-03 Thread Robert Mena
Hi all, I host some virtual domains within my apache 1.3.x/php 4.3.x setup. Those domains are mantained by the users via ftp and I was wondering if I could secure the configuration a little bit more. I know that are limitations but the requirements would be : a) the user should not be able to

[PHP] PHP / Oracle support (8/9) under Redhat 9

2003-08-03 Thread Robert Mena
Hi, I am planning to migrate my current web server from redhat 7.x to 9 and I am currently evaluating what may go wrong or need special attention before I actually replace it. After searching the archives and other lists I still have a couple of questions : a) apache It seems that apache + php

Re: [PHP] PHP / Oracle support (8/9) under Redhat 9

2003-08-04 Thread Robert Mena
Hi Juan, But I'd need to compile php with oracle support. Do you have any experience with this setup ? RH9 + PHP with oracle support ? Regards. --- Juan Nin [EMAIL PROTECTED] wrote: From: Robert Mena [EMAIL PROTECTED] a) apache It seems that apache + php does not work well under

Re: [PHP] PHP / Oracle support (8/9) under Redhat 9

2003-08-04 Thread Robert Mena
Thanks for the reply. I already use 4.3.1 in my current server. I always compile my version of php since the ones that come with the distro are always too old and usually does not contain support for need features such as mcrpyt or oracle. - rt --- Justin French [EMAIL PROTECTED] wrote: I

[PHP] comparing xml files, removing some html tags

2003-08-17 Thread Robert Mena
Hi, I need to compare two XML files in order to find if they are similar, i.e their DOM tree have the same structure. The ideia is to use Xerces to balance HTML files in order to create Xhtml and then compare. To make things a little easier for Xerces I am considering to remove some elements

Re: [PHP] comparing xml files, removing some html tags

2003-08-20 Thread Robert Mena
Thanks to all (actually just one) that answered my question. Unfortunatelly I was hoping a more complete answer since the part I asked was not the main goal... bu t anyway... I'd like to ask then if the viewers could validate my new approach or at least point ways of actually implementing it.

[PHP] PHPOPENCHAT: he script tried to execute a method or access a property of an incomplete object.

2003-08-22 Thread Robert Mena
Hi, I've installed and tested phpopenchat 3.0b2 in my development machine (Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6 PHP/4.3.0) with no problems. When I moved to the real server (PHP Version 4.3.2) it keeps giving me this answer Fatal error: Unknown(): The script tried

[PHP] Oracle support under PHP / 8i or 9 and a RedHat 9 / Apache 1.3.X machine

2003-06-03 Thread Robert Mena
Hi, I have a server (currently 7.1) with apache + php compiled with oracle (mcrypt, imap, gettext) support. In order to do so I've installed the 8i linux versions, make a tar.gz of the libs directory and installed in my server. I runs fine accessing a remote (not mantained by me) oracle

[PHP] PHP 4.3.0/4.3.2 - Strange problem with exec / move_uploaded_file

2003-07-04 Thread Robert Mena
Hi, I am faciing a strange problem. I have some php script to receive images (via file upload). The script is failling to work because it can't move/copy the file. I've added a sleep(x) in order to make the temporary file stick around. 20 -rw---1 apache apache 19402 Jul 4

[PHP] Sax-like : accessing form fields elements

2003-02-16 Thread Robert Mena
Hi, I am developing an application which will have to parse a html page and extract information about the forms found. I tried the HTMLSAX class (http://www.phpclasses.org/browse.html/package/678.html) which is ok except by the fact that I can not retrieve the default/checked status from the

[PHP] Correct number format (curency)

2003-02-20 Thread Robert Mena
Hi, I have one application where the users enter a curency value. Unfortunately even tough I write the correct format I keep receiving all kinds. Example 1.000,00 1000.00 1,000.00 I would like to convert those to a single format 1000.00 Is there any function in php that already does that ?

[PHP] How to solve include_path / safe_mode / open_basedir /document_root ?

2003-03-25 Thread Robert Mena
Hi, I host some virtual servers in a Linux/apache/php 4 enviroment. I'd like to set up as secure as possible since the users have ftp access to upload files. So each virtual domain has a safe_mode/open_basedir settings in order to make it difficult to mess with each other's files.

[PHP] Redhat 8.0 / php-cvs - /usr/lib/httpd/build/instdso.sh: No such file or directory

2002-10-10 Thread Robert Mena
Hi, I've reinstalled my devel machine with RedHat 8.0. After a cvs update of php I've decided to recompile and install since the mod-php (which I did not install) from RedHat is a little outdated :) I've removed the config.cache, make clean and make. The compilation was ok, but while trying to

[PHP] rad tools, form paser/validator

2002-11-24 Thread Robert Mena
Hi all, I've been working with php for a while and whenever I have the chance I give some tutorials/speeches about it to other developers, specially those with no experience with web development. They all find easy but in one point or another start asking about an IDE with a debugger, variable

[PHP] Problem with php 4/5, segmentation fault

2004-10-20 Thread robert mena
Hi, I have a Linux Fedora Core2 system with apache 2.0.51 and php installed. Recently I 've noticed that some pages stopped working. Those pages while accessed does not output anything. After some tests I noticed that the page comes back to live if I remove the mysql_pconnect call. I've tried

[PHP] Search engine : build a new one or use an alreadry existing one ?

2004-11-07 Thread robert mena
Hi, I need to improve my current search mecanism but got stuck in a dilema : build one or use an existing engine? My site, that uses php/smarty allows my users to browse products in a category listing or search. Currently my search only performs a 'select xxx from where field like ' and show

[PHP] safe mode/open basedir not working ?

2004-06-30 Thread robert mena
Hi, I host a few virtual domains in apache 2 and use php. The virtual domain is something like VirtualHost a.b.c.d:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/httpd/html/domain.com ServerName www.domain.com ErrorLog logs/domain.com-error_log

Re: [PHP] safe mode/open basedir not working ?

2004-06-30 Thread robert mena
Marek, but the program was executed using a system call from a php script. - rt On Wed, 30 Jun 2004 23:50:02 +0200, Marek Kilimajer [EMAIL PROTECTED] wrote: robert mena wrote --- napísal:: Hi, I host a few virtual domains in apache 2 and use php. The virtual domain is something

Re: [PHP] safe mode/open basedir not working ?

2004-06-30 Thread robert mena
:02 +0200, Marek Kilimajer [EMAIL PROTECTED] wrote: robert mena wrote --- napísal:: Hi, I host a few virtual domains in apache 2 and use php. The virtual domain is something like VirtualHost a.b.c.d:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/httpd/html

Re: [PHP] safe mode/open basedir not working ?

2004-07-02 Thread robert mena
root write access and point that config option to it. On Wed, 30 Jun 2004 22:31:27 -0400, robert mena [EMAIL PROTECTED] wrote: Marek, Justin, am I doing something wrong with the setup because I saw the logs and a redeye.php was used to system(perl -) and was not supposed

Re: [PHP] safe mode/open basedir not working ?

2004-07-02 Thread robert mena
, not a folder. You're welcome to try, though. :-) On Fri, 2 Jul 2004 14:19:25 -0400, robert mena [EMAIL PROTECTED] wrote: Ok. How about set the safe_mode_exec_dir to /dev/null then ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sending email without an email server

2004-07-13 Thread robert mena
Hi, I have a small script hosted in a win32/apache/php4 enviroment where I do not have a local email server. I was wondering how could I send emails either connecting directly to the mx or sending through a relay. regards. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] PHPEclipse?

2004-07-16 Thread robert mena
I have downloaded the latest .zip from source forge but it keeps giving me an error has occured when activating this view.. and hsow the php browser. eclipse 3.0, linux fedora core2, java 1.4.2_04-fcs -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Sending email without an email server

2004-07-19 Thread robert mena
of the file (?) The mail command is mail(Webmail .$emailTo.,[Contact],$msg,From: Webmail [EMAIL PROTECTED] \nReply-To: .$name. .$emailFrom.\n); Any tips ? On Tue, 13 Jul 2004 19:20:25 +0800, Jason Wong [EMAIL PROTECTED] wrote: On Tuesday 13 July 2004 18:46, robert mena wrote: I have a small

Re: [PHP] PHP Web Mail

2004-07-25 Thread robert mena
Yeah, but it is slow as hell. webmiau in the other way is fast On Mon, 5 Jul 2004 12:45:33 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Try www.horde.org It's not only a webmail client, but has a whole load more! Nunners Quoting I.A. Gray [EMAIL PROTECTED]: Thanks- looked at

[PHP] managing cvs from php

2004-08-19 Thread robert mena
Hi, I use cvs from my internal projects and will soon need to let others change template files from a web form. The user will load the current template, edit, preview and if ok publish. Since I'd like to keep a history and track those changes one option for me would be to add a cvs call with a

Re: [PHP] managing cvs from php

2004-08-22 Thread robert mena
Michal, The directories have a 777 (ok unsecure but just a test) setting. Any tips of how can I get the stderr or a better way to do this cvs interface ? On Thu, 19 Aug 2004 11:45:26 -0400 (EDT), Michal Migurski [EMAIL PROTECTED] wrote: $cmd = cd .$pathToFile. ; /usr/bin/cvs ci -m '.$logMsg.'

[PHP] Dinamic generate PDF : which way ? (classes, docbook)

2004-09-06 Thread robert mena
Hi, I plan to dynamic generate some of the documents I need on a regular basis. Sometimes they only differ by the name of the company so my first attempt would be to generate templates in word and ask/replace for the values needed. I am evaluating the http://www.ros.co.nz/pdf/, www.fpdf.org and

Re: [PHP] Dinamic generate PDF : which way ? (classes, docbook)

2004-09-07 Thread robert mena
dynamic conversion to PDF/HTML: http://www.xml-dev.com/blog/#88 Here are some other utilities to convert to PDF: http://www.xml-dev.com/blog/#101 This one is pretty good: http://html2pdf.seven49.net/seven49.aspx? Thanks. Saqib Ali http://validate.sf.net robert mena [EMAIL PROTECTED

[PHP] Tipos about which CMS use

2007-05-17 Thread robert mena
Hi there, I'd like to replace my 'intranet' site with a CMS system to speed up the edit process. Some of my requirements are : - written in PHP :) - mysql based - documented/'well structured' - to allow development of customizations - ability to define which pages or sections are public and

[PHP] Unable to get output from exec ssh remote-server 'ping -c4 ip'

2009-12-27 Thread robert mena
Hi, I need to develop an interface that will, for example, ping IPs from a remote server. So the php script will be hosted in a server with ssh access (key) to the remote server. I can make it work from the console but when I try $cmd = ssh remote-server 'ping -c 4 ip' exec($cmd, $ouput); the

[PHP] Help with security configuration for a shared hosting environment

2009-12-30 Thread robert mena
Hi, I am setting a shared hosting server and I'd like to gather some advices regarding the security. Since the code will not be produced by me I'd like to focus on environment strategies. For now I've added a noexec in the mount options of the /tmp and the homedir of the web server, disabled the

  1   2   >