[PHP] Re: documentation to php 5

2002-07-21 Thread Richard Lynch
>the most difference between php 4 and php 5 is the new zend engine - right? Don't know. The changes are documented in the ChangeLog available in CVS at http://cvs.php.net and on pages linked from the home page of PHP http://php.net/ I reckon you can read them as well as I can. >As far as i kn

[PHP] Re: [PHP-DB] PHP4 Not Seeing PostgreSQL 7.2

2002-07-21 Thread Richard Lynch
>if the install directory /usr/local/pgql or /usr/local/pgsql > >What does your phpinfo() give for postgres? > > >> By the way, I have set the LD_LIBRARY_PATH and I have included >> /usr/local/pgsql/lib >> path in /etc/ld.so.conf. You should also do "ld_config" I think... I do that any time I mu

[PHP] Re: web-based survey form design : PHP & MySQL

2002-07-21 Thread Richard Lynch
> I am newbie in PHP. I am just learning the PHP >through tutorials and this mailing list. I have very >first goal of doing one project "Design web-based >survey" using PHP and MySQL. I would appreciate if >anybody give me some links that help to develope such >skills. Search the code archives l

[PHP] Re: No text in form submission

2002-07-21 Thread Richard Lynch
>Been working on trying to get form submission to work. > >Now have it so when click enter it e-mails me, but there is no text >subitted in the e-mail > >Any ideas? >$MailToAddress = "[EMAIL PROTECTED]"; >$MailSubject = "Group volunteer list"; >if (!$MailFromAddress) { >$MailFromAddress = "

Re: [PHP] Sessions without cookies : forms

2002-07-21 Thread Richard Baskett
You need to start the session before any html. So: Cheers! Rick "Too much caution is bad for you. By avoiding things you fear, you may let yourself in for unhappy consequences. It is usually wiser to stand up to a scary-seeming experience and walk right into it, risking the bruises as hard

Re: [PHP] PHP Security Advisory: Vulnerability in PHP versions4.2.0 and 4.2.1

2002-07-22 Thread Richard Baskett
Well from the sound of it, it's a quick painless process to upgrade php to the newest version using the patch. Can anyone that has done it comment on the complexities of the upgrade? Im just going on what it says on the php homepage... Rick "When you walk to the edge of all the light you have

Re: [PHP] PHP Interview questions

2003-08-26 Thread Richard Baskett
on 8/26/03 9:57 AM, Robert Cummings at [EMAIL PROTECTED] wrote: > This smells like a trick question... Are the switches connected to the > same light bulb? You've only mentioned one light bulb? 8) > > Cheers, > Rob. > > > On Tue, 2003-08-26 at 12:35, Jay Blanchard wrote: >> Also ask a couple of

Re: [PHP] webserver for mac

2003-08-26 Thread Richard Baskett
on 8/26/03 10:50 AM, Edward Peloke at [EMAIL PROTECTED] wrote: > Hello all, > > I am doing some php work for a local company who uses a mac. I was telling > them that I use apache as my webserver and they want to know what they can > use as their webserver. I know nothing about Macs and don't t

[PHP] session_start() : read failed: Value too large for defined datatype (75) ...

2003-08-28 Thread Richard NAGY
vance. -- *** Richard NAGY Nameshield 46, rue Jean BODIN F-49000 Angers Tél : +33 2 41 18 28 28 *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP Interview questions

2003-08-28 Thread Eyles, Richard
know which one performs which way. What is the one question that you can ask that will let you know which way is the way to Utopia? [/snip] Which road would the other man point to if I asked him the way to Utopia? Then take the other road! Cheers Richard -- Richard Eyles Principal Pharm

[PHP] PEAR

2003-09-04 Thread Richard Baskett
Ok I have loaded the new version of php 4.3.3, but now how in the world do I enable PEAR? I have a couple of scripts that just call a pear php script, but it says it doesn¹t exist.. does this mean that I need to change the include path? How do I include all those pear classes? Thanks! Rick "Too

Re: [PHP] Is there an issue using sessions with IE/Mac?

2003-09-09 Thread Richard Baskett
on 9/9/03 9:33 AM, Matt MacLeod at [EMAIL PROTECTED] wrote: > I've built a log in system which sets the user's id as a session if > succesfully logged in. However, a user on IE5/Mac tells me that the site > logs her out even though she has entered the correct login details. I > have tried using he

Re: [PHP] Is there an issue using sessions with IE/Mac?

2003-09-09 Thread Richard Baskett
on 9/9/03 11:46 AM, Lowell Allen at [EMAIL PROTECTED] wrote: >> I've built a log in system which sets the user's id as a session if >> succesfully logged in. However, a user on IE5/Mac tells me that the site >> logs her out even though she has entered the correct login details. I >> have tried usi

[PHP] PHP Bug Problems

2003-10-01 Thread Richard Baskett
Well I saw a post on a forum talking about a certain bug that PHP has for Mac OS X.. so I thought.. Im on OS X, I should see if that bug is real since on bugs.php.net they say it's bogus which you can view here: http://bugs.php.net/bug.php?id=25394 So I tried it out.. at first I created a loop th

Re: [PHP] Testing Variables

2003-10-01 Thread Richard Baskett
on 10/1/03 8:23 PM, Gerard Samuel at [EMAIL PROTECTED] wrote: > I've noticed code written in this order -> > if (FALSE === $foo) > { > // yada yada > } > > Is there a reason/benefit to test variables like that instead of -> > if ($foo === FALSE) > { > // yada yada > } > > Thanks I think it'

Re: [PHP] PHP Bug Problems

2003-10-02 Thread Richard Baskett
on 10/2/03 5:12 AM, Jay Blanchard at [EMAIL PROTECTED] wrote: > [snip] > > So I tried it out.. at first I created a loop that assigned $x = 1; a whole > bunch of times, but that didn¹t crash anything.. .. 7996 > > Well to make an already long story short.. it looks like after a couple of > hours

Re: [PHP] PHP Bug Problems

2003-10-02 Thread Richard Baskett
on 10/2/03 7:00 AM, Jay Blanchard at [EMAIL PROTECTED] wrote: > [snip] >> Because it is not a bug, it is bad code design! 8000+ lines of $x = 1; is >> just >> downright goofy! Did you happen to try it with 8000+ repeated blocks of any >> other type? My bet is that it would quit then too. > > Yeah

[PHP] Re: PHP Bug Problems

2003-10-02 Thread Richard Baskett
on 10/1/03 7:50 PM, Richard Baskett at [EMAIL PROTECTED] wrote: > Well I saw a post on a forum talking about a certain bug that PHP has for Mac > OS X.. so I thought.. Im on OS X, I should see if that bug is real since on > bugs.php.net they say it's bogus which you can view h

Re: [PHP] Re: your method for validating forms

2003-10-02 Thread Richard Baskett
on 10/2/03 2:05 PM, Chris W. Parker at [EMAIL PROTECTED] wrote: > Robert Cummings > on Thursday, October 02, 2003 12:15 PM said: > >> Heeey, a great little response like this to see an alternative >> to a popup and no link for us to check it out *pffft

Re: [PHP] PHP Bug Problems

2003-10-06 Thread Richard Baskett
on 10/2/03 7:00, Jay Blanchard at [EMAIL PROTECTED] wrote: > [snip] >> Because it is not a bug, it is bad code design! 8000+ lines of $x = 1; is >> just >> downright goofy! Did you happen to try it with 8000+ repeated blocks of any >> other type? My bet is that it would quit then too. > > Yeah no

[PHP] Variable Nightmare

2003-10-08 Thread richard cook
Hi all, I have a problem that I cant solve, any help would be welcomed! I have a form which is repeated by a for loop, the form has one element an input field. The problem im having is the name of this field for example ive used the following to name it: for loop here } So the input name

Re: [PHP] Recomended Shopping Carts

2003-10-09 Thread Richard Baskett
on 10/9/03 15:27, Adrian Esteban Madrid at [EMAIL PROTECTED] wrote: > I need to setup a shopping cart (SP) for a client and time/budget calls > for a premade SP. I've checked hotscripts.com and google and it seems to > me that there are as many SP in PHP as CMS or Frameworks in PHP, in > other wor

[PHP] Creating a Search field

2003-10-09 Thread richard cook
Sorry all I know this isnt really a 100% PHP matter but someone may be in the know here. Ive been trying for ages without success to create a search field for my mysql database using php. I need to create a feature that allows users to enter certain words that can be searched ie search = 'red li

[PHP] Anyone know a way of converting a timestamp value into something readable?

2003-10-14 Thread richard cook
Thank you R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] error reporting

2003-10-16 Thread Richard Baskett
If I use: ini_set("error_reporting", 0); ini_set("display_errors", 0); It still shows the errors.. if I use the error_reporting function.. it still shows the errors, no matter what I do.. it still shows the errors! What am I missing? I have it set in the php,ini to show errors, but I want to be

Re: [PHP] error reporting

2003-10-16 Thread Richard Baskett
on 10/16/03 16:51, John W. Holmes at [EMAIL PROTECTED] wrote: > Richard Baskett wrote: >> If I use: >> >> ini_set("error_reporting", 0); >> ini_set("display_errors", 0); >> >> It still shows the errors.. if I use the error_reporting f

Re: [PHP] error reporting

2003-10-16 Thread Richard Baskett
on 10/16/03 16:51, John W. Holmes at [EMAIL PROTECTED] wrote: > Richard Baskett wrote: >> If I use: >> >> ini_set("error_reporting", 0); >> ini_set("display_errors", 0); >> >> It still shows the errors.. if I use the error_reporting f

Re: [PHP] Hanmir I'm gonna kill you, you son of a..........

2003-10-16 Thread Richard Baskett
on 10/16/03 18:35, Ryan A at [EMAIL PROTECTED] wrote: > Has this crap from hanmir started again? > Everytime I post to the list i get that @[EMAIL PROTECTED]@# letter from there > telling me > his mailbox if full. > Nearly every 2 weeks the mods kick the SOB out but he or someone else from > that

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Richard Baskett
on 10/21/03 16:40, David T-G at [EMAIL PROTECTED] wrote: > Marco, et al - > > ...and then Marco Tabini said... > % > % Well, one of my original ideas was to have a process that would monitor > % php.general for new messages and send back an e-mail to the list with > % possible answers based on t

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-22 Thread Richard Baskett
on 10/22/03 13:32, David T-G at [EMAIL PROTECTED] wrote: > Richard, et al -- > > ...and then Richard Baskett said... > % > % on 10/21/03 16:40, David T-G at [EMAIL PROTECTED] wrote: > % > % > ...and then Marco Tabini said... > % > % > % > % php.general for

[PHP] Array Hell

2003-10-23 Thread Richard Cook
Hi All, Im having a headache trying to sort this out... I have my array which is created each time a user adds an item to my basket, this all works fine. The problem im having is that when the user adds the item to the cart they have the option of selecting '0' as the quantity which in effect

[PHP] Re: link question

2003-10-23 Thread Richard Cook
nextpage.php?recordset= then use the value of recordset to link back to that information on the next page. Is that what you mean? Regards R "Davy Campano" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I have a php page that makes a table from data in a mySQL database. What I

Re: [PHP] Code optimization: single vs. double quotes?

2003-10-24 Thread Richard Baskett
on 10/24/03 0:47, Nathan Taylor at [EMAIL PROTECTED] wrote: > I am a recent fan of the single-quotes. I used to use double only but when > some gurus told me the disadvantages I converted my entire project over to > single quotes. Single quotes are ideal because as far coding goes it greatly > d

Re: [PHP] New line characters and carriage returns

2003-10-24 Thread Richard Baskett
on 10/24/03 10:00, Jonathan Villa at [EMAIL PROTECTED] wrote: > ok, I see, I have to use double quotes around it... > > why is that? Because they actually have to be evaluated.. when they are in single quotes php thinks they are the string \r\n and not newline or carriage returns that they are w

[PHP] Ive lost a zero somewhere

2003-11-05 Thread Richard Cook
I have a problem with the following when i multiply for example 25 . 50 * 3 i get 76 . 5 how would i get PHP to recognise the last 0 ie make it 76 . 50 Any ideas? Regards R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ive lost a zero somewhere

2003-11-05 Thread Richard Cook
Christ that was quick! Cheers - Original Message - From: "Martin Towell" <[EMAIL PROTECTED]> To: "'Richard Cook'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, November 06, 2003 3:04 AM Subject: RE: [PHP] Ive lost

Re: [PHP] Re: High bandwidth application tips

2003-11-07 Thread Richard Baskett
on 11/7/03 12:08, rush at [EMAIL PROTECTED] wrote: > "Luis Lebron" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> I have been coding php for a few years now, but I haven't build a "high >> bandwidth" application. I am currently working on an application for a >> customer that may

Re: [PHP] encyption using sha1?

2003-11-21 Thread Richard Cook
Many thanks, youre right about those curl ones...lol R - Original Message - From: "Nigel Jones" <[EMAIL PROTECTED]> To: "Erin" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, November 21, 2003 10:20 AM Subject: RE: [PHP] encyption using sha1? > Last Message Messed Up So here

Re: [PHP] looking for some software (helpdesk, intranet)

2003-11-21 Thread Richard Baskett
on 11/21/03 15:49, Chris W. Parker at [EMAIL PROTECTED] wrote: > Hey everyone, > > I just googled, freshmeated, and sourceforged but didn't find anything > good (or what I thought to be good that was free). > > I'm looking for some helpdesk software and some intranet software with a > MySQL back

[PHP] Detecting Server API (CGI or Apache) at runtime?

2003-11-23 Thread Richard Cyganiak
code on both server APIs, that would solve my problem too. Thanks in advance, Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Detecting Server API (CGI or Apache) at runtime?

2003-11-25 Thread Richard Cyganiak
"Richard Cyganiak" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > is there a way to tell at runtime if PHP is running as an Apache module or > through CGI? Replying to myself ... I found the answer, there's a function php_sapi_name() for this purp

[PHP] Friendly dates

2003-12-01 Thread Richard Davey
someone knows/has a quick way to do this? -- Best regards, Richard mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] header("Location: page.php") not redirecting

2003-12-01 Thread Richard Davey
e if a header has been sent without you perhaps realising it (an extra space before a PHP tag perhaps) http://www.google.com/'); exit; } ?> Ideally you should exit after the header is finished. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP G

Re: [PHP] Refreshing in forms using post

2003-12-01 Thread Richard Davey
thusiasm, but you've already done this!") :) -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Working as a PHP/database developer..

2003-12-01 Thread Richard Davey
se to VPeO> hiding code (from these web designers and web admins.) as VPeO> compiled software is hidden from end users. So compile it :) -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Picture Width and Height in $_FILES

2003-12-01 Thread Richard Davey
manual for details. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Upload issue - The 2MB barrier...

2003-12-02 Thread Richard Davey
If so you can over-ride the upload_max_filesize setting in that without messing up any other user on the server. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] replace %rand[x]-[y]% macro in string with random string

2003-12-02 Thread Richard Davey
il address contains? Surely just creating a truly random string would suffice (and indeed remove the need for the rather elaborate function you posted). I fully accept I might be missing the whole point here :) -- Best regards, Richardmailto:[EMAIL PROTECTED] --

Re: [PHP] " " in a Variable

2003-12-02 Thread Richard Davey
rks, and not a blank space, use the function htmlspecialchars() to convert the double quotes into PHP and SQL friendly HTML entities. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] refresh data

2003-12-02 Thread Richard Davey
t remove this part? // this part happens if we don't press submit if (!$id) { -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: refresh data

2003-12-03 Thread Richard Davey
Hello BigMark, Wednesday, December 3, 2003, 6:29:41 AM, you wrote: B> Nope that didnt work! You need to remove the fact the list is inside the check for the $submit value too. Same sentiment as before. -- Best regards, Richardmailto:[EMAIL PROTECTED] --

Re: [PHP] function problems...

2003-12-03 Thread Richard Davey
> of eyes would help. Thanks in advance. J> if (($lvl != "admin") || ($lvl != "user") || ($lvl == "view")) { I'm pretty sure this need to be: $lvl !== "admin" (Note: double equals sign) -- Best regards, Richard

Re: [PHP] File - Success Warning Message

2003-12-04 Thread Richard Davey
a delimeter (the first value). Try setting it to \n or something? -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File - Success Warning Message

2003-12-04 Thread Richard Davey
a string from an array. Your web page is not an array! The "Bad arguments" warning is trying to tell you this. That is why $_html is empty. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] related products, how to's best practices

2003-12-04 Thread Richard Davey
categories. You can't have them in a drop-down (well, technically you could, but this isn't a PHP issue anymore, it's a user-interface one). -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] related products, how to's best practices

2003-12-04 Thread Richard Davey
and no-one has to admin anything. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] related products, how to's best practices

2003-12-04 Thread Richard Davey
over 200 of them. Create a drop-down list with 200 options and view it in a browser. The phrase "pain in the ass to select from" springs to mind. Besides, if you let them search they could tick and add all 3 related at once. -- Best regards, Richardm

Re[2]: [PHP] related products, how to's best practices

2003-12-04 Thread Richard Davey
anyone got JB> anything that might help me (code, tute, urls etc) as I'm not having JB> much luck with google ?? http://www.mattkruse.com/javascript/ -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re[2]: [PHP] International Addresses and Telephones

2003-12-04 Thread Richard Davey
BS15 7HL for example. Some postcodes might be longer/shorter. To find out this info for every country will take ages.. just drop to the lowest common denominator :) hello VARCHAR(20) (or maybe more depending on some countries?!) -- Best regards, Richardmailto:[EMAIL

Re: [PHP] DB / Tables Question

2003-12-04 Thread Richard Davey
then it's not the most efficient way to do it. If on the other hand you'll only never need to make a few, then it's probably simpler to do this than restructure the existing tables. That way you can back-up a clients database, or deny them access to it, easily and without effecting t

Re: [PHP] PHP, MySQL and datetime

2003-12-04 Thread Richard Davey
e() function). If you need to convert more esoteric formats, or do date handling from within PHP before sending to MySQL then use the strtotime function combined with the date(). Unless you meant something else of course? :) -- Best regards, Richardmailto:[EMAIL PROTECTED

[PHP] hmm.. anyone else get a "friendly" message from Kenneth Uzzi?!

2003-12-04 Thread Richard Davey
Hmm.. I swear I get more spam and crap-mail thanks to posting to this list than from anywhere else! Did anyone else get a wonderfully abusive message from one bonehead "kenneth uzzi <[EMAIL PROTECTED]>"? as a result of posting here? -- Best regards, Richard

Re[2]: [PHP] What do you say to someone who says...

2003-12-04 Thread Richard Davey
Thursday, December 4, 2003, 8:21:44 PM, you wrote: CJWH> Please tell me in what world is 6 figures considered cheap?? A Japanese one? :) Although mind you, that's still not exactly "cheap" being at least just over $9200. -- Best regards, Richard

Re: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Richard Davey
few months before. Mind you - that's because they knew who I was. You ought to group your baskets into "anonymous" and "owned". Keep the owned ones for weeks, if not months, and the anonymous ones shorter. 1 week at the most? -- Best regards, Richard

Re: [PHP] What is PHP equivalent to JavaScript's charAt()....

2003-12-04 Thread Richard Davey
o knowing 100% what charAt() does) - but most likely strpos(). -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Web Services

2003-12-04 Thread Richard Davey
_012502.pdf -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Check type of uploaded file

2003-12-06 Thread Richard Davey
in advance. Yes, check the $_FILES['userfile']['type'] after upload. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] for statement weirdness, no echo

2003-12-09 Thread Richard Davey
this morning? Look at your values being compared :) -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Operator question

2003-12-09 Thread Richard Davey
es $b will equal -10. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Richard Davey
sues, but the scale of them depends on factors outside of PHP/MySQL. I personally would investigate an alternative location to store them. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] header, also stumped

2003-12-10 Thread Richard Davey
t will) then the issue is with your servers configuration, not your code. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Undefined variable using hyperlink

2003-12-10 Thread Richard Davey
s me. P> Right now this is running on my Windows 2000 Pro machine. At the start of body.php try adding this: $msgid = $_GET['msgid']; -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] HTML Form with method="POST" and enctype="multipart/form-data" is not working for passing data to the web server.

2003-12-10 Thread Richard Davey
$_FILES['file1']['name'] etc See Chapter 18 of the PHP manual. p> Unable to open '' for reading: No such file or directory in p> /home/httpd/html/fai/test1.php3 on line 12 Yeah, you can't copy "nothing" :) -- Best regards, Richard

Re[2]: [PHP] Undefined variable using hyperlink

2003-12-10 Thread Richard Davey
my question, just making sure. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] ARRAY

2003-12-10 Thread Richard Davey
xt into the browser (which is quite common) then I strongly suggest you wrap it with some tags. You'll understand why when you try it. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] HTML Form with method="POST" and enctype="multipart/form-data" is not working for passing data to the web server.

2003-12-10 Thread Richard Davey
Hello Jason, Thursday, December 11, 2003, 12:29:07 AM, you wrote: >> You should have set the max_file_size here, but it's not included. JW> Why? (see archives). Because it's good practise, not to mention sensible? -- Best regards, Richardmail

Re[4]: [PHP] HTML Form with method="POST" and enctype="multipart/form-data" is not working for passing data to the web server.

2003-12-10 Thread Richard Davey
in the context of the OP's problem it does nothing to help. As does your reply ;) In the original context, it was only part of my message. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What is a XSS attacks?

2003-12-12 Thread Richard Davey
Hello orlandopozo, Saturday, December 13, 2003, 12:04:02 AM, you wrote: oicv> What is a XSS attacks? Cross Site Scripting Attack I think. Like when people insert malicious HTML/JS code into your site as a result of your code not checking inputs properly. -- Best regards, Rich

Re: [PHP] PHP IDE?

2003-12-13 Thread Richard Davey
ted on FrontPage :) -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with adding quotations to a mysql insert statement

2003-12-15 Thread Richard Kurth
I need to add extra quotation marks in to the following insert command for mysql. I need one that is part of the info right before the |$wrapper resend and right after the $outgoing,nobody $query = "insert into majordomoaliases (domain,listname,var,address1,address2)values (/"$domname/",\"$listnam

[PHP] searching and replacing in a file

2003-12-15 Thread Richard Kurth
How can I read through a file and find a string and then replace it with a new string and then save the whole file. Below is a peace of what I need to search through. I need to find the string subscribe_policy = open and replace it with subscribe_policy = open+confirm. Then save the whole file. I

[PHP] searching and replacing in a file

2003-12-15 Thread Richard Kurth
How can I read through a file and find a string and then replace it with a new string and then save the whole file. Below is a peace of what I need to search through. I need to find the string subscribe_policy = open and replace it with subscribe_policy = open+confirm. Then save the whole file. I

[PHP] Help with where clause

2003-12-16 Thread Richard Kurth
I need to know how I can do a where clause in a select statement for mysql where one of the fields can have two solutions. In the example below field3 needs to equal all with a and also all with b. Can this be done and if so how. I am stumped on this one. select * from table where field1= '$this'

Re: [PHP] mysql update query

2003-12-19 Thread Richard Davey
E> The query executes successfully, but nothing happens to the database... all E> connections etc are in place. Have you tried placing quotes around the values? The timestamps should be ok, but the price with the decimal place will almost certainly need them. -- Best regards, Richard

[PHP] Variable variables

2003-12-23 Thread Richard Baskett
Ok I am trying to create a variable from the value of a variable plus some extra text tagged on the end of it. So for example: $test = '_over'; $$CONFIG['island'].$test = 'testing'; echo "hawaii = $hawaii_over"; How can I do this? Im sure it's possible, but it just is not working for me :( Than

Re: [PHP] Variable variables

2003-12-23 Thread Richard Baskett
on 12/23/03 11:04, John W. Holmes at [EMAIL PROTECTED] wrote: > Richard Baskett wrote: >> Ok I am trying to create a variable from the value of a variable plus some >> extra text tagged on the end of it. >> >> So for example: >> >> $test = '_o

Re: [PHP] need a little help all

2003-12-28 Thread Richard Davey
a cookie once the headers have gone for use in the same page session. This isn't a PHP setting, it's just not possible. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Still Racking My Brain

2003-12-30 Thread Richard Davey
; // The following works, except that all the image links are broken because the directory is wrong readFile("$dirName\imageIndex.html"); ?> -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Having problems with a while loop

2004-01-01 Thread Richard Kurth
Way does this while loop not work. It does not read anything in the file. If I add ! in front of feof it will just loop forever but still it will not read the next line in the file. The file has two lines in it that look like this. tester3:$1$09BZpdge$b7TQcsYSsAP1hgiCuCWtS1 tester5:$1$5eq3i75D$X

Re[2]: [PHP] Having problems with a while loop

2004-01-01 Thread Richard Kurth
Ok I changed it to look this way but it still is not working $filenum="test"; $fpHt = fopen($filenum, "r"); while(feof($fpHt)) { $fpLine = fgets($fpHt,512); $fpLine = trim($fpLine); $fpData = explode(":", $fpLine); $fpData[0] = trim($fpData[0]); echo $fpData[0]; } And no I am just reading a .htp

Re[3]: [PHP] Having problems with a while loop

2004-01-01 Thread Richard Davey
Hello Richard, Thursday, January 1, 2004, 5:56:35 PM, you wrote: RK> Ok I changed it to look this way but it still is not working RK> $filenum="test"; RK> $fpHt = fopen($filenum, "r"); RK> while(feof($fpHt)) { RK> $fpLine = fgets($fpHt,512); RK> $fpLine

Re: [PHP] example of posting board or shoutbox

2004-01-03 Thread Richard Davey
ox&catid=2 -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with using php at the command line with mysql

2004-01-05 Thread Richard Kurth
I am using PHP to do some command line work on a Linux box. I keep getting this error and can not figure out way. Is there something I am missing because this should work. There is a copy of the code at the bottom of this message. Warning: mysql_fetch_array(): supplied argument is not a valid MyS

Re: [PHP] Counting back 90 days...

2004-01-05 Thread Richard Davey
ot;, strtotime("-90 day")); -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Counting back 90 days...

2004-01-05 Thread Richard Davey
or you. There are many variations you can use in it, it's a very powerful command indeed and takes everything into consideration re: leap years, rollovers, etc. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/)

Re[2]: [PHP] Counting back 90 days...

2004-01-05 Thread Richard Davey
;) will get you a -1, and the date() PC> function appears to support negative timestamps ... which means you PC> can't skimp on your testing if you decide to go this route. ;-) True, but given his original requirement "I wanna remove 90 days from todays date" that should

Re: [PHP] Retrieve key from $_POST

2004-01-05 Thread Richard Davey
wise, you can't. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [Fwd: failure notice] Why??

2004-01-05 Thread Richard Davey
? (I do and post via their SMTP server). -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie with sorting problem

2004-01-06 Thread Richard Davey
mysql_query( "SELECT id, name, surname, address FROM addresses WHERE name LIKE 'a%' ORDER BY name DESC"); Will list all names starting with the letter A, in alphabetical order. -- Best regards, Richardmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] str_replace to ignore commas

2004-01-06 Thread Richard Davey
earching for, let's Nowhere in your replacement array do you check for, or remove, carriage returns. Add this \n to it: $replacement = array("\"", "\,", ".", "!", "?", "\n"); Your exploded array should now be correct. -- Be

<    5   6   7   8   9   10   11   12   13   14   >