Re: [PHP] Parsing Strings

2007-10-15 Thread Andrew Ballard
On 10/15/07, Philip Thompson <[EMAIL PROTECTED]> wrote: > Hi. > > Before I try and reinvent the wheel, I thought I'd query the list. I want to > take this string: > > thisIsAStringIHave > > and turn it into: > > This Is A String I Have > > Essentially, I want to capitalize the first letter (ucfirst

Re: [PHP] exit and ob_*

2007-10-12 Thread Andrew Ballard
nt what's currently in > the buffer to be sent to the browser, so I don't want to have to call > ob_clean. Any thoughts? I don't know about the behavior, but if you want the contents to be sent, you can flush them using ob_flush() instead of clearing them with ob_clean().

Re: [PHP] Beginner Tutorials for using CLASSES in PHP4

2007-10-09 Thread Andrew Ballard
iolate an objects contract -- which I guess goes back to Tony's point whether the language "enforces" private members/functions or whether they are simply regarded that way by the developers using them. I would prefer both, honestly. :) Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Beginner Tutorials for using CLASSES in PHP4

2007-10-09 Thread Andrew Ballard
grass with a push mower, too -- but I tend to like my lawn tractor much better. However, thank you for demonstrating that I need to be MUCH more careful when building objects to validate member values each time they are used, and not just when they are set. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Any known security issues with IMAP?

2007-10-04 Thread Andrew Ballard
ther thread: http://phpsec.org/projects/guide/ ) So yes, if you don't use diligence to filter that stuff out before you send it to the browser, someone could study your mail interface well enough to do anything they want by impersonating the user viewing the messages -- just for starters. Andrew

Re: [PHP] Re: strpos error (I'm missing something obvious)

2007-10-02 Thread Andrew Ballard
On 10/2/07, Al <[EMAIL PROTECTED]> wrote: > I didn't mean that the function was foolproof, only the match function itself. Understood. :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: strpos error (I'm missing something obvious)

2007-10-02 Thread Andrew Ballard
may not even be sent at all by legitimate clients because of various browser and/or personal firewall options. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Strategy for Secure File Storage

2007-09-25 Thread Andrew Ballard
Kevin Murphy wrote: > > The problem is IE7. All browsers work with this code as is but IE says > > "Internet Explorer cannot download test.pdf from XXX" The problem with IE was when you told it not to cache the document. If you just want the browser to download the file rather than let the Ad

[PHP] List Help - Email Change

2007-09-21 Thread Andrew Prostko
I would like to change the email address this list is sending to, I sent mail to '[EMAIL PROTECTED]' but I haven't received anything back. Can anyone tell me how to do this real quick? Having this email account on my Treo is kind of overwhelming. Andrew Prostko 1445

RE: [PHP] Open New URL window FINAL ANSWER

2007-09-20 Thread Andrew Prostko
Wow, it really must be late, Thank you for pointing out that missing parenthesis ... 330am and now I can go to bed happy... TY VM Ending Code for anyone listening: Get PW from another .php page using: What is the Password?: This is the passwordcheck.php code: -- PHP General Mailing Lis

RE: [PHP] Open New URL window

2007-09-19 Thread Andrew Prostko
Ok, so I started using the header code that was suggested: And I get this error: Parse error: parse error, unexpected '{' in /home/char-lee/public_html/beta/1.php on line 3 This is the code: --- --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

RE: [PHP] Page Numbering

2007-09-19 Thread Andrew Wilson
What do I have to do to get off this list. Murder someone? Please take me off the list as I have already tried to unsubscribe several times. The email is registered under [EMAIL PROTECTED] -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Thursday, September 20, 2007 4

[PHP] Open New URL window

2007-09-19 Thread Andrew Prostko
My problem is, I do not know how to make the Else statement... How do I get it to open a new url? I want it IF yes open this page, else open this page Andrew Prostko AProstko @ verizon.net   -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] date weirdness

2007-09-18 Thread Andrew Ballard
> I'm seeing > 11/4 twice for example. Sometimes dates are missing from the list. The > results change from day to day. > That would be DST. The number of seconds per day changes on Nov. 4, 2007 in the US local time zones. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Questions about overloading and visibility in PHP5

2007-09-18 Thread Andrew Ballard
y; rather, they only work for accessing private members. If a property is declared public, it does not need the __get and __set, so they aren't used. Likewise, $bar->y is public since it was added dynamically outside the class. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IE Not Following Header("Location: /path/to/file.php");

2007-09-06 Thread Andrew Brampton
That is not valid, the Location field must contain the full URL, so /path/to/file.php should be http://yourserver/path/to/file.php Read RFC rfc2616, section 14 Will help find it: http://www.google.com/search?hl=en&q=HTTP+Header+Field&btnG=Google+Search Andrew - Original

Re: [PHP] php 5 and ms sql server express won't play nice !

2007-08-20 Thread Andrew Ballard
> ... but the > second comment seems helpful. > > [1] http://www.php.net/manual/en/function.mssql-connect.php For SQL Server 2005, getting the right version of that ntwdblib.dll is crucial. However, Microsoft has apparently abandoned the NTWDBLIB library, so I have begun working with PDO ODBC inst

Re: [PHP] Does PDO prevent class functions from calling other class functions?

2007-08-02 Thread Andrew Ballard
It's usually the "obvious" things that get you -- especially after you've been staring at the same piece of code for any length of time. :) Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Does PDO prevent class functions from calling other class functions?

2007-08-02 Thread Andrew Ballard
Ken, Your method name is site_for_pub, and you are trying to call site_for_pub_id. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reading registry values

2007-07-30 Thread Andrew Ballard
I'm assuming you are intending to read the web server registry for configuration purposes, not the client's registry. Look at the section on COM in the manual. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] About XSL Transformation

2007-07-29 Thread Andrew Ballard
> I tried to declare xsl:variable to increment within xsl:for-each, > however I ran in to some dead ends. Variables in XSL are not most programmers think of when they hear the term "variable". They are variable in the sense that they can be assigned a value at run-time, but they are really more li

[PHP] PDO with MS SQL Server - output parameters/return values not returned

2007-07-27 Thread Andrew Ballard
I am unable to get the values of output parameters for SQL Server stored procedures that have multiple parameters or return values for any procedures. I have tried this with both the odbc: and mssql: drivers on a Windows XP development machine. (The live application will be hosted on a Windows serv

Re: Re[4]: [PHP] Re: php security books

2007-07-04 Thread Andrew Hutchings
epared statements and would use them all the time if it wasn't for the fact that those queries aren't cached until recent versions of MySQL 5.1 Anyway, I'm rambling now ;) -- Andrew Hutchings - LinuxJedi - http://www.linuxjedi.co.uk/ Windows is the path to the darkside...Windows l

Re: Re[2]: [PHP] Re: php security books

2007-07-04 Thread Andrew Hutchings
In article <[EMAIL PROTECTED]> [EMAIL PROTECTED](Richard Davey) wrote: > Hi Andrew, > > Wednesday, July 4, 2007, 4:23:38 PM, you wrote: > >>>> Avoid the O'Reilly one as it is flawed. >>>In what way? >> Its written by Chris Shif

Re: RE: [PHP] Re: php security books

2007-07-04 Thread Andrew Hutchings
er issue aside, i still dedicate a separate file in > /var/logfor my php apps. If is a separate file then that is cool, in fact being in /var/log you could even have it rotate with log_rotate (well you could do that anywhere really, but for completeness...). -- Andrew Hutchings - LinuxJedi - http:

Re: RE: [PHP] Re: php security books

2007-07-04 Thread Andrew Hutchings
In article <[EMAIL PROTECTED]>[EMAIL PROTECTED] ("bruce") wrote: > andrew... > > are you sure about this... i would have thought that if you have an > apache user 'apache' and allow php to be run as/by 'apache' than this > would providecom

[PHP] Re: Re 2D: [ 2CPHP 2D] 2CRe 2D: 2Cphp security books

2007-07-04 Thread Andrew Hutchings
e is not one of themAFAICT. You are entitled to your opinions, and I am entitled to mine. If you believe I am spreading FUD, so be it. But that example _is_ a security flaw. -- Andrew Hutchings - LinuxJedi - http://www.linuxjedi.co.uk/ Windows is the path to the darkside...Windows leads to B

Re: [PHP] Re: php security books

2007-07-04 Thread Andrew Hutchings
; this is getting good; i want to know why its *flawed* now too. > > no pressure :) > OK, well, for example page 3 of the book suggests making PHP output errors into Apache's error_log. To do this on Linux it means PHP would have to be run as root. -- Andrew Hutchings - LinuxJ

[PHP] Re: Re 2D: [ 2CPHP 2D] 2CRe 2D: 2Cphp security books

2007-07-04 Thread Andrew Hutchings
In article <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Stut) wrote: > Andrew Hutchings wrote: > > In article <[EMAIL PROTECTED]> > > [EMAIL PROTECTED](Mark Kelly) wrote: > > > >> Hi. > >> > >> On Wednesday 04 July 2007 13:01, Andr

Re: [PHP] Re: php security books

2007-07-04 Thread Andrew Hutchings
In article <[EMAIL PROTECTED]> [EMAIL PROTECTED](Mark Kelly) wrote: > Hi. > > On Wednesday 04 July 2007 13:01, Andrew Hutchings wrote: > >> Avoid the O'Reilly one as it is flawed. > In what way? Its written by Chris Shiflett, isn't that en

[PHP] Re: php security books

2007-07-04 Thread Andrew Hutchings
to read Chris Snyder's one yet but it has the worst amazon rating of the 3. -- Andrew Hutchings - LinuxJedi - http://www.linuxjedi.co.uk/ Windows is the path to the darkside...Windows leads to Blue Screen. Blue Screen leads to downtime. Downtime leads to suffering...I sense much Wind

Re: [PHP] Re: how PHP is batter?

2007-07-03 Thread Andrew Hutchings
ave pechant for >> covering marsbars with the stuff and deepfrying them? > The aussies do it too - are we just as crazy as the scots? Didn't we used to ship convicted criminals to Auz? That would explain the craziness ;) -- Andrew Hutchings - LinuxJedi - http://www.linuxjedi.co.

Re: [PHP] How to eject cd-rom with php code?

2007-05-23 Thread Andrew Brampton
If you are on linux just shell out the linux eject command (which should eject the drive for you). If you are on windows (or another OS), then I'm sure you can still find a similar commnad line app that will do the same task. There isn't a built in way in PHP. Andrew - Origin

RE: [PHP] Bounty, NOW!

2007-05-14 Thread Andrew Wilson
Lol, just trying to protect you from yourself but seems like you have that under control ;) Nice fool on us. Goodluck finding a coder. Regards, Andrew -Original Message- From: Brad Sumrall [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:46 PM To: 'Andrew Wilson

RE: [PHP] Bounty, NOW!

2007-05-14 Thread Andrew Wilson
Lol, Either he has 1) Changed the pass 2) Got hacked 3) Supplied with wrong pass. Very funny thread either way. Regards, Andrew -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:27 PM To: Brad Sumrall Cc: php-general@lists.php.net Subject

[PHP] Re: PHP 4.4.6 Released!

2007-03-01 Thread Andrew Hutchings
se release fixes a crash that wasn't introduced until this release. That's clever ;) Regards Andrew -- Andrew Hutchings - Linux Jedi - http://www.linuxjedi.co.uk/ A-Wing Internet Services - http://www.a-wing.co.uk/ Windows is the path to the darkside...Windows leads to Blue Screen. B

Re: [PHP] Daylight Savings Time in PHP4

2007-01-18 Thread Andrew Kreps
On 1/18/07, mike caplin <[EMAIL PROTECTED]> wrote: Does anyone know if the change in Daylight Savings Time (March this year) affects PHP v4.x? I looked around www.php.net and all I could find was a reference to v5 (http://bugs.php.net/bug.php?id=35296). Is there a v4 release which is compatible

Re: [PHP] Scope of include

2007-01-17 Thread Andrew Kreps
On 1/17/07, Andrew Kreps <[EMAIL PROTECTED]> wrote: On 1/17/07, jekillen <[EMAIL PROTECTED]> wrote: > Hello php list: > If I include a php script inside a php function definition and then > call the > function in another script. What is the scope of variables in the >

Re: [PHP] Scope of include

2007-01-17 Thread Andrew Kreps
On 1/17/07, jekillen <[EMAIL PROTECTED]> wrote: Hello php list: If I include a php script inside a php function definition and then call the function in another script. What is the scope of variables in the included script? Are they local to the function that calls include with the file name? Tha

Re: [PHP] Variance Function

2007-01-11 Thread Andrew Brampton
example within 72 hours of each other, which is a max acceptable time for a email to be bounced around). I hope this helps in some way. If not it was fun quickly coding up a clustering algorithm :) On reflexation it might be a lot easier to not use clustering and instead just look at toda

Re: [PHP] cURL: can't prevent url redirect

2006-11-29 Thread Andrew Warner
oops... I see my mistake: foreach($restored_cookies as $name=>$value) array_push($the_headers, "Cookie: ".$name.'='.$value); should be: $cookie=''; foreach($restored_cookies as $name=>$value) $cookie .= "$key=$value; "; $cookie = substr ($cookie,0,-2); Then ei

Re: [PHP] cURL: can't prevent url redirect

2006-11-29 Thread Andrew Warner
Actually, the problem is that the site isn't recognizing my cookies. Is there anything wrong with the below code? Same thing in Snoopy works perfectly. Going to stick with Snoopy. $the_headers = array( "Language: en", "Accept: */*", "User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS

[PHP] cURL: can't prevent url redirect

2006-11-29 Thread Andrew Warner
This login script works when I use Snoopy (php http class), but here with php curl the response is the redirected page. The script is following a 302 redirect and I don't want it to because I need some header info from the 302 page. The curl_setopt($ch, CURLOPT_MAXREDIRS, 0); doesn't seem t

[PHP] Fwd: Parsing and using URL variables

2006-10-20 Thread andrew newman
-- Forwarded message -- From: andrew newman <[EMAIL PROTECTED]> Date: Oct 20, 2006 2:30 PM Subject: Parsing and using URL variables To: php-general-digest@lists.php.net Hello I am very new to PHP and I am trying to parse the values of variables from a URL into a web pa

Re: [PHP] Disable all caching

2006-10-10 Thread Andrew Brampton
://uk2.php.net/header and googling for no cache will help. Andrew - Original Message - From: "Benjamin Adams" <[EMAIL PROTECTED]> To: "php php" Sent: Tuesday, October 10, 2006 4:17 PM Subject: [PHP] Disable all caching I have a php (ver 4.x) script that is b

Re: [PHP] Strange server crash problem

2006-09-08 Thread Andrew Kreps
One thing that jumped to mind from my PHP 4 days -- do you have output_gzip (or similar) enabled in your PHP.ini? I seem to remember having a similar problem a while back, and disabling the gzipped output fixed it for me. Also, is it possible to browse the website from the web server itself? Tha

Re: [PHP] Strange situation when saving a file

2006-08-30 Thread Andrew Kreps
On 8/30/06, Miguel Guirao <[EMAIL PROTECTED]> wrote: > Once the file has been created and saved as I doc file (not a doc format!), > I e-mail it! > > When the client gets the e-mail, he/she should open the file either by > saving the file to the local system or openning the file directly from the

Re: [PHP] Session / cookie issues

2006-08-24 Thread Andrew Kreps
Could it be a 3rd party cookie problem? Does IE display the little eyeball privacy icon on the troubled user's browser status bar? I seem to remember having issues when Microsoft started supporting the cookie privacy stuff. On 8/23/06, Dave Goodchild <[EMAIL PROTECTED]> wrote: Hi all. I mailed

Re: [PHP] PHP & BEA Weblogic 8.

2006-08-23 Thread Andrew Kreps
Given that Weblogic is an application server, I don't think you're going to have much luck. PHP is typically installed directly on the web server (Apache, or similar). On 8/20/06, BKruger <[EMAIL PROTECTED]> wrote: Could anyone please direct me to installation instructions for PHP on BEA Weblog

Re: [PHP] OT alternate website authentication methods

2006-08-22 Thread Andrew Kreps
On 8/18/06, Chris W. Parker <[EMAIL PROTECTED]> wrote: Ideas: 1. Use flash to allow the user to draw an image. If the original image created during signup is within an acceptable range of the image used to authenticate, let them in. 2. (I saw this somewhere else... don't remember where or what

Re: [PHP] login script

2006-08-15 Thread Andrew Kreps
I would hope that MD5 hashing is MD5 hashing no matter where it originates. However, I think it's better to use the database server's implementation. I believe it is less likely to be changed in future versions, and it removes some processing time from the front end. Additionally, if you ever mo

Re: [PHP] requests from 2nd window breaks my program

2006-08-11 Thread Andrew Kreps
For what it's worth, I like Jochem's solution much better than the one I gave you. :) On 8/11/06, Jochem Maas <[EMAIL PROTECTED]> wrote: a very crude idea below (you have to add a request variable named 'ordertransid' in all links pointing to pages that have to act on an existing order transac

Re: [PHP] requests from 2nd window breaks my program

2006-08-11 Thread Andrew Kreps
Based on the general description you've given, I could imagine adding a 'step number' in your session. Then validate it against what step is being loaded. So, if you set your Session 'step' variable to 5, and page 6 is loaded, that would seem OK. If your Session 'step' variable is 6, and page 2

Re: [PHP] stupid question...compiling php

2006-08-07 Thread Andrew Kreps
I'll bet your hosting environment has not installed the php sources. If the server is shared with other clients, you'll probably need to download the source and compile php in your user space and run it as a CGI (if your host allows this configuration). Hopefully they have some allowances for thi

Re: [PHP] Newbie Form Question

2006-08-07 Thread Andrew Kreps
Better yet, don't allow the user to enter a From address. Simply give them subscribe and unsubscribe radio buttons, and make sure the un/subscribe-ee gets a confirmation email. And certainly check your input fields for newlines. :) On 8/7/06, Richard Lynch <[EMAIL PROTECTED]> wrote: On Mon, A

[PHP] php behind firewall

2006-08-04 Thread Andrew Senyshyn
Hi all, I need to get local user IP, but server with apache and php is in another subnetwork. So from server environment I can get only router's IP. The only solution that I see - is getting with some magic algorithm local IP from brouser and sending it to server. My application is for intrane

Re: [PHP] Retrieving response headers from an off-site page

2006-07-31 Thread Andrew Kreps
On 7/31/06, Ray Hauge <[EMAIL PROTECTED]> wrote: On Monday 31 July 2006 17:36, John Gunther wrote: > I'm trying to programatically retrieve a sales tax lookup page using > file_get_contents() but the page doesn't return data unless a session id > is first retrieved and then supplied. > I deal wi

[PHP] AES client side

2006-07-31 Thread Andrew Senyshyn
Hi all, I need to implement AES decryption algorythm on client side (in browser). I tried javascript but it is too slow. Does anybody have others ideas how to decrypt data transfered by from server to client in browser? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] convert byte to MB

2006-07-25 Thread Andrew Brampton
Divide by 1024 and you get KiB Divide by 1000 and you get KB Read: http://physics.nist.gov/cuu/Units/binary.html Andrew - Original Message - From: "André Medeiros" <[EMAIL PROTECTED]> To: "weetat" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, July 25,

Re: [PHP] search string

2006-07-21 Thread Andrew Kreps
You can use a regular expressions with a function called preg_match to find the values. For example, (Assuming your sql statement is $sql) preg_match("/(tbl_chassis.chasis_model LIKE \'\%[a-zA-Z0-9-]+\%\'/)", $sql, $matches); That will return $matches[0] with the matched data. Similarly, pre

Re: [PHP] Sort Array

2006-07-18 Thread Andrew Brampton
ksort won't do what he wants... Look at usort, and something like this: function cmp($a, $b) { return strcmp($a['Country'], $b['Country']); } usort($array, "cmp"); Andrew - Original Message - From: "Jay Blanchard" <[EMAIL PROT

Re: Fwd: [PHP] Recurs Directory Delete

2006-07-14 Thread Andrew Kreps
Hey, *that's* where the deltree functionality went. I wondered about that. I just tested that out, and it works like a charm! Thanks for the tip! On 7/14/06, Adam Zey <[EMAIL PROTECTED]> wrote: Andrew Kreps wrote: > [forwarding my response to the list, as the reply functio

Fwd: [PHP] Recurs Directory Delete

2006-07-14 Thread Andrew Kreps
[forwarding my response to the list, as the reply function didn't quite work] Actually, that's not true. 'rm -rf' removes all files, directories and subdirectories. Microsoft's del has no analogy to that (although there was a deltree command in older versions of DOS). You still have to manual

Re: [PHP] How do I prevent a session from rebuilding itself?

2006-07-13 Thread Andrew Brampton
If anyone reads DailyWTF, then you might remember this post: http://thedailywtf.com/forums/thread/78892.aspx Explaining the dangers of "rm -rf /tmp" I'm sure you won't fall victim to this, but it is a fun read :) Andrew - Original Message - From: "Daevid V

[PHP] PEAR Algorithms/Containers

2006-05-18 Thread Andrew Brampton
as been to lazy until now, or is there a real reason that I'm missing that has made such structures pointless. thanks for any comments/replies Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Uploading pic

2006-04-27 Thread Andrew Brampton
getimagesize() can obtain the image type as well as the dimensions of the image. Once the file is uploaded us this to check the extension is correct and that the image is not too large. php.net/getimagesize Andrew - Original Message - From: "Rosen" <[EMAIL PROTECTED

[PHP] return path of mail function

2006-04-02 Thread Andrew Darrow
I'm having a problem setting the return-path using the mail function. I seem to be able to modify any of the other header information I want, but not this one item. Here's my code: $headers = "Return-Path: Test \r\n" . "From: Test \r\n" . "Reply-To: Test \r\n"; $sub="Test sub"; $msg="Te

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-20 Thread Andrew Brampton
A bot could find it if it parses (and executes) javascript. Andrew - Original Message - From: "Gerry Danen" <[EMAIL PROTECTED]> To: "comex" <[EMAIL PROTECTED]> Cc: Sent: Monday, February 20, 2006 3:58 AM Subject: Re: [PHP] HN CAPTCHA at http://www.

[PHP] DOM/XML Query

2006-02-06 Thread Andrew Clarke
I'm having some problems using PHP5 on Windows 2000 Server, running IIS 5. When trying to access a document from a "xmldoc()" function the system responds with the following, *Fatal error*: Call to undefined function xmldoc() in *"XML Document"* on line *Number* ** How do I fix this problem? Is t

Re: [PHP] ftp_nlist problem

2006-01-13 Thread Andrew Brampton
directory listings are sent over this 2nd connection, so I would suggest your problem is that the incoming data connection is being blocked by a firewall on your server. Try to either use passive FTP or to change your firewall rules. Andrew - Original Message - From: "Giulio&quo

Re: [PHP] Mcrypt 3DES encrypt/decrypt Help

2005-11-07 Thread Andrew Brampton
t key"; In that example the key is 25 bytes long, therefore 200 bits long, and then padded with \0s. If you want your key to represent the hex of the key then I believe you must use pack(), or one of the user comments on the bin2hex() help page (namely the hexbin() function). Hope t

Re: [PHP] Trouble using DOM component with PHP 4.4.0

2005-10-27 Thread Andrew Kachalo
t; 2442698 ZeroNotice IT Solutions -> www.zeronotice.com == Best Regards Andrew Kachalo http://www.geocities.com/andrew_kachalo/

Re: [PHP] Get Mac Address

2005-10-09 Thread Andrew Brampton
emote client is on a different physical segment, as such its impossible (or extremely difficult without additional technologies) to obtain their MAC address. As Ben said he was using a local intranet server I'm sure Rory Browne's post is completely valid, for request from his LAN.

[PHP] Using fopen('php://stdout') with apache

2005-09-24 Thread andrew morton
> php phptest.php You can see this with the CLI and Apache. This only shows up on the CLI... Viewing the page using Apache2 and mod_php5: You can see this with the CLI and Apache. Anyone know how to get a reference to the standard output to work with the Apache2 SAPI? Thanks, andrew -- PHP General

Fwd: [PHP] Re: session and cookie by javascript

2005-09-23 Thread Alex Andrew Mosqueda
Thanks. -- Forwarded message -- From: Ben <[EMAIL PROTECTED]> Date: Sep 22, 2005 5:29 PM Subject: [PHP] Re: session and cookie by javascript To: php-general@lists.php.net Alex Andrew Mosqueda said the following on 09/22/05 06:28: > Hi! > I there a way I can get the

[PHP] session and cookie by javascript

2005-09-22 Thread Alex Andrew Mosqueda
Hi! I there a way I can get the cookie data stored by javascript(client side) in php(server side) and vice versa? Thanks.

RE: Re[2]: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Andrew Scott
usion Hello Andrew, Friday, July 1, 2005, 3:32:14 PM, you wrote: AS> Well I am on about 20-30 as well, and when I press reply it goes to a AS> mailinglist address for broadcasting not the posters email address. Most likely because they've bastardised the mail headers to force in a reply

RE: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Andrew Scott
meant to be used on online servers. -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Saturday, 2 July 2005 12:50 AM To: Andrew Scott Cc: php-general@lists.php.net Subject: Re: [PHP] PHP vs. ColdFusion Andrew Scott wrote: > Hey it's not my fault that this s

RE: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Andrew Scott
Well I am on about 20-30 as well, and when I press reply it goes to a mailinglist address for broadcasting not the posters email address. -Original Message- From: George Pitcher [mailto:[EMAIL PROTECTED] Sent: Saturday, 2 July 2005 12:26 AM To: Andrew Scott; 'John Nichel'; p

RE: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Andrew Scott
aturday, 2 July 2005 12:15 AM To: php-general@lists.php.net Subject: Re: [PHP] PHP vs. ColdFusion Andrew Scott wrote: > Hey it's not my fault that this stupid list needs a reply all! Learn how to use your mail client instead of expecting someone to bastardize the email headers. Andrew, me

RE: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Andrew Scott
Hey it's not my fault that this stupid list needs a reply all! I am going to guess Stut, that you don't know even know what the difference between a singleton instantiated object is to a standard instantiated object? You know for a php developer your really don't know your own product to well, a

RE: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Andrew Scott
tremely secured. -Original Message- From: Brad Pauly [mailto:[EMAIL PROTECTED] Sent: Thursday, 30 June 2005 10:54 PM To: php-general@lists.php.net Subject: Re: [PHP] PHP vs. ColdFusion On 6/30/05, Andrew Scott <[EMAIL PROTECTED]> wrote: > Cons for PHP: > - > Coldfu

RE: Re[2]: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Andrew Scott
Richard, And your point of before you pay your programmer is what one of my other points was. CF is very rapid development, and you might say the same about PHP. The point is that these are all the things you need to take into consideration, the cost that it would take to develop and maintain i

RE: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Andrew Scott
ice that I am trying to put forward, not whether this language is better than that, but more of an open mind to what each can and can't do. Regards Andrew Scott Analyst Programmer CMS Transport Systems Level 2/33 Bank Street South Melbourne, Victoria, 3205 Phone: 03 9699 7988 - Fa

RE: [PHP] PHP vs. ColdFusion

2005-06-29 Thread Andrew Scott
Rick, Yes a framework can be built in PHP, C# or any language but how would you like to design something like this. The above is tags that I am referring to very similar to java tag libraries, these tags read data from a database, validate and display the data like windows .net form

RE: [PHP] PHP vs. ColdFusion

2005-06-29 Thread Andrew Scott
l be looking at the overall cost, development cost and maintenance cost and this can be very expensive, if you don't do your homework first, and with blue dragon you don't need to spend a cent to develop in coldfusion. Regards Andrew Scott Analyst Programmer CMS Transport Systems Lev

[PHP] DOM XML issue

2005-06-28 Thread Andrew Kachalo
led Schema Support enabled RelaxNG Suppor tenabled I'm using function domxml_open_file and get following error: Fatal error: Call to undefined function domxml_open_file() in /Users/Andrew/Sites/portfolio/index.php on line 61 How can I fix this problem? Thank you! == Best Regards Andr

[PHP] Warning: filemtime() (errno=75 - Value too large for defined data type)

2005-05-29 Thread Andrew Brampton
ning (which does not involve shelling out a command line app)? My code was working fine until the file reached 2GB. Thanks Andrew P.S I'm running PHP 4.3.10-13 on a Debian distro. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 32 bit PNG (256 color alpha channel), TGA images, etc

2005-04-20 Thread Andrew D. Keyser
ut none of them take an image with more than 256 colors, much less one with an alpha channel. I'm not keen on the binary structure of the tga format, but i might be required to learn it this time.. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php - set interval

2005-04-03 Thread Andrew
well setup flash to call the interval instead of PHP many thanks andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Memory exhausted message wrong

2005-03-18 Thread Andrew Hill
> > Andrew Hill wrote: > > > The problem is that in my php.ini file, I have the line: > > > > > > memory_limit = 8M > > > > > > So, why is PHP reporting that the allowed memory size is 256M? > > > The phpinfo() function correctly r

RE: [PHP] Memory exhausted message wrong

2005-03-18 Thread Andrew Hill
Marek Kilimajer wrote: > Andrew Hill wrote: > > The problem is that in my php.ini file, I have the line: > > > > memory_limit = 8M > > > > So, why is PHP reporting that the allowed memory size is 256M? > > The phpinfo() function correctly reports that memo

[PHP] Memory exhausted message wrong

2005-03-18 Thread Andrew Hill
memory_limit in php.ini, it always crashes with the same error. TIA, -- Andrew Hill Software Developer Awarez Ltd. Kirkman House, 12-14 Whitfield Street, London W1T 2RF T: +44 (0)20 7299 7367 F: +44 (0)20 7299 7374 IRC: #max on freenode.net -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Re: PHP in MS-DOS

2005-01-17 Thread Andrew Kreps
On Mon, 17 Jan 2005 09:45:59 -0600, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > Thanks, but I'm not running Windows, I'm running just MS-DOS from a > bootable floppy. Hence my question :-) > > PHP seems to actually be the php5ts.dll. Would there be binaries for > MS-DOS or is there a way to get

Re: [PHP] $_POST

2005-01-17 Thread Andrew Maxwell
Thats exactly what i need. Thanks a ton. ~Andrew On Mon, 17 Jan 2005 10:58:07 +0200, Ville Mattila <[EMAIL PROTECTED]> wrote: > Andrew Maxwell wrote: > > When you submit something, and you want to make sure that the user > > inputs all of the info, is there an easier w

[PHP] $_POST

2005-01-17 Thread Andrew Maxwell
When you submit something, and you want to make sure that the user inputs all of the info, is there an easier way to do it than this: if ((!$_POST[name]) || !$_POST[pass]) || (!$_POST[blah])) { etc. } is there an easy way to check if all of the varibles have data in them? ~Andrew -- PHP

Re: [PHP] drag and drop CMS made with php

2005-01-11 Thread Andrew Kreps
On Tue, 11 Jan 2005 15:53:39 -0800, Graham Anderson <[EMAIL PROTECTED]> wrote: > is there a php based CMS that exists that allows you to drag/drop and > reorder tracks ? > something akin to itunes or winamp playlist... > I'm not entirely sure you could make this work, if you're speaking of a web

Re: [PHP] sorting mysql results

2005-01-10 Thread Andrew Kreps
On Mon, 10 Jan 2005 16:38:18 -0500, Sebastian <[EMAIL PROTECTED]> wrote: > I have a list of rows in the database and i would like to sort them in two > categories. > example, > > echo $row['name'] . '-' . $row['type']; > > // output: > > row 1 - files > add order by `type` to your sql statemen

Re: [PHP] if(date("Y-m-d") >

2005-01-10 Thread Andrew Kreps
On Mon, 10 Jan 2005 13:08:28 -0500, John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > Hi, > I would like some help to improve this script. I'm a teacher with a schedule > of 17 weeks. > Instead of using if(date("Y-m-d") >= $week3) I would like to do a "for i = 1 > to 17" and if the current date

[PHP] PHP College Scholarships?

2005-01-10 Thread Andrew Wickham
! Andrew Wickham -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    3   4   5   6   7   8   9   10   11   12   >