[PHP] IP Address Filtering

2006-03-29 Thread Rahul S. Johari
Ave, I¹ve run into a slight problem. We maintain a Guestbook for our company¹s website. Lately we have been getting a lot of ³Spam² entries into the Guestbook. I added a snippet into the PHP Script a field in the mySQL database to record the IP Address of posters. However, for the SPAM posts

Re: [PHP] IP Address Filtering

2006-03-30 Thread Rahul S. Johari
Ave, I have to say I absolutely love your idea! It¹s probably a solution for my problem, at the same time, like the other guy said, freaking hilarious!!! :0) I think I¹ll probably write up a script that displays everything except records with NULL as IP for regular audience... And displays all

Re: [PHP] IP Address Filtering

2006-03-30 Thread Rahul S. Johari
. Let me try a few other suggestions first and see how it goes, and then I'll decide if I need to add more capabilities/security to the Guestbook. Thanks for your insight, always brain-enhancing. Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 500 Federal

[PHP] IP Address Filtering - Problem Continues

2006-04-05 Thread Rahul S. Johari
is using multiple IP Address. His IP Address changes every 6 - 8 entries. I have so far recorded 5 different IP Addresses of the spammer. Although I can create a Database and keep adding his IP Address to the database, and run a check from the Guestbook script to scan against Blocked Addresses, It¹s

Re: [PHP] Creating a Photo Album

2006-04-07 Thread Jason S. Motes
. The only thing I k.now how to do well in PHP is mysql queries and data validatlion. [/snip] I would look at coppermine to see how they do it. http://coppermine-gallery.net/index.php -- Jason S. Motes php at imotes.com www.imotes.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] IP Address Filtering - Problem Continues

2006-04-10 Thread Rahul S. Johari
of IP addresses, but you may cut out a legitimate user. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 500 Federal Street, Suite 201 Troy NY 12180 Tel

Re: [PHP] IP Address Filtering - Problem Continues

2006-04-10 Thread Rahul S. Johari
just a suggestion. /disclaimer tedd Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 500 Federal Street, Suite 201 Troy NY 12180 Tel: (518) 687-6700 x154 Fax: (518) 687-6799 Email: [EMAIL PROTECTED] http://www.informed-sources.com -- PHP General Mailing

[PHP] Internal Server Error

2006-04-13 Thread Rahul S. Johari
)... But on my internet server, it just keeps giving me the 500 Internal Server Error. Any reason why it would be doing so? Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 500 Federal Street, Suite 201 Troy NY 12180 Tel: (518) 687-6700 x154 Fax: (518) 687-6799 Email

Re: [PHP] Internal Server Error : Resolved

2006-04-13 Thread Rahul S. Johari
moved the files to another folder and it works! Well, sort of. I'm getting ye 'ol Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at... error. But I'll work it out. Nothing that I haven' dealt with before. Thanks, Rahul S. Johari Coordinator

[PHP] Upload Progress Bar (PHP/AJAX?)

2006-04-25 Thread Rahul S. Johari
/PHP Upload progress bar, and would like to contribute suggestions, I¹m open to that as well. Thanks, Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 500 Federal Street, Suite 201 Troy NY 12180 Tel: (518) 687-6700 x154 Fax: (518) 687-6799 Email: [EMAIL

[PHP] Paged Results Set in MySQL DB with one result

2006-05-03 Thread Phillip S. Baker
Greetings Gents, I have an interesting problem I would like some ideas on for a solution. I cannot seem to find any code examples on the net, though I might not be looking in the right place really. I have some articles stored in a MySQL DB. What I want is if the article is above a certain

Re: [PHP] file Upload - checking file size before uploading

2006-05-10 Thread Phillip S. Baker
James Nunnerley wrote: Is there anyway to check the size of a file before it starts uploading it? For instance, if the file is huge, and takes ages to upload, and is then rejected by the server, the user will be somewhat annoyed! I'm not even sure this is a php question! Nope not a PHP

[PHP] Handling Large Check Box Data

2006-05-17 Thread Rahul S. Johari
Ave, I¹m a little confused as to what¹s the best way to handle this. I have a form which, apart from lots of other fields, has a set of 25 ­ 30 Check Boxes, each of which asks the user for some kind of information which the user can check or leave unchecked. The information each Check Box

[PHP] Running two versions of PHP locally

2006-05-19 Thread Phillip S. Baker
Greetings Gents, I am interested in running two versions of of PHP. I want to see if I can get my boss to buy into migrating to PHP 5. I want to set it up locally. Locally I am running apache on a windows XP box with PHP 4. I would like I would like to be able to set up PHP 5 as well on the

[PHP] Looping through a Db query result twice in PEAR

2006-05-24 Thread Phillip S. Baker
Greetings All, I have a problem that I usually solve in MySQL pretty easily, but using PEAR identifiers are not working. Any suggestions. I want to loop through a result set in two different while loops that are not nested. I am able to do in it MySQl as follows $sql=Some query; $result =

[PHP] Upload files problems

2006-05-24 Thread Ing. Tom�s Liendo
Hi! When the users of my system try to go up files of more than 460 K, they receive the message: Fatal error: Maximum execution time of 90 seconds exceeded in c:\websites\iracbiogenar48\iracbiogen.com.ar\virtual\procesa_msjpriv.php on line 2 I'm using the following method to up load the files:

Re: [PHP] Upload files problems

2006-05-26 Thread Ing. Tom�s Liendo
My host uses safe mode... What other thing can I do? Some other method exists to send files besides POST method? Thank you, Tom. Ryan Creaser [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Ing. Tomás Liendo wrote: Hi! When the users of my system try to go up files of more

[PHP] Checkbox Hidden Field to Delete Row

2006-06-01 Thread Rahul S. Johari
Ave, I¹m stuck on a problem here. I have a file manager kind of application and I¹m trying to add the functionality to delete multiple files. Basically, there¹s a bunch of rows generated dynamically. Each row has a checkbox for ³Delete² option, and a hidden field which contains the name

Re: [PHP] Checkbox Hidden Field to Delete Row - SOLVED

2006-06-01 Thread Rahul S. Johari
[EMAIL PROTECTED] wrote: On Thursday 01 June 2006 12:58, Rahul S. Johari wrote: Ave, I¹m stuck on a problem here. I have a file manager kind of application and I¹m trying to add the functionality to delete multiple files. Basically, there¹s a bunch of rows generated dynamically. Each row

Re: [PHP] Checkbox Hidden Field to Delete Row - SOLVED

2006-06-01 Thread Rahul S. Johari
Ray, Interestingly, I don't' allow special characters in File Names for files being uploaded to the File Manager. So that problem won't occur. Thanks. On 6/1/06 4:23 PM, Ray Hauge [EMAIL PROTECTED] wrote: On Thursday 01 June 2006 13:15, Rahul S. Johari wrote: Tad different

[PHP] popen and pclose. Something changed in 4.4.2 !

2006-06-12 Thread Venkatesh M. S.
Greetings! I was using popen and pclose on a previous version of PHP on Windows with an older version of Apache (2.x). ( I think it was 4.4.1 but will need to check as i am not sure). pclose(popen(start . $exe . . $args, r)) Where $exe is my path to the batch file and $args are the

[PHP] popen and pclose. Something changed in 4.4.2 ! ....Fixed

2006-06-21 Thread Venkatesh M. S.
On windows, allow Apache service to interact with the desktop... in the services manager GUI Rgds Venkat ** Greetings! I was using popen and pclose on a previous version of PHP on Windows with an older version of Apache (2.x). ( I think it was 4.4.1 but will need to check as

[PHP] Trouble figuring out a Walk through an Array

2005-10-13 Thread Phillip S. Baker
Greetings All, Having trouble figureing out a certain walk through an array. And I am not finding the help I need in the manual or anything. I have an associative arr ($arr) With about 20 elements in it. Ten of which are required. So I have another associative array called $required, with all

[PHP] Trouble figuring out a Walk through an Array

2005-10-13 Thread Phillip S. Baker
Greetings All, Having trouble figureing out a certain walk through an array. And I am not finding the help I need in the manual or anything. I have an associative arr ($arr) With about 20 elements in it. Ten of which are required. So I have another associative array called $required, with all

[PHP] Trouble figuring out a Walk through an Array

2005-10-13 Thread Phillip S. Baker
Greetings All, Having trouble figureing out a certain walk through an array. And I am not finding the help I need in the manual or anything. I have an associative arr ($arr) With about 20 elements in it. Ten of which are required. So I have another associative array called $required, with all

[PHP] PHP on Windows 2003 Server

2005-10-22 Thread Tom�s Liendo
Hi, I have enough experience working with PHP on Windows XP over IIS, but now I need to work on Windows Server 2003, algo with IIS. I installed PHP (With the installer that I downloaded from www.php.net) but it doesn't work. When I try to see a PHP page I receive the following message: The

[PHP] Looking for a string function

2005-11-02 Thread Phillip S. Baker
Greetigns Gents, I seem to remember a built in php function that will take a huge block of text. Then just spit out X number of characters from it and follow it with an additional string value. But I cannot remember what it is. I seem to remember it being something other than the substr(). I am

[PHP] Fixing ID's in mySQL Table

2005-11-08 Thread Rahul S. Johari
on. Thus a lot of junk records were being let in, which had to be deleted at some point or another. Now the ID sequence is all screwed up. It¹s not in sequence anymore. Is there a way to fix this? Thanks, Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251 River

Re: [PHP] Fixing ID's in mySQL Table

2005-11-08 Thread Rahul S. Johari
to phpmyadmin and fix that in the database-structure. (or some kind of database-utility) /G http://www.varupiraten.se/ - Original Message - From: Rahul S. Johari [EMAIL PROTECTED] To: PHP php-general@lists.php.net Sent: Tuesday, November 08, 2005 2:37 PM Subject: [PHP] Fixing ID's in mySQL

Re: [PHP] Fixing ID's in mySQL Table

2005-11-08 Thread Rahul S. Johari
() } In the new tbl yuo will have the records ordered. Than just rename the tables. On Tuesday 08 November 2005 16:28, Rahul S. Johari wrote: Ave, This is what I need to do. Let's say, my ID's in a table look like this: 1 7 9 11 12 19 26 27 29 30 I need to alter

[PHP] Walking through a bunch of MySQL Records

2005-11-14 Thread Phillip S. Baker
Greetings all, I have a question. I want to display a group of records pulled form a MySQL db in the following fashion. 16 27 38 49 510 Now I can easily figure out how to display the records as 12 34 56 78 910 But

[PHP] OS Detection

2005-11-17 Thread Rahul S. Johari
; } ? Any suggestions on getting the OS ? Thanks, Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251 River Street Troy, NY 12180 Tel: (518) 266-0909 x154 Fax: (518) 266-0909 Email: [EMAIL PROTECTED] http://www.informed-sources.com

Re: [PHP] OS Detection

2005-11-17 Thread Rahul S. Johari
-Original Message- From: Rahul S. Johari [mailto:[EMAIL PROTECTED] Sent: 17 November 2005 3:10 pm To: PHP Subject: [PHP] OS Detection Ave, I'm working on a Guestbook for a site and I'm trying to identify Browser Operating System of the user and eventually I'll display the Icon

[PHP] HTTP User Authentication Problems

2005-12-06 Thread Rahul S. Johari
['PHP_AUTH_USER']==try) ($_SERVER['PHP_AUTH_PW']==try)) { ? HTML HEAD/HEAD BODY My Stuff Goes Here! /BODY /HTML ? } else { echo Access Denied; } } ? The problem is, this script runs perfectly fine on my localhost machine at home, however it¹s not working on my web server

Re: [PHP] HTTP User Authentication Problems

2005-12-06 Thread Rahul S. Johari
Ave, Steve, I did a phpinfo() on my webhost and as it turns out, they are using a CGI binary version, much to my surprise and dismay. Anyhow... Do I have any alternatives for an http authentication kind of authentication ? Thanks, Rahul S. Johari Coordinator, Internet Administration Informed

[PHP] 4 Digit ID with Leading Zeros

2005-12-15 Thread Rahul S. Johari
trying to figure out how to do this but am not sure. Any help appreciated. Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251 River Street Troy, NY 12180 Tel: (518) 266-0909 x154 Fax: (518) 266-0909 Email: [EMAIL PROTECTED] http://www.informed-sources.com

Re: [PHP] 4 Digit ID with Leading Zeros

2005-12-15 Thread Rahul S. Johari
, that you are asking how to take a MySQL autoincrement number and add leading zeros to it. Try this: $row=mysql_fetch_array($result); $four_digit_id=str_pad($row['id'], 4, 0, STR_PAD_LEFT); JM Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251 River

Re: [PHP] 4 Digit ID with Leading Zeros

2005-12-15 Thread Rahul S. Johari
and the filename have the leading zeros. But I'm not sure if that's possible. Then, take the suggestion of another respondent to this topic, and have a look at MySQL's ZEROFILL option. I'm not sure if you can use it with an auto-increment field, but that's my best guess. JM Rahul S. Johari

Re: [PHP] 4 Digit ID with Leading Zeros

2005-12-15 Thread Rahul S. Johari
Ave, That Worked!! That was the perfect solution. Everything is working just the way I wanted it to work now. I'm using ZEROFILL in my mySQL table and pulling the ID to generate the filename. Thanks a TON! On 12/15/05 10:17 AM, David Grant [EMAIL PROTECTED] wrote: Rahul, Rahul S. Johari

Re: [PHP] 4 Digit ID with Leading Zeros

2005-12-15 Thread Rahul S. Johari
, you will need to take that into consideration when (if) you reach the 9,999th record. JM Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251 River Street Troy, NY 12180 Tel: (518) 266-0909 x154 Fax: (518) 266-0909 Email: [EMAIL PROTECTED] http

Re: [PHP] 4 Digit ID with Leading Zeros

2005-12-15 Thread Rahul S. Johari
Ave, Yes phpMyAdmin does but I'm sure many other don't. I'll keep this in mind. Thanks. On 12/15/05 11:01 AM, John Hinton [EMAIL PROTECTED] wrote: Rahul S. Johari wrote: Ave, I'm looking into the ZEROFILL option now. Didn't know about it before but it looks promising and probably is my

Re: [PHP] 4 Digit ID with Leading Zeros

2005-12-15 Thread Rahul S. Johari
digit restriction. If this is the case, you will only be able to have 10,000 ADDs, not 10,000 records. Just something to be aware of. JM Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251 River Street Troy, NY 12180 Tel: (518) 266-0909 x154 Fax: (518

Re: [PHP] 4 Digit ID with Leading Zeros

2005-12-15 Thread Rahul S. Johari
, but not be able to add another because of the 4 digit restriction. If this is the case, you will only be able to have 10,000 ADDs, not 10,000 records. Just something to be aware of. JM Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251 River Street Troy

[PHP] Can't install

2006-02-09 Thread Ing. Tom�s Liendo
Hi I can't install PHP on Windows. The error: Windows Can't found c:\Windows\System32\issext.vbs What Can I do? Please Help me! Thnaks, Tom. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Can't install

2006-02-09 Thread Ing. Tom�s Liendo
Sorry but I can't find the file issext.vbs!! Where can I get it Can you send me this file? Thank you! Tom Barry [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Ing. Tomás Liendo wrote: Hi I can't install PHP on Windows. The error: Windows Can't found

[PHP] Re: Can't install

2006-02-09 Thread Ing. Tom�s Liendo
Yes, I don't have the file in my PC and I can't find It on Google. Well... I'll see Tkank you very much. Tom. Barry [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Ing. Tomás Liendo wrote: Sorry but I can't find the file issext.vbs!! Where can I get it Can you send me

[PHP] Help with query

2006-02-21 Thread Ing. Tom�s Liendo
Hi I need the students that didn't take an exam. The tables: exams(id_test, title, desciption, ) results(id_student, id_test, date, qualification...) I'm using a version of MySQL that doesn't support NOT IN, then I tried in this way: SELECT * FROM exams LEFT JOIN results ON

Re: [PHP] assignment operator works for comparison??

2001-04-11 Thread Harshdeep S Jawanda
Hi, Dan wrote: if($shiny = 0){ This does not compare anyting, it assigns 0 to $shiny yes i know, but shouldnt this operation return true? No, it doesn't return true. The "=" operator returns the value of the expression on its right hand side. Therefore, the statement given above is

Re: [PHP] show tables in oracle 8-i

2001-04-12 Thread Brian S. Dunworth
- Brian S. Dunworth Sr. Software Development Engineer Oracle Database Administrator The Printing House, Ltd. (850) 875-1500 x225 [EMAIL PROTECTED] - -- PHP General Mailing List (http

Re: [PHP] MySql / sql help plz!

2001-04-23 Thread Brian S. Dunworth
good at SQL. ..and you probably won't get better at it here. Try an SQL list or any number of online tutorials or books on SQL. - Brian - Brian S. Dunworth Sr. Software Development Engineer Oracle Database Administrator The Printing House

Re: [PHP] link variables space problem in netscape

2001-04-24 Thread Brian S. Dunworth
, disallows embedded spaces in links. Meanwhile, try the urlencode() and urldecode() functions. :) Thank you Welcome. - Brian S. Dunworth Sr. Software Development Engineer Oracle Database Administrator The Printing House, Ltd. (850

Re: [PHP] Wierd error messages

2001-04-25 Thread Brian S. Dunworth
in WindowsNT... especially if the problem cleared up after rebooting. - Brian - Brian S. Dunworth Sr. Software Development Engineer Oracle Database Administrator The Printing House, Ltd. (850) 875-1500 x225 [EMAIL PROTECTED

Re: [PHP]OT, but dual-boot operating system question

2001-04-30 Thread Richard S. Crawford
Beware if you're using WinNT or Windows 2000. Neither one plays nice with LILO. At 01:41 PM 4/30/2001 -0400, Toby Miller wrote: Your safest bet would probably be to look into RedHat Linux. It's a fairly straight forward Linux distribution. It also includes the LILO boot loader which is one way

[PHP] This is driving me to drink...

2001-05-01 Thread Richard S. Crawford
...But my boss won't let me keep the Bushmill's at my desk. *sigh* So, assuming that $p_code is MNE and $neuroKey is 2, then $hub should be 2, right? Instead, it's coming up with 1, which is the value of $coreKey. What have I missed? $hub=$coreKey; if

Re: [PHP] This is driving me to drink...

2001-05-01 Thread Richard S. Crawford
Problem solved. Boy, that was easy. The database was adding trailing spaces to the codes (so that MNE was actually MNE and so on). $p_code=trim($p_code) did the trick. I could still use that Bushmill's, though. At 03:57 PM 5/1/2001 -0700, Richard S. Crawford wrote: ...But my boss won't

[PHP] Extending a Class

2005-01-20 Thread Phillip S. Baker
Greetings all, I have a class I use for MySQL connection and functions. I also have a class that I use to create Paged Results. The paged results class connects to a DB and uses allot of sql calls to make this happen. I am noticing that it does allot that the MySQL class does. What I would

Re: [PHP] Extending a Class

2005-01-21 Thread Phillip S. Baker
(Mysql class) fetchAssoc() method with that modified SQL. On Jan 20, 2005, at 9:17 PM, Phillip S. Baker wrote: Greetings all, I have a class I use for MySQL connection and functions. I also have a class that I use to create Paged Results. The paged results class connects

[PHP] help with nl2br

2005-01-21 Thread Phillip S. Baker
Greetings all, Due to style sheet stuff I need to modify the nl2br (IE create or use a different function). I am pulling data from a database and using nl2br, which does the standard. some text copybr / br / Some more copybr / What I want instead is pSome text copy/p psome more text copy/p

[PHP] Using List() and a do-while loop with MySQL results.

2005-01-21 Thread Phillip S. Baker
Greetings all, I am pulling records from a MySQL DB. I am walking through the array using the whole. if ( $row = mysql_fetch_assoc($result)) { do{ //Some stuff }while ( $row = mysql_fetch_assoc($result)); } What I am wondering is if there is something I can do like.

Re: [PHP] Using List() and a do-while loop with MySQL results.

2005-01-21 Thread Phillip S. Baker
indices start at 0. So the best way , in my opinion, to achieve this effect would be: while(list($id, $someinfo) = mysql_fetch_row($result)) { //Some stuff } Chris Phillip S. Baker wrote: Greetings all, I am pulling records from a MySQL DB. I am walking through the array using

[PHP] Search Engine with MySQL

2005-01-25 Thread Phillip S. Baker
Greetings all, I just serached the records and found this topic. This nearly answers my question but not completely. I have a search field and a class that I found that will explode queries into an array based on boolean values and such. Which is great so I get all the words a person is

[PHP] Help: trouble with JCal Class

2005-02-01 Thread Phillip S. Baker
I am posting this here, as it is a bug in the application and I awanted to see if anyone else is using this and has come up with a solution. If not and after I figure out more in the code what is going on, if I cannot figure it out I will give you all a block of code. (Oh and I have emailed the

[PHP] SOLVED - trouble with JCal Class

2005-02-01 Thread Phillip S. Baker
I was able to figure out the problem. If there is anyone else out there that is using it and needs the solution let me know and I will pass it on. -- Blessed Be Phillip Phillip S. Baker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am posting this here, as it is a bug

[PHP] DBF to MySQL using PHP Script

2005-03-30 Thread Rahul S. Johari
Ave, Does anybody know of a working PHP script to convert DBF data into mySQL table? Thanks, Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251 River Street Troy, NY 12180 Tel: (518) 266-0909 x154 Fax: (518) 266-0909 Email: [EMAIL PROTECTED] http

[PHP] Help with SQL Query String

2005-03-31 Thread Rahul S. Johari
to figure it out and would love if anyway made a suggestion. Thanks, Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251 River Street Troy, NY 12180 Tel: (518) 266-0909 x154 Fax: (518) 266-0909 Email: [EMAIL PROTECTED] http://www.informed-sources.com

Re: [PHP] Help with SQL Query String

2005-03-31 Thread Rahul S. Johari
way. I do understand though that using the PHP trim() function in an SQL statemnt won't work. However the new snip about mySQL having it's own TRIM() function is also pretty cool. Thanks again all, Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251 River

Re: [PHP] Help with SQL Query String

2005-03-31 Thread Rahul S. Johari
and purposely idiotic, nonsensical and absurdly inconclusive of the inadequacies of their lifeless brains. Have an awesome day. PS: Jay.. The code works great... Thanks a ton again! Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251 River Street Troy, NY 12180

[PHP] Creating INSERT INTO statement from dbf file

2005-04-04 Thread Rahul S. Johari
fine, except for one problem. It¹s able to create the INSERT INTO sql statement, with all the fields and corresponding values, but as I¹m running a loop for both the fields names, and the values corresponding to fields names, it leaves a comma after the records are over. So instead of having

Re: [PHP] Creating INSERT INTO statement from dbf file - SOLVED!

2005-04-11 Thread Rahul S. Johari
Ave, I¹m sure there would be better ways of doing this, and mine may not be the most decent, but I did manage to solve this. Here¹s how I did it: - Create An Array - Run the loop for all the records in the table - Fill the array with the Field Names - Display the Fields names with the ³Comma

[PHP] authentication problem

2005-04-29 Thread Yavuz S. Atmaca
Hi all I'm trying to do authentication with database. I created the database and I inserted some usernames and passwords into my database. By using the below file, I'm trying to give access to the main page for the accounts that matches the username and password. The problem is that it do not

Re: [PHP] need class to send email w/attachments

2005-05-06 Thread Rahul S. Johari
Ave, Try http://www.phpclasses.org/mimemessage I used it for my business application everyday, works great and is very efficient. Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251 River Street Troy, NY 12180 Tel: (518) 266-0909 x154 Fax: (518) 266-0909

[PHP] Help : I need modify a the header information in a JPEG image file

2003-01-27 Thread Patricio Vera S.
Hi, I new to the php world ant the image too, and I need modify the header information in a JPEG image file, is that possibly? How? I need put some information in the image at the instant when the user download this from the web site. Thanks in Advance. Saludos, Patricio

RE: [PHP] test - please ignore

2003-08-20 Thread Brian S. Drexler
On that same note, if this list did NOT except attachments, we wouldn't have to worry as much about Thank You! and Details, etc... -Original Message- From: Wouter van Vliet [mailto:[EMAIL PROTECTED] Sent: Sunday, August 17, 2003 7:47 PM To: PHP General Subject: [PHP] test - please ignore

RE: [PHP] This is getting rediculus

2003-08-20 Thread Brian S. Drexler
I don't know, but if we can find out who it is and saywhere he livesI'll be glad to remedy the situation. :-) -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 11:57 AM To: Curt Zirzow Cc: [EMAIL PROTECTED] Subject: Re: [PHP] This

RE: [PHP] This is getting ridiculous

2003-08-20 Thread Brian S. Drexler
But if we find a way to filter the list, say, for patterns just like virus checking programs do. That would probably solve a lot of problems. But again, nobody is really in control of the list so that is difficult...besides, hundreds of people use this list. I don't want to go through and block

RE: [PHP] Mailing List Weirdness

2003-08-22 Thread Brian S. Drexler
Forge the headerspleasesomeone. :) -Original Message- From: Dan Van Derveer [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 1:19 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Mailing List Weirdness Most mailing lists(I don't know about this one because I have yet to

RE: [PHP] PHP Interview questions

2003-08-26 Thread Brian S. Drexler
Each connected to a different light bulb, 3 switches, 3 bulbs. Not exactly rocket science here people. :-) -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 12:57 PM To: Jay Blanchard Cc: CPT John W. Holmes; Micheal Harris; [EMAIL

RE: [PHP] PHP Interview questions

2003-08-28 Thread Brian S. Drexler
Oh manit is WAY too early for a question like this... -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 7:31 AM To: Jay Blanchard; Curt Zirzow; PHP General Subject: RE: [PHP] PHP Interview questions [snip] However, Curt does bring up a

Re: [PHP] var static

2003-08-28 Thread Jordan S. Jones
If I were you, I would use the following: if (!is_a ($miInstancia, 'db')) $miInstancia=new db(); That way you can ensure that the variable has been instantiated and is an instance of the db class.. But it may not really matter.. Jordan S. Jones Alvaro Martinez wrote: I've found the solution

[PHP] Question about the scope of functions

2003-08-31 Thread Phillip S. Baker
Greetings People, Now basically I am trying to set up an easy way to have key value pairs listed in a DB, and then be able to call the name of the key as a variable later in the code of the page and list the corresponding value in the DB. I am almost there. However I just need to figure out

Re: [PHP] Question about the scope of functions - I solved it

2003-08-31 Thread Phillip S. Baker
+++ IMPORTANT: This email message (including attachments, if any) is intended for the use of the individual addressee(s) named above and may contain information that is confidential, privileged or unsuitable for overly sensitive persons with low self-esteem, no sense

Re: [PHP] $_FILES help. Counting help

2003-05-27 Thread Jordan S. Jones
Didier, My guess is in your HTML, you have the input(s) named as 'file'.. Because of the way that PHP handles it's POST/GET variables, you will want to redeclare your input names in your HTML to 'file[]'... This basically defines that it is an array.. Hope that helps, Jordan Didier McGillis

Re: [PHP] Jpgraph troubles

2003-05-29 Thread John S. Huggins
On Wed, 28 May 2003, Jordan Elver wrote: -Hi, -I've been creating some graphs using jpgraph and they work really well when I -view them directly i.e. directly through the script. My problem comes as soon -as I try to display them using the DEFANGED_IMG tag within another page. When I do: -

Re: [PHP] easy conversion to a date?

2003-05-30 Thread Jordan S. Jones
Anthony, I believe that what you are looking for is the following: http://www.php.net/strtotime Jordan Anthony wrote: I have a form where the user enters a date into a text input field. I need to convert this text to a date and put it in a field in a mySQL database. Is there an easy way to do

Re: [PHP] sound

2003-05-30 Thread Jordan S. Jones
Have you copied the sound file to your server as well? Jordan Bobby wrote: Does anybody know of a way under php to add a background sound to a webpage...i have sound on my page when it's local but as soon as I copy it to the server, nothing :( thanks -bobby Bobby Brooks [EMAIL PROTECTED]

RE: [PHP] sound

2003-05-30 Thread Brian S. Drexler
Negative. Sounds are client side, PHP is server side. -Original Message- From: Bobby [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 3:45 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] sound I know that...i'm just curious if somebody knows of a bit of php code

Re: [PHP] Sessions can be dangerous

2003-05-31 Thread Erik S. LaBianca - Quonic
Wim While I do see the usefullness of sessions, I have to disagree with you on the security aspect. A session ID is just as vulnerable to sniffing as is a username / password combination. The only security you gain from using it instead is that it's value is time limited. If your application

Re: [PHP] general questions

2003-06-03 Thread Jordan S. Jones
type $arr_test[1] = My Name; /// String type $arr_test[2] = true; /// Boolean type Hope this helps, Jordan S. Jones Dale wrote: I am new to php and I just have some general questions. 1. when you create a new variable such as an integer

Re: [PHP] oasis banners - ot -

2003-06-05 Thread John S. Huggins
On Tue, 3 Jun 2003, Ryan A wrote: -Hi, -I have decided to check out Oasis banner software but cant figure out how -to install it in my shared hosting planbecause it says something about -compiling it into apache or php etc which has gotten me totally confused. -Anybody here worked with Oasis

Re: [PHP] Mail Username

2003-06-10 Thread John S. Huggins
You can add extra info into the appropriate fields like so. mail([EMAIL PROTECTED], the subject, $message, From: [EMAIL PROTECTED],[EMAIL PROTECTED]); However, your local sendmail might restrict this behavoir of changing the sender identity. Mine simply complaines about it in the mail

Re: [PHP] nl2br() Function for Paragraphs?

2003-06-11 Thread John S. Huggins
On Wed, 11 Jun 2003, Nick Wilson wrote: -Hello everyone, - -Has anyone written a function that does what nl2br() does but wraps text -in a p/p's instead? I'm a bit of a clean html type and nl2br() just -leaves me wishing there was a better way... Several examples appear in the user comments

Re: [PHP] piping email directly into PHP

2003-06-11 Thread John S. Huggins
On Wed, 11 Jun 2003, Adrian Teasdale wrote: -Hi there - -We are wanting to create a little help/crm tool for internal use. Rather -than reading (and parsing) in an email from a pop account, is it now -possible to pipe email in directly to a database via PHP? If so, any -pointers on how to do it

RE: [PHP] Redirects in PHP

2003-06-13 Thread Brian S. Drexler
I don't know of any, but is there a good alternative? -Original Message- From: Zak Johnson [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 1:31 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Redirects in PHP On 2003-06-13 10:34-0600, Michael wrote: Search engines frown on using meta

RE: [PHP] Redirects in PHP

2003-06-13 Thread Brian S. Drexler
But is this the type of stuff that gets penalized in Search Engines or no? -Original Message- From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 1:47 PM To: Zak Johnson Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Redirects in PHP At 19:00 13.06.2003, Zak

RE: [PHP] Add new loadable module in php

2003-06-18 Thread Brian S. Drexler
I've run into a similar situation before because my default PHP install was not using the php.ini in /etc/ . In your phpinfo() does it list /etc/php.ini for the ini file or is something else listed? -Original Message- From: Neil [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003

[PHP] preg_match?

2003-06-30 Thread Brian S. Drexler
Ok, here is my problem. I have a Postscript file that looks something like this: %!PS-Adobe-3.0 %%Title: Q-111BSD %%Creator: Windows NT 4.0 %%CreationDate: 8:31 6/30/2003 %%Pages: (atend) . And I want to get the Q-111BSD into a variable but I can't figure out how to keep it from grabbing

RE: [PHP] preg_match? [SOLVED]

2003-06-30 Thread Brian S. Drexler
Sorry. Must be Monday or something :-) preg_match('/%%Title:(.*?)%%/i',$contents,$matches); -Original Message- From: Brian S. Drexler [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 8:35 AM To: [EMAIL PROTECTED] Subject: [PHP] preg_match? Ok, here is my problem. I have

RE: [PHP] Get Rid of this Crook

2003-07-03 Thread Brian S. Drexler
You do have to admit though, it is a pretty good story. :-) Now let me ask you this. You reply to this e-mail and give your phone/fax numbers and then I'm assuming those get spammed all to hell too. Correct? -Original Message- From: Daryl Meese [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: [PHP] Communication between PHP Server code and HTML/JavaScript client without refreshing the page

2003-07-04 Thread Konstantin S. Kurilov
Hi, It is RPC software. I have used it. It work for me. - Konstantin === Frn: Jon Smirl [SMTP:[EMAIL PROTECTED] Skickat: den 12 mars 1999 05:21 Till: [EMAIL PROTECTED] Angende: [PHP3] RPC for PHP from the browser This is a port of Microsoft's remote scripting

Re: [PHP] Communication between PHP Server code and HTML/JavaScript client without refreshing the page

2003-07-04 Thread Konstantin S. Kurilov
Hi, Excuse, skip one file. It is full set of RPC files. - Konstantin. Konstantin S. Kurilov wrote: Hi, It is RPC software. I have used it. It work for me. - Konstantin === Frn: Jon Smirl [SMTP:[EMAIL PROTECTED] Skickat: den 12 mars 1999 05:21

<    3   4   5   6   7   8   9   10   >