[PHP] Set PDO to ALWAYS return fetched rows with PDO::FETCH_ASSOC?

2006-06-09 Thread Rick Harding
throughout my code? Thanks Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] when mysql is down

2008-10-17 Thread Rick Pasotto
include file. What's the best way to output nothing if the mysql connection fails? I realize these are probably elementary questions but any advice would be appreciated. -- "... the state ... is not armed with superior honesty, but with superior physical strength." -- Henry

Re: [PHP] Re: Form Loop

2008-10-18 Thread Rick Pasotto
27; size="2" value="' . $row['qty']. '" />'; > > However, I would use an array: > > echo ' size="2" value="' . $row['qty']. '" />'; > > Depending upon your use, you can even leave o

[PHP] passings vars

2004-02-24 Thread Rick Liwczak
use the following code (and it is probably wacked) to call the assign( ) function, it should update the $SESSION['Language'] variable but it does notYour help is really appreciated Rick ** Would you like to proceed in English

[PHP] passing vars

2004-02-24 Thread Rick Liwczak
probably wacked) to call the assign( ) function, it should update the $SESSION['Language'] variable but it does notYour help is really appreciated Rick ** Would you like to proceed in English or French? "> "> ***

[PHP] Uploading a file to server behind a firewall

2004-02-26 Thread Rick Laird
. But is there anything else that I need to do. Any help would be much appreciated. Thanks Rick Laird ?> Back File Upload File Upload File 1: File Upload Results File Upload Results '; } else { echo 'File could not be stored.

[PHP] PHP to UML ?

2004-02-28 Thread Rick \[Kitty5\]
Is there a linux utility to parse a PHP project and spit out some UML diagrams? -- Rick Kitty5 NewMedia http://Kitty5.com POV-Ray News & Resources http://Povray.co.uk TEL : (+44) 0845 1083740 - ICQ : 15776037 PGP Public Key : http://pgp.kitty5.com -- PHP General Mailing List (

[PHP] UML from PHP?

2004-02-28 Thread Rick \[Kitty5\]
Is there a utility I can point at a PHP project and have it draw lots of nice UML doodles for me? -- Rick Kitty5 NewMedia http://Kitty5.com POV-Ray News & Resources http://Povray.co.uk TEL : (+44) 0845 1083740 - ICQ : 15776037 PGP Public Key : http://pgp.kitty5.com -- PHP General Mai

[PHP] proc_open problems

2004-03-01 Thread Rick Ridgeway
Hello, I am using php 4.3.0, and am trying to launch the command line interface for cisco network registrar, and be able to send commands to it and read the output from those commands. Problem I am having is that the commands can take some time to actually respond with output. I can make it

[PHP] when is a PDF not a PDF?

2004-03-06 Thread Rick Fleischer
The simple example from http://www.php.net/pdf (hard-wired to paper.pdf) just displayed the pdf data as a dump. I can ftp the file and it's OK. My hard-wired version is shown below. // Thanks, // Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] SimpleXML node detection.

2004-03-24 Thread Rick Fletcher
This is a bug that just recently came to the developers attention, and is currently being discussed on the internals list. Cheers, Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] $_POST not working with str_replace

2004-03-24 Thread Rick Fletcher
hich wasn't assigned). As far as the original troubles you're trying to diagnose, I loosely replicated your setup and everything worked as expected. (I just made up a Lettertest.rtf file.) Below are the working files, see if they work for you: Cheers, Rick Form.html: ==

RE: [PHP] blocking warning: Warning: fclose()

2004-03-30 Thread Rick Fletcher
ar as to check that it's a file resource. Cheers, Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Relative Url

2004-04-01 Thread Rick Fletcher
DOCUMENT_ROOT'], "", __FILE__ ); ?> If you're in windows I don't think the replace would work, because the docroot's slashes go one way and the __FILE__ slashes go the other. You'd use something like strtr( __FILE__, "\\", "/" ) before the

Re: [PHP] Programmatic Browser Rendering Engine?

2004-11-10 Thread Rick Fletcher
You might want to look at webthumb http://www.boutell.com/webthumb/ It is a linux command line utility that creates thumbnails of webpages. or khtml2png: http://www.babysimon.co.uk/khtml2png/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] calling function from function?

2004-11-11 Thread Rick Fletcher
a "$db = " to the beginning of that line and you should be good to go. --Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Url encoding awry

2004-11-11 Thread Rick Fletcher
titiques.jpg". That's pretty needlessly complex. Why not just leave the file named "stories & critiques.jpg" on disk and change your image tag to ? --Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] calling function from function?

2004-11-11 Thread Rick Fletcher
] ); ... do some processing ... } what am i missing here? i get errors if i try to pass $db to logs. i.e. logs( $db ); What's missing? The error message. Include it, and the offending line(s) of code, and ask again. --Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Auto-load class if it doesn't exists!

2004-11-16 Thread Rick Fletcher
did a search and was suprised to see it's missing from the docs at php.net. It's mentioned on zend.com though: http://www.zend.com/php5/articles/engine2-php5-changes.php#Heading19 --Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RM file - play time

2004-11-24 Thread Rick Fletcher
Alexander Kleshchevnikov wrote: Can I get the information about paly time of the RM file by PHP? IIRC, the getID3 library has support for reading RealAudio/Video. You can find it here: http://getid3.sourceforge.net/ --Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] regex issue

2004-11-30 Thread Rick Fletcher
est of the matched string after it. That wasn't a very good explanation. Sorry, I'm tired. Anyway, change the preg_replace line to: echo preg_replace($pattern, '$1$2', $txt); --Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] print_r() and SimpleXML

2004-11-30 Thread Rick Fletcher
object to an array. You can then pass that array to print_r for debugging. Find the code here: http://www.php.net/manual/en/ref.simplexml.php Cheers, Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] max_input_time

2004-12-13 Thread Rick Lim
Hi there, I am trying to run a command line windows php script where I wait for characters from the serial port i.e. $sTemp = fgets($Serialfp); After about 60 seconds the script times out and quits, I have tried to change max_input_time in php.ini but it still times out in 60 secs. I have set_ti

Re: [PHP] Install PHP4 on a Apache2 + PHP5 system

2004-12-20 Thread Rick Fletcher
m/mail/ to be parsed with php4 Action php4-script /cgi-bin/php4 AddHandler php4-script .php You could use too, but give it a file path, not a url. --Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php editor

2005-01-15 Thread Rick Fletcher
I had been using Zend Studio, but I've just about made the switch to Eclipse with the TruStudio PHP plugin. Eclipse: http://www.eclipse.org TruStudio: http://www.xored.com/trustudio/ Mostly running it in Linux (Fedora Core 3), but I've used that combination in Windows and OSX, to

Re: [PHP] String to Date and Date to String Functions?

2005-01-24 Thread Rick Fletcher
/viewcode.php?codeEx=627 --Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sigh....regex - need to search/replace string for anything but numbers

2005-01-25 Thread Rick Fletcher
Matt Babineau wrote: Ahh so the regex gods are pissed at me. This is simple (I think), but I need to figure out how to strip out everything in a string that is not a number. Any takers? I appear to have written that last snippet without really even looking at it. This one works. -- PHP General

Re: [PHP] Sigh....regex - need to search/replace string for anything but numbers

2005-01-25 Thread Rick Fletcher
Matt Babineau wrote: Ahh so the regex gods are pissed at me. This is simple (I think), but I need to figure out how to strip out everything in a string that is not a number. Any takers? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Web shopping cart

2005-01-26 Thread Rick Lim
Can anyone recommend a freeware shopping card app in php? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] regular expressions ?

2005-01-27 Thread Rick Fletcher
(20|1[0-9]|1-9])$/', $candidate)) { // $candidate is a decimal integer between 1 and 20 inclusive with no leading zeros. } /^(1?[1-9]|[12]0)$/ works too. The first part covers 1-9, 11-19; the second part gets you 10 and 20. Plus, it's ever so slightly shorter! And isnt' that what's

[PHP] Question about Safe Mode

2005-01-31 Thread Rick Root
r thwn owner of the php script that creates them? Thanks. Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.2 - Release Date: 1/28/2005 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Retrievable weather service info?

2005-06-16 Thread Rick Emery
, a XOAP service from Weather.com and METAR/TAF from NOAA are supported. Further services will get included, if they become available, have a usable API and are properly documented." hth, Rick -- Rick Emery "When once you have tasted flight, you will forever walk the Earth with your eyes tur

Re: [PHP] Problem with array

2005-06-17 Thread Rick Emery
quot;; echo $formatted_price; echo ""; This should at least give you a starting point. I'm fairly new to php, so maybe one of the gurus will give a better idea (or explain why mine won't work, if it won't). hth, Rick P.S. I would usually trim out the rest of the mess

[PHP] PHP vs. ColdFusion

2005-06-26 Thread Rick Emery
t would be greatly appreciated. Opinions are welcome (especially from programmers with experience in both), but I have to "sell" it to management (I'm already on the PHP side), so links to data or articles comparing the two are best. Thanks in advance, Rick -- Rick Emery "When

[PHP] Re: PHP vs. ColdFusion

2005-06-28 Thread Rick Emery
esign to be more effective than this. If you are worried about code parsing, php accelerator may be just enough. ;) Thanks for your input! Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP vs. ColdFusion

2005-06-28 Thread Rick Emery
27;s cross-hairs. Of course, I also read an article that Microsoft is trying to extinguish LAMP, but I actually chuckled when I read that one. Thanks for your input! Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP vs. ColdFusion

2005-06-28 Thread Rick Emery
pecific needs GForge Mambo CMS SugarCRM and more... GForge and SugarCRM also have paid support options as well. -Jonathan Villa Thanks for the info! Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP vs. ColdFusion

2005-06-28 Thread Rick Emery
Quoting Anton Kovalenko <[EMAIL PROTECTED]>: As to ColdFusion, It seems to me that this technology is dead already. What makes you say this? I had never heard anything like this, but it would certainly be powerful ammunition to present to my bosses. Thanks, Rick -- PHP General M

Re: [PHP] PHP vs. ColdFusion

2005-06-28 Thread Rick Emery
t, things may be on the way to changing; see my earlier post about a current php application running on a Linux box with Apache. If management can see that you are stoked to use PHP that might help your cause. That's what I'm hoping, and so far it seems to be having an impact. Thanks fo

RE: [PHP] PHP vs. ColdFusion

2005-06-28 Thread Rick Emery
ppreciate having an opinion from a ColdFusion developer. Thanks! Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP vs. ColdFusion

2005-06-29 Thread Rick Emery
ot;PHP is free (as in beer *and* speech), and ColdFusion is not". I've tried to remove that from the equation, even though it's an important point to me. I really do appreciate your input, and intend to use your comments when I discuss this with management. I don't agree with all

Re: [PHP] PHP vs. ColdFusion

2005-06-29 Thread Rick Emery
I normally don't top-post, but think I can get away with it just this once, because I only wanted to say... Well said. Thanks, Rick Quoting Matthew Weier O'Phinney <[EMAIL PROTECTED]>: * "Andrew Scott" <[EMAIL PROTECTED]>: I have been a coldfusion developer

[PHP] Ouput HTML w/PHP

2005-06-30 Thread Rick Emery
here it's needed). Is there a way for me to maybe use the PHP tidy functions on the string containing the HTML ouput to validate it? Thanks in advance, Rick -- Rick Emery "When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have

Re: [PHP] Re: Need help with PHP / MySQL connect problem

2005-07-18 Thread Rick Emery
all is using the php.ini file you think it is. I got bit by this (I kept editing the php.ini file in one directory, but it was reading the file from another). It really does sound like error reporting is turned off. hth, Rick -- Rick Emery "When once you have tasted flight, you will f

Re: [PHP] Re: Konqueror does not like my Website

2005-07-22 Thread Rick Emery
ere is a problem with the file-extension *.php and Konqueror can not handel this... (It is KDE 3.4) Greetings Michelle I just opened it in Konqueror 3.4.1 to look for any javascript errors, and it seemed to load and work fine. Sorry I wasn't any help, Rick -- Rick Emery "When once y

Re: FW: [PHP] [NEWBIE GUIDE] For the benefit of new members

2005-08-05 Thread Rick Emery
you modify any the user side settings. You need to go for JavaScript and ask the question in a JavaScript list. Since you brought it up :-) Can anybody recommend a good JavaScript mailing list? Thanks, Rick -- Rick Emery "When once you have tasted flight, you will forever walk the Eart

RE: FW: [PHP] [NEWBIE GUIDE] For the benefit of new members

2005-08-05 Thread Rick Emery
Quoting "Chris W. Parker" <[EMAIL PROTECTED]>: Rick Emery <mailto:[EMAIL PROTECTED]> on Friday, August 05, 2005 4:20 PM said: Can anybody recommend a good JavaScript mailing list? If by anybody you mean Google, then yes anybody can recommend a good JavaScript mail

RE: FW: [PHP] [NEWBIE GUIDE] For the benefit of new members

2005-08-05 Thread Rick Emery
Quoting "Chris W. Parker" <[EMAIL PROTECTED]>: Rick Emery <mailto:[EMAIL PROTECTED]> on Friday, August 05, 2005 4:54 PM said: Well, as I found out when I Google'd before I posted, it *lists* plenty of JavaScript mailing lists. But it can hardly "recommend a

Re: [PHP] Can I retrieve a stored php session variable from within a javascript function?

2005-08-06 Thread Rick Emery
riable changes unless the script is reloaded. 2. My favorite, but probably overkill. Write a php page that outputs the session variables (as XML would be cool). Then use xmlhttprequest to retrieve them from javascript (Google AJAX for more information). Hope this helps, Rick -- Rick Emery

Re: [PHP] PHP vs. ColdFusion

2005-08-22 Thread Rick Emery
Quoting Rick Emery <[EMAIL PROTECTED]>: My employer has (finally) decided to take full advantage of our intranet, and wants to move from client-server applications to web-based applications. [snipped] Any input would be greatly appreciated. Opinions are welcome (especially from progr

Re: [PHP] PHP vs. ColdFusion

2005-08-23 Thread Rick Emery
Quoting Rick Emery <[EMAIL PROTECTED]>: Ugh, we're *never* going to make a decision. My boss just sent me this email: A *huge* "THANK YOU!" to everybody who replied; it was extremely helpful and, after my meeting with my manager this morning, she seemed to accept that

Re: [PHP] PHP vs. ColdFusion

2005-08-24 Thread Rick Emery
Just a quick note to thank everybody who has replied. I've been getting a lot of feedback, and won't be able to reply to all of the messages I've received, but I appreciate each and every one of them and don't want anybody to feel left out. Thanks again, Rick -- Rick E

Re: [PHP] PHP vs. ColdFusion

2005-08-24 Thread Rick Emery
nagement seemed to be receptive, and I thought they were starting to change their "Microsoft only" attitudes, so the statement from my boss that management said it "has to run on IIS" really caught me by surprise. Thanks, Rick -- Rick Emery "When once you have taste

Re: [PHP] PHP vs. ColdFusion

2005-08-24 Thread Rick Emery
Quoting Miles Thompson <[EMAIL PROTECTED]>: Rick, Deepest sympathy. So you have a solution which works, for everyone, but doctrine dictates differently. I'd suspect VPN / IIS interaction. If I was your manager, I'd take comfort from the FACT that you were able to switch

RE: [PHP] PHP vs. ColdFusion

2005-08-24 Thread Rick Emery
any that can't stand 1-bit of competition." My co-workers and I had a good laugh over this signature :-) Thanks, Rick -- Rick Emery "When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been, and there you will always long t

RE: [PHP] PHP vs. ColdFusion

2005-08-24 Thread Rick Emery
repeats. So only one DB connection works fine for us. Thanks, Rick -- Rick Emery "When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been, and there you will always long to return"

Re: [PHP] PHP vs. ColdFusion

2005-08-24 Thread Rick Emery
ork, and then get them to agree that if it's not PHP nor your script that's broken, but Windows+IIS, then maybe they should just leave the WORKING stuff alone. Probably won't work. But that's how office politics work. Exactly what I'm finding out. Thanks, Ri

[PHP] Filter based on ctype_print()

2005-09-04 Thread Rick Emery
n-printable characters with the empty string. If something doesn't exist, I could probably write one myself using preg_replace, but would need a regular expression to find non-printable characters; I'm terrible at regular expressions. Any ideas? Thanks in advance. Rick -- Rick Emery &

Re: [PHP] Filter based on ctype_print()

2005-09-05 Thread Rick Emery
Quoting Robin Vickery <[EMAIL PROTECTED]>: On 9/5/05, Rick Emery <[EMAIL PROTECTED]> wrote: What I really want to do is replace the non-printable character(s) with printable character(s) (maybe a question mark, or a space), but haven't been able to find a function that

Re: [PHP] ASP (VBScript) to PHP Converters?

2005-09-09 Thread Rick Emery
at asp2php http://asp2php.naken.cc/ I've never used it, but I have a friend who "played around" with it. He said it wasn't perfect, but he was very impressed with what it did. HTH, Rick -- Rick Emery "When once you have tasted flight, you will forever walk the Earth

RE: [PHP] PHP and XML

2005-10-06 Thread Rick Emery
ng XML documents using the DOM tree, and performing XSL transformations on XML documents." Hope this helps, Rick -- Rick Emery "When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been,

Re: [PHP] Re: PHP vs. ColdFusion

2005-10-06 Thread Rick Emery
PHP running on Linux. Thanks again to everyone. Rick -- Rick Emery "When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been, and there you will always long to return" -- Leonard

[PHP] Linux/PHP and Windows/MSSQL

2005-10-06 Thread Rick Emery
e of doing it, but I won't be the server administrator and I think it defeats what management wants to accomplish with a commercially supported distro (package management with easy updates). Is anybody in a similar environment that has an easy solution, or can anybody offer advice? Thanks i

Re: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-23 Thread Rick Emery
y phpinfo(), then I'm not sure why it wouldn't be read, unless: 1. From the manual: "*Note: * If you're using NTFS on Windows NT, 2000, XP or 2003, make sure that the user running the web server has read permissions to your php.ini (e.g. make it readable by Everyone)."

Re: [PHP] PHP and MSSQL on Linux

2005-11-02 Thread Rick Emery
where you found the mssql rpms? I haven't been able to find them, and our system administrator wanted to use Fedora Core 4, so I've been having to compile freetds and php from source (though now that I've done it a few times, I kind of like doing it that way :-) hth, and thanks,

Re: Re: [PHP] PHP and MSSQL on Linux

2005-11-02 Thread Rick Emery
c/freetds.conf. I can't remember whether the Fedora install needed it, but might be something to check. As for the RPMs, they can be found at http://phprpms.sourceforge.net/mssql. This is the site where I had found the rpms to successfully connect via FC1. Great, thanks! hth, Rick -- PH

Re: Re: Re: [PHP] PHP and MSSQL on Linux

2005-11-02 Thread Rick Emery
ouple of days I'll have some time to set up a test box and try the rpms to which you pointed me, to see if I run into the same trouble. Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and MSSQL on Linux

2005-11-03 Thread Rick Emery
ed an application that connects to MS SQL Server from another box, and it worked. I didn't have to edit any files (in fact, installing the php-mssql rpm even restarted apache for me). So I'm not sure what's going on with yours. Sorry, Rick -- PHP General Mailing List (htt

Re: [PHP] PHP and MSSQL on Linux

2005-11-03 Thread Rick Emery
what I would need to do there to make the script work via the web? Did you run the script from the command line as the apache user? That would rule out any permissions issues. Just grasping at straws. Rick -- Rick Emery "When once you have tasted flight, you will forever walk the Earth with

[PHP] PDF Generator

2005-12-02 Thread Rick Lim
What is the best FREE pdf generator for PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Zend Sudio's Optimizer / PHP 5.1.1

2005-12-02 Thread Rick Emery
/optimizer-sysreq.php I don't think they have a version for PHP 5.1.x yet. -- Rick Emery "When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for there you have been, and there you will always long to return"

RE: [PHP] Upgrading on RH ES3

2005-12-02 Thread Rick Emery
staken (and I very easily could be), apxs is used to create the php module for apache. Red Hat/Fedora provide a mod_php rpm, and your older version may have had that rpm installed; thus, apxs (and the httpd-devel rpm) was not needed on your system to build the module. Rick -- Rick Emery "Wh

Re: [PHP] Str to Int

2006-01-21 Thread Rick Emery
against a literal or constant, place the literal or constant on the left side of the expression. For example, if ('' == $cardID) { instead of if ($cardID == '') { That way, if you accidentally use "=" instead of "==", you should get an error because y

Re: [PHP] "wide open"

2001-02-12 Thread Rick Hodger
if "harm" is not done. I will freely admit I have seen and peeked into "wide open" websites in the past, either through server misconfiguration or faulty scripts. But I have never gone much further than maybe figuring out what was wrong and sending an email to the owner. Mo

Re: [PHP] Creating mail users with PHP

2001-02-13 Thread Rick Hodger
rname and password to a plain text file. Once an hour, have another script running under root's crontab check that file for entries and create the users. -- Rick Hodger -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] Bad Practices

2001-02-14 Thread Rick Hodger
someone requests that file, it'll get passed straight to them. It's a .inc, which means that PHP does not know to parse it. Which means, that person can see your usernames and passwords. And because it's a public package, they're far more likely to know the path to said file.

Re: [PHP] Undocumented Socket functions?

2001-02-15 Thread Rick Hodger
have a daemon running that listens for incoming connections and then spawns another process for each connection. Then the daemon goes back to listening. As far as I know, PHP doesn't have any sort of fork() or process spawning type commands. -- Rick Hodger -- PHP General Mailing List (http

[PHP] file handle error? or something else?

2001-02-24 Thread rick - SomersNet, Inc.
"50"; print "$domain / $keyword - page $page+ \n";} flush(); # add to database mysql_query("INSERT INTO Stats VALUES('$domain','$keyword','$month','$day','$year','$page')"); # end keywords } print "\

Re: [PHP] removing characters

2001-03-05 Thread Rick St Jean
I have just started with php a few days ago but in the book that I am reading it uses a foreach loop that is specifically for arrays. foreach($Area as $key=>$value) { your concatination string here } Rick At 04:45 PM 3/6/01 +1030, you wrote: >On Tue, 6 Mar 2001 15:50, [EMAIL PRO

RE: [PHP] is_uploaded_file false if file too big

2001-03-05 Thread Rick St Jean
nise it as an >upload. > >Cheers > > > > -Original Message- > > From: Rick St Jean [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, March 06, 2001 3:43 PM > > To: Tyson Lloyd Thwaites > > Subject: Re: [PHP] is_uploaded_file false if file too big >

Re: [PHP] Almost working Regex

2001-03-05 Thread Rick St Jean
talogs Pty Ltd Phone: +61 7 3351 4777 > > > >-- >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

Re: [PHP] bug tracking software

2001-03-06 Thread Rick St Jean
Many people recommend bugzilla from netscape. Rick At 10:49 AM 3/6/01 +, Peter Van Dijck wrote: >I've looked into bug tracking software at hotscripts: mantis >http://mantisbt.sourceforge.net/mantis/main_page.php3 >is promising but has too many bugs itself still (I fixed thr

Re: [PHP] dymanic forms

2001-03-06 Thread Rick St Jean
do this > >TIA > >george > > > >-- >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] ##

RE: [PHP] Rounding to strange results

2001-03-06 Thread Rick St Jean
You can write a function that get the %(mod) of 1000 then subtracts it from the number. Rick At 08:43 AM 3/6/01 -0700, Johnson, Kirk wrote: >Is there a comma in one thousand, e.g., 1,000.00? round() will truncate >everything to the right of a comma. > >Kirk > >-Original

Re: [PHP] How to tell if client has cookies turned off?

2001-03-06 Thread Rick St Jean
Something else to consider is that if someone is kinda smart they can place the variable into the url. So, if it is important you may want to put a checksum or token in there. Rick At 08:52 AM 3/6/01 -0800, you wrote: >On 6 Mar 2001 07:53:46 -0800, kevin1 <[EMAIL PROTECTED]> wrot

Re: [PHP] How to tell if client has cookies turned off?

2001-03-06 Thread Rick St Jean
you can check the HTTP_COOKIE_VARS array after setting a cookie to see if anything is placed in there. Rick At 08:52 AM 3/6/01 -0800, Chris Adams wrote: >On 6 Mar 2001 07:53:46 -0800, kevin1 <[EMAIL PROTECTED]> wrote: > >How can I tell reliably if someone has cookies turned off?

Re: [PHP] removing and item out of a string

2001-03-06 Thread Rick St Jean
I really suck with Regular expression but what if you did a replacement on 1, and replaced it with 1 2, and replaced it with 2 3, and replaced it with 3 Kind of a cheap workaround. ?? Rick At 01:07 PM 3/6/01 -0500, Brian C. Doyle wrote: >Hello all, > >I need to remove a comma from in

Re: [PHP] Please Help!!!! - Really BASIC stuff!

2001-03-06 Thread Rick St Jean
efault.php'; > > } > ?> > >Yes there are other ways but this is the simplest and you should (and >will!) learn to use if/elseif/else which will be useful in the future. > >Regards, > >Philip Olson >http://www.cornado.com/ > > >-- >PHP General Mailing List

[PHP] mailing list.

2001-03-06 Thread Rick St Jean
Does this mailing list run off PHP? Does anyone find it a pain to have to cut and paste the url of the list into the to bar again and again? I am using Eudora, and I am just wondering if it is me. What mail server are they using? qmail or sendmail? Rick

Re: [PHP] mailing list.

2001-03-06 Thread Rick St Jean
. Rick At 03:17 PM 3/6/01 -0600, Brig C. McCoy wrote: >At 04:19 PM 3/6/01 -0500, you wrote: > >Does this mailing list run off PHP? Does anyone find it a pain to have to > >cut and paste the url of the > >list into the to bar again and again? I am using Eudora, and I am just >

Re: [PHP] passing a variable

2001-03-06 Thread Rick St Jean
George you are doing this backwards. Someone posted the code to do this the right way last night. I would use the concatination of a third variable. $field = "blah"; $loops = 10; for ($i=0; $i < $loops; $i++) { $displayField = $field . $i; echo

RE: [PHP] Developer certifications

2001-03-09 Thread Rick St Jean
e who was spoon fed and just managed to take a stupid course that doesn't teach you what you need to know. BTW the microsoft certifications are worth nothing now, even to microsoft. Rick At 02:58 PM 3/8/01 -0500, Krznaric Michael wrote: > OK now I'm pissed. I consider mys

Re: [PHP] PHP ide features...

2001-03-09 Thread Rick St Jean
trators, e-mail: [EMAIL PROTECTED] > > > >-- >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] Advanced PHP

2001-03-09 Thread Rick St Jean
Does anyone know of any other lists that are a little more advanced, And has a little less traffic? I am not the end all be all by any means of programming or PHP. I just want to know where the big boys hang out and learn some secrets that require some understanding. Rick

[PHP] payment

2001-03-09 Thread Rick St Jean
How to people typically integrate payment processors with PHP? And what processors are used most often? I know that a number of people are scrambling after cybercash died. There is a site out there www.opay.com that says it supports payment processors on any platform, anyone ever use it? Rick

Re: [PHP] payment

2001-03-09 Thread Rick St Jean
x27;s so easy. ust the built in functions >or just call parse_str() on the output and you're set. > >-aaron > >At 5:27 PM -0500 3/9/01, Rick St Jean wrote: >>How to people typically integrate payment processors with PHP? >>And what processors are used most ofte

Re: [PHP] payment

2001-03-09 Thread Rick St Jean
They were supposed to merge with Network 1, but they could not come up with the money. I read something that said they filed for chapter 11. But this means that he smaller company Network 1 will absorb them or buy what is left. Those are the rumours I heard Rick At 03:38 PM 3/9/01 -0700

Re: [PHP] payment

2001-03-09 Thread Rick St Jean
hem or buy what is left. Those are the rumours I heard > >Rick > >At 03:38 PM 3/9/01 -0700, Nathan Cook wrote: >>I haven't used opay.com. >> >>However I was looking at using cybercash for up and coming software I am >>writing. >> >>Their website tal

Re: [PHP-I18N] Re: Weekly Update

2001-03-09 Thread Rick St Jean
Haha never trust a company that hosts its website on geocities and has free web based email. Rick At 02:31 PM 3/9/01 -1000, [EMAIL PROTECTED] wrote: >-WEEKLY UPDATES- > >BREAKING NEWS... RECORDS WERE BROKEN... >AND MILLIONAIRRES WILL BE MADE!! > >THE ADVANTAGES OF BEI

Re: [PHP] How to protect my scripts ???

2001-03-09 Thread Rick St Jean
include them from a directory outside of their access. If they are creative they can use the fp tags to make copies, if you do not lock down your server rights. Rick. At 08:51 PM 3/9/01 -0300, Marco Aurélio wrote: >Hello! > > >My case: > >My users have ftp access to their di

<    4   5   6   7   8   9   10   >