Re: [PHP] Htmlentities and Newlines?

2002-09-28 Thread Andre Dubuc
On Saturday 28 September 2002 09:13 pm, John W. Holmes wrote: > > -Original Message- > > From: Andre Dubuc [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, September 28, 2002 9:14 PM > > To: [EMAIL PROTECTED]; 'Sascha Cunz'; [EMAIL PROTECTED] > > Subj

[PHP] Using PHP to create tables?

2002-10-02 Thread Andre Dubuc
script I've created: Sorry for the real 'newbie' question here, but this is something I've never done, so I'm going in totally blind. I'd greatly appreciate any advice concerning what to do, or watch out for. Tia, Andre -- PHP General Mailing List (http://www.p

Re: [PHP] Using PHP to create tables?

2002-10-02 Thread Andre Dubuc
Hi Andrew, Oh, I feel SO stupid! I 'forgot' that line in my code! Sigh . . . I've just got a big serving of humble-pie! I probably would have stared at that code for hours without noticing it. Thanks! (btw, nice name, eh?) Regards, Andre On Wednesday 02 October 2002 0

[PHP] Getting the "From: admin@site.com" to work

2002-10-26 Thread Andre Dubuc
ESSION['unique_id']}"; if(@mail($to, $from, $subject, $message)) *** If I remove the $from everything works but with my IP's 'From: ' Where should the $from variable go in the mail() function? Any hints or ideas gratefully appreciated, Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Getting the "From: admin@site.com" to work

2002-10-26 Thread Andre Dubuc
the "To:" field. Thanks for clearing that up. Regards, Andre On Saturday 26 October 2002 04:42 pm, John W. Holmes wrote: > [snip] > > > if(@mail($to, $from, $subject, $message)) > > Go back to the manual. The parameters for mail are > mail(to,subject,message,header

[PHP] File Upload - Dwindling connection

2002-10-30 Thread Andre Dubuc
dwindle and die like this? I can upload/download anywhere else except with this code. I'm using a Unix box, as well s my IP. Directory/file permissions are OK and set to 755. Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Viewing jpegs problem

2002-11-08 Thread Andre Dubuc
help where to look would be greatly appreciated. Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Errant include file works everywhere but here

2002-11-09 Thread Andre Dubuc
cement: . . . . . . Snippet of 'End' placement: . . . Any ideas of what's going wrong? And why only these two files exhibit this behavior? Btw, the code of the two pages is exactly similar to all others that work OK. (Only the text is changed). Any help of what might be

[PHP] Modifying the sort order of a query

2002-06-05 Thread Andre Dubuc
ot;SELECT * FROM rap ORDER BY rcountry,rcity,rsname,rfname DESC LIMIT 30 OFFSET 30"; } //more code, including paging functions ?> Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Reme

Re: [PHP] Modifying the sort order of a query

2002-06-05 Thread Andre Dubuc
e to re-write using switch functions to clarify exactly what I want it to do. Regards, Andre On Wednesday 05 June 2002 09:43 pm, you wrote: > My understanding was that he wanted to see the same 30 rows, but sorted in > a different way. > > For instance, he wanted to see entries 30-60 as

Re: [PHP] Modifying the sort order of a query

2002-06-05 Thread Andre Dubuc
result set' -- I'm not clear how to achieve this. From the query results, how would I extract that info, for the current page, if my id column is 'rid', and I'm using $_SESSION['rid']? Regards, Andre On Wednesday 05 June 2002 10:15 pm, you wrote: > >

Re: [PHP] Modifying the sort order of a query

2002-06-05 Thread Andre Dubuc
;ve resolved today!) So, that's what I'm trying to do. The page I'm working on is a protype for about three other similar ones. Regards, Andre On Wednesday 05 June 2002 10:22 pm, you wrote: > What do you mean it'll "trash the current paging" ?? Can you give

Re: [PHP] Modifying the sort order of a query

2002-06-05 Thread Andre Dubuc
re-paginating the whole thing. I'll probably have to do it ONLY on the first page, and not offer a continuous option on every page. [Btw, nothing is public yet . . . I'm still putting the pieces together -- hopefully sometime in September.] Further, I've changed most of the code

Re: [PHP] Modifying the sort order of a query

2002-06-05 Thread Andre Dubuc
#x27;ll work. Thanks for the advice, Regards, Andre On Wednesday 05 June 2002 11:37 pm, you wrote: > Andre > > Don't know how useful this will be to you .. but was following thru this > and thought why wouldn't you include a page with a switch statement or the > like into

Re: [PHP] Modifying the sort order of a query

2002-06-06 Thread Andre Dubuc
Thanks Jay, Well, I went back to work on it, and with the combined suggestions from the list, it's working now. I just had to insert the sub-select on the called page as well. That seemed to be the problem. Thanks for your suggestion -- I used part of it. Regards, Andre On Thursday 06

Re: [PHP] How can i resize images after upload?

2002-06-06 Thread Andre Dubuc
size. Perhaps I am missing something, but after struggling with resizing, I remembered that the image file automatically resizes itself to whatever size or shape you put it in -- especially jpg/jpeg and tiff. Hth, Andre On Thursday 06 June 2002 09:05 pm, you wrote: > On Thu, 6 Jun 2002 23:44:0

[PHP] Switching from HTTPS to HTTP using PHP?

2002-06-10 Thread Andre Dubuc
y to "get out of" or "turn off" https once it has been initiated -- using PHP? Since I have limited or no experience with https, any pointers, advice, or admonitions would be greatly appreciated. And they say, "Ignorance is bliss" -- I'm not too sure about that

Re: [PHP] Switching from HTTPS to HTTP using PHP?

2002-06-10 Thread Andre Dubuc
https would be in it.) Sigh . . . more reading to do :> Regards, Andre On Monday 10 June 2002 02:28 pm, you wrote: > Isn't it just an issue of whether you call http: or https: ? > > -Original Message- > From: Andre Dubuc [mailto:[EMAIL PROTECTED]] > Sent: Monday,

Re: [PHP] Switching from HTTPS to HTTP using PHP?

2002-06-10 Thread Andre Dubuc
t;know" that another protocol was requested. That should fix things, thanks for the explanation. Regards, Andre On Monday 10 June 2002 03:48 pm, you wrote: > I'm pretty sure it's just an issue of using HTTPS for encrypted pages and > HTTP for unencrypted. For example

[PHP] Extracting from an Array

2002-06-12 Thread Andre Dubuc
f the last part of the array, i.e.: '-Y'. Is there a way of extracting all characters in that array? I've tried a bunch of combinations, but I obviously don't understand the basic mechanics of array manipulation or 'slicing'. If someone could point me to a good resource

Re: [PHP] Extracting from an Array

2002-06-12 Thread Andre Dubuc
string as varchar it does this. I've no problem extracting various parts of a date from type 'date' but this wierd date-thingy. . . how I wish I didn't need it as varchar. Anyway, thanks -- I plug away at it. Regards, Andre On Wednesday 12 June 2002 07:09 pm, you wrote: &

Re: [PHP] Extracting from an Array

2002-06-12 Thread Andre Dubuc
as varchar in the format of "Session is closed". Now if I wanted to extract the last part: 'closed' what I've tried wouldn't work. It would give me: "c" -- how would I get the rest of the characters? Thanks for the advice, Regards, Andre On Wednesday 12 Ju

Re: [PHP] Extracting from an Array

2002-06-12 Thread Andre Dubuc
now why this doesn't work: how I can extract the last few characters from the array. Regards, Andre On Wednesday 12 June 2002 09:34 pm, you wrote: > I don't understand why you keep referring to the string as an array in a > session variable. Can you show me how you are issuing th

Re: [PHP] Extracting from an Array

2002-06-14 Thread Andre Dubuc
Hi John, Sorry about the delayed mail. Anyway, I kept at it, and debugged every line with no success. Finally, I rewote it, and it worked?? [Sigh . . . one of those days :>] Thanks again for all your help. Regards, Andre On Thursday 13 June 2002 11:28 pm, you wrote: > Step throug

Re: [PHP] Checking for NULL value in Database

2002-06-18 Thread Andre Dubuc
g for me do to a 'vacuum' of the db. Once I cleaned up the database, everything worked as expected. I guess I should vacuum more frequently? Btw, you wouldn't happen to know any 'timer' script that I can program for seconds? Regards, Andre On Tuesday 18 June 2002 03:5

[PHP] Limiting text inputs by character count?

2002-06-23 Thread Andre Dubuc
eatly appreciated. Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the Holy Souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet: http://www.webhart.net/csrb/ -- PHP General Mailing List

Re: [PHP] Limiting text inputs by character count?

2002-06-23 Thread Andre Dubuc
Thanks Peter, That'll fix it. Regards, Andre On Sunday 23 June 2002 10:04 pm, you wrote: > for standard text input use > > that will > only allow 10 characters > > not sure if that will also work for text area's > > -Original Message- > From:

[PHP] Word Count function?

2002-06-24 Thread Andre Dubuc
re-invent the wheel . . . Any ideas, suggestions where to look would be appreciated. Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the Holy Souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural

Re: [PHP] Word Count function?

2002-06-24 Thread Andre Dubuc
Thanks Dan, Does the job neatly! Regards, Andre On Monday 24 June 2002 06:01 pm, you wrote: > Andre: > > On Mon, Jun 24, 2002 at 05:29:16PM -0400, Andre Dubuc wrote: > > Is there a function that counts the number of words in a string? > > I don't recall there bei

Re: [PHP] ./configure with register_globals turned on?

2002-07-05 Thread Andre Dubuc
t want to run a test to see if globals are really 'on' or 'off' -- I really don't trust the phpinfo() output! Not much help, but hth Andre On Friday 05 July 2002 01:36 pm, you wrote: > I give up! It still won't turned on! I tried stopping and restarting > A

[PHP] How to set focus in a form field

2002-07-11 Thread Andre Dubuc
27;d like it to. Any ideas, suggestions, or admontions gratefully accepted. Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to set focus in a form field

2002-07-11 Thread Andre Dubuc
> This is JAVASCRIPT problem because it is on the client end. Thanks to everyone who responded. I sort of thought it would be a 'Client-side' problem. Oh well, since I'm not prepared to use any javascript, I guess I'll have to live with it. Sigh . . . Thanks again, An

Re: [PHP] Strong Web Hosts in Canada?

2002-07-17 Thread Andre Dubuc
Hi Dan, Try http://www.hub.org. Hth, Andre On Wednesday 17 July 2002 02:23 am, you wrote: > Hi Folks: > > A client of mine has a large series of high traffic, PHP/MySQL intensive > websites. They're looking for dedicated hosting in Canada. Any > recommendations? > >

Re: [PHP] Loading a File into Variable - How??

2002-07-18 Thread Andre Dubuc
Hi Monty, I've been trying to do the same thing with no success. Would you be so kind as to show me how you finally did it? I'm not too clear what you meant by: "So, if I replace the filesize($filename) command with a hard-coded number, it works." Tia, Andre On Thursda

RE: [PHP] anyway to return more than one value?

2003-11-05 Thread Andre Volmensky
[snip] .. if you spend some time moving closer to the object oriented approach (php classes in this case) you may find that the development could be much more clear and easy ... and then will never come back to the functional/procedural way of programming [/snip] I have been interested in learn

RE: [PHP] help create community newbie guide to security

2003-11-12 Thread Andre Volmensky
anything about register_globals? - Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] help create community newbie guide to security

2003-11-12 Thread Andre Volmensky
cript without you allowing it. You HAVE to specify which variables are going to be passed from a form etc. If you code properly, you could get away with turning register_globals on, but this requires you to be very careful when thinking about the logic of your code. Hope this helps. - Andre -

[PHP] Limiting repetitive file access

2003-11-15 Thread Andre Dubuc
Hi, Recently, a 'user' attempted to access a restricted area of my site repetitively (spanning five hours) entering the same url repetitively [probably by script]. A massive log file was generated. I would like to ban such behavior by limiting the number of successive 'get's a user can do (say

Re: [PHP] Re: Limiting repetitive file access

2003-11-16 Thread Andre Dubuc
On Sunday 16 November 2003 06:40 am, Manuel Lemos wrote: > Hello, > > On 11/16/2003 02:52 AM, Andre Dubuc wrote: > > Recently, a 'user' attempted to access a restricted area of my site > > repetitively (spanning five hours) entering the same url repetitively >

Re: [PHP] Sessions and AOL?

2003-11-16 Thread Andre Dubuc
On Sunday 16 November 2003 01:54 pm, R. Van Tassel wrote: > Hi everyone. I have a problem with a website that I don't understand. It > seems that people using AOL can't see certain sections of this website. > > It is a directory section where a drop-down menu exists, you select the > section you wa

Re: [PHP] Limiting repetitive file access

2003-11-16 Thread Andre Dubuc
re damage than he! -- I just hosed that file good . . . sigh . . . It's been a great weekend - began with a 44 hour power outage, both phone lines dead, then I hosed my acccess file, and finished it off by taking out my developmental db -- not bad, huh? (Perhaps I need some sleep??) Tomo

[PHP] List of all installed fonts on a system??

2001-03-10 Thread Andre Bajew
Hi, anyone know of a way to get a list of all installed fonts on a system for use inside of a combo box? TIA! Andre -- 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

[PHP] Anyone running their own Servers & DNS versus renting space/services from an ISP or Hosting??

2001-03-14 Thread Andre Bajew
e world to stay current with other DNS's? Any input would be sincerely appreciated! Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] Anyone running their own Servers & DNS versus renting space/services from an ISP or Hosting??

2001-03-14 Thread Andre Bajew
well taken. Thanks! Andre -Original Message- From: Jason Murray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 6:59 PM To: 'Andre Bajew'; [EMAIL PROTECTED] Subject: RE: [PHP] Anyone running their own Servers & DNS versus renting space/services from an ISP or Hos

RE: [PHP] Anyone running their own Servers & DNS versus renting space/services from an ISP or Hosting??

2001-03-14 Thread Andre Bajew
My thanks to all for the input. I will be taking a closer look at leasing a dedicated machine which will still give me what I am after, ie. ability to compile, install, upgrade, software when/where I need but without some of the sysadmin headaches. Thanks again to everyone !! Andre

[PHP] HOT!!! PHP4.1.x - Step by Step Installation manual

2002-01-24 Thread Andre Amaral
Hi all. Here is my first attempt to make easy Step by Step installation manual for PHP4.1.x on Windows 2000 based systems running IIS5 using CGI or ISAPI. Here is the link that will ake a lot of people happy. :) http://www.experttek.com/php/installation.txt Fell free to contact me. Contacts are i

[PHP] Re: HOT!!! PHP4.1.x - Step by Step Installation manual

2002-01-24 Thread Andre Amaral
"Andre Amaral" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all. Here is my first attempt to make easy Step by Step installation > manual for PHP4.1.x on Windows 2000 based systems running IIS5 using CGI or > ISAPI. Her

[PHP] Re: NEWBIE IN DISTRESS: Install Instructions are not work for PHP 4.1.1!!!

2002-01-24 Thread Andre Amaral
Go to http://www.experttek.com/php/installation.php Step by Step installatio on Win2k running IIS5 "Mark" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I apologize if the title of this post sounds overly aggresive, but I have > followed the instructions to

[PHP] HELP! with PHP extension <

2002-01-25 Thread Andre Amaral
Hi all, Here is the situation. I have Windows 2000 SP2, IIS5 running PHP 4.1.1 using CGI. My PHP folder is C:\php Extension Folder is: C:\php\extension PHP.INI file: extention_dir = "C:\php\extension\" First problem that I have is loading extensions. Every time I try to uncomment an extension

[PHP] Porting from Linux to Windows!?$#

2002-01-27 Thread Andre Amaral
s refer to firectories. Linux Ex. $base_dir = "/home/somescript/" Windows Ex. $base_dir = "C:\home\somescript" Now. My question is... Is there any way to use script made for Linux in Windows? If YES what have to be done in order to make it to work? Thank you, Andre --

Re: [PHP] Porting from Linux to Windows!?$#

2002-01-27 Thread Andre Amaral
er to firectories. > > > > Linux Ex. > > $base_dir = "/home/somescript/" > > > > Windows Ex. > > $base_dir = "C:\home\somescript" > > > > Now. My question is... Is there any way to use script made for Linux in > > Windows? If

[PHP] HOT! - PHP4.1.x - Step by Step Installation manual

2002-02-02 Thread Andre Amaral
Hi all. Here is my first attempt to make easy Step by Step installation manual for PHP4.1.x on Windows 2000 based systems running IIS5 using CGI or ISAPI. Here is the link that will ake a lot of people happy. :) http://www.experttek.com/php/installation.php Fell free to contact me. Contact info a

[PHP] APACHE .htaccess and PHP 403 errors

2002-02-10 Thread Andre Bajew
cess statement that will get my php scripts back working but I haven't found it yet. Any help would be sincerely appreciated!! Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP4 Step by Step Installation for Windows running CGI or ASPI

2002-02-18 Thread Andre Amaral
PHP4 Step by Step Installation for Windows running CGI or ASPI http://www.experttek.com/php/installation.php

[PHP] Tabs + SELECTED

2002-04-18 Thread Andre Dubuc
in flow. Any ideas on how to circumvent the default behavior of blah, blah , blah? Any assistance will be greatly appreciated, Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the Holy Souls in Purgatory. May God bless you abundantly i

Re: [PHP] Tabs + SELECTED

2002-04-18 Thread Andre Dubuc
On Thursday 18 April 2002 02:31 pm, you wrote: > On Thursday, April 18, 2002, at 12:33 PM, Andre Dubuc wrote: > > Since these drop-down lists have " In USA/Canada ", > > tabbing > > in the form jumps over these drop-downs [simply becuase they're > > fil

[PHP] Empty $_SESSION and $_POST ??

2002-04-19 Thread Andre Dubuc
when I tried to use $_POST['sfname'] in the scipt I got the same parse error as above. I'm REALLY confused about the whole session thing -- I don't know where else to read up on it -- I've scoured PHP.net, Zend, PHPBuilder -- and I've followed what they said, but .

Re: [PHP] Empty $_SESSION and $_POST ??

2002-04-19 Thread Andre Dubuc
On Friday 19 April 2002 08:13 pm, you wrote: > On Fri, 19 Apr 2002, Andre Dubuc wrote: > > Whenever I try: > > > > print("$_SESSION['sfname']); or print("$_POST['scity'] > > > > I get a parse error "expecting 'T_STRING&

Re: [PHP] Empty $_SESSION and $_POST ??

2002-04-19 Thread Andre Dubuc
got a major problem -- but I don't know where to look. Help? Please? Tia, Andre On Friday 19 April 2002 10:17 pm, you wrote: > I accidentally deleted your last message. But with current versions of > PHP, $_POST, etc., are always on and there's no way to turn them off. > Whi

[PHP] Re: [PHP-INST] can't view PHP

2002-04-19 Thread Andre Dubuc
7;m no familair with networking, butthta might steer you in a new direction. It worked for me while I'm protyping my site. Hth, Andre On Friday 19 April 2002 11:31 pm, you wrote: > yes i've tried that too *sigh* :( i've read the manual over and over again > and installed it a

Re: [PHP] Empty $_SESSION and $_POST ??

2002-04-22 Thread Andre Dubuc
On Monday 22 April 2002 09:50 am, you wrote: > On Friday, April 19, 2002, at 09:41 PM, Andre Dubuc wrote: > > Is there a way I can verify that (a) globals are off and (b) $_SESSION > > or > > $_POST are on? This probably what's happening -- I can't access the >

Re: [PHP] Empty $_SESSION and $_POST ??

2002-04-22 Thread Andre Dubuc
On Monday 22 April 2002 05:34 pm, you wrote: > On Monday, April 22, 2002, at 03:47 PM, Andre Dubuc wrote: > > I tried what you suggested, and indeed globals are off. Perhaps my > > problem > > stems from my use of the $_GET[] with $vars. I guess I don't really > &g

[PHP] Re: {PHP] Empty $_SESSION and $_POST??

2002-04-23 Thread Andre Dubuc
ariable names." How I wish I knew that before: I don't recall running into that statement anywhere in the docs. I think I'll get used to dot notation [I used it a lot in Paradox PAL] and re-do my scripts properly. I'll get back to you on how it goes. Thank-you very much, Eric

Re: [PHP] Empty $_SESSION and $_POST??

2002-04-23 Thread Andre Dubuc
ariable names." How I wish I knew that before: I don't recall running into that statement anywhere in the docs. I think I'll get used to dot notation [I used it a lot in Paradox PAL] and re-do my scripts properly. I'll get back to you on how it goes. Thank-you very much, Eric

Re: [PHP] Empty $_SESSION and $_POST ??

2002-04-24 Thread Andre Dubuc
On Wednesday 24 April 2002 09:18 am, you wrote: > Have you tried doing phpinfo() and seeing what values are coming up? > I finally got everything working, thanks to Erik Price's excellent help and for all the others who offered their suggestions. Thanks for your suggestion! Reg

[PHP] Accessing/Passing Old Session Variables

2002-04-30 Thread Andre Dubuc
ve read almost everything I can get my hands to understand how to do this, but I thought that the variables are automatically set. On the third page, for example, if I print_r[$_SESSION} all I see is that the second page's variables, ie. from "rap". The first page's variables

[PHP] E-mail Confirmation script?

2002-05-12 Thread Andre Dubuc
P-general lst? It always seems to be 'offline'. Rather hard to search the archives for previously asked questions. Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the Holy Souls in Purgatory. May God bless you abundantly in His

Re: [PHP] E-mail Confirmation script?

2002-05-12 Thread Andre Dubuc
Thanks, Now why didn't that ever occur to me? It's simple and very effective. Thanks for the idea! Regards, Andre On Sunday 12 May 2002 04:51 pm, you wrote: > I would suggest just sending them an email with a > link like this and telling them to click on it to > confi

[PHP] Uploading JPEG's - Security Issues?

2002-05-14 Thread Andre Dubuc
to do here. Am I being overly-paranoid about this, or do I have legitimate security concern. Using: Apache 1.3.23 + PHP 4.1.2 + PostgreSQL 7.2 Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the Holy Souls in Purgatory. May God bless you

Re: [PHP] Uploading JPEG's - Security Issues?

2002-05-15 Thread Andre Dubuc
r_checking_files_like_jpegs. I've made a temporary change (for protyping) to php.ini using /var/www/html as the upload_temp_dir, but I don't know how or where it should go in production. Any suggestions? Tia, Andre On Wednesday 15 May 2002 02:36 pm, you wrote: > On Tue, 14 May 2

[PHP] Uploading JPEG's - Security Issues?

2002-05-16 Thread Andre Dubuc
to do here. Am I being overly-paranoid about this, or do I have legitimate security concern. Using: Apache 1.3.23 + PHP 4.1.2 + PostgreSQL 7.2 Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the Holy Souls in Purgatory. May God bless you

Re: [PHP] Uploading JPEG's - Security Issues?

2002-05-16 Thread Andre Dubuc
ge files with hidden text files, etc. -- sort of put me on guard. I have no idea whether this is even possible. . . sounds probable though. Would be great to find out before the site is compromised. Tia, Andre On Tuesday 14 May 2002 10:32 pm, you wrote: > Have a look at the getimagesize()

[PHP] Augmenting an old date

2002-05-18 Thread Andre Dubuc
); I assume it's because the '$expiry_date' should be simply 'date', but that would give the current date which is not what is wanted. Is there anyway to set 'date' as '$expiry_date'? Suggestions, admonitions, and general advice will be greatly appre

Re: [PHP] Augmenting an old date

2002-05-19 Thread Andre Dubuc
Thanks Tom, for the excellent help! Seems like 'strtotime' function was what was needed! Regards, Andre On Sunday 19 May 2002 01:06 am, you wrote: > Hi > A slightly more efficeint way :) > > $start = "2002-01-01"; > $expire = date("Y-m-d",

[PHP] Annoying display problem

2002-05-23 Thread Andre Dubuc
. But I can't figure out how they did it. Any ideas? Will greatly appreciate some suggestions, and at this point, hand-slapping for missing the obvious:> Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the Holy Souls in Purgatory. Ma

Re: [PHP] Annoying display problem

2002-05-23 Thread Andre Dubuc
Miguel, It's been a long day - thanks. (Duh at this end!) Regards, Andre On Thursday 23 May 2002 04:54 pm, you wrote: > The obvious answer would be a table. > > miguel > > On Thu, 23 May 2002, Andre Dubuc wrote: > > PHP 4.1.2 + Apache 1.3.23 + PostgreSQL 7.2 >

Re: [PHP] Annoying display problem

2002-05-23 Thread Andre Dubuc
Thanks Dave, I tried that one, and the results were "interesting". I reverted to the method (I should have thought of it earlier, seeing that I had just used it in the lines just before [go figure!], but my mind was too frazzled to see it. Now I've got the text sitting nicely beside the pix,

Re: [PHP] Annoying display problem

2002-05-23 Thread Andre Dubuc
Hi Dave, Well, I "sort of" solved it by adding:    in a few judicious places. Renders well in Konqueror, Mozilla, and Galeon. Btw, I've been using CSS, and thought of doing it there, but it's a lot of trouble for only one table. Thanks, Andre On Thursday 23 May 2002

[PHP] 'ucfirst' function for text area strings?

2002-05-28 Thread Andre Dubuc
e there is one. Any ideas?" ** Would it be possible to do a 'foreach' 'ucfirst' type of statement while reading a string and breaking it apart at punctuation marks? Any suggestions will be greatly appreciated. This one&#

Re: [PHP] 'ucfirst' function for text area strings?

2002-05-28 Thread Andre Dubuc
Thanks John, I'm not familiar with the first function, but it sounds like any easy way to accomplish basic validation. Btw, any ideas why my code snippet didn't work? I still have some "badWords' to check for, and eregi doesn't seem to work with textarea. Tia, Andr

[PHP] 'Pure' php vs 'mixed' (html + php)

2002-06-02 Thread Andre Dubuc
ssing something important here? Btw, I use the 'php' ending for all file names. Your thoughts, opinions and suggestions would be greatly appreciated -- I'd like to do what is best. Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers

Re: [PHP] 'Pure' php vs 'mixed' (html + php)

2002-06-02 Thread Andre Dubuc
pages with the 'calling' page. (That is, I have a text input, and use a php function to verify it on the same page). I've tended to keep them separate for de-bugging purposes. Should I consider re-writing them as well? Regards, Andre On Sunday 02 June 2002 08:16 pm,

Re: [PHP] 'Pure' php vs 'mixed' (html + php)

2002-06-02 Thread Andre Dubuc
On Sunday 02 June 2002 08:13 pm, you wrote: > On Sun, Jun 02, 2002 at 07:55:09PM -0400, Andre Dubuc wrote: > > I've noticed that many people on the list code in 'pure' php, i.e. > > > > > print ""; > > > > // etc > > ?> >

Re: [PHP] 'Pure' php vs 'mixed' (html + php)

2002-06-02 Thread Andre Dubuc
That's what I meant. I was referring to verification/validation scripts for user inputs. I've made a separate page that runs these routines. I have a feeling I should have incorporated them on the user input page . . . but does it really amtter if they're on another page? Andr

Re: [PHP] 'Pure' php vs 'mixed' (html + php)

2002-06-02 Thread Andre Dubuc
Perhaps I wrong, but . . . Regards, Andre On Sunday 02 June 2002 08:36 pm, you wrote: > However... > > From the point of view of someone who has worked in a company where diesign > is separated from development, it is much better to have separate files > with HTML templates with specia

Re: [PHP] Re: 'Pure' php vs 'mixed' (html + php)

2002-06-03 Thread Andre Dubuc
On Monday 03 June 2002 01:00 pm, you wrote: > Sunday, June 02, 2002, 7:55:09 PM, Andre wrote: > AD> I've been wondering why code in 'pure' php? Is there some compelling > reason AD> (that I'm unaware of) for doing so? Should I rewrite all my > earlier code in

[PHP] Is there a "GoTo Page" Function?

2002-03-05 Thread Andre Dubuc
ion either in PHP or html.] (I.e: Once a person clicks on <"Input type=submit value="Accept"> Is there a function that can redirect the form to a new form?) Any help here would be greatly appreciated (or pointers to a good working tutorial that covers this area!) Tia, Andre

Re: [PHP] Re: Is there a "GoTo Page" Function?

2002-03-05 Thread Andre Dubuc
On Tuesday 05 March 2002 16:15, you wrote: > Andre Dubuc wrote: > > As a complete newbie to PHP, and relative novice to html, this one has me > > stumped. Rather than wade through volumes of documentation, I thought I'd > > risk asking it here. > > > > Aft

Re: [PHP] Is there a "GoTo Page" Function?

2002-03-05 Thread Andre Dubuc
On Tuesday 05 March 2002 17:43, you wrote: > On Tuesday, March 5, 2002, at 04:06 PM, Andre Dubuc wrote: > > After inserting variables from a fill-out html form into my database, I > > would > > like the form to "goto" the next html page, but I cannot figure o

Re: [PHP] Re: Is there a "GoTo Page" Function?

2002-03-05 Thread Andre Dubuc
ove the long days and even longer nights. I'm glad I've got four months to put this new site together. Any insights and help will be greatly appreciated! Tia, Andre On Tuesday 05 March 2002 16:50, you wrote: > Andre, > Have your form action point to a page that has your database

Re: [PHP] Is there a "GoTo Page" Function?

2002-03-05 Thread Andre Dubuc
On Tuesday 05 March 2002 19:20, you wrote: > On Tuesday, March 5, 2002, at 07:01 PM, Andre Dubuc wrote: > > Now that makes sense. I'm getting a better idea of how it works > > together. I > > figured there must be a way to control the "Submit" button's b

Re: [PHP] Is there a "GoTo Page" Function?

2002-03-05 Thread Andre Dubuc
ce the text name before it varies . . . sigh . . . someday I'll figure that out! Regards, Andre On Tuesday 05 March 2002 23:51, you wrote: > Andre, > Yes, the html page with your input form effectively ends with the > tag so any decision statements on that page past that tag would

Re: [PHP] Is there a "GoTo Page" Function?

2002-03-06 Thread Andre Dubuc
Thanks Jim, Now that looks better. New problem: in one of the almost identical tables I've used it in, the title for each row is in black and not the color that the page text is set for. The other table is correctly set. Any idea what would cause the discrepancy? Tia, Andre On Wedn

[PHP] Selecting a Queried Row

2002-03-09 Thread Andre Dubuc
me_function()' Does this sound reasable way of approaching the problem, or is there a better way. [Btw, at present, while learning PHP, I am using global_variables=on, but would like to try $PHP_SELF method to pick up session variables.] Any help would be greatly appreciated, as well as pointe

Re: [PHP] Selecting a Queried Row

2002-03-11 Thread Andre Dubuc
nyway, I'd like to get back to you, once I get some files back in order. that were messed up forrm the crash shutdowns. Thanks again, Andre On Saturday 09 March 2002 21:02, you wrote: > Andre, > > The following code block is from a site I'm developing for a local museum. >

[PHP] Using Switch to control

2002-03-15 Thread Andre Dubuc
tried putting this switch statement after the code, and also tried "if" statements. It usually defaults to whatever is loaded, and doesn't respond to the "if" or "switch" statements. I'd appreciate any help on this -- or pointers where to look. Tia, Andre

Re: [PHP] Using Switch to control

2002-03-15 Thread Andre Dubuc
mpany over. Regards, Andre On Friday 15 March 2002 19:41, you wrote: > On Fri, 15 Mar 2002, Andre Dubuc wrote: > > I'd like to control which php file is called when clicking two buttons on > > the bottom of a form; one called "Add Names", the other "Submit"

Re: [PHP] Using Switch to control

2002-03-15 Thread Andre Dubuc
Thanks Justin, It wasn't "pseudo code" -- I just didn't know what I was doing! :> I didn't know I had to brace php code with . I like your method as well -- I'll give it a try. Thanks for replying, Regards, Andre On Friday 15 March 2002 19:58, you wrote: &g

[PHP] Formatting input text?

2002-03-16 Thread Andre Dubuc
t; Surname: Black Any suggestions or advice would be greatly appreciated. Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the suffering souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet --

Re: [PHP] Formatting input text?

2002-03-16 Thread Andre Dubuc
Hi Edward, If I wanted to avoid Javascript, could I still accomplish this in PHP? Regards, Andre On Saturday 16 March 2002 13:33, you wrote: > Just use javascript... (be careful, what works with IE, doesn't > automatically work with Netscape)... > > Greets, > > Ed

<    1   2   3   4   5   >