Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-06 Thread Rahul S. Johari
On 11/2/07 11:12 AM, Daniel Brown [EMAIL PROTECTED] wrote: Rahul, I believe all of the modern MacOS variants still use the *nix-style (due to being based on BSD) rc.d startups, right? If so: sudo echo sudo -u www mount_smbfs -f 0777 -d 0777 //usr:[EMAIL PROTECTED]/share

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-06 Thread Rahul S. Johari
On 11/6/07 12:03 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On 11/6/07, Rahul S. Johari [EMAIL PROTECTED] wrote: I couldn't find an /etc/rd.d or rc3.d on my system at all. I've been manually mounting after each boot, so still looking for an automated mounting solution. look for /etc

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-06 Thread Rahul S. Johari
On 11/6/07 12:57 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On 11/6/07, Rahul S. Johari [EMAIL PROTECTED] wrote: On 11/6/07 12:03 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On 11/6/07, Rahul S. Johari [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I couldn't find an /etc/rd.d or rc3

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5) *SOLVED*

2007-11-06 Thread Rahul S. Johari
On 11/6/07 12:57 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: perhaps if you google around on something like mac os x /etc/fstab something useful will turn up. im sure there is an alternative mechanism to mount things at boot time on that system. -nathan For whatever reason, when I first

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5) *SOLVED*

2007-11-06 Thread Rahul S. Johari
On 11/6/07 4:07 PM, Daniel Brown [EMAIL PROTECTED] wrote: We are the geniuses that are the core PHP community. Hear us roar! :D You know the funniest thing? As my discussion progressed, and the contributions back forth, the problem became evidently little to do with PHP and a whole lot

Re: [PHP] XSS

2007-12-26 Thread Rahul S. Johari
On Wednesday 26 December 2007 21:03:40 Mad Unix wrote: Am facig problem with XSS cross Site scripting general on our web site, and i think its a coding issue since our dedicated server run Linux with apache mysql and php... any recommendation to resolve this issue Sure! --- Rahul Sitaram

[PHP] Query DBF records using PHP

2006-09-07 Thread Rahul S. Johari
a record and display it without importing it into mySQL. Any suggestions? Rahul S. Johari Supervisor, 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

[PHP] Open file on a Mounted Share on Mac OS X

2006-09-12 Thread Rahul S. Johari
¹t get the path to work!! I¹ve tried ³/Volumes/Server/file.dbf² . I¹ve tried to create Aliases (shortcuts)... But nothing seems to work! What¹s the trick? How can I get this to work? Any suggestions? Rahul S. Johari Supervisor, Internet Administration Informed Marketing Services Inc. 500

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-12 Thread Rahul S. Johari
In my Windows 2003 Server I've given the Mac OS X user all the permissions possible for that Share. Is there something I have to do in php as far as permissions are concerned? On 9/12/06 5:31 PM, John Nichel [EMAIL PROTECTED] wrote: Rahul S. Johari wrote: Ave, I¹m getting really

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-12 Thread Rahul S. Johari
) { ? On 9/12/06 5:37 PM, Ray Hauge [EMAIL PROTECTED] wrote: On Tuesday 12 September 2006 16:27, Rahul S. Johari wrote: Ave, I¹m getting really frustrated with this. How do I get PHP to open/read a file which is on a Share, mounted on Mac OS X. My Mac OS X is connected to a Windows 2003

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-12 Thread Rahul S. Johari
() [function.dbase-open]: unable to open database /Volumes/foresight/2qc0831.dbf in /Library/WebServer/Documents/site.com/folder/file.php on line 29 On 9/12/06 5:46 PM, Ray Hauge [EMAIL PROTECTED] wrote: On Tuesday 12 September 2006 16:33, Rahul S. Johari wrote: In my Windows 2003 Server I've given

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-12 Thread Rahul S. Johari
] wrote: On Tuesday 12 September 2006 16:45, Rahul S. Johari wrote: If I hit 'Get Info' on the share folder, a file within that folder, or even the DBF I'm trying to open... Mac OS X tells me that I have 'Read Write' access to it. Basically All permissions have been provided to the Mac OS X user

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-12 Thread Rahul S. Johari
to work. On 9/12/06 5:47 PM, John Nichel [EMAIL PROTECTED] wrote: Rahul S. Johari wrote: Permissions have been set on the Windows Server for the Mac user... And all permissions have been given to him. This is my code.. ?php #Check is DBF Exists $filename = /Volumes/foresight/2qc0831.dbf

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-12 Thread Rahul S. Johari
PROTECTED] wrote: Hmmm... That's odd. I would use your terminal program, then change directory to the location of the file, and do pwd. That should give you your working directory. If you can get to it on OSX, and PHP is on OSX, then PHP should be able to see the file in the same path. Rahul S

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-12 Thread Rahul S. Johari
, open_basedir in your php.ini: http://us3.php.net/manual/en/ini.php steve On Tue, 12 Sep 2006, Rahul S. Johari wrote: I did exactly that... Used Terminal to find the correct path. Did pwd in terminal window where my file is located. And this is what I got: /Volumes/foresight Which

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-12 Thread Rahul S. Johari
in it!! On 9/12/06 6:18 PM, Ray Hauge [EMAIL PROTECTED] wrote: You could try getting a directory listing with PHP to see if you can see what files are in there, or if you can access that directory through PHP. http://us2.php.net/manual/en/function.opendir.php Rahul S. Johari Supervisor

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-13 Thread Rahul S. Johari
Samba. It's an SMB share. On 9/13/06 12:39 AM, Chris [EMAIL PROTECTED] wrote: Rahul S. Johari wrote: That was a good idea. I tried that... It was showing nothing for /Volumes/foresight ... But it did show the contents of /Volumes... And interestingly, 'foresight' was also listed

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-13 Thread Rahul S. Johari
, or the mounted share called foresight ? On 9/13/06 11:30 AM, John Nichel [EMAIL PROTECTED] wrote: Rahul S. Johari wrote: Nope. It looks like this... drwxr-xr-x 3 root root 4096 Sep 13 10:44 . drwxr-xr-x 3 root root 4096 Sep 13 10:46 .. drwx-- 1 rjohari admin 16384 13 Sep 10:38

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-13 Thread Rahul S. Johari
Been reading and reading... Can't get much out of it. Everytime I try the mount command, I get can't get net id On 9/13/06 11:39 AM, John Nichel [EMAIL PROTECTED] wrote: Rahul S. Johari wrote: How can I set the drwxr-xr-x permissions on my mounted share? I've set everything I possibly could

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-13 Thread Rahul S. Johari
I tried the chmod command in the Terminal Window, but I'm not really getting the exact command that I need to change the permissions. On 9/13/06 12:08 PM, Ray Hauge [EMAIL PROTECTED] wrote: On Wednesday 13 September 2006 10:58, Rahul S. Johari wrote: Been reading and reading... Can't get

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-13 Thread Rahul S. Johari
2006 10:30, John Nichel wrote: Rahul S. Johari wrote: Nope. It looks like this... drwxr-xr-x 3 root root 4096 Sep 13 10:44 . drwxr-xr-x 3 root root 4096 Sep 13 10:46 .. drwx-- 1 rjohari admin 16384 13 Sep 10:38 foresight Foresight being the mounted share. Does your webserver

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-13 Thread Rahul S. Johari
it as the root/admin account. Rahul S. Johari Supervisor, 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 List (http

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-13 Thread Rahul S. Johari
mode). Rahul S. Johari Supervisor, 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 List (http://www.php.net

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-13 Thread Rahul S. Johari
I see that. I'm looking this up online. To bring things back to the scope of the mailing list... Is there anyone here who's successfully had PHP read a file sitting on a mounted share on Mac OS X? On 9/13/06 2:53 PM, John Nichel [EMAIL PROTECTED] wrote: Rahul S. Johari wrote: Ok you may

Re: [PHP] *SOLVED* Open file on a Mounted Share on Mac OS X

2006-09-13 Thread Rahul S. Johari
of location (which is inside the hidden folder called Volumes) instead of a location of my choice. Much thanks to all of you! Rahul S. Johari Supervisor, Internet Administration Informed Marketing Services Inc. 500 Federal Street, Suite 201 Troy NY 12180 Tel: (518) 687-6700 x154 Fax: (518) 687-6799

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-14 Thread Rahul S. Johari
How can I set the drwxr-xr-x permissions on my mounted share? I've set everything I possibly could in the windows 2003 server to give the mac os x user full control! On 9/13/06 10:49 AM, John Nichel [EMAIL PROTECTED] wrote: Rahul S. Johari wrote: Samba. It's an SMB share. On 9/13/06 12

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-14 Thread Rahul S. Johari
Nope. It looks like this... drwxr-xr-x 3 root root 4096 Sep 13 10:44 . drwxr-xr-x 3 root root 4096 Sep 13 10:46 .. drwx-- 1 rjohari admin 16384 13 Sep 10:38 foresight Foresight being the mounted share. On 9/13/06 10:49 AM, John Nichel [EMAIL PROTECTED] wrote: Rahul S. Johari wrote

[PHP] chown(), chgrp()

2006-09-19 Thread Rahul S. Johari
Is there a way to find out if a file can be chown¹d or chgrp¹d ? Something like is_writeable() ... Except that you¹re trying to find out if you can change the Owner or Group of a file. Rahul S. Johari Supervisor, Internet Administration Informed Marketing Services Inc. 500 Federal Street, Suite

Re: [PHP] chown(), chgrp()

2006-09-19 Thread Rahul S. Johari
cannot be changed It wasn't really changing the mode. Which is why I thought it doesn't work this way. On 9/19/06 11:58 AM, Jay Paulson [EMAIL PROTECTED] wrote: If (!chmod(/somedir/somefile, 775)) { echo file can't be chmoded!; } Rahul S. Johari Supervisor, Internet Administration

Re: [PHP] chown(), chgrp()

2006-09-19 Thread Rahul S. Johari
Ok, my code follows. Basically I'm printing ... my Owner/Group, the existing Owner/Group of the file, the Owner/Group of the file After trying to change it. The most interesting thing is... I get absolutely no errors, no warnings, and everything prints out as if everything worked... Except that

[PHP] Client Computer Registration

2006-10-02 Thread Rahul S. Johari
for one of my applications. Any advice? Rahul S. Johari Supervisor, 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

Re: [PHP] Client Computer Registration

2006-10-02 Thread Rahul S. Johari
uniquely id a computer. Thanks for your response. On 10/2/06 8:23 AM, Stut [EMAIL PROTECTED] wrote: Rahul S. Johari wrote: I saw this at the Key.Com website for Keybank Customers. When you go to their website to login to view your account, they ask you to register your computer

[PHP] File Uploads not working over SSL

2006-10-04 Thread Rahul S. Johari
without SSL and it¹s working fine! What¹s the workaround? How do I get this to work on SSL? Any suggestions? Rahul S. Johari Supervisor, 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

Re: [PHP] File Uploads not working over SSL

2006-10-04 Thread Rahul S. Johari
basic, so nothing much to show in it: form method=post action=http://www.myurl.com/imsafm2_main.php; name=upload_form enctype=multipart/form-data Thanks. On 10/4/06 3:49 PM, João Cândido de Souza Neto [EMAIL PROTECTED] wrote: Please, show us your code. Rahul S. Johari [EMAIL PROTECTED] escreveu

Re: [PHP] File Uploads not working over SSL

2006-10-04 Thread Rahul S. Johari
/imsafm2_main.php; name=upload_form enctype=multipart/form-data might be your error, should that not be https:// ? Andrew - Original Message - From: Rahul S. Johari [EMAIL PROTECTED] To: Jo ã o C â ndido de Souza Neto [EMAIL PROTECTED]; PHP php-general@lists.php.net Sent: Wednesday

Re: [PHP] File Uploads not working over SSL

2006-10-05 Thread Rahul S. Johari
S. Johari wrote: form method=post action=http://www.myurl.com/imsafm2_main.php; If you MOVED everything to the SSL server, then http://www.myurl.com ain't the right ACTION anymore. It's now https://www.myurl.com Rahul S. Johari Supervisor, Internet Administration Informed Marketing Services

[PHP] RE:[PHP] Client Computer Registration

2006-10-05 Thread Rahul S. Johari
here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? Rahul S. Johari Supervisor, Internet Administration Informed Marketing Services Inc. 500 Federal Street, Suite 201 Troy NY 12180 Tel: (518) 687-6700 x154

[PHP] if(), else() problem!

2006-10-06 Thread Rahul S. Johari
number does not exist in the database? The logic is just failing me at this point. Rahul S. Johari Supervisor, 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

Re: [PHP] if(), else() problem!

2006-10-06 Thread Rahul S. Johari
, and if the phone number is not in the first row), and basically exit and not go further with the loop. On 10/6/06 12:40 PM, João Cândido de Souza Neto [EMAIL PROTECTED] wrote: Usen this: echo ³not found²; break; Rahul S. Johari [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED

Re: [PHP] if(), else() problem!

2006-10-06 Thread Rahul S. Johari
) { $msg = 'number found'; break; } } } echo $msg; // ^^^--- untested Rahul S. Johari Supervisor, 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

Re: [PHP] if(), else() problem!

2006-10-06 Thread Rahul S. Johari
is in the $db, then else echo not found? seems all to much to do so little. On Friday 06 October 2006 18:35, Rahul S. Johari wrote: Ave, code: $db = dbase_open(osm.dbf, 0); if ($db) { $record_numbers = dbase_numrecords($db); for ($i = 1; $i = $record_numbers; $i++) { $row

Re: [PHP] if(), else() problem!

2006-10-06 Thread Rahul S. Johari
[EMAIL PROTECTED] wrote: On Friday 06 October 2006 21:45, Rahul S. Johari wrote: Well, the actual script doesn't just print found number if the number exists... It displays all the data from the database of that record, also gives an interactive form to update the data and more. Yes, and my

Re: [PHP] if(), else() problem!

2006-10-09 Thread Rahul S. Johari
] wrote: On Fri, October 6, 2006 2:59 pm, Rahul S. Johari wrote: I'm not sure if I understand your point then! I have about 80 fields in that database that are fetched and displayed on the page using this code. If there's a simpler way to do this, and have it work the if() else() error

[PHP] Exporting from Multiple mySQL Tables into One

2007-01-18 Thread Rahul S. Johari
, and appends it to the DBF, alongwith adding a field that carries the Identifier Value for each table. Any suggestions? Rahul S. Johari Supervisor, 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] Exporting from Multiple mySQL Tables into One - SOLVED!

2007-01-18 Thread Rahul S. Johari
($row_loDispo = mysql_fetch_assoc($loDispo)); } dbase_close($db2); } mysql_free_result($loDispo); header(Location: dbf/ALL.dbf); Works like a charm! Thanks! Rahul S. Johari Supervisor, Internet Administration Informed Marketing Services Inc. 500

[PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
Ave, I'm wondering if there's a PHP solution to this, I could be in the wrong place. I have an INSERT form which submits to the same php page, which also displays the records from the mySQL database the INSERT form submits to. When the form submits and the page returns, the added record

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
); header('Last-Modified: '.gmdate('D, d M Y H:i:s', $time).' GMT'); On Tue, Jul 22, 2008 at 1:14 PM, Rahul S. Johari [EMAIL PROTECTED] wrote: Ave, I'm wondering if there's a PHP solution to this, I could be in the wrong place. I have an INSERT form which submits to the same php page, which

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
time in the future, the server MUST replace that date with the message origination date. So do not send a future date! On Tue, Jul 22, 2008 at 2:11 PM, Rahul S. Johari [EMAIL PROTECTED] wrote: I tried with just the first three header() statements you gave, but it didn't work. Let me try

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
at 9:33 AM, Rahul S. Johari [EMAIL PROTECTED] wrote: Hmm, interesting. In my case, $file does indeed output dynamic data. I did try with the modified time but it still doesn't work. I still have to hit refresh on the browser, after submitting the form, in order for the inserted record

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
It works, but it's not the most efficient solution. The page has heavy graphics text. Using the header(Location: a.php) loads the page in question twice. Slower connections will respond slowly to the page. In theory, the header() statements for not using cache should have worked - I'm

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
issue. I could be wrong though. On Jul 22, 2008, at 9:08 AM, Thijs Lensselink wrote: Quoting Rahul S. Johari [EMAIL PROTECTED]: Here's what it is: I have a php page, a.php, which contains these three things: - SELECT statement to display records from a mySQL Table - HTML Form for inserting

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
if possible. Unless there doesn't exist any alternates, which still stumps me. Thanks! On Jul 22, 2008, at 10:37 AM, Andrew Ballard wrote: On Tue, Jul 22, 2008 at 10:24 AM, Rahul S. Johari [EMAIL PROTECTED] wrote: It works, but it's not the most efficient solution. The page has heavy graphics

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
is lying somewhere in either Firefox 3 or my settings of Firefox 3. Let me look into this. Thanks guys! On Jul 22, 2008, at 10:45 AM, Thijs Lensselink wrote: Quoting Rahul S. Johari [EMAIL PROTECTED]: No, actually the flow of the program does not work in that order. The flow of the program

[PHP] Dynamic Select Lists - 1st Selection Effects 2nd!

2008-07-31 Thread Rahul S. Johari
Ave, What I have is two Select (Drop-Down) lists (State County) and I'm populating them from a mySQL table. What I want is when the user selects the State from the State List, the County List should only pull out counties associated with that State. Now I know that you can create such

Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!

2008-07-31 Thread Rahul S. Johari
On Jul 31, 2008, at 12:55 PM, Boyd, Todd M. wrote: -Original Message- From: Rahul S. Johari [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2008 11:40 AM To: php-general@lists.php.net Subject: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd! Ave, What I have is two Select

Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd! -- SOLVED!!

2008-07-31 Thread Rahul S. Johari
Did IT Haha ... just as you were probably writing in sending this mail. I pretty much used your theory and actually did look around under http://www.w3schools.com/ajax/ to get the relevant AJAX information. Works like a charm. Pretty much using an

Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd! -- SOLVED!!

2008-07-31 Thread Rahul S. Johari
On Jul 31, 2008, at 3:10 PM, Boyd, Todd M. wrote: -Original Message- From: Rahul S. Johari [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2008 2:06 PM To: Boyd, Todd M. Cc: php-general@lists.php.net Subject: Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd! -- SOLVED

Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

2008-09-12 Thread Rahul S. Johari
On Sep 12, 2008, at 10:18 AM, Boyd, Todd M. wrote: -Original Message- From: Sancar Saran [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2008 6:15 PM To: php-general@lists.php.net Subject: Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

[PHP] From in mail() header problem.

2005-05-18 Thread Rahul S. Johari
doing wrong, it¹s not reading the FROM or Reply-TO in the headers. Instead of the mail stating ³Something [EMAIL PROTECTED]² at the recipient¹s end, it is stating ³World Wide Web Server [EMAIL PROTECTED]² .. I have no clue why. Thanks, Rahul S. Johari Coordinator, Internet Administration Informed

Re: [PHP] From in mail() header problem. - Solved!

2005-05-18 Thread Rahul S. Johari
. But using \n alone, the From: is also fixed now, and everything is working in order. Thanks a ton! 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] Image Verification - Problems in Safari, Mac OS X

2005-05-18 Thread Rahul S. Johari
=verify.png width=200 height=40brbr Type the code you see in the image in the box below. (case sensitive) form action=verified.php method=post input name=random type=text value= input type=submit /form /BODY /HTML Any tips to make it work in Safari as well? Thanks, Rahul S. Johari Coordinator, Internet

Re: [PHP] Image Verification - Problems in Safari, Mac OS X

2005-05-19 Thread Rahul S. Johari
the website and land back on the verification page. So in IE, right now, unless you actually HIT the REFRESH button, it's not changing the image as it's picking up the image from the Cache. Now I'm not sure what exactly I should do to fix this whole situation. Thanks all, Rahul S. Johari Coordinator

Re: [PHP] Image Verification - Problems in Safari, Mac OS X

2005-05-19 Thread Rahul S. Johari
On 5/18/05 6:23 PM, Marek Kilimajer [EMAIL PROTECTED] wrote: BTW, you might not be concerned about it much, but you have a race condition in your script. Ave, What do you mean by race condition ? Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251

Re: [PHP] Image Verification - Problems in Safari, Mac OS X

2005-05-19 Thread Rahul S. Johari
? Stll... IE is displaying the image that has already been displayed on first login attempt... It won't display new Image untill you actually physically hit the REFRESH button on the browser. Any suggestions? Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251

Re: [PHP] Image Verification - Problems in Safari, Mac OS X

2005-05-20 Thread Rahul S. Johari
a little more... I'm not sure how to use no_of_seconds_since_unix_epoch ... 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

Re: [PHP] Image Verification - Problems in Safari, Mac OS X

2005-05-20 Thread Rahul S. Johari
problem still persists. Don't know what to do about it. Is just not working out in IE. 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

[PHP] Cache Problems

2005-05-20 Thread Rahul S. Johari
is working out. I don¹t know how to get that page to load fresh from the server and not IE¹s cache so it won¹t display the same Image over and over. Any suggestions? Thanks, Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251 River Street Troy, NY 12180 Tel

Re: [PHP] Image Verification - Problems in Safari, Mac OS X

2005-05-23 Thread Rahul S. Johari
this for now, at least the application is working. If I had misunderstood your method and you think your method is better then what I'm using now, I'd still really appreciate if you can clarify and explain. Thanks again, Rahul S. Johari Coordinator, Internet Administration Informed Marketing

Re: [PHP] Why this doesn't work ?

2005-05-24 Thread Rahul S. Johari
to delete.php I don't think there's something wrong with your code below.. There might be some other reason affecting the transfer of the $email variable value. Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 251 River Street Troy, NY 12180 Tel: (518) 266-0909

[PHP] strtotime('yesterday')

2005-05-24 Thread Rahul S. Johari
tips? 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

[PHP] Updating Multiple rows with Combo Box!

2005-08-22 Thread Rahul S. Johari
the Œhired¹ field with whatever value has been selected for that row in the Combo Box. Any help appreciated. 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

Re: [PHP] Updating Multiple rows with Combo Box!

2005-08-22 Thread Rahul S. Johari
you post the query you are using? -- 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. 251 River Street Troy, NY 12180 Tel: (518) 266-0909 x154 Fax: (518

Re: [PHP] Updating Multiple rows with Combo Box!

2005-08-22 Thread Rahul S. Johari
out the query to see that it is correct? Do you have register_globals ON? If not you need to use the $_GET or $_POST array depending on the form method $sql = UPDATE contactdata SET hired= '.$_POST['hired'].' WHERE ID='.$_POST['thisID'].' ; Rahul S. Johari Coordinator, Internet

Re: [PHP] Updating Multiple rows with Combo Box! *SOLVED*

2005-08-22 Thread Rahul S. Johari
://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php 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

[PHP] IP Address Filtering

2006-03-29 Thread Rahul S. Johari
and then block him? 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 PROTECTED] http://www.informed-sources.com

Re: [PHP] IP Address Filtering

2006-03-30 Thread Rahul S. Johari
records with NULL as IP for audience who¹s IP is recorded as NULL. 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 PROTECTED] http://www.informed

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
not the most efficient method in the world. What other logic can I apply to automatically block the spammer? Or at least have a more efficient method of blocking the Spammer and his IP¹s? Thanks. On 3/30/06 8:41 AM, Rahul S. Johari [EMAIL PROTECTED] wrote: Ave, Curt, thanks for your response

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] Handling Large Check Box Data

2006-05-17 Thread Rahul S. Johari
the data to display separately out of that field in the Listings view and more importantly how to include that data in the Search options. Any help would be appreciated. Thanks, Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services Inc. 500 Federal Street, Suite 201 Troy

[PHP] Checkbox Hidden Field to Delete Row

2006-06-01 Thread Rahul S. Johari
file WHERE ID='$thisID[$i]'; $result = mysql_query($sql) or die(Fatal Error: .mysql_error()); $thefile = $PF[$i]; unlink($thefile); } I have no clue what to do... It¹s just not working out. Rahul S. Johari Coordinator, Internet Administration Informed Marketing Services

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] 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] 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
. Why won¹t it allow the correct user/pass to login? I don¹t understand. The only difference between the PHP on my localhost and the PHP on my webhost server is that my local machine is running PHP 5 and the webhost server is running PHP 4.4.1 Thanks, Rahul S. Johari Coordinator, Internet

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

  1   2   >