Re: [PHP] Re: PDA / Normal Browser

2004-06-11 Thread Pushpinder Singh
Use javascript -- browser object hth /pS On Friday, June 11, 2004, at 03:09 PM, Jason Barnett wrote: Shaun wrote: Hi, Is it possible to use PHP to detect the type of browser accessing my site. For example if a PDA is using it I would prefer not to include large graphics... Many thanks for your

[PHP] Online Testing Application

2004-06-01 Thread Pushpinder Singh
Hello All, I am designing a PHP and MySQL based online Testing Application. The application will consist of about 120 lessons and each lesson will have a quiz at the end of the lesson. There will also be some core lessons that all test takers will have to pass before going ahead. There

Re: [PHP] PHP and Perl Integration for E-Cart

2004-04-20 Thread Pushpinder Singh
that the Perl code knows the PHP session variable. This ways I can keep track of the the user name/email/ order status etc. I want to to know whether it is possible to do this. Thanks again ! --Pushpinder On Tuesday, April 20, 2004, at 03:57 PM, John W. Holmes wrote: From: Pushpinder Singh

Re: [PHP] PHP and Perl Integration for E-Cart

2004-04-20 Thread Pushpinder Singh
then the question comes up, that I need to get hold of a PHP-based payment gateway. Thanks again -Pushpinder On Tuesday, April 20, 2004, at 04:22 PM, John W. Holmes wrote: From: Pushpinder Singh [EMAIL PROTECTED] This is the situation at hand ... we have a PHP Session based Login module

Re: [PHP] session timeout

2004-04-16 Thread Pushpinder Singh
// my appl logs the user out after about 30 mins Thanks in advance Pushpinder Singh On Friday, April 16, 2004, at 08:54 AM, Marek Kilimajer wrote: pete M wrote: Am trying to increae the session lifetime to 8 hours ish using this code ini_set('session.gc_maxlifetime',28800); does not work

Re: [PHP] PHP based Voice Chat Module

2004-04-08 Thread Pushpinder Singh
¤telia.com Pushpinder Singh [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Thanks Raditha, Yes we are primarily looking at a PHP chat module which will allow us conduct an audio conference. I know there are Flash Voice Chat versions but they are all for Windoze... we are primarily

[PHP] PHP based Voice Chat Module

2004-04-07 Thread Pushpinder Singh
Hello everyone, I was wondering if anyone has used any PHP/MySQL based voice chat system. (for MAC OS X Platform) thanks in advance Pushpinder -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP based Voice Chat Module

2004-04-07 Thread Pushpinder Singh
course of action // Thanks again --Pushpinder On Wednesday, April 7, 2004, at 12:06 PM, Raditha Dissanayake wrote: Pushpinder Singh wrote: Hello everyone, I was wondering if anyone has used any PHP/MySQL based voice chat system. (for MAC OS X Platform) What kind of voice chat are you talking

Re: [PHP] PHP based Voice Chat Module

2004-04-07 Thread Pushpinder Singh
Sorry I did not answer your question in my earlier reply, Thats right the user will use a headset and microphone to communicate. Thanks Pushpinder On Wednesday, April 7, 2004, at 12:06 PM, Raditha Dissanayake wrote: What kind of voice chat are you talking about? are you refering to

Re: [PHP] RE:[PHP] session_register vs. $_SESSION superglobal

2004-03-23 Thread Pushpinder Singh
']; } Is this approach safe ?? Pl let me know. Also I use if (isset($_SESSION['valid_user'] ) ) to check if the user is logged in on secure pages. Please comment. Thanks in advance Pushpinder Singh ___ Web Dev On Tuesday, March 23, 2004, at 10:38 AM, Andy B wrote: first $_SESSION works

Re: [PHP] login scripts not secure?? help!

2004-03-23 Thread Pushpinder Singh
']; } Is this approach safe ?? Pl let me know. Also I use if (isset($_SESSION['valid_user'] ) ) to check if the user is logged in on secure pages. Please comment. Thanks in advance Pushpinder Singh ___ Web Dev On Tuesday, March 23, 2004, at 08:56 AM, Red Wingate wrote: hi

[PHP] Single button click to call PHP logout scripts in 2 Frames

2004-03-09 Thread Pushpinder Singh
logout scripts one each in the mainFrame and the leftFrame using a single click event in either frame. Thanks in advance. regards Pushpinder Singh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Login Page Issues

2004-02-18 Thread Pushpinder Singh
Hello again, I was wondering if anyone had a chance to take a quick peek at this code. Thanks again guys ! -Pushpinder On Tuesday, February 17, 2004, at 10:49 AM, Pushpinder Singh wrote: Hello Everyone, I am making use of the following login module. However, it tells the user to login

[PHP] PHP Login Page Issues

2004-02-17 Thread Pushpinder Singh
is ON on the remote host, I would really appreciate any pointers on this one. Thanks in advance. regards Pushpinder Singh START OF CODE ? session_start(); error_reporting(E_ALL); if ( (isset($_POST['validuser'])) (isset($_POST['pass

[PHP] PHP/ MySQL Login Module

2004-02-16 Thread Pushpinder Singh
hello everyone. I am using PHP and MySQL on my website. Till now I was using a Login module with sessions, but the look and feel was not quite up to the mark. I have the functionality working just fine. I was wondering if I cold get my hands on a 'Login' module like www.zend.com (and other

Re: [PHP] The PHP Problem

2004-01-30 Thread Pushpinder Singh
You need to test this page on a webserver. I assume you are on a Win system .configure IIS to understand php and then place all your scripts in C:/Inetwin/ folder and u shud be set. hth ps On Friday, January 30, 2004, at 01:51 PM, Ash wrote: Hi, I am totally new to PHP and dont know a thing. I

Re: [PHP] Session time-out value

2004-01-28 Thread Pushpinder Singh
Yes, I have used a .htaccess file in a Web Directory to prevent http access to its contents. Thanks again !! -Pushpinder Singh On Saturday, January 24, 2004, at 12:59 AM, Jason Wong wrote: On Saturday 24 January 2004 05:46, Pushpinder Singh wrote: I tried to keep a .htaccess file

[PHP] Session time-out value

2004-01-23 Thread Pushpinder Singh
Hello All, I am using php and Mysql in my application. The problem is that the system automatically logs the user out of the system after 24 minutes. I would like to extend the session lifetime to about 2-3 hrs. I know there is a way to do it using a .htaccess file kept in the same folder as

Re: [PHP] Session time-out value

2004-01-23 Thread Pushpinder Singh
Thanks John, I dont have rights t change this value for my webserver. I only want this value to be changed for my application. Is there a way to take care of this ? Thanks again !! Pushpinder On Friday, January 23, 2004, at 11:28 AM, John Nichel wrote: Pushpinder Singh wrote: Hello All

Re: [PHP] Session time-out value

2004-01-23 Thread Pushpinder Singh
Thanks much John, I have about 8 different pages that are all session linked. Do I have to add this ini_set() at the beginning of all the session_start() calls on all these pages. Thanks again and I am sorry if my question sounded lame. Pushpinder Singh On Friday, January 23, 2004, at 11:49

Re: [PHP] Session time-out value

2004-01-23 Thread Pushpinder Singh
: Pushpinder Singh wrote: Thanks much John, I have about 8 different pages that are all session linked. Do I have to add this ini_set() at the beginning of all the session_start() calls on all these pages. You should only have to do it for the first time session_start() is called, but not knowing

Re: [PHP] Session time-out value

2004-01-23 Thread Pushpinder Singh
Hello All, I tried to keep a .htaccess file in the Dir that my application esided in and kept the session lifetime of about 8 hrs. However I checked to see after 2 hr and it had already kicked me out of the system. Please advise. Thanks in advance Pushpinder Singh On Friday, January 23

[PHP] Online Testing package using PHP and MySQL

2004-01-20 Thread Pushpinder Singh
hello all, I am trying to develop an online testing module using PHp and MySQl on a Mac Platform. The module will need to have users authenticated before they can take the test. After that the system should take care of storing the scores of the users intp MySQL..Since I currently use

[PHP] Import data from textfile

2004-01-06 Thread Pushpinder Singh
Hello All, I am trying to import data into MySQL DB using a CSV file (using phpMyAdmin as the DB Admin tool). I keep getting the following error. SQL-query : LOAD DATA LOCAL INFILE '/tmp/phpYRmG0A' INTO TABLE `contacts` FIELDS TERMINATED BY ';' LINES TERMINATED BY '\n'( `company` ,

Re: [PHP] Re: Import data from textfile

2004-01-06 Thread Pushpinder Singh
Pushpinder Singh [EMAIL PROTECTED] píse v diskusním príspevku news:[EMAIL PROTECTED] Hello All, I am trying to import data into MySQL DB using a CSV file (using phpMyAdmin as the DB Admin tool). I keep getting the following error. SQL-query : LOAD DATA LOCAL INFILE '/tmp/phpYRmG0A' INTO TABLE

Re: [PHP] Re: Import data from textfile

2004-01-06 Thread Pushpinder Singh
Dang ! I get this error when I try to check for priv settings for my DB SQL-query : USE mysql MySQL said: Access denied for user: '[EMAIL PROTECTED]' to database 'mysql' Please advise. Thanks Pushpinder On Tuesday, January 6, 2004, at 02:29 PM, Jay Blanchard wrote: [snip] I am still

[PHP] DB / Tables Question

2003-12-04 Thread Pushpinder Singh Garcha
Hello everyone, I have created a PHP and MySQL powered, web-based CRM package for our office. It simply takes care of our telephone marketing strategy. I need to provide this CRM package to our other clients as well. The CRM package makes use of 2 tables i.e. 'Admin' and 'Contacts' .

Re: [PHP] Display a JPG Image (continued)

2003-10-14 Thread Pushpinder Singh Garcha
Hello all again, I am still having trouble opening a jpg image using header(Content-type: image/jpg); $file = docs/picture1.jpg; header(Content-disposition: attachment; filename=$file ); readfile($file); The

[PHP] Display a JPG Image

2003-10-10 Thread Pushpinder Singh Garcha
in the same frame. Any suggestions would be most welcome. ! Thanks in advance Pushpinder Singh

[PHP] Read a PDF File using php

2003-10-01 Thread Pushpinder Singh Garcha
Hello All I need to allow a user to access a PDF file, only if he/she is logged in as a registered user. So here is the code that I am trying to use. I have been able to make this work in the past, when I had to read .html file, now since the file in question is a .pdf file, I am having

Re: [PHP] Read a PDF File using php

2003-10-01 Thread Pushpinder Singh Garcha
No I am not sending any headers to the browser. Any suggestions ! Thanks On Wednesday, October 1, 2003, at 04:05 PM, Tyler Lane wrote: Are you sending a Content-Type header to the browser to let it know what type of file you are sending it? -- PHP General Mailing List (http://www.php.net/) To

[PHP] Form variables lost when duplicate records are found !

2003-09-02 Thread Pushpinder Singh Garcha
Hello everyone, I am making use of a php form to add company details to a MySQL Database. Before I add the form variables I am checking to see if the SAME company name exists in the DB. If the same company exists, then a notification is provided. In between this , the variables that were

Re: [PHP] Form variables lost when duplicate records are found !

2003-09-02 Thread Pushpinder Singh Garcha
I am currently using sessions on my site // are you suggesting that I store all the possible 30 form variables in a temp session array. ?? and destroy it afterwards Thanks -Pushpinder On Tuesday, September 2, 2003, at 04:41 PM, Matt Matijevich wrote: [snip] then the forms variables are stored

[PHP] '' Sign in _GET Parameter

2003-08-22 Thread Pushpinder Singh Garcha
Hello All, I am using an application where I retrieve user profile from a MySQL DB using the Company Name . I pass the name of the company to the PHP script as a '$_GET' parameter. e.g. when the name of the company is 'IBM'. , the URL with the query string would look like :

Re: [PHP] '' Sign in _GET Parameter

2003-08-22 Thread Pushpinder Singh Garcha
Thanks for the link, $link = $row['company']; a href=\full_profile_1.php?name=', urlencode($link),' \ However this does not seem to work / what am I missing ? Thanks -Pushpinder On Friday, August 22, 2003, at 03:23 PM, CPT John W. Holmes wrote: From: Pushpinder Singh Garcha [EMAIL

Re: [PHP] Display variable with spaces -SOLVED

2003-08-14 Thread Pushpinder Singh Garcha
Thank you so much ! it works fine now ;) --Pushpinder On Wednesday, August 13, 2003, at 12:01 PM, Larry E. Ullman wrote: And I try to display it in the table using this : input name=email_1 type=text id=email_1 size=50 value = ? echo $email_1; ? if I try to echo the variable $email_1, I get

[PHP] Display variable with spaces

2003-08-14 Thread Pushpinder Singh Garcha
Hello, I am trying to display the rows of a MySql Query in a table. I retrieve the result using the query : while ($row = mysql_fetch_array($result1, MYSQL_ASSOC)) { $email_1 =

[PHP] Passing Values between Pages : $_SESSION / $_GET

2003-08-14 Thread Pushpinder Singh Garcha
Hello All, I am using php and mysql in my application which allows users to search/query a database. The database is cast and has about 32 rows per record. When the user fires the query, the result is in the form of a table that contains only the 6 important rows of the entire record.

Re: [PHP] Passing Values between Pages : $_SESSION / $_GET

2003-08-14 Thread Pushpinder Singh Garcha
Thank you Jay for responding. Let me clarify again. The $_GET Parameter was used to to transfer the name from the results page (with the tables etc) to a full-profile_1.php page. On the full_profile_1.php page the user is displayed a form with all the details about the company. On the same

Re: [PHP] Passing Values between Pages : $_SESSION / $_GET

2003-08-09 Thread Pushpinder Singh Garcha
Hello again, I would appreciate if someone could help me out with this one. Thanks again --Pushpinder On Friday, August 8, 2003, at 11:46 AM, Pushpinder Singh Garcha wrote: Hello All, I am using php and mysql in my application which allows users to search/query a database. The database

Re: [PHP] Passing Values between Pages : $_SESSION / $_GET

2003-08-09 Thread Pushpinder Singh Garcha
Hello Jay , I am attaching snippet of the Form Code that displays the results of the first query meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head ? echo Hello ::: .$company.br; ? body bgcolor=aa leftmargin=14 topmargin=10 form name=form1 method=POST

[PHP] _GET question

2003-08-01 Thread Pushpinder Singh Garcha
Hello All, My application has a search / query feature where in the user selects the search criteria and is displayed a page containing the reults. The user must also be allowed to edit these results and save them later on. On the results page I use the following logic, // // START OF

[PHP] Array Question

2003-07-28 Thread Pushpinder Singh Garcha
hello everyone, I am trying to store one of the fields of the resultset into an array as I display the results. while ($row = mysql_fetch_array($result1)) { // Alternate the bgcolor of each row for visibility ($even % 2) == 0 ? $bgcolor = #EFEFEF : $bgcolor = #ee;

[PHP] Store array as Session Variable

2003-07-28 Thread Pushpinder Singh Garcha
. --Pushpinder Singh

Re: [PHP] Store array as Session Variable

2003-07-28 Thread Pushpinder Singh Garcha
$details is empty !! Thanks --Pushpinder On Monday, July 28, 2003, at 03:31 PM, CPT John W. Holmes wrote: $details is an array (just like $company_name was). Try to view print_r($details); and see what you get. ---John Holmes... - Original Message - From: Pushpinder Singh Garcha [EMAIL

Re: [PHP] Store array as Session Variable

2003-07-28 Thread Pushpinder Singh Garcha
to work since it gives NULL when i try to echo $_SESSION['link']; Thanks in advance --Pushpinder On Monday, July 28, 2003, at 03:43 PM, Chris Shiflett wrote: --- Pushpinder Singh Garcha [EMAIL PROTECTED] wrote: I am trying to store the value in row['company'] in an array called $company_name

Re: [PHP] Store array as Session Variable

2003-07-28 Thread Pushpinder Singh Garcha
Thanks John, I used the $_GET['name'] on the next page to access the selection. http://psg.local/~psgarcha/CRM/full-profile.php?name=jack http://psg.local/~psgarcha/CRM/full-profile.php?name=tim http://psg.local/~psgarcha/CRM/full-profile.php?name=mary

Re: [PHP] Store array as Session Variable

2003-07-28 Thread Pushpinder Singh Garcha
Shiflett wrote: --- Pushpinder Singh Garcha [EMAIL PROTECTED] wrote: However if I decided to use the sessions approach how would I go about it? I am just curious to find out why $_SESSION['company_name'] = $company_name; duz not werk for me! Did you use session_start() like I mentioned? If so, you

Re: [PHP] Store array as Session Variable

2003-07-28 Thread Pushpinder Singh Garcha
Hello Chris, I am using Apache webserver on the MAc Jaguar OS Platform Regards --Pushpinder On Monday, July 28, 2003, at 05:02 PM, Chris Shiflett wrote: --- Pushpinder Singh Garcha [EMAIL PROTECTED] wrote: I am using session_start(). All the pages after the login page use sessions

Re: [PHP] Display Records (brief summary and full details)

2003-07-25 Thread Pushpinder Singh Garcha
Thanks Tom, I appreciate your help ! however I have a 2 quick questions... 1.) should we not save the names of the companies as $companies[$row] = $row['company']; 2.) the approach of accessing the variable as $details = $_SESSION['link']['$_GET['name']] is not working , when I try

Re: [PHP] I'm really getting annoyed with PHP

2003-07-24 Thread Pushpinder Singh Garcha
try this, use a meta-refresh ... echo META HTTP-EQUIV=\refresh\ content=\3;URL=http://wherever_u_wana_go.com/hello.html\;; hth --Pushpinder On Thursday, July 24, 2003, at 11:24 PM, Beauford.2005 wrote: It's obvious though that PHP can not handle it. This is why I am forced to use

Re: [PHP] I'm really getting annoyed with PHP

2003-07-24 Thread Pushpinder Singh Garcha
to the browser. I am sorry if this is a repeat question because someone earlier did mention abt output buffering as a way around. TIA --Pushpinder On Thursday, July 24, 2003, at 12:11 PM, Curt Zirzow wrote: * Thus wrote Pushpinder Singh Garcha ([EMAIL PROTECTED]): try this, use a meta-refresh ... echo

[PHP] Display Records (brief summary and full details)

2003-07-24 Thread Pushpinder Singh Garcha
Hello All, I am trying to create a small MySQL application using PHP. I have a table of contacts with each record having over 30 fields. I have a search page where a logged-in admin can search for a particular record on the basis of certain parameters. This is a sample code:

[PHP] Small Error in Login Script

2003-06-30 Thread Pushpinder Singh Garcha
Hello All, I am trying to setup a simple login script on my development server running Mac OS Jaguar. I keep getting an error Parse error: parse error in /Users/psgarcha/Sites/CRM/ADMIN-LOGIN.php on line 2. I am at a complete loss ! Here is the source code. Please help.

Re: [PHP] Small Error in Login Script ~~SOLVED

2003-06-30 Thread Pushpinder Singh Garcha
Thanks ...I figured out something myself --Pushpinder On Monday, June 30, 2003, at 11:41 AM, Pushpinder Singh Garcha wrote: Hello All, I am trying to setup a simple login script on my development server running Mac OS Jaguar. I keep getting an error Parse error: parse error in /Users

[PHP] MySQL Query

2003-06-30 Thread Pushpinder Singh Garcha
Hello , Can someone tell me what is wrong with the following querys ? I am pretty sure its got something to do with the quotes around $_POST[] variables. $sql1 = SELECT * from `admin` where `admin`.user = '$_POST['validuser']' AND `admin`.pwd = '$_POST['password']'; $sql1 = SELECT * from

Re: [PHP] MySQL Query ~~ SOLVED

2003-06-30 Thread Pushpinder Singh Garcha
schrieb Pushpinder Singh Garcha: Hello , Can someone tell me what is wrong with the following querys ? I am pretty sure its got something to do with the quotes around $_POST[] variables. $sql1 = SELECT * from `admin` where `admin`.user = '$_POST['validuser']' AND `admin`.pwd = '$_POST['password

[PHP] PhpMyAdmin / MySQL

2003-06-16 Thread Pushpinder Singh Garcha
Hello All, I am using phpMyAdmin to administer my MySQl DB. I am running Mac OS Jaguar. when I try to start up phpMyAdmin I get an error: Welcome to phpMyAdmin 2.4.0 Error MySQL said: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) So I try to start up the MySQL

[PHP] Stumped @ MySql insert query

2003-06-13 Thread Pushpinder Singh Garcha
Hello everyone, I am trying to execute a simple query using $_POST variables, so that variable poisoning is not possible. note: I have register_globals ON on my site. I am getting the error shown below . Please advise ... as I can't seem to figure out why ! ? // connect to the BD/Table

Re: [PHP] Stumped @ MySql insert query

2003-06-13 Thread Pushpinder Singh Garcha
On Friday, June 13, 2003, at 02:22 PM, Zak Johnson wrote: $_POST variables are still subject to poisoning; in your case, SQL injection. How is variable poisoning possible when using $_POST ?? I always felt that the php compiler should check to see if the variable was part of the POST Global

[PHP] Another Session Question

2003-06-09 Thread Pushpinder Singh Garcha
Hello all, I have php ver 4.1.1 running with register_globals() ON on my site. I am trying to use sessions to maintain state during a visit to the site. I have read thru the manual, but my mind is still cluttered with doubts. I understand that use of the $_SESSION global array will greatly

Re: [PHP] Session Question

2003-05-29 Thread Pushpinder Singh Garcha
of the session. I am a newbie in PHP session handling and am sorry if any of the above questions sound extremely lame. Thanks in advance, --Pushpinder On Wednesday, May 21, 2003, at 04:34 PM, Ernest E Vogelsinger wrote: At 21:51 21.05.2003, Pushpinder Singh Garcha said: [snip

Re: [PHP] Installation help

2003-05-27 Thread Pushpinder Singh Garcha
I am having the same story on my Win XP system. I hv looked all over message brds @ phpbuilder/zend/php.net . No success Please let me know if you are able to sort it out. Thx --Pushpinder On Tuesday, May 27, 2003, at 12:07 PM, Brian Dunning wrote: Hi, I am a lamer a newbie, and ran the PHP

[PHP] Help Needed

2003-03-10 Thread Pushpinder Singh Garcha
and then subsequently exported as a html. Any help will be highly appreciated TIA Pushpinder Singh Garcha _ Web Architect

Re: [PHP] Help Needed

2003-03-10 Thread Pushpinder Singh Garcha
: Pushpinder Singh Garcha [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 1:45 PM To: [EMAIL PROTECTED] Subject: [PHP] Help Needed Hey All My Php App is trying to fopen() and fread() a File that is located in the Web Server. This works if the file is a simple html file. However the complicated

[PHP] .htaccess Help

2003-03-10 Thread Pushpinder Singh Garcha
the PHP Files TIA Pushpinder Singh Garcha _ Web Architect

[PHP] Php File/Dir Protection

2003-03-06 Thread Pushpinder Singh Garcha
. If seesion exists , I would fopen() the file provided the correct file name is passed to the script Thanks Pushpinder Singh Garcha _ Web Architect : www.MasterStream.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Help Needed

2003-03-06 Thread Pushpinder Singh Garcha
file for him. My question is: after checking for the session, how does the php script know what file to open..meaning what file was linked by that URL. Please help! Pushpinder Singh Garcha _ Web Architect : www.MasterStream.com -- PHP General Mailing List (http

[PHP] File Access Rights

2003-03-05 Thread Pushpinder Singh Garcha
Hello all My php script needs to read a text file that is stored in the same Dir as the php file. However I do not want to allow users to be able to see the contenst of the file from the Browser. Please suggest some remedy. Thanks in advance Pushpinder Singh Garcha

Re: [PHP] File Access Rights

2003-03-05 Thread Pushpinder Singh Garcha
, Group nothing, Public nothing. If you're on a shared server then chances are this function has been disabled so you may have to FTP or SSH into your account and set the permissions for the file manually using the chmod command. Good luck. - Kevin - Original Message - From: Pushpinder Singh

Re: [PHP] File Access Rights

2003-03-05 Thread Pushpinder Singh Garcha
disabled so you may have to FTP or SSH into your account and set the permissions for the file manually using the chmod command. Good luck. - Kevin - Original Message - From: Pushpinder Singh Garcha [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 12:51 PM Subject

[PHP] Help with Arrays

2003-02-27 Thread Pushpinder Singh Garcha
, which is weird. I should get it on separate lines.. Also I am unable to separate the lines of the file using the explode(). Any help will be highly appreciated --Pushpinder Pushpinder Singh Garcha _ Web Architect

Fwd: [PHP] Help with Arrays

2003-02-27 Thread Pushpinder Singh Garcha
Begin forwarded message: From: Pushpinder Singh Garcha [EMAIL PROTECTED] Date: Thu Feb 27, 2003 7:57:38 PM US/Eastern To: olinux [EMAIL PROTECTED] Subject: Re: [PHP] Help with Arrays Thanks My question was that each line of the file should be stored as one element of the array

[PHP] File Trouble

2003-02-24 Thread Pushpinder Singh Garcha
please help me out with this I need to get a 125 element array...so that my code can check the individual elements of the Array. Thanks in advance Pushpinder Singh Garcha _ Web Architect

[PHP] Still having File trouble

2003-02-24 Thread Pushpinder Singh Garcha
Count is: 1 abc111 asd123 aqw234 www234 edr234 vfr456 Sorry, your passport Code was not accepted by our system ! Pushpinder Singh Garcha _ Web Architect

[PHP] Date/Time Logic

2003-02-19 Thread Pushpinder Singh Garcha
of the user. The Admin/ User should get email notification about this. The notification part is easy the hard part to figure out is how to be able to keep and tab on the Time Period stipulated for a user. Thanks in advance Pushpinder Singh Garcha _ Web Architect

[PHP] Cron Job help Needed

2003-02-19 Thread Pushpinder Singh Garcha
Hello All, I need to ask you about some resources for cron jobs. Please suggest some online help Thanks Pushpinder Singh Garcha _ Web Architect

[PHP] Error Opening file

2003-02-17 Thread Pushpinder Singh Garcha
Hello All; I am trying to open a File called cmi_list.txt ( stored at the same level as the php file) and then load these into an array. Now I check the $passport_codes with the value the User has entered and set the $flag accordingly ? . $PASSPORT_CODES =file(cmi_list.txt);

[PHP] PhpBB2 Error

2003-02-07 Thread Pushpinder Singh Garcha
Hello All, I have been runing PHP BB2 successfully on my site for a couple of months . Recently I got this error. phpBB : Critical Error Could not connect to the database Can someone tell what this means..?? Many Thanks --Pushpinder Singh Garcha _ Web

[PHP] Php security

2003-02-06 Thread Pushpinder Singh Garcha
Hi all i wanted to check with if it is possible to see the contents of a .php file. I have heard of the Zend Encoder, but I was wondering how could a person see my php script ? Any information in this direction would be useful? TIA --Pushpinder Singh Garcha

[PHP] Help Needed

2003-02-04 Thread Pushpinder Singh Garcha
to write echoblah blah blah . ; will not be a an option. Please suggest a way out . Many Thanks Pushpinder Pushpinder Singh Garcha _ Web Architect

Re: [PHP] Re: Help Needed

2003-02-04 Thread Pushpinder Singh Garcha
, Goetz Lohmann wrote: Pushpinder Singh Garcha schrieb: Hello All: My question is related to authentication. I have made a login system using PHP Sessions and MySQL. Once the user gets authenticated on the website I want to be able to allow him to see some html pages on the website. Only users who

[PHP] Protect Access to a Directory

2003-02-04 Thread Pushpinder Singh Garcha
. Is there a better way to be able to do this (Using PHP and MySQL). Thanks in advance ! Best Wishes Pushpinder Singh Garcha _ Web Architect

[PHP] PhpMyADmin Help

2003-02-04 Thread Pushpinder Singh Garcha
on to the remote site? Or can I let it remain sitting on the local server. Also, I was wondering , what value should I assign to the $cfg['PmaAbsoluteUri'] variable in the config.inc.php file. Many Thanks, Pushpinder Pushpinder Singh Garcha _ Web Architect

[PHP] Help Needed

2003-01-31 Thread Pushpinder Singh Garcha
(); ? if (session_is_registered($valid_user)) { // show the original page PLEASE TELL me a way to display the same page } elseif (!session_is_registered($valid_user)) { // display an error message to the user asking him to login before he can see this page } many thanks --Pushpinder Singh

[PHP] help needed with session variables

2003-01-27 Thread Pushpinder Singh Garcha
and lastname, I am not able to extract the value. Can you suggest what might be going wrong. Note I am locally testing the setup on my Mac. Many Thanks Pushpinder Singh Garcha _ Web Architect

[PHP] Ecard Senders

2003-01-23 Thread Pushpinder Singh Garcha
Hello there, I am looking around for some E card senders based on PHP and MySQL . Duz anyone have any ideas which I should use.? Please let me know... I really appreciate it, best Pushpinder -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Dynamic List Using Php

2003-01-21 Thread Pushpinder Singh Garcha
: The values entered every time have to be stored) Thanks in advance. Pushpinder Singh Garcha _ Web Architect T. Falcon Napier and Associates, Inc. _

[PHP] Session Length

2003-01-16 Thread Pushpinder Singh Garcha
Hello Everyone: I am using Sessions to secure parts of my website. I need to know if there is a way to set a lifetime for these sessions , so that they are automatically destroyed when say the user is inactive for 30 minutes. Any help will be greatly appreciated. Thanks in advance Pushpinder

[PHP] Session Problem

2003-01-15 Thread Pushpinder Singh Garcha
at /Users/pgarcha/Sites/edit.php:7) in /Users/pgarcha/Sites/edit.php on line 8 Thanks in advance --pS Pushpinder Singh Garcha

[PHP] Help Needed

2003-01-03 Thread Pushpinder Singh Garcha
do that. I want to be able to display a form to the user where his information is present ... and then he/she can go ahead and make updates. thanks --pS Pushpinder Singh Garcha _

[PHP] PHP and MySQL

2002-12-11 Thread Pushpinder Singh Garcha
\', \'ghdfghhgj\', \'hgddj\', \'ggfgfg\', \'hfgdj\', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NOW());'; Can somebody please tell me where I am going wrong..?? Many thanks Pushpinder Singh Garcha _ Web Architect T. Falcon Napier and Associates, Inc.

Re: [PHP] PHP and MySQL

2002-12-11 Thread Pushpinder Singh Garcha
Thanks Jason...that werked fine for me.. --pS On Wednesday, December 11, 2002, at 03:50 PM, Jason Wong wrote: On Thursday 12 December 2002 04:30, Pushpinder Singh Garcha wrote: Hello, I am using PHP to create forms and then am entering the user input into a MySQL DB In the first query I am

[PHP] Session End

2002-11-27 Thread Pushpinder Singh Garcha
) { // A matching row was found - the user is authenticated. $auth = true; session_start(); } } if ( ! $auth ) { header( 'WWW-Authenticate: Basic realm=Pushpinder Singh\'s World' ); header( 'HTTP/1.0 401 Unauthorized' ); echo 'Authorization Required.'; exit; } else

[PHP] Help needed with the php.ini file

2002-11-21 Thread Pushpinder Singh Garcha
Hi all I am trying make changes with the register_global variable in the php.ini file, but I am unable to locate it. I am running Mac OS JaguarPlease help me out Many Thanks. --Pushpinder Pushpinder Singh Garcha _ Web Architect T. Falcon Napier

[PHP] help needed with forms

2002-11-21 Thread Pushpinder Singh Garcha
had entered on the form must not be reset to blank. I know this sounds very trivial. Please help me out. Thanks --pS Pushpinder Singh Garcha

[PHP] Create Login Page

2002-11-18 Thread Pushpinder Singh Garcha
Hi All I am trying to create a login page using php and mysql database. This is the code that I am trying to use: ?php // File Name: auth04.php // Check to see if $PHP_AUTH_USER already contains info if (!isset($PHP_AUTH_USER)) { // If empty, send header causing dialog box to appear

[PHP] Help with using phpmailer

2002-10-31 Thread Pushpinder Singh Garcha
Hi All I am new in the php development world. I have made a simple mail application using the phph mail() function. I needed to use an attachment facility ith the mailing program...so I have tried to use this solution called phpmailer() from http://sourceforge.net/projects/phpmailer I am not

[PHP] help needed with phpmailer

2002-10-31 Thread Pushpinder Singh Garcha
not able to find any installation info on the site...Has anyoneused this before? Please help .. Thanks --Pushpinder Pushpinder Singh Garcha _ Web Developer T. Falcon Napier and Associates, Inc. Off : 704 987 6500 Cell : 704 236 2939 Fax : 704 987 5002

[PHP] Secure PHP Form

2002-10-30 Thread Pushpinder Singh Garcha
hi all I am using a php form to collect credit card information from clients and so have hosted the page on a secure server i.e. https After filing out the form ...the browser displays a confirmation page. I am using IE 5.2 on MAC OS Jaguar when I point IE to the secure site and submit the

  1   2   >