[PHP] RE: php-general Digest 19 Aug 2008 20:38:46 -0000 Issue 5633

2008-08-19 Thread Cox, Chris
Does anyone know why the unsubscribe email address is bouncing. Are there any other ways to unsubscribe? Chris Cox 415.681.3665 (direct/fax) Candidate Generation Recruiter http://www.intuit.com/careers View Sailen Saha's profile on LinkedIn -Original Message- From: [

[PHP] Trouble with PHP server script

2008-02-10 Thread Robert Cox
Is it possible to use the "$_SERVER['PHP_AUTH_USER'];" construct in a URL forwarded site? I am trying to find the authorised user id so that I can access an SQL database with it. Anyone got some ideas? PHP looks like this

[PHP] FW: Still searching for PHP Experts in SF, CA

2007-11-13 Thread Cox, Chris
If anyone recommends anyone well versed in PHP in their network, in or around San Francisco, please send them along to me Chris Cox @ [EMAIL PROTECTED] Thank you in advance for your consideration. www.stepup.com Sincerely, Chris Cox Intuit -- PHP General Mailing List (http://www.php.net/) To

[PHP] Still searching for PHP Experts in SF, CA

2007-11-13 Thread Cox, Chris
If anyone recommends anyone well versed in PHP in their network, in or around San Francisco, please send them along to me Chris Cox @ [EMAIL PROTECTED] Thank you in advance for your consideration. www.stepup.com Sincerely, Chris Cox Intuit -Original Message- From: [EMAIL PROTECTED

[PHP] corrected

2005-07-26 Thread cox
Please confirm the document. +++ Attachment: No Virus found +++ Panda AntiVirus - www.pandasoftware.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] explode() an array and grep out a string

2004-02-07 Thread Bobby R . Cox
sUsername/*"); Any idea why that may be? This is where the array is exploded: if ($sessSubAccounts) { $accounts = explode("|", $sessSubAccounts); while ($i < count($accounts) - 1) ?> TIA

[PHP] ldap_add - Error number 65: Object class violation

2004-02-06 Thread Bobby R . Cox
echo "An error occurred. Error number " . ldap_errno($connection) . ": " . ldap_err2str(ldap_errno($connection)); } I am beating my head trying to figure this one out. I know it's an object class violation, but I can

[PHP] Re: output

2003-10-25 Thread J. Cox
reporting = ~E_ALL > > display_errors = Off > > Any ideas ? > I'm assuming that you are trying to turn off error reporting. http://www.php.net/manual/en/function.ini-set.php Should get you started, or you could suppress the errors with @. Am I in the right ballpark? J. Cox htt

[PHP] Re: Re: Session hijacking

2003-10-19 Thread J. Cox
e manual;) Nice catch. J. Cox http://www.xaraya.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Session hijacking

2003-10-19 Thread J. Cox
f by default and mentioned that they were going away in the future. In addition, take a look at some of the other suggestions that were made, beyond this one. J. Cox http://www.xaraya.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Choosing a CMS?

2003-10-19 Thread J. Cox
"Joel Konkle-Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I've looked at PHPNuke, just because that's the only thing that jumps to > mind, but I want to make sure I'm not missing anything before I dive in > with it. Have a look at Xaraya -- http://www.xaraya.com It may

[PHP] RE: DAN (Didier McGillis) *** codeSECURE 1.0 - - Protecting PHP code

2003-10-15 Thread James Cox
Ok, can we stop sending this to php-announce please... -- James Cox (Editor) :: [EMAIL PROTECTED] :: http://www.apress.com/ The Experts Voice (tm) Frasier Crane: Y'know, Niles, what say I buy us dinner and a lot of martinis? Niles Crane: Sounds great, except for the dinner

[PHP] Re: PHP "Smart Refresh" for looping server lookups

2003-09-20 Thread J. Cox
ance =) Why not do a meta refresh with the time as a variable to be configured? Seems to me to be the easiest way to do it. J. Cox http://www.xaraya.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mail problem

2003-07-26 Thread J. Cox
"Paul Marinas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi, i have to send some e-mails with pictures, in html format, i was > wondering if anyone knows where to find a php class that dose this. http://phpmailer.sourceforge.net/ should d

[PHP] Re: PHP should know my data!

2003-07-24 Thread J. Cox
"Chris Hubbard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hmm. You're right. Maybe something like the following would help: > > if ($_SESSION["irony"]) > { > $rs = enjoyJoke($_POST["msg"]) > }else{ > $rs = fixProblem($_POST["msg"]) > } > echo "". $rs .""; > > ?> This isn't

[PHP] Re: Replacing newlines (\n) with smething else

2003-07-13 Thread J. Cox
sn't work. > > $article = str_replace("\n", "", $article); > > What am I doing wrong? $article is the string to replace the newlines > in. I tried this with a period and that works as expected. Can I not > replace newlines this way? why not just: $article = nl2b

[PHP] RE: [PHP-DEV] [systems] cvs server moving

2003-03-23 Thread James Cox
bonsai to return them to service. Thanks, James Cox > > Just a heads up, > > we should be moving the cvs apparatus from one server to another > in the next > few hours. The only down time will be whilst your dns updates, > and this will > _only_ affect cvs COMMITS -- n

[PHP] [systems] cvs server moving

2003-03-23 Thread James Cox
Just a heads up, we should be moving the cvs apparatus from one server to another in the next few hours. The only down time will be whilst your dns updates, and this will _only_ affect cvs COMMITS -- not checkouts. Thanks for your patience. James Cox php sysadmin -- James Cox :: [EMAIL

[PHP] Displaying images

2003-02-22 Thread Robert Stermer-Cox
Greetings, All, I'm a newbe to php and am trying to develop a routine to display artwork on my wife's site. I want to load from a flat file information about the artwork and image file names of the pieces. Then using the image file name, I want to display the image to the browser. I've figured

[PHP] manual notes

2002-11-13 Thread James Cox
The manual notes should be live again. i dry rsynced phpweb on www so it contains all the latest updates. we are just now finalizing the manual builds so the whole thing can get switched on properly. - - james -- James Cox :: [EMAIL PROTECTED] :: http://james.blogs.at/ Was I helpful? http

RE: [PHP] User Contributed Notes at php.net?

2002-11-11 Thread James Cox
they are missing temporarily as we work on re-enabling some php.net services. apologies for any inconveniences. -- James Cox php.net sysadmin -- James Cox :: [EMAIL PROTECTED] :: http://james.blogs.at/ Was I helpful? http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/ > > At

Re: [PHP] Re: Q:What is the easiest way to test my PHP+Html pages?

2002-07-27 Thread J. Cox
your pages, no need to upload > since you can point your webserver to where you are developing your php. > > andrew Or you could use something like FoxServ: http://foxserv.linuxmax.net/portal.php J. Cox http://www.dinerminor.com http://www.postnuke.com -- PHP General Mailing List (htt

RE: [PHP] two way encryption

2002-07-14 Thread James Cox
sorry to step in, but did you consider base64_[encode|decode] ? -- james > > Justin French wrote: > > Well, that was on my local test server, which I didn't compile with > > mcrypt... so that solves that, but it appears my ISP didn't > compile with it > > either... so there's very little poin

RE: [PHP] Nasty DoS in PHP

2002-04-17 Thread James Cox
Well, if you were able to upload a PHP script, you'd also be able to upload a binary file, which would have the ability to run exec("yourbinary"); ... -Original Message- From: Dustin E. Childers [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 3:41 AM To: James

RE: [PHP] Nasty DoS in PHP

2002-04-17 Thread James Cox
so why not upload a binary file and execute that ? quick root-kit later and you're in. -Original Message- From: Dustin E. Childers [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 3:22 AM To: Jason Murray Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Nasty DoS in PHP "If the user h

RE: [PHP] Nasty DoS in PHP

2002-04-17 Thread James Cox
but to do so, they would need to be on the box, and there are a bunch of better methods in that situation. given that php's default install sets a max time limit of 30 seconds on a script timeout, it can't have run for 10+ minutes, nor is that a reasonable length of time for a DoS on a monitored

RE: [PHP] Re: Cross DB application

2002-04-15 Thread James Cox
Hello, "Arcadius A." wrote: > > Hello ! > I'm planning to write a database application for MySQL, and then port it to > PostrgeSQL. > Is there any library or class that could help me to write/maintain just one > source code for both MySQL and PostgreSQL ? I think your best (if not the only) opt

RE: [PHP] Help I killed PHP on mysever...

2002-04-09 Thread James Cox
Chuck, what exactly is your situation? what has happened, step by step? what OS are you on? Thanks, James -- James Cox :: [EMAIL PROTECTED] :: Landonize It! http://landonize.it/ Was I helpful? http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/ -Original Message- From: Chuck

RE: [PHP] nl2br returns ? normality or a bug?

2002-04-05 Thread James Cox
actually, is not parsed in the same way as for many browsers. is XHTML, and is not a fully supported language set yet. -- James Cox :: [EMAIL PROTECTED] :: Landonize It! http://landonize.it/ Was I helpful? http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/ -Original Message

RE: [PHP] Re: Has anyone looked at phpinfo today?

2002-04-01 Thread James Cox
the php daemon. -Original Message- From: lmlweb [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 2:50 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: Has anyone looked at phpinfo today? who the heck was that :) "James Arthur" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PRO

[PHP] QA help needed

2002-03-16 Thread James Cox
firstly, apologies for the cross post, but I urgently need a Windows 98 / PHP / PWS environment to test an issue on. if anyone could help out with that, please email me back directly. Thanks, James -- James Cox :: [EMAIL PROTECTED] :: Landonize It! http://landonize.it/ Was I helpful? http

Re: [PHP] novice question

2002-02-28 Thread Jason Cox
7;s a great tool and contains user comments. Chances are that if you have a problem, someone else has already run into it and posted the solution in the manual. Here's a link: http://www.php.net/manual/en/functions.php Regards, Jason Cox - Original Message - From: "me us" &l

Re: [PHP] Probably basic but seems advanced to me, PHP/SQL generation.

2002-02-28 Thread Jason Cox
. Hope that clears things up a bit. Jason Cox - Original Message - From: "DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 28, 2002 6:55 AM Subject: RE: [PHP] Probably basic but seems advanced to me, PHP/

Re: [PHP] switch & continue statements

2002-02-25 Thread Jason Cox
e a switch block but I doubt it will jump you to the default case. Hope that helps, Jason Cox - Original Message - From: "KAT 44" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 23, 2002 9:13 PM Subject: [PHP] switch & continue statements He

Re: [PHP] What's wrong w/ this line?

2002-02-25 Thread Jason Cox
Nick, I believe you need a space between 'else' and 'if'. Should be two separate words. If that doesn't work, please send more of the code. Regards, Jason Cox - Original Message - From: "Nick Richardson" <[EMAIL PROTECTED]> To: "PHP Gener

RE: [PHP] Re: How can I open URL using HTTP POST instead of HTTP GET?

2002-02-10 Thread James Cox
http://php.net/curl > -Original Message- > From: Hugh Bothwell [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 10, 2002 4:31 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: How can I open URL using HTTP POST instead of HTTP > GET? > > > > "Zlutarch G." <[EMAIL PROTECTED]> wrote in

RE: [PHP] PHP / MYSQL security bug

2002-02-05 Thread James Cox
. --james -- James Cox :: [EMAIL PROTECTED] Was I helpful? http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/ > -Original Message- > From: Gerard Onorato [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 05, 2002 4:00 PM > To: [EMAIL PROTECTED] > Subject: [PHP] PHP /

[PHP] RE: [PHP-DEV] Re: Securite problem

2002-02-02 Thread James Cox
Hi, this isn't a problem for [EMAIL PROTECTED], as that's the developers list. You will find most help on [EMAIL PROTECTED] or php-windows. Thanks, james cox > -Original Message- > From: Roebie [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 03, 2002 1:20 AM >

Re: [PHP] Parsing commands to a program

2002-02-02 Thread Jason Cox
How I've done it in the past is to dynamically build the command string and then pass it through the exec function like so: $cmdStr = "pure-pw useradd joeblow -u ftpuser -d /home/joeblow"; exec($cmdStr); The exec call won't display output but I believe if you use system($cmdStr) it will. I don'

Re: [PHP] Need Urgent Help!!

2002-01-31 Thread Jason Cox
ke sure this page is on your server and point your form at it. Voila! Let me know if you have any problems. Regards, Jason Cox > Shannon, > I appreciate your help! > The following are the form fields I have created in Flash and their variable > names, I need to be able to rece

Re: [PHP] Need Urgent Help!!

2002-01-31 Thread Shannon Cox
Scott, Did you ever get this solved? If not, let me know and I will help you. Please reply both to my address and send a copy to the list. Thanks, Jason "Scott" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > All, > I have just found out that the VB script that I have used t

re: [PHP] Custom email after form submission

2002-01-29 Thread Jason Cox
Sorry. I forgot to reply to the list. - Original Message - From: "Jason Cox" <[EMAIL PROTECTED]> To: "Edward R. Bailey" <[EMAIL PROTECTED]> Sent: Tuesday, January 29, 2002 8:27 AM Subject: Re: [PHP] Custom email after form submission > Ed, > >

RE: [PHP] Apache PHP File Disclosure Vuln

2002-01-28 Thread James Cox
that choosing those paths are bad. james -- James Cox :: [EMAIL PROTECTED] Please CC me when replying to my messages on lists. Was I helpful? http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/ > -Original Message- > From: Analysis and Solutions [mailto:[EMAIL PROTECTED]] >

RE: [PHP] PHP Chat REALTIME

2002-01-22 Thread James Cox
Ok, i haven't been following this, but have you guys thought of ircg? http://php.net/ircg James -- 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 PRO

[PHP] RE: Does anyone have the 'edit_member.php' script ....

2002-01-19 Thread James Cox
change printf ("\n", $PHP_SELF, DISPLAY_ENTRY); to printf ("\n", $PHP_SELF, $DISPLAY_ENTRY); > -Original Message- > From: Mike C [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 19, 2002 12:02 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: Does anyone have the 'e

RE: [PHP] Does anyone have the 'edit_member.php' script ....

2002-01-19 Thread James Cox
copy and paste your self typed script, plus the parse error and i am sure someone - or i will be able to help you out :) James -- James Cox :: [EMAIL PROTECTED] Please CC me when replying to my messages on lists. Was I helpful? http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO

[PHP] two lists (was: RE: [PHP] RTFM)

2002-01-18 Thread James Cox
Hi, we could split it into two lists... but I think that the amount of help available to "newbies" would decrease if we split the list. James Cox -- James Cox :: [EMAIL PROTECTED] Please CC me when replying to my messages on lists. Was I helpful? http://www.amazon.co.uk/exec/obido

RE: [PHP] Mysterious />

2002-01-18 Thread James Cox
can you give an example? eg, is XHTML correct, however /> isn't correct at all :) Thanks, James Cox -- James Cox :: [EMAIL PROTECTED] Please CC me when replying to my messages on lists. Was I helpful? http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/ > -Origi

RE: [PHP] An idea for a PHP tool

2002-01-03 Thread James Cox
lect "properties", then paste the javascript in). Hope that helps.. -- James Cox :: [EMAIL PROTECTED] Please CC me when replying to my messages. Was I helpfull? http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/ > -Original Message- > From: Jason Mur

RE: [PHP] How to strip off all html-comments

2001-12-31 Thread James Cox
http://www.php.net/stripcodes happy new year! James Cox -- James Cox :: [EMAIL PROTECTED] Please CC me when replying to my messages > -Original Message- > From: Martin [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 31, 2001 11:07 AM > To: [EMAIL PROTECTED] > Subjec

RE: [PHP] hotmail settings POP and SMTP under Mozilla

2001-12-27 Thread James Cox
I think your best bet is to add a bookmark to www.hotmail.com . James Cox > -Original Message- > From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 28, 2001 2:11 AM > To: ger > Cc: php-general > Subject: Re: [PHP] hotmail settings POP and

RE: [PHP] Client side fatal PHP error

2001-12-25 Thread James Cox
lities here for potential errors, (like in many things) that it is hard to pinpoint what might be wrong. If it helps, i am more than happy to look at your code and see if i can break it. Regards, and now christmas day is drawing to a close, merry new year :) James Cox -- [EMAIL PROTECTED] Please alway

RE: [PHP] Client side fatal PHP error

2001-12-25 Thread James Cox
ot;)){ do.. } What you are doing is executing the substr and strtoupper many times, which, on a slow connection which may have backlog (thus slower time for the html stream buffer to be delivered), it could timeout. More detail on a: the error, and b: the code *in context* would help. Regards

RE: [PHP] Looking for a function

2001-12-24 Thread James Cox
www.php.net/urlencode Merry Christmas! James Cox > -Original Message- > From: Valentin V. Petruchek [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 24, 2001 3:58 PM > To: PHP > Subject: [PHP] Looking for a function > > > Hello, cannot find function

RE: [PHP] How to parse an XML document

2001-12-23 Thread James Cox
http://www.php.net/manual/en/ref.xml.php HTH. James Cox > -Original Message- > From: PHP Rules [mailto:[EMAIL PROTECTED]] > Sent: 23 December 2001 10:15 AM > To: [EMAIL PROTECTED] > Subject: [PHP] How to parse an XML document > > > Hi fellas. > > I would

[PHP] fsockopen / fopen

2001-12-20 Thread James Cox
Anyone know what errno 0 is for fsockopen? Thanks, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . James Cox :: Senior Support Engineer Wherewithal, Inc. e: [EMAIL PROTECTED] Wherewithal. Capture Creative Connections

RE: [PHP] telneting sockets help..

2001-12-18 Thread James Cox
. \n"; } ?> Hope that helps, James Cox . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . James Cox :: Senior Support Engineer Wherewithal, Inc. e: [EMAIL PROTECTED] Wherewithal. Capture Creative Connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . > -

RE: [PHP] Delivering NAMED pdf files

2001-10-19 Thread James Cox
George, your best bet is to have a table in your database which looks up the name of the file, based on a more friendly name. James . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Politicalia admin and editor e: [EMAIL PROTECTED] :: w: http://www.politicalia.com/

RE: [PHP] Delivering NAMED pdf files

2001-10-19 Thread James Cox
can you paste the full text of the code as you have it? I don't see anywhere where you define the name of the file. James Cox . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Politicalia admin and editor e: [EMAIL PROTECTED] :: w: http://www.politicali

RE: [PHP] How to add a new color to JPEG

2001-07-10 Thread James Cox
; From: SED [mailto:[EMAIL PROTECTED]] > Sent: 11 July 2001 00:21 > To: 'James Cox'; [EMAIL PROTECTED] > Subject: RE: [PHP] How to add a new color to JPEG > > > How can I add colors to JPEG-palette? I never new It had a special > palette (until now :). > >

RE: [PHP] How to add a new color to JPEG

2001-07-10 Thread James Cox
hmm. If what I understand from your ImageColorClosest(); function, why don't you just add yellow to the palette? that way it can be found by the function, but isn't used in the image? HTH, James Cox apologies jeff for sending it twice to you :) > -Original Message-

[PHP] setting up / configuring mail()

2001-06-30 Thread James Cox
hey does anyone know any good resource sites or documents about configuring the mail services for php so it works? Thanks, James Cox. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . James Cox :: Creative Director :: AWP imaJes t: +44 (0)7968 349990 | f: +44 (0

RE: [PHP] file("http://www.php.net") error?

2001-06-28 Thread James Cox
You will also find that file(); may have been disabled - due to the possible security issues.. ie file ( /etc/shadow); or file (/etc/passwd); I believe that may apply to fopen, too. James -Original Message- From: atan [mailto:[EMAIL PROTECTED]] Sent: 23 June 2001 02:46 To: [EMAIL PROTE

RE: [PHP] Filtering out \ when a ' is user entered?

2001-06-27 Thread James Cox
I might be wrong, but if you did something like this.. would work quite well, I think. James Cox -Original Message- From: Marcus James Christian [mailto:[EMAIL PROTECTED]] Sent: 27 June 2001 05:19 To: [EMAIL PROTECTED] Subject: [PHP] Filtering out \ when a ' is user entered?

[PHP] Using php4.02 on IIS5

2001-03-19 Thread James Cox
Hey , I have been trying to set up some php applications on my local webserver, as part of a transition from asp to php. I have unzipped the php distro into it's own dir, added in the ini file, (left it at default setting) and then added the engine into IIS as described in the install document

Re: [PHP] try catch in php?

2001-02-26 Thread Jason Cox
No, PHP doesn't have the extensive error handling that Java does. It's a bit more like C. Jason - Original Message - From: "Jeff" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 26, 2001 6:30 PM Subject: [PHP] try catch in php? > Is there any equivalent java try cat

Re: [PHP] Copying Files to the Web Directory

2001-02-26 Thread Jason Cox
PHP runs as the webserver user which in most cases is user nobody. For PHP to write to a directory, it has to be writable to this directory. A possible solution would be to compile a PHP executable and run a script from cron to copy the files periodically. By using cron and a cgi-version of PHP

Re: [PHP] No GIF support in this PHP build???

2001-02-22 Thread jason cox
Are you trying to create images or just display images? If you're trying to create images using GD, you'll need to check the version of GD you have installed. If you have a newer version or don't have it installed at all, you won't be able to use that functionality. If you're trying to display

Re: [PHP] Why Arrays in Forms? ( Was "Accessing variables from a form" )

2001-02-21 Thread jason cox
You don't have to specify them as "PHP arrays". You can do something like: PHP will create the array for you. Jason --- Brian White <[EMAIL PROTECTED]> wrote: > Why do you have to specify multi-value fields in > HTML > forms specifically as PHP arrays? > > It seems incompatible with othe

Re: [PHP] image orientation/resizing images

2001-02-21 Thread Jason Cox
> At 17:48 21/02/2001 -0500, Jaxon wrote: > >Is there any way to take an image from the filesystem, say a .jpg or .png, > >and display it in a different orientation? e.g. 20 degrees to the right? > > At 17:18 21/02/2001 -0500, Dale Frohman wrote: > >Does anyone know of a way to resize images as t

Re: [PHP] Can someone tell me the command to enable ftp support on php4.03?

2001-02-21 Thread jason cox
I believe it's still --enable-ftp. Jason --- Brandon Orther <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to enable ftp can someone please remind > me what the command is? > > Thank you, > > > Brandon Orther > WebIntellects Design/Development

Re: [PHP] Is it possible to use CyberCash w/o MCK?

2001-02-20 Thread jason cox
Ben, In order to use the Cybercash functions in php, you must have php installed with cybercash support. You can't compile php with cybercash support without the MCK. If your provider won't do it, you could always compile a PHP cgi binary with the cybercash extensions(or find a different provid

Re: [PHP] Help!! IP functions!!!

2001-02-19 Thread Jason Cox
Use the variable $REMOTE_ADDR. It contains the request ip address. Jason - Original Message - From: "Bruno Freire" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 19, 2001 12:34 PM Subject: [PHP] Help!! IP functions!!! > Hi!! > > My name is Bruno, From Brazil!!!

Re: [PHP] Will this work?

2001-02-19 Thread Jason Cox
Hi, > "> > First Name: > Last Name: > E-mail Address: > > The form should work. > if(!IsSet($FirstName, $LastName, $Email)) > { > header("Location: http://www.SITE.com/error.php"); > exit; > } > else > { > header("Location: > http://www.SITE.com/thanks.php"); > exit; > } > ?> Th

[PHP] File Upload equiv. with Java/JSP

2001-02-14 Thread jason cox
Does anyone know the difference between file upload handling in PHP and with Java/JSP? An example of the Java equiv. would be most appreciated. I already know how to do it with PHP and am trying to do a bit of conversion. I'm interested more in the backend processing. thx, jason ___

Re: [PHP] file upload temp file is and isn't there

2001-02-13 Thread jason cox
Aaron, Are you processing the file on the page you're "posting" to? Could you send your processing code so we can have a look? If you're still having problems, I can send you an example. Jason --- "Aaron D. Turner" <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 >

Re: [PHP] Upload form

2001-02-13 Thread jason cox
Brandon, You can set a default value for a form field by doing something like the following: Hope that helps, Jason --- Brandon Orther <[EMAIL PROTECTED]> wrote: > Hello, > > This is off topic, but I have been working on it all > day with php and can't > seem to figure it out. Does anyone

Re: [PHP] Capturing Emails

2001-02-12 Thread jason cox
Ade, If you're running Unix/Linux, I would recommend using Procmail. It does the local delivery for mail. You would setup processing rules and can work with copies of emails for processing without disturbing delivery. Useful Procmail links Top site: http://www.ii.com/internet/robots/procmail/

Re: [PHP] Cannot get PHP w/GD to compile with Apache on RH

2001-02-12 Thread jason cox
Greg, I've done this many a time and haven't ever been able to do it from rpms. I install the gd stuff including libjpeg and libpng into the same directory. In my case it's /usr/local/gd. Then you should specify the path like --with-gd=/usr/local/gd . This has always worked for me. Jason --

Re: [PHP] how to alter assoc_array?

2001-02-10 Thread jason cox
I would just loop through the array and grab the key/value pairs and then add them to a new array as you modify them. Jason --- Jaxon <[EMAIL PROTECTED]> wrote: > Hi folks! > > If $array contains the following: > > boy => hello > girl => hi > dog => bark > > How can I alter all the elements t

Re: [PHP] PROBLEM TO CONNECT MYSQL...

2001-02-10 Thread jason cox
Felipe, You need to login with the root account to mysql and then issue the following commands where "user1" is the user that your modifying and "pass1" is the new password. after you've logged in successfully as root, issue the following commands: use mysql; update user set password=Password(

[PHP] It;s good to be back

2001-01-24 Thread jason cox
I've been off the list for a couple of months after having been on for 2 years and I must say, it's good to be back. Unfortunately, my latest job advancement left me using jsp/servlets but there's always hope... jason __ Do You Yahoo!? Yahoo! Auct