[PHP] transferring iis7, php5, mysql project to another server

2013-09-10 Thread Harrison, Roberto
applicationHost.config redirection.config Arachnophilia folder MySQL folder php folder phpdebug folder wwwroot folder Thanks in advance. Roberto Harrison, MLIS Technology Support Librarian Medical College of Wisconsin Libraries Link.Learn.Lead . On 9/3/13 8:31 AM, "Stuart Dallas" wro

Re: [PHP] move_uploaded_file

2009-12-12 Thread Roberto Aloi
This is exactly what I mean. Documentation should never leave room to interpretation. At least, this is what I think. Roberto Aloi On 11 Dec 2009, at 22:36, Ashley Sheridan wrote: On Fri, 2009-12-11 at 22:14 +, Roberto wrote: Hi Joseph, I'm perfectly fine with the concep

Re: [PHP] move_uploaded_file

2009-12-11 Thread Roberto
t of the server root in file system terms. Just, this should be written in CAPITAL LETTERS in the documentation. Thanks for the interest, Roberto Aloi http://aloiroberto.wordpress.com Twitter: @prof3ta > When used in PHP, an absolute path does not go off the web root. In Premise > 3 belo

Re: [PHP] Issue with $HTTP_POST_VARS Not getting Variables

2009-12-11 Thread Roberto Aloi
Because you're passing the args through the Url (GET), not through a POST request. Roberto Aloi On 11 Dec 2009, at 20:37, "Eric Lommatsch" wrote: Hello, I am working with a login page to use with an application that we are planning to make available as a web service. The

Re: [PHP] Backup to local drive

2009-12-11 Thread Roberto
Hi, you lost me a bit. Let say a user uploads a PDF file to one of your servers. What do you mean when you say "I want the users to be able to save the HTML output of their data"?!? Roberto Aloi http://aloiroberto.wordpress.com Twitter: @prof3ta On Fri, Dec 11, 2009 at 6:44 PM,

Re: [PHP] move_uploaded_file

2009-12-11 Thread Roberto
ion of the move_uploaded_file function and I'll check, though. Cheers, Roberto Aloi http://aloiroberto.wordpress.com Twitter: @prof3ta -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] move_uploaded_file

2009-12-11 Thread Roberto
FILES["pictures"]["name"][$key]; move_uploaded_file($tmp_name, "$uploads_dir/$name"); } } ?> The path for the upload dir should be a relative one, not an absolute one. Roberto Aloi http://aloiroberto.wordpress.com Twitter: @prof3ta -- PHP General

Re: [PHP] Browsing PHP documentation from Emacs

2009-12-09 Thread Roberto
Hi Kim, this should actually work with almost all PHP documentation pages in HTML format. I personally tested it with the English package from: http://www.php.net/download-docs.php (the one that come in many HTML files). Regards, Roberto Aloi http://aloiroberto.wordpress.com Twitter: @prof3ta

[PHP] Browsing PHP documentation from Emacs

2009-12-09 Thread Roberto
nd it might be integrated with existing php-mode implementations. Looking forward to hear feedback from you. Regards, Roberto Aloi Twitter: @prof3ta -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] unset in foreach breaks recrusion

2008-07-01 Thread Roberto Costumero Moreno
} > } > } > if($return){return $sorted;} > } > > > Well, I guess that's it, I'm sure I can think of > another way to cut execution time, but, well, > I don't have much time for it :)

Re: [PHP] Simple array problem

2008-07-01 Thread Roberto Costumero Moreno
$array[$key] += $value; } } I think that solution works and is the easiest way to do it. Cheers, Roberto On 01/07/2008, tedd <[EMAIL PROTECTED]> wrote: > > At 9:35 AM +0100 7/1/08, Richard Heyes wrote: > >> Brian Dunning wrote: >> >>> Seems like it should

Re: [PHP] unset in foreach breaks recrusion

2008-06-30 Thread Roberto Costumero Moreno
t and always wait about 24 hours for someone to answer ;-) There are lots of people from all over the world so if the one helping your case is in the opposite part of the world and is asleep... it takes time ;-) Cheers, Roberto On Mon, Jun 30, 2008 at 17:38, David Sky <[EMAIL PROTECTED]>

Re: [PHP] unset in foreach breaks recrusion

2008-06-30 Thread Roberto Costumero Moreno
turn ); ?> So you don't make any recursive call, you don't lose too much efficiency and it should work well for the whole array. Try the two solutions above and see whether if any is up to your problem. Cheers, Roberto On Mon, Jun 30, 2008 at 14:27, Jason Norwood-Young < [EMA

Re: [PHP] Re: Early return (was: Inspiration for a Tombstone.)

2008-06-29 Thread Roberto Costumero Moreno
There is a point between Multiple & early return vs. One last return, which is Efficiency. Imagine you have a code which makes lots of things. What is better in time? If you have early returns, your script will only do the operations it has to, nothing more than it has to do. If you have your da

Re: [PHP] Why doesn't working with array's ever stick in my thick head?

2008-05-09 Thread Roberto Mansfield
nces. > > I need to be able to display that as: 6 # 13.824 Ounces. Then I think you want to use the mod operator: (I'm assuming .226 is the cost per ounce and 464 is the total number of ounces) $pounds = intval( .226 * 464 / 16 ); $ounces = ( .226 * 464 ) % 16; Roberto -- PHP General

Re: [PHP] Why doesn't working with array's ever stick in my thickhead?

2008-05-09 Thread Roberto Mansfield
Roberto Mansfield wrote: > (I'm assuming .226 is the cost per ounce and 464 is the total number of > ounces) It sure is Friday. This assumption doesn't make any sense! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Generating JavaScript menus on-the-fly

2008-03-10 Thread Roberto Mansfield
If you are building select menus on the fly using javascript, look at php's json_encode function. It will create a JSON representation of your php data structure. Makes "passing" data sets to javascript very easy. Just build your array of allowed options in php, plug the data into your javascript v

Re: [PHP] including files outside of document root

2008-01-23 Thread Roberto Mansfield
Daniel Brown wrote: > On Jan 23, 2008 2:50 PM, Roberto Mansfield <[EMAIL PROTECTED]> wrote: >> I tend to keep the directories in the document root, but I deny access >> via an .htaccess file. This keeps the code in a simple directory >> structure. Anyone else doing tha

Re: [PHP] including files outside of document root

2008-01-23 Thread Roberto Mansfield
imple directory structure. Anyone else doing that? -Roberto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [pcre] backreferences to all matches of a repeated subexpression

2007-08-03 Thread Roberto Mansfield
Jack Bates wrote: > I'm trying to pull all the components out of strings structured like: > word followed by any number of ( dot word or square bracketed string ) > > This is an example: foo.bar[ab.cd].baz > > From the above example, I want: array('foo', 'bar', 'ab.cd', 'baz'); > > A regular exp

Re: [PHP] Loss of precision in intval()

2007-08-02 Thread Roberto Mansfield
, the ridiculousness (probably not a word) of the example is > highlighted by the fact that 75.81 and 75.83 work perfectly. > > Roberto Mansfield wrote: >> Internally, 75.82 can't be stored exactly, so 75.82 * 100 is probably >> 7581.92 rather than the expected integer va

Re: [PHP] Loss of precision in intval()

2007-08-01 Thread Roberto Mansfield
Internally, 75.82 can't be stored exactly, so 75.82 * 100 is probably 7581.92 rather than the expected integer value of 7582. So intval is behaving properly. Sounds like you want intval(round($a)); [EMAIL PROTECTED] wrote: > Very weird and counter intuitive. Looking at the php manual, I see

Re: [PHP] If statement duplicating mysql records?

2007-06-21 Thread Roberto Mansfield
( $row[5] == "Level1" ) { // your commands } elseif ( $row[5] == "Level2" ) { // your commands } else { // your commands } This would work in the way you are thinking. Hope this helps your understanding. -- Roberto Mansfield Institutional Research and Application De

Re: [PHP] If statement duplicating mysql records?

2007-06-21 Thread Roberto Mansfield
pen is if $row[5] =="Level1" it would change the color > to yellow, but then it would also display another line of the same info > that would have the $unclassified color assigned to it. Ahh, this is different from your original post. You have TWO if statements here. So when $row[5] = "Level1", it was satisfying the first IF statement and then falling into the ELSE of the second IF statement. Makes sense to me now why it was failing. Roberto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: If statement duplicating mysql records?

2007-06-19 Thread Roberto Mansfield
k IF is the culprit. I'm guessing you have a bad join in your sql query so you are getting back more records than you expect. Have you run the query directly in to see what your results are? Roberto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Removing a row from an Array

2007-06-04 Thread Roberto Mansfield
Can't you just unset() the values you don't want? Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote: > Hey - - - - - - -- > > To do this, I am: > > - looping through the array > - copying the rows that I want to *keep* to a temp array, and > - replacing the original array with the "temp' one

Re: [PHP] checkboxes problem

2007-06-01 Thread Roberto Mansfield
gt;> does not match the php version, >> >> name=\"box[]\" >> >> So either my client side stuff works or the php array only returns 1 >> value >> when posted. Is there any way to for this to work? > > Let PHP use the NAME= attribute, and JS us

[PHP] Re: Make eclipse-php recognise custom extension as php ?

2007-04-27 Thread Roberto Mansfield
in your preferences. Give this a try: Open Window->Preferences. Under General->Editors->File Associations, add your new file extension. Highlight the new extension and use the Associated Editors box below to tie the extension to the PHP editor. Good luck, Roberto -- PHP General Mailing Li

[PHP] Re: breakthrough: get record, insert on different table works

2007-04-26 Thread Roberto Mansfield
password in one place. Not a bid deal in this case, but imagine if you had 10 pages, 100 pages, etc... 2. You need to validate user input before including it in your sql statements. Good luck, Roberto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: downloading an image

2007-04-11 Thread Roberto Mansfield
Verify that your $type is a correct mime type. Ross wrote: > tthe image does not display although it exists in the table 'images' > > > This calls the download script > > > $property_id = $_SESSION['property_id'] ; > $query = "SELECT * FROM images WHERE property_id='$property_id'"; > $resu

Re: [PHP] Link to download files on another part of system

2007-03-29 Thread Roberto Mansfield
Only do this if all the files should be publicly accessible. Otherwise, you'll need to create a php wrapper to do authorization before sending the file. -Roberto Rahul Sitaram Johari wrote: > Ave, > > I¹m going to try creating the sharepoint within my webserver, as suggeste

Re: [PHP] Show Filename using Wildcards

2007-03-29 Thread Roberto Mansfield
Also, you should validate the phone number (make sure it contains only numerical digits) before using it on the command line. I wouldn't trust the data to build a command line. -Roberto Rahul Sitaram Johari wrote: > ;) > > Point taken! > > exec("find /Users/rj

Re: [PHP] Date/time format?

2007-03-29 Thread Roberto Mansfield
Jason Pruim wrote: > Thanks everyone for your suggestions, it turns out it was a unix time > stamp and I can get it to parse out a normal date now. > > Now... on to the harder part > > What I am trying to do is learn... This is kind of just a pet project > for me to figure out how I can do it

[PHP] Re: Oracle XMLTYPE column truncates

2007-03-08 Thread Roberto Mansfield
Mikey wrote: > Roberto Mansfield wrote: >> Hi Mikey, >> >> OCI doesn't directly support the XMLtype so you need to convert to >> string (if < 4k) or clob before retrieving. Use: >> >> select xml_metadata.getClobVal() ... OR >> select xml_metadat

[PHP] Re: Oracle XMLTYPE column truncates

2007-03-08 Thread Roberto Mansfield
load() method on it to get the text back. Roberto Mikey wrote: > Hi! > > I am running some tests for implementing variable metadata using > Oracle's XMLTYPE. Creating the XML and inserting it into the database > works fine, however when trying to retrieve data it truncates

Re: [PHP] problems with thumbnail image

2007-03-02 Thread Roberto Mansfield
> I have used this method for generating the thumbnail images. I avoided > creating the thumbnails and saving to the disk as the images change very > frequently. > > Thank you so much for helping me with this one:)) > > regards > Punit Neb The problem is that your function generates thumbnail

[PHP] Re: Error handling

2007-03-01 Thread Roberto Mansfield
d error for the admin/developer. The details in error messages are often useful in finding vulnerabilities in an app. Roberto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Eregi error

2007-03-01 Thread Roberto Mansfield
Myron Turner wrote: > M.Sokolewicz wrote: $pattern = '^[a-z0-9\!\_ \.- ,/]*$'; if(!eregi($pattern, $input)){ > > the problem is that the hyphen is interpreted as regex range operator: > [a-z0-9\!\_ \.- ,/] > Rewrite this as >

[PHP] Re: [X-POST] PHP script to make sure MySQL is up?

2007-03-01 Thread Roberto Mansfield
odify the number of active connections allowed in the mysql config file. Good luck, Roberto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How configure PHP parser 4.3.x in IIS version 6.0?

2003-07-08 Thread Roberto Ramírez
In order to use PHP on IIS6.0 you must allow IIS to use Unknown ISAPI Extensions or Unknown CGI extensions in the Web Services section in the IIS administration. If you don’t allow it, IIS don’t parse any php file because it's not allowed. I hope this helps you... Roberto -Ori

[PHP] Configuring PHP5 in IIS 6.0

2003-06-20 Thread Roberto Ramírez
d a snapshot of PHP5 on a win2003 box please tell me how to do it. Any help would be appreciated. Roberto Ramírez -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Is there a difference in this??

2002-10-03 Thread Roberto Ramírez
n i use the second, i get a server error. I dont get it!!! why is that #"$%&% server error!!! Note: I cant chage the second instruction's vars to simple text, because its inside a for loop. Using: Apache/PHP 4.2.1 in Win2k The SMTP is a Unix Service in another Server. Any help wou

[PHP] Inline Images ?

2002-07-21 Thread Roberto Ramírez
don't want to do this... but I wanna hear another possiblities before doing that... Any suggestions? Roberto Ramírez

[PHP] Script uid/gid

2002-02-07 Thread Roberto P.Martins Jr
Hi! I'd like to know why a php script stored at the cgi-bin directory, with the php binary stored outside the webserver tree, runs with the uid/gid of the parent process, even when the setuid/setgid bits set, ignoring them!!! Thanks in advance, Roberto -- PHP General Mailing List

[PHP] safe mode/mkdir problem - HELP!

2002-02-05 Thread Roberto P.Martins Jr
includes the php apache module and the php binary. Thanks in advance, Roberto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] doing a search for domains

2001-07-05 Thread Romulo Roberto Pereira
Hello, I am curious about creating a script that would bring me results of a search organized not by the actual name of the domain but the lenght of each part of a domain. This is an example: Domains that finish in .com/.net/.org with the lenght of one character: a.com a.net a.org b.com b.net

[PHP] parse error in PHP Manual in php web site...

2001-06-29 Thread Romulo Roberto Pereira
Parse error: parse error in /local/Web/sites/phpweb/include/shared-manual.inc on line 265 Fatal error: Call to undefined function: sendmanualheaders() in /local/Web/sites/phpweb/manual/en/getting-started.php on line 3 HELPPP!! :) Rom -- PHP General Mailing List (http://www.php.net/) T

[PHP] passing values to a javascript variable

2001-06-21 Thread Romulo Roberto Pereira
Hello! The following give me: unterminated string constant (this is a javascript error) when I execute the following: while ($row = mysql_fetch_array ($data_query_action)) { $data_data = $row["data_data"]; } echo "\n var ndata=\"".addslashes($data_data)."\";\nPutCode (ndata);

[PHP] submiting the contents of an IFRAME

2001-06-21 Thread Romulo Roberto Pereira
Hello! Anyone had tried to submit the contents (I mean the source code) of an IFRAME, so it can be available for PHP? Thank you, Rom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the l

[PHP] authenticating in other web server

2001-05-17 Thread Romulo Roberto Pereira
Hello! I am in an server with Apache and PHP. I want PHP to authenticate in other server (Novell with Netscape). Like this: SSL (PAGE 1 SERVER 1) ->-->- SSL (PAGE 2 SERVER 2) SERVER 1: Apache and PHP SERVER 2: Novell with Netscape PAGE 1: PHP script page PAGE 2: PHP script page Wi

RE: [PHP] Multi Dimensional Arrays?

2001-05-15 Thread Romulo Roberto Pereira
Anyone knows how to determine how many levels has an array? TIA Rom -Original Message- From: Robert V. Zwink [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 10:30 AM To: Brandon Orther; PHP User Group Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Multi Dimensional Arrays? You are on

[PHP] easy one

2001-05-15 Thread Romulo Roberto Pereira
Hello! How do I check if a session exist before I call session_start()? TIA, Rom -- 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] quick question: frames OT

2001-05-08 Thread Romulo Roberto Pereira
Hello! Just a quick ot question: >From a php script I open a frameset this divides the browser window in two rows. How do I do to get rid of the frameset without closing the window? TIA Rom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

[PHP] Wrapping text to store in the database

2001-05-08 Thread Romulo Roberto Pereira
Hello! If a user drop a text like this in a textarea: --- the U.S. Army's 3rd Infantry Division, 15th Regiment, A Company, seized a 44-car train in a tunnel 60 miles south of Salzburg, Austria. It contained an incalculable fortune in fine art, bullion, jewelry, furs, coins, stamp collections, ca

[PHP] problems creating a good auth/session control in my scripts

2001-05-08 Thread Romulo Roberto Pereira
Hello, I create an auth system using NDS as a LDAP server. Works fine. The problem is with the session handling (from my part probabilly)... I am using the PHP session functions. Again, works fine. register the sessions, the variables. But I am beeing unable to destroy the session. To destroy th

[PHP] including html pages inside an interface

2001-04-24 Thread Romulo Roberto Pereira
Hello! This is the scenario: (a) I have an interface that will be the main interface with the user (b) I have a mail server (Mirapoint) that has a web interface (c) The web interface for the Mirapoint server is inside frames This is the problem: (a) let's say that I log in as a user from the

[PHP] including html pages inside an interface

2001-04-24 Thread Romulo Roberto Pereira
Hello! This is the scenario: (a) I have an interface that will be the main interface with the user (b) I have a mail server (Mirapoint) that has a web interface (c) The web interface for the Mirapoint server is inside frames This is the problem: (a) let's say that I log in as a user from the

[PHP] Help Needed in a short project with LDAP(NDS), Mirapoint and PHP as the main application server - OT (sorry)

2001-04-20 Thread Romulo Roberto Pereira
Frame: Explanation of the project: 3 days - april, 25th to april, 27th) Development: 2 weeks (april,28th to may, 13th) Payment: Depends on developer experience. Per project type of payment (not per hour). Project Leader: Romulo Roberto Pereira Senior Internet Specialist Phone: 305.444.7433 E

RE: [PHP] Dynamic built web pages administration

2001-04-17 Thread Romulo Roberto Pereira
a applets, etc, that you don't want users writing to the page. But for administration used by only trusted people, it's actually pretty simple to put together. For use by people who aren't trusted... -- Plutarck Should be working on something... ..but forgot what it was. "&

RE: [PHP] baffled :<:

2001-04-16 Thread Romulo Roberto Pereira
I made a mistake: $id = $myrow["id"]; should read: $id[] = $myrow["id"]; -Original Message- From: Romulo Roberto Pereira [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 3:04 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] baffled :<:< even better:

RE: [PHP] baffled :<:

2001-04-16 Thread Romulo Roberto Pereira
even better: use foreach! $id = $myrow["id"]; .. foreach ($id as $loop) { .. } -Original Message- From: Chris Fry [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 3:00 AM To: Mark Maggelet Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] baffled :<:< This loop will

RE: [PHP] baffled :<:

2001-04-16 Thread Romulo Roberto Pereira
Even better, $id[] = $myrow["id"]; then count them: for ($i=0;$i < count($id);$i++) { .. } Rom -Original Message- From: Chris Fry [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 3:00 AM To: Mark Maggelet Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] baffled :<:<

[PHP] Dynamic built web pages administration

2001-04-16 Thread Romulo Roberto Pereira
Hello, I was wondering if anybody have developed something related to dynamic web pages building and administration. I need to store the content of the site in the database and later as the user navigate, mount the content using templates. This part is easy, since PHP is very powerfull in this ar

[PHP] ooops PHP for Zope

2001-04-16 Thread Romulo Roberto Pereira
ooops - sorry about the other e-mail... I am sleeping here... heheheeh Hello! Any comments in PHP for Zope? I don't know much though... Some people told me that Zope is good a while ago... And I saw that now they have a PHP layer... How good is zope? Thank you, Rom -- PHP General Mailing Lis

[PHP] ZOPE PHP

2001-04-16 Thread Romulo Roberto Pereira
Hello! Any comments in PHP for Zope? I don't know much thought... Some people told me that Zope is good a while ago... And I saw that know they have a PHP layer... How good is this? Thank you, Rom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] I need an authentication method that is good... any Ideas? - please help

2001-03-22 Thread Romulo Roberto Pereira
Hello! I am constructing an intranet site. The site is all secure, I mean, all the pages are under a directory that needs a password to get in. These are facts: A) The user information is on a LDAP; B) The user should entry the pair login/password only once; C) Any access to the site without log

[PHP] Hello! PHP

2001-03-16 Thread Celestino Roberto Alejandro
Hello, i'm working with PHP, and i need use a classes that this company have developed in java, can i use it from php? ...yes, i know that i can, but, when i make the configuration of the php.ini, run the hello example, all rights, but, when i make a class that use a frame of awt, for show a win

[PHP] Error working

2001-03-15 Thread Celestino Roberto Alejandro
Hello..i'm veri tired, and i am going to require your help. I need to make some operations with a cuadratic curve. But with the current php code... ... i get this error: Warning: java.lang.ClassNotFoundException: java.awt.geom.QuadCurve2D.Double Can anybody help me? , please if you c

[PHP] (rac)MCAL, doubt, again

2001-03-15 Thread Celestino Roberto Alejandro
Hi... ..where i can found documentation abour the use and the installation of MCAL library in Solaris plattform? Robert Celestino.

[PHP] (rac)Php dobut with an extension

2001-03-14 Thread Celestino Roberto Alejandro
Hey !! How are you I've tried to do run PHP with JAVA support enabled, (in a Win32 plattform in this case), and when i uncommented the extension=php_java.dll, all is ok, then i configure the [JAVA] section, with... [Java] java.home = c:\java java.library = c:\java\jre\bin\classic\jvm.dll java

php-general@lists.php.net

2001-03-12 Thread Celestino Roberto Alejandro
Hello..i'm trying PHP&JAVA ..we can in my .java file import javax.swing classes, and the how i can do that runnin it with php, don't say the Error...of javax.swinng...etc..can't loaded...! thanks... Roberto Celestino -- PHP General Mailing List (http://www.php.net/) To

[PHP] (doubt)PHP console run

2001-03-12 Thread Celestino Roberto Alejandro
Hello..friend... ..i have a doubt? how i can do for run php in console mode, or better say, that run script in my shell not in a browser... ..and, you give me a hand an i get the arm, how i can get the argument of the line of command?exist ARGV or ARGC? Roberto Celestino El sitio, "Tu port

[PHP] (doubt)MCAL installation

2001-03-12 Thread Celestino Roberto Alejandro
How i can get further information about the installation of MCAL extension in a Solaris 2.7 environment? Roberto Celestino Universidad Nacional de la Matanza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] GTK-PHP install doubt?

2001-03-08 Thread Celestino Roberto Alejandro
Friends, i get the source of the GTK-PHP module, or library, as you want to say, but, when i going to do, the steps that describe in their ebpage( http://gtk.php.net/), i do phpize ./configure make (This failed) make install (obviously failed) When i do the make, this say that the function php

[PHP] [PHP-ES] (roberto celestino)MCAL! set-up.

2001-03-08 Thread Celestino Roberto Alejandro
ant compile the driver alone (Ex: icap), this also give some errors...? Thanks, and Sorry..! I'm running in a Solaris 2.7, thanks! Celestino, Roberto Alejandro Argentina, Universidad Nacional de la Matanza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

[PHP] (roberto)Standar of modules of PHP3 ...how i can make a extension in C/c++ for this version?

2001-02-14 Thread Celestino Roberto Alejandro
Hello.. ..how i can make a extension for this version of PHP3? ..Thanks :-)

[PHP] (robert)HELLO...all doubts about XML/APACHE/PERL/PHP/MOD

2001-02-13 Thread Celestino Roberto Alejandro
a module for PHP3?(:_not PHP4!) Thanks...and=20 ..GOOD LUCK. Roberto Celestino.

[PHP] MSSQL field type money bring a string not a number back

2001-01-22 Thread Romulo Roberto Pereira
Hey! After bringing and fetching the results, the data from a money field is treated like strings. There is a function or a command to make it treat the variables as numbers? Because I want to sum them. Thank you, Rom

Re: [PHP] MSSQL field type money bring a string not a number back

2001-01-22 Thread Romulo Roberto Pereira
I am sorry about this - I figured out already - was nothing to do with the convertion... Rom - Original Message - From: Romulo Roberto Pereira <[EMAIL PROTECTED]> To: php-general <[EMAIL PROTECTED]> Sent: Monday, January 22, 2001 5:15 PM Subject: [PHP] MSSQL field type m

Re: [PHP] quick PHP question on unset()

2001-01-22 Thread Romulo Roberto Pereira
try $var1 = NULL I think that will work Rom - Original Message - From: indrek siitan <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 22, 2001 4:33 PM Subject: [PHP] quick PHP question on unset() Hi, i've got a $var1 that's referencing to a $var2 ($var1=&$var2;) ..

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Romulo Roberto Pereira
He is on windows 98... - Original Message - From: Rasmus Lerdorf <[EMAIL PROTECTED]> To: Todd Cary <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, January 22, 2001 1:42 PM Subject: Re: [PHP] $HTTP_SERVER_VARS has only 1 value Are you running PHP as a CGI? On Mon, 22 Jan 2001

Re: [PHP] XML Processing Instruction ( was "

2001-01-21 Thread Romulo Roberto Pereira
I forgot to mention that if is PHP the parser (since you are creating PHP scripts in a server that use PHP as CGI or as a module) this could not be treated by the parser? I mean, the common XML tag is To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, January 21, 2001 5:03 PM Subject: [PH

Re: [PHP] XML Processing Instruction ( was "

2001-01-21 Thread Romulo Roberto Pereira
If I am not mistaken XML tags needs to be identifed. So ... Maybe we could vote the use or not of this feature? Rom - Original Message - From: Brian White <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, January 21, 2001 5:03 PM Subject: [PHP] XML Processing

Re: [PHP] GetImageSize problem

2001-01-21 Thread Romulo Roberto Pereira
endif chk for valid file types # got the pic dimensions, close the file fclose ($fd); return array( $width,$height,$type ); } else return array( '','','' ); }; file://endif valid file pointer chk }; // end function ?> Rom - Original

Re: [PHP] GetImageSize problem

2001-01-21 Thread Romulo Roberto Pereira
Hello! First - some ISP block you from get files from their server by a httpd request (that is what php does... I think!). To be sure if this is set or not, in the other ISP (not the one that the images are) write a simple html like this: loading images between servers http://Domain/ImagesDir/I

Re: [PHP] get last directory of a full path? (parent directory)

2001-01-20 Thread Romulo Roberto Pereira
Hello! > whats the easiest way to go from "/dir1/dir2/dir3/hello.php" to "dir3/" ? > dirname will cut off hello.php but i want to cut dir1 and dir2 as well I believe that this will do the job

Re: [PHP] What's wrong with this link?

2001-01-20 Thread Romulo Roberto Pereira
the slashes ate no the correct escape slashes... the correct would be: print "\">Click Here"; - Original Message - From: Mike Yuen <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 20, 2001 1:25 PM Subject: [PHP] What's wrong with this link? I realize my slashes ar

Re: [PHP] Help w/ regular expressions for banned words

2001-01-20 Thread Romulo Roberto Pereira
try this; I am working on the last word... ereg replace is not finding the REGEX "\.$" - anyone has a clue? "; echo $string.""; for($i=0;$i<$num;$i++) { $string = eregi_replace("{$bannedwords[$i]}","[censored]",$string); } */ echo $string.""; // take out the damn ; . : chars on the end of th

Re: [PHP] Pre-loading HTML form w/ mySQL data

2001-01-20 Thread Romulo Roberto Pereira
There you go: WHERE ; // execute query $query_result = mysql_query ($query,$dbconnection) or die ("Couldn't execute query in Database."); // fetching values with while while ($row = mysql_fetch_array ($query_result)) { $VAR1= $row["COLUMN1"]; $VAR2 = $row["COLUMN2"]; } ec

[PHP] getting from PHP the vars that are in the memory during the execution of the script...

2001-01-20 Thread Romulo Roberto Pereira
Hey! Is it possible to get the names of the variables allocated in the memory? thank you, Rom

Re: [PHP] date problem: some months have 5 weeks... how I discoverwhich ones?

2001-01-18 Thread Romulo Roberto Pereira
stion! Rom - Original Message - From: jeremy brand <[EMAIL PROTECTED]> To: Romulo Roberto Pereira <[EMAIL PROTECTED]> Cc: php-general <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 7:14 PM Subject: Re: [PHP] date problem: some months have 5 weeks... how I discoverw

[PHP] date problem: some months have 5 weeks... how I discover which ones?

2001-01-18 Thread Romulo Roberto Pereira
Hey! A little bit of definition: - a week start on sunday and ends on saturday; - a year has 365/7 ~= 52 weeks; How do I discover what months have 5 weeks and what have 4? Rom

Re: [PHP] srtoring user selection on the database...

2001-01-18 Thread Romulo Roberto Pereira
AIL PROTECTED]> To: Romulo Roberto Pereira <[EMAIL PROTECTED]> Cc: php-general <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 5:27 PM Subject: Re: [PHP] srtoring user selection on the database... Yes you can. I hate to say it, but there isn't any one answer. You are going

[PHP] srtoring user selection on the database...

2001-01-18 Thread Romulo Roberto Pereira
hello! I have a form and in this form I have 48 checkboxes. is there a way that my program could remember which ones were selected? looks like this:: ... I would lke to remember which ones the user clicked on... Thank you! Rom

[PHP] isset inside echo?

2001-01-18 Thread Romulo Roberto Pereira
it is possible to use isset inside a echo? like this: $checked = "CHECKED"; $nothing = ""; echo ""; Rom

[PHP] quick question on the passed variables between scripts

2001-01-18 Thread Romulo Roberto Pereira
Hello! I have one script that has a bunch of checkboxes in a form, all them with different names. As you know the only submit the ones that are checked. I would like to know witch ones the user checked (they will come in the path as variables I suppose) because I need to make a sum of the ones t

Re: [PHP] Ethics question...

2001-01-17 Thread Romulo Roberto Pereira
Copyright? This do not exist!!! See the case of NAPSTER... This drive me nuts! Rom - Original Message - From: Egan <[EMAIL PROTECTED]> To: Les Neste <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 2:38 AM Subject: Re: [PHP] Ethics question... On Thu, 18 Jan

Re: [PHP] fast question about session_start

2001-01-17 Thread Romulo Roberto Pereira
just discover - session by cookie sucks using db session handling it is better! Rom - Original Message - From: Romulo Roberto Pereira <[EMAIL PROTECTED]> To: php-general <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 1:39 AM Subject: [PHP] fast question about s

[PHP] fast question about session_start

2001-01-17 Thread Romulo Roberto Pereira
Hello! Two scripts: first.php and second.php I am a little bit confused... since I session_start() in first.php, I will need to session_start() in second.php also? first.php thank you, Rom

Re: [PHP] Sub Newbie Question On Error Message - Corrected...

2001-01-17 Thread Romulo Roberto Pereira
I think that the file is always there...It would not be easier to save the current message in a text file and compare it with the new one that fopen is bringing?? Rom - Original Message - From: Toby Butzon <[EMAIL PROTECTED]> To: Dave Stewart <[EMAIL PROTECTED]>; PHP (General) <[EMAIL PRO

  1   2   >