[PHP] Protect PHP coding

2002-08-01 Thread YC Nyon
Is there any method to encrypt PHP files. Nyon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Reading URL in address bar

2002-08-26 Thread YC Nyon
I want to pass the current url (appearing on the browser address bar), say http://www.mydomain.com?cat.php=234 to appear in a form field in the a new page, say category.php. I am sure it's something to do with HTTP_variables or CGI.referrer but can't seem to get the one needed. TIA Nyon --

[PHP] RE: File upload security and virus considerations

2002-09-06 Thread YC Nyon
I am doing an application where users can upload a *.zip file into the server. Virus and hackers threats are my main concern. Anyone mind sharing their experiences on how to deal with it. If u suggest any antivirus, please specifiy the name. the server is on windows platform. Also, if it's virus,

[PHP] RE: A straightforward user login coding

2002-09-09 Thread YC Nyon
I been searching for a user authentication codes all night but got no where with the results. Therefore, if someone can tell me where to find 1. a user authentication using Mysql 2. don't use cookies. 3. also a logout script. my os is windows. TIA Nyon -- PHP General Mailing List

[PHP] dll file for postgres-php connection

2002-09-12 Thread YC Nyon
Looking for this file, php_pgsql.dll running php 4.1.2 on w2k. anyone where i can find it. Regards Nyon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: Limit keyword not supported in MS-SQL

2003-09-20 Thread YC Nyon
I can connect to MS-SQL via php. However, the LIMIT keyword is not supported. Looking at the archieves, SELECT TOP X was recommended. Works ok, however i need to specify a start row, ie. Page 1, Page 2. Any ideas? Nyon --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus

[PHP] RE: CRM for website

2003-06-19 Thread YC Nyon
this is slightly off-topic. I run a nonprofit website where people are invited to contribute articles, papers, etc. i'm in search of a system where i can manage all this website maintainence (backups, restarting servers) and on-going correspondence. in some cases, they ask me to contact them 2

[PHP] RE: PHP-based SMS solution

2003-02-11 Thread YC Nyon
I am developing a web-based GPS vehicle tracking solution using php. I'm looking on how php can communicate with a SMSC using Smpp to issue AT commands. Development platform is windows 2000. Thanks Nyon --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system

[PHP] RE: Login system using PHP/MySql

2003-02-13 Thread YC Nyon
Hi, I have looked at many examples session-based of login/password system to protect webpages but can't get it to work. Seems simple but... I have php and mysql installed in my windows server. If any kind soul can point me to a working (easy) setup of this task, i would be most grateful. Nyon

[PHP] RE: Calling a COM object

2003-02-20 Thread YC Nyon
Hi, Is there a tutorial on how to call COM objects in PHP? My PHP runs on Windows. TIA nyon --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003 -- PHP General Mailing List

[PHP] RE: Calculate UTC Time from GPS device

2003-03-08 Thread YC Nyon
Hi, I got time data from a GPS unit like 054544 which is rollback to 1970s or something. Has anyone got script to convert it into current time? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release

[PHP] RE: Calculates time elapsed between two date

2003-03-12 Thread YC Nyon
Hi, I need to get the time/date (ie. 1 day 12 hours 11 min 4sec) between 2 time dates. Can't seem to find any of these functions in the PHP manual. Thanks Nyon --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus

[PHP] Convert comma-delimited file or form into arrays

2002-10-12 Thread YC Nyon
I want to convert input data below (either from a webpage form or a uploadedtext file) to a set of arrays. The final step is to construct SQL statements to be inserted into Postgresql db (which i can do). Anyone got sample scripts that does the 1st part. ID, Name, Telephone 1, John, 34343534

[PHP] Solutions for 1970 epoch date restriction

2003-11-09 Thread YC Nyon
Hi, I have a table that includes 3 columns for day, month and year. Example: Day, Month, Year 11,Jan, 1974 4,Sep, 1921 ... ... I need to construct a query where users can specify a starting date. Currently, I stuck in mktime function became of the 1970 epoch problem. It gives an error for dates

[PHP] RE: Comparison between Postnuke and PHPnuke

2003-12-17 Thread YC Nyon
I am comparing between this two php-based CMS? My focus is really 1. the availability of modules/add-ons. Not too sure, but seems PHPnuke has more add-ons than Postnuke. 2. ease of maintaining a group of contributors/writers Nyon -- PHP General Mailing List (http://www.php.net/) To

[PHP] RE: PostNuke vs PHPNuke

2003-12-17 Thread YC Nyon
I am comparing between this two php-based CMS? My focus is really 1. the availability of modules/add-ons. Not too sure, but seems PHPnuke has more add-ons than Postnuke. 2. ease of maintaining a group of contributors/writers Nyon -- PHP General Mailing List (http://www.php.net/) To

[PHP] RE: Security access control by ASP in a php application

2004-01-04 Thread YC Nyon
I am working on a project where the main module (including the security access/login) is developed using ASP. My module which is in PHP has to read the security permissions set by ASP (via cookies) to enable users to use it. How do I go about that? or any other better solutions. Nyon -- PHP

[PHP] RE: Check to remove file that are older than 1 week

2004-02-05 Thread YC Nyon
Hi, I want to delete files than are older than 1 week from a specific directory. Anyone mind to share their code? Can't anything on phpbuilder on this. Regards Nyon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: Reading MS Access date/time field in PHP

2004-02-15 Thread YC Nyon
I'm trying to extract the year for a query from a date/time field in MS Access via PHP. The data type is Date/Time and formated as Long Integer. Viewing it in Access 31 December 2003 Viewing it in PHP without formating 2003-12-31 00:00:00 I want to create a query based on the year only. I could

[PHP] RE: Build Url based on screen width

2004-06-19 Thread YC Nyon
I need to build a url based on screen width. The code is below if (screen.width 800) { document.write('a href=frameview.php?winwidth=880winheight=540'); } else if (screen.width = 800) { document.write('a href=frameview.php?winwidth=680winheight=440'); } However, I need to add some