[PHP] RE: creating thumbnails from .BMP files

2003-05-29 Thread Robert
John W. Holmes wrote: >> How do you create thumbnails from .BMP files? Is there a function > like >> there is for JPG (ImageJPEG)? > > Probably need to use an external program that understands that format > and an exec() call. > > ---John W. Holmes... > > Amazon Wishlist: http://www.amazon.com

[PHP] very simple eregi / loop question

2002-06-07 Thread Robert
; which does the job, but how do I apply that to get all of that from the page? thanks -- -------- Robert Packer Programming and Design Associate 814-944-1108 [EMAIL PROT

AW: [PHP] PHP vs. Java

2002-07-10 Thread robert
> I agree with the other reply to your question. > (Keep in mind that it will be easier to sell Java to > the corporate guys. Some executives shy away from open > source.) Php vs. Java? Why not work together. copy from manual: " There are two possible ways to bridge PHP and Java: you can either

[PHP] gd ->1:image resolution 2:font quality

2002-07-12 Thread robert
hi Couldn't find a way for changing resolution, for png-image create with gd. Default resolution of gd is 72dpi. Created picture is a barcode. >From TTF - Font. thanks for help and hints. robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] PHP and geographic maps

2002-07-12 Thread robert
Found by the way. "MapServer is an OpenSource development environment for building spatially enabled Internet applications." http://mapserver.gis.umn.edu/doc/phpmapscript-class-guide.html hope it does help robert -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Re: gd ->1:image resolution 2:font quality

2002-07-12 Thread robert
gram. Next question: Which external program I can use? Have to work on windows 2. This is not the reason for my lack of english skills ;) > Default resolution of gd is 72dpi. > > Created picture is a barcode. > From TTF - Font. > > thanks for help and hints. > robert >

Re: [PHP] What a difference a / makes!

2004-01-20 Thread robert
er, the server does the work for me. Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php 4.0.5.dev will not read php.ini on NT

2001-01-17 Thread Robert
PHP 4.0.5.dev I installed it on my Windows 2000 Pro machine with IIS and MySQL and it works like a champ I installed it on my Windows NT Server with IIS and MSSQL and it will not read the php.ini file I put it in the following folders to try to get it to work C:\winnt C:\ C:\winnt\system32 C:\

Re: [PHP] php 4.0.5.dev will not read php.ini on NT

2001-01-18 Thread Robert
ect: Re: [PHP] php 4.0.5.dev will not read php.ini on NT > > Hello Robert, > > (R == "Robert") [EMAIL PROTECTED] writes: > > R> PHP 4.0.5.dev I installed it on my Windows 2000 Pro machine with > R> IIS and MySQL and it works like a champ I installed it on

Re: [PHP] Convert DBF tu MySQL

2001-01-22 Thread Robert
I used DBF2MySQL from http://www.nica.ru/~ae/software/ It works, but truncated the field names to 10 characters ( Specific_Part_Number became Specific_P ) - Original Message - From: "Roman" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Monday, January 22, 2001 1:43 AM Su

[PHP] php in a layer trouble

2002-04-24 Thread Robert
Has anyone ever had trouble with Netscape not displaying a layer with you put any php code in it? Anyone know a source for reading more about it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] script to test proxies?

2002-05-10 Thread Robert
Anyone know of a script that I could use to check through a database or flatfile for valid proxies? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Replacing Sablotron backend with libxslt (gnome) backend for XSLT extension

2002-03-08 Thread Robert
ethodically and painfully (since I have always just configured/made PHP "by the book" and am a recent ASP/IIS convert), I was hoping that somebody, somewhere has already done this and just not posted or documented it (or at least thought about it). Regards, Robert Tuttle United Devices,

[PHP] Defining constants with a value of 0?

2001-07-12 Thread Robert
I'm running into some unexpected behavior that I can't figure out. This is with PHP version 3, where, to my knowledge, boolean is not built in. The type of true is returned as an integer, while the type of false is returned as a string. Even if I say (int) 0, it still returns its type as a st

[PHP] Updating PHP checkout page

2007-02-09 Thread Robert
d), so the user shouldn't have to re-enter them again. After this recalculation, the customer hits the "Make Purchase" button and the form is submitted and the receipt for the purchase is sent. I'm not very familiar with PHP or JavaScript, so any help is greatly appreciate

[PHP] Delayed page display

2010-03-04 Thread robert
P 5.2 under Apache. And none of the ob_ functions are being used. I did try adding a flush(), but the behavior is still the same. So what else could cause the page to buffer completely prior to being displayed? Any insights appreciated, Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: Delayed page display

2010-03-04 Thread robert
s not php.ini/htaccess dependent. Thanks, Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Issue with Quick Email validation

2011-03-10 Thread robert
Hi, I'm newbie to PHP and this list, possible not a new question so forgive me if it's a repeat I have a form where I want the submitter Email ID to only be from one domain Here's the part I'm having issues with $domain = explode( "@", $who);

Re: [PHP] Issue with Quick Email validation

2011-03-10 Thread robert
Thank you, that did get me past that part! Had also to put in else statement to call Email function, without doing so the mail was sent even though giving error Robert -Original Message- From: Louis Huppenbauer To: rob...@myself.com Cc: php-general@lists.php.net Sent: Thu

[PHP] scroll down list -visible, but not possible to choose

2011-08-31 Thread robert
Hi, Got so excellent and fast help last time so trying again here I have the below function with array for satus of issues where I need to have 'Resolved/Closed' visible but not available for choice This as closing is a separate function to ensure correct resolution code is selected Already

[PHP] Can't figure mail & post out

2005-03-06 Thread Robert
Hi - I am very new to php and can't get this to work right. It keeps telling me there is no send header. I have tried multiple variations? Any ideas? I am simply trying to query the database and send out an email to each person in my database. Thanks, Robert $query = "SELECT

Re: [PHP] Can't figure mail & post out

2005-03-06 Thread Robert
Thanks, I fixed the problem and it's working great. Didn't need the $_POST in the email and needed double quotes around the sender header variable. "Zareef Ahmed" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Robert, > > Please take a

[PHP] Requiring stuff question

2005-05-23 Thread Robert
x27;Pager.php'); require(PAGER_DIR . 'Pager_Wrapper.php'); // Define the DB package define('PEAR_DB', 'DB/'); require(PEAR_DB . 'DB.php'); The Smarty stuff works no problem. The DB and Pager stuff do not. Since I am new to PHP I may be just misunderstanding how to

[PHP] Re: adding items to a list or menu

2004-04-11 Thread Robert
g with it in last 2 days) but you can change that echo statement to what it should be in javascript Cheers! Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] munge / obfuscate ?

2008-03-27 Thread robert
I like this and never would have thought to do this. What kind performance hit does this have, if there were 100 images, for example? On Mar 27, 2008, at 7:02 PM, Robert Cummings wrote: Hi Joey, Please keep responses on the list so others can also benefit from the learning process

[PHP] everything as classes

2008-04-03 Thread robert
ing similar but for Flash/Actionscript site but I'm not sure about a PHP site. I appreciate your comments. - robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] everything as classes

2008-04-04 Thread robert
Hi After spending yesterday afternoon I cleaned up my code and simplified in many places. I really like the idea to use Static class for "single use" database operations. Thank you very much to you that responded with comments. -robert On Apr 3, 2008, at 11:23 AM, Richard H

Re: [PHP] changing order of items

2008-05-15 Thread robert
On May 15, 2008, at 11:58 AM, afan pasalic wrote: Eric Butera wrote: I use this: http://developer.yahoo.com/yui/examples/dragdrop/dd-reorder.html This one is good too. But, actually, I need something more simple. Nothing "fancy" :D. for something very simple how about add a drop down l

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread robert
On May 18, 2008, at 10:14 PM, Tim Thorburn wrote: Hi all, Having a slight problem with a demo I gave at a clients last week - looking for a little advise. Part of my demo involved a password protected area - the simplified process is: client enters password on login page > if login/pass

Re: [PHP] Still not getting Includes right.

2008-05-19 Thread robert
i just saw this last message and forgive me if I'm missing something but why not use $_SERVER['DOCUMENT_ROOT'] as a prefix to any of the paths? On May 19, 2008, at 10:49 AM, Tyson Vanover wrote: So have developed some nice tools for generating forms, connecting to databases, things that

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread robert
On May 19, 2008, at 12:20 PM, Tim Thorburn wrote: robert wrote: On May 18, 2008, at 10:14 PM, Tim Thorburn wrote: Hi all, Having a slight problem with a demo I gave at a clients last week - looking for a little advise. Part of my demo involved a password protected area - the

[PHP] page suck attack

2008-05-21 Thread robert
le to research it to know my options. thank you robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] page suck attack

2008-05-21 Thread robert
. Roy wrote: Search engines indexing your site? On Wed, May 21, 2008 at 11:54 AM, robert <[EMAIL PROTECTED]> wrote: Hi Every so often my site is "attacked" in which all URLS on my site are retrieved in the span of minutes. What is this called?? I mean what do I google for?

Re: RES: [PHP] page suck attack

2008-05-21 Thread robert
cessing your website with some prefetching tool? I'm not sure, but I think Fasterfox does that. Atenciosamente, www.softpartech.com.br Thiago Henrique Pojda Desenvolvimento Web +55 41 3033-7676 [EMAIL PROTECTED] ExcelĂȘncia em Softwares Financeiros -Mensagem original- De: robert [mailto:

[PHP] Re: Requiring stuff question

2005-05-23 Thread Robert
"John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Robert wrote: >> I have the following in a config file: >> >> // Define and require the Smarty library >> define('SMARTY_DIR', 'Smarty/'); >> requ

[PHP] Re: Requiring stuff question

2005-05-23 Thread Robert
this is where my config.inc.php file is [DB] C:\Documents and Settings\me\My Documents\websites\DEV\smarty\DB [Pager] C:\Documents and Settings\me\My Documents\websites\DEV\smarty\Pager Is that what you wanted? Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Requiring stuff question

2005-05-23 Thread Robert
On 5/23/05, Marek Kilimajer <[EMAIL PROTECTED]> wrote: > Robert wrote: > > I have the following in a config file: > > > > // Define and require the Smarty library > > define('SMARTY_DIR', 'Smarty/'); > > require(SMARTY_DIR . '

[PHP] PHP mysql Apache install on FC3

2005-08-04 Thread robert
/html/index.php on line 4 I have checked the socket, it exists. Again, if I run this script just using php, it works just fine. However, when running it through Apache or httpd it does not. What am I doing incorrectly? Thank you for your time, Robert -- PHP General Mailing List (http://w

[PHP] Newline character problem...

2005-12-02 Thread Robert
I'm new to PHP but not programming in general. I have used C++ for a while and I'm familiar with the newline character as it's basically the same in PHP. Whenever I print something with a newline character in it all it produces is a space between whatever two things I'm printing. I'm running php 5.

[PHP] php classes and data retrieval

2006-01-27 Thread robert
one, but suggestions would be appreciated! -robert here is my set up: DATABASE: myobj_table with id, name, other as columns other_table with id, name as columns PHP CLASSES: 1: id = $id; 8: $this->name = $name; 9: $this->other = $other; // ?? ID OR VALUE ?? 10: } 11:

[PHP] parse form input

2001-01-30 Thread Robert
variables passed from form = part=68030&quan=500&I=x&part=68040&quan=350&I=x&sid=6754g543a76 I am sending several part numbers from the form, but when parsed it only gives me the last one How do I get it to return all of the parts? I'm a PHP newbie, only been programming for 2 weeks...

[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 wa

Re: [PHP] Re: php and caching

2002-11-24 Thread Robert Cummings
Ernest E Vogelsinger wrote: > > At 22:38 24.11.2002, Alex said: > [snip] > >But my main page, for instance mail.php, includes top.php and bottom.php. > >But top.php must be processed each time because it prints on every page on > >my site if the user has ne

Re: [PHP] Re: php and caching

2002-11-24 Thread Robert Cummings
Ernest E Vogelsinger wrote: > > If you read my complete post you'll notice that I suggested using session > variables. The issue why I first answered the question _without_ talking > about session variables is the fact that Alex was talking about a search > form. Search forms are often used on "no

[PHP] spawing new PHP process

2002-11-26 Thread ROBERT MCPEAK
I'm interested in spawing a new PHP process -- if that's the correct terminology. The situation is that I've got a very slow loading page, where, for example, I'm using PHP to send, say, 1000 emails. The user clicks submit, and, although PHP is firing out the emails, it appears to the user that

Re: [PHP] spawing new PHP process

2002-11-26 Thread ROBERT MCPEAK
for this particular problem is to just queue the outbound mail and have your MTA deliver them out of band. "man sendmail" -Rasmus On Tue, 26 Nov 2002, ROBERT MCPEAK wrote: > I'm interested in spawing a new PHP process -- if that's the correct terminology. > > Th

Re: [PHP] Is it possible to do this in PHP ? If it is then, how ?

2002-11-27 Thread Robert Cummings
Axis Computers wrote: > > Hi, > > I was wondering if this is possible to in PHP ... I am developing an > application for a pizza place, where touch typing interface is much faster > than using the mouse, so I was wondering if I can develop an interface with > a calculator style keypad, and the co

[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 easil

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 a

Re: [PHP] Dumb session cookie question?

2002-12-08 Thread Robert Pruitt
IE traditionally puts cookies in a folder named Cookies. Do a search for 'cookies' -- see what you come up with. on 08/12/02 10:17 PM, Douglas Douglas ([EMAIL PROTECTED]) wrote: Hi all. I'm sorry about the dumb question, but I've just expend two hours trying to find the damn cookie and I cou

[PHP] $_SERVER["PATH_TRANSLATED"] returns empty string

2002-12-18 Thread Robert Nedbal
SERVER["DOCUMENT_ROOT"]works as expected (ok) OS: RedHat Linux 8.0 Apache: httpd-2.0.40-11 PHP: php-4.2.2-8.0.5 (recompiled from source) Any ideas how to fix this? Best regards, Robert PS: When replaying please CC

Re: [PHP] $_SERVER["PATH_TRANSLATED"] returns empty string

2002-12-18 Thread Robert Nedbal
Hi, thanks for your reply. But changing source code in my setup is not a long term option. My problem is that $_SERVER["PATH_TRANSLATED"] gives me empty string. Does anybody know how to fix my PHP installation, so $_SERVER["PATH_TRANSLATED"] will give me correct file path?

Re: [PHP] $_SERVER["PATH_TRANSLATED"] returns empty string

2002-12-18 Thread Robert Nedbal
On Wed, 18 Dec 2002, Chris Hewitt wrote: > Robert Nedbal wrote: > > >Hi, > >thanks for your reply. But changing source code in my setup is not a long > >term option. My problem is that $_SERVER["PATH_TRANSLATED"] gives me > >empty string. > > > >

[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

Re: [PHP] $_SERVER["PATH_TRANSLATED"] returns empty string

2002-12-20 Thread Robert Nedbal
On Wed, 18 Dec 2002, Chris Hewitt wrote: > Robert Nedbal wrote: > >So should I try to use apache 1.x instead of apache2? > > > Pass on that, I have no experience of Apache 2, but I do not think it is > intended for production yet. Looking at phpinfo() on my computer here &g

RE: [PHP] mail() not working on Win2k

2003-01-06 Thread Collins, Robert
Do you have this line in your php.ini file? SMTP=;for win32 only -Original Message- From: Rad Craig [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 9:22 AM To: PHP Mailing List Subject: [PHP] mail() not working on Win2k I'm running u

[PHP] Re: Img src

2003-01-08 Thread Robert Fisher
Try using single quotes inside your double quotes, just like you did with the width and haight values. he following line: print ""; __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General M

[PHP] Re: Img src

2003-01-08 Thread Robert Fisher
Try using single quotes inside your double quotes, just like you did with the width and haight values. The following line should work: print ""; Robert Fisher Axis Solutions, Inc. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Afford

Re: [PHP] How to detect a PHP script time-out?

2003-01-08 Thread Robert Fisher
If you are willing to do a rewrite, then have your main script start a fork, or child process. The child process would run your script while the parent would do nothing else but wait for the child. if the child times out the parent will know and you can then print out a error message. See the fo

RE: [PHP] Adding HTTP URL Code

2003-01-09 Thread Robert Fisher
]([^\[]+)\[/url\]", "\\1", $msg); Might load the file in, do line by line search for this pattern if it passes then save it or do what you want. PSEUDO CODE Get File; Foreach file_line { if contains URL { do action; } } C

[PHP] Re: [PHP-GEN] Directory Listing with php on unix boxes

2003-01-07 Thread Robert Fisher
case sensitive. Hope this helps, Robert Fisher Axis Solutions, Inc. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] timing out a for loop, fopen

2003-01-15 Thread ROBERT MCPEAK
Dear PHP Gurus: I'm looking for a way to timeout an fopen function. I'm doing some link checking inside of a for loop and some links "hang" rather than return a definitive "can't connect" or "can connect." (Pardon the highly technical jargon there...) In cases where my link hangs, I'd like to

[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 /var/www/html/site.com/p

[PHP] PHP Compile Error

2003-01-30 Thread Robert Fitzpatrick
Running Redhat 8.0 PHP 4.3.0 When I try to configure with the following: ./configure --with-apxs=/web_root/bin/apxs --enable-track-vars --enable-versioning --with-mysql=/usr/mysql --with-gd=/usr/local --with-jpeg-dir=/usr/local/bin/ --with-png-dir=/usr/lib --with-zlib-dir=/usr/lib --with-zlib --e

[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: main(../

[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] Forward mail via PHP

2003-02-06 Thread Robert Covell
Looking for a better solution to forward mail from an IMAP account via PHP to another account. Right now I am utilizing the built in imap functions (i.e. imap_fetchstructure, imap_fetchbody, imap_header among others) to get the individual parts and a MimeMessage class to rebuild the message. Once

Re: [PHP] Re: Static functions (java/php)

2003-02-09 Thread Robert Cummings
Chris Hayes wrote: > > At 23:09 9-2-2003, you wrote: > >you may find the following link interesting > >http://www.tek271.com/articles/JavaOrPhp.html > > > >David Eisenhart > I cannot suppress the feeling that someone out there has a slight prejudice > in favour of Java! God yes, the guy seems to

[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 elem

Re: [PHP] long running PHP application

2003-02-16 Thread Robert Cummings
I run a fantasy MUD and I have a PHP based daemon which checks for in game player mail and if found and the player has registered an email address, then it sends the MUD mail out to the player's email address. The program wakes up once a minute to check the database and then goes back to sleep. It'

[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] bcpowmod() and BigIntegers

2003-02-22 Thread Robert Kofler
w. java has a great implemetation of the BigInteger.class) -- /dev/robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sitewide Header & Footer Includes || Trouble with Relative Paths..........

2003-02-22 Thread Robert Cummings
I don't know if it helps... but you should take a look at the ini_set() function. Perhaps you can set the appropriate stuff using that. Cheers, Rob. CF High wrote: > > Hey Tom. > > Thanks for the idea; however, since we're not hosting the site on our own > server, we don't have permissions for

[PHP] A question of time...

2003-03-10 Thread Robert Cummings
hours, otherwise I would like to take comfort that I am not ripping them off. Sincerely, Robert Cummings -- .-. | Worlds of Carnage - http://www.wocmud.org | :-: | Come visit a world of myth and legend where

Re: [PHP] A question of time...

2003-03-10 Thread Robert Cummings
"CPT John W. Holmes" wrote: > > [snip] > > If it turns out that I am incompetent, then I will happily send them a > > bill for zero hours, otherwise I would like to take comfort that I am not > > ripping them off. > > Just my humble opinion, of course, but I think you did the job quickly > co

Re: [PHP] ^M in PHP

2003-03-13 Thread Robert Cummings
I know there's a binary for doing exactly that in linux but I can't for the life of me remember the name. If you're text editor is any good you should be able to do a search and replace for "\r" with "". I use joe, but that's hardly the editor of choice for most. Cheers, Rob. Liam Gibbs wrote: >

[PHP] PHP newbie ... function with several returns ?

2003-03-15 Thread Robert Dyke
Hi ... PHP newbie here. I'm migrating from ASP/vbScript. I'd like to set up a subroutine that will change several variables at once. In VB, I can say: Private Sub Change_Variables ($variable1, $variable2) $variable1 = "Something different from it's original value" $variable2 = "I'm chan

[PHP] Re: PHP newbie ... function with several returns ?

2003-03-15 Thread Robert Dyke
"Jome" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Robert Dyke wrote: > > Hi ... PHP newbie here. > > > > I'm migrating from ASP/vbScript. > > > > I'd like to set up a subroutine that will change several variables

Re: [PHP] Do query strings get spidered by Google?

2003-03-16 Thread Robert Cummings
I don't think Google follows URLS to every variation based on a query string. I know to have some of my pages indexed I had to rewrite the URL so the query string looked like a directory path. Cheers, Rob. -{ Rene Brehmer }- wrote: > > Judging from how Google has indexed my site, it simply follo

[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 10

Re: [PHP] Snarl, hiss, growl (frustration)

2003-07-04 Thread Robert Cummings
On Fri, 2003-07-04 at 12:44, Rasmus Lerdorf wrote: > The difference is that you are getting a string from the file and not > casting it to an integer. You could also have fixed it by doing: > > $counter = (int) fread(...); The cast isn't necessary, PHP happily transforms it for him when he app

Re: [PHP] Snarl, hiss, growl (frustration)

2003-07-04 Thread Robert Cummings
On Fri, 2003-07-04 at 13:13, Rasmus Lerdorf wrote: > On Fri, 4 Jul 2003, Robert Cummings wrote: > > > On Fri, 2003-07-04 at 12:44, Rasmus Lerdorf wrote: > > > The difference is that you are getting a string from the file and not > > > casting it to an integer. Y

Re: [PHP] does anyone know how to tell if a PHP scrip is beingexecuted from the command line not a server HTTP request??

2003-07-06 Thread Robert Cummings
I don't know if it is a great way, but it has worked for me for a long time now. I make the following test: isset( $HTTP_SERVER_VARS['SERVER_PORT'] Cheers, Rob. On Sun, 2003-07-06 at 04:48, Jeffrey D. Means wrote: > I am trying to write a script but for security I need to verify that it is >

Re: [PHP] [ML] Are there any announcement rules for this list? (wasRe: [PHP] Re: NEW SPAMMER ...)

2003-07-08 Thread Robert Cummings
Personally I like to hear about new releases of PHP related products here too. For how often it occurs, I can't see how 1 in 80 emails a day is really going to impact the list. Especially since 10 to 20 emails are generated in support or indignation for such announcements :) +1 Cheers, Rob. On T

[PHP] tcp sockets

2003-07-10 Thread Robert C.
I have a java server running to handle xml requests and send back a response to the sender. It runs on one port for tcp and another for udp. I got the udp version working fine, but I am having problems with the tcp version. Watching the debug output on the java server, I can see that it is receivin

RE: [PHP] nlist

2003-07-10 Thread Robert C.
http://www.php.net/readdir Original Message From: [EMAIL PROTECTED] To: [EMAIL PROTECTED], Subject: RE: [PHP] nlist Date: Thu, 10 Jul 2003 16:17:30 -0700 >Hi all, >Is there a local filesystem-based function comparable to the >ftp-based >'nlist' that lists files in a directory? > >John

Re: [PHP] Need hep with mysql function

2003-07-10 Thread Robert Cummings
This has been discussed a lot on many of the PHP forums in the past few weeks. Mysql is not longer bundled with PHP. You need to use the configuration option and set the location of your mysql base directory. Cheers, Rob. On Thu, 2003-07-10 at 21:30, zlut arch wrote: > Hi, > > I encountered a pr

Re: [PHP] Code and Good Design Methods

2003-07-13 Thread Robert Cummings
Let's be honest, XSL is is one big logic step itself -- moreover it's a whole other language to learn. Cheers, Rob. On Sun, 2003-07-13 at 02:07, Ray Hunter wrote: > Also u could build your own system that is php xml and xslt based. That > will really help you separate the logic from the presentat

[PHP] Re: fake .php extension

2003-07-15 Thread Robert Hawke
- simply go into the apache config file - search for php - somewhere it should say at the end of the line .php .phtml . - no just add your extension "Nabil" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > How can confugure Apache to execute a real php files but with fake exte

Re: [PHP] Passing $Vars between 2 php pages

2003-07-16 Thread Robert Cummings
Use the GET method (URL parameters). If you want to pass (foo=5) then do the following: A link label Cheers, Rob. On Wed, 2003-07-16 at 12:44, Valentin wrote: > Hi, > is any way to pass a $Var from one to other php pages without using > and Cookies? > > Thanks, > > > > > -- > PHP Genera

[PHP] Test (ignore)

2003-07-16 Thread Robert Cummings
Some of my mail hasn't appeared on list for a while, just testing if connection is working. IGNORE THIS MESSAGE :) -- .-. | Worlds of Carnage - http://www.wocmud.org | :-: | Come visit a world of myth and l

Re: [PHP] Too much of $GLOBALS[] a problem??

2003-07-17 Thread Robert Cummings
Rather than having the following scenario: $GLOBALS['foo'] = 'foo'; $GLOBALS['fee'] = 'fee'; The following would be much cleaner and portable while still allowing the ease of use of $GLOBALS based configuration: $GLOBALS['myProjectName']['foo'] = 'foo'; $GLOBALS['myProjectName']['fee'] = 'fee';

Re: [PHP] classes v. functions

2003-07-18 Thread Robert Cummings
On Fri, 2003-07-18 at 18:19, Andu wrote: > > Say I have a database class with all kinds of functions for connection, > data manipulation, errors, etc: > > $db = new db_sql; > $db->connect(); > $db->do_this(); > $db->do_that(); > > How would that be different from an include file with a bunch of

Re: [PHP] Re: classes v. functions

2003-07-20 Thread Robert Cummings
On Sun, 2003-07-20 at 02:28, Andu wrote: > > One shouldn't apply industrial theories to just everything. > Object Oriented Design is not an industrial theory. It's a tried and true practice with over a decade of computer science and practical use behind it. Procedural programming is a subset of

Re: [PHP] controlling winamp with COM

2003-07-21 Thread Robert Cummings
Depending on exactly how you intend to use this technology there are several ways to go about it. One is to create a PHP C extension that you compile into the PHP engine itself -- this I imagine can hook into the API to control the open application. Then you can choose to use these new extension fu

Re: [PHP] bug in addslashes command?

2003-07-22 Thread Robert Cummings
I recently upgraded from 4.1.2 all the way to 4.3.2 without a single bump -- your experience may vary :) Cheers, Rob. On Tue, 2003-07-22 at 16:11, Merlin wrote: > there is definatelly a bug in 4.2.1 since this sentence: > > Argostoli is the 'capitol' of Kefalonia / Kefallinia. One of the Greek >

Re: [PHP] USB Hard Drive

2003-07-23 Thread Robert Cummings
On Wed, 2003-07-23 at 12:49, Digital Directory USA, Inc wrote: > I need to get a USB Hard Drive to "Auto Run" a flash movie when plugged > into a USB port on all platforms of a PC (Win98, 2000, XP, ME). Can ^^^ Off Topic but I must prote

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Robert Cummings
On Thu, 2003-07-24 at 23:24, Beauford.2005 wrote: > It's obvious though that PHP can not handle it. This is why I am forced > to use javascript. I have already spent a week on this and am not going > to waste any further time. I have posted all my code and if someone can > see a problem I'll look a

[PHP] php4 vs php5

2003-07-24 Thread Robert Janeczek
hi, i`m working on presentation of php5 features and i would like to add some comparison between php4 and php5. new coding features are of course available in doc on php.net, but i`m wondering where can i find benchmarks that show speed differences between the two. if there are none i would like to

  1   2   3   4   5   6   7   8   9   10   >