[PHP-DB] Recommendation needed: a php/mySQL program to batch e-mail announcements

2002-04-29 Thread Al
Need: Users can register to receive announcements automatically. And unregister. Admin can generate simple messages and send to all on the registry [e.g., meeting planned for 5 May 2002 at Joe's house] Thanks -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http:

[PHP-DB] Re: ODBC failed

2001-08-14 Thread Al
You are using "phoneinfo" both as a table name and a datasource name. You *could* do that, but I don't think it's what you're trying for :) Go back to your control panel and see what you named the ODBC you created (datasource name, or DSN). You use that name for the first parameter for your ODBC

[PHP-DB] Re: Regex for telephone numbers

2010-12-31 Thread Al
On 12/29/2010 7:12 PM, Ethan Rosenberg wrote: Dear List - Thank you for all your help in the past. Here is another one I would like to have a regex which would validate that a telephone number is in the format xxx-xxx-. Thanks. Ethan MySQL 5.1 PHP 5 Linux [Debian (sid)] Regex i

[PHP-DB] Re: [PHP] Re: Regex for telephone numbers

2010-12-31 Thread Al
On 12/31/2010 11:10 AM, a...@ashleysheridan.co.uk wrote: Erm, you say regex is overkill, then use one in your example! Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "Al" Date: Fri, Dec 31, 2010 15:53 Subject: [PHP] Re: Regex for telephone numbers To:

[PHP-DB] Re: foreach

2012-04-05 Thread Al
On 4/5/2012 4:15 PM, Ethan Rosenberg wrote: Dear Lists - I know I am missing something fundamental - but I have no idea where to start to look. Here are code snippets: I have truncated the allowed_fields to make it easier to debug. $allowed_fields = array( 'Site' =>'POST[Site]', 'MedRec' =>

[PHP-DB] php: $array["fieldname"] gives "undefined index" error

2001-06-22 Thread Al Savage
(lowercase "w") I still get: "Warning: Undefined index: website in f:\website\pmaco\admin\contacts1.php on line 241" Thoughts/ideas? MySQL 3.23.32 (latest GA available for my platform) PHP 4.04pl1 Regards, Al S. -- * Hillman & other Rootes Group manuals onlin

[PHP-DB] RE: php: $array["fieldname"] gives "undefined index" err

2001-06-23 Thread Al Savage
if (strlen($row["Website"])) { // do stuff } } Same warning msg. But if I substitute a numberic index, as in: if ($row[33]) { // do stuff } it works fine. But I need to use the associative index. Regards, Al S. -- * Hillman & other Rootes Group manuals online

[PHP-DB] Re: Extracting enum/set values from database

2001-06-23 Thread Al Savage
ot;','",$type); while(list($k,$v)=each($opts)) $s.="$v"; } } return($s); } Use the function as follows: echo "".makeSelectList('tablename', 'field name'). ""; type=\"submit\">";

[PHP-DB] RE: php: $array["fieldname"] gives "undefined index" err

2001-06-23 Thread Al Savage
ive index does not work, triggers "Warning: Undefined index: Website [...]" but numeric index works. Regards, Al S. -- * Hillman & other Rootes Group manuals online: http://asavage.fdns.net/Hillman * Ford Falcon manuals online: http://FalconFAQ.fdns.net Do not

[PHP-DB] Re: Probably a stupid home server question

2001-07-18 Thread Al Savage
way for this latter process to happen somewhat automatically -- I haven't investigated this, as I've got the extra-cost static IP route now. And I really wouldn't recommend W2k as an internet server . . . it's the target platform of too many hackers. But that's just my (*v

[PHP-DB] Re: Record Update Link

2001-07-28 Thread Al Savage
only and the edit/update page has text > boxes. Well, I think this is what I'm doing, if I understand you right. > Not sure if this clear, but any help would be greatly appreciated. If the demo is similar to the result you'd like, let me know and I'll show how it's done.

[PHP-DB] looking for a .exe file

2003-08-28 Thread blond al
I need a php editor file thanks for help! ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP-DB] Session across Multiple Hosts

2002-01-29 Thread Hayan Al Mamoun
Dear all, I was wondering, can session variables be transfered across multiple hosts, i.e. if I send a request from http://host1/page1.phtml, to http://host2/page1.phtml where I started the session by SessionRegister() or some other way and I gave the variable VAR1 some value, then I went back wit

[PHP-DB] Cannot include file

2002-02-03 Thread Hayan Al Mamoun
Hi sirs, I'm trying to run include() function to include a page from a different website, but it fails : include("http://remote/dawn-travel/lists/somelongnumber.xml";); remote is windows NT4 IIS I got the following error, Warning: Failed opening 'http://remote/dawn-travel/lists/34f3542a4c90f2e1838

[PHP-DB] Cannot Include File..

2002-02-03 Thread Hayan Al Mamoun
Hi sirs, I'm trying to run include() function to include a page from a different website, but it fails : include("http://remote/dawn-travel/lists/somelongnumber.xml";); remote is windows NT4 IIS I got the following error, Warning: Failed opening 'http://remote/dawn-travel/lists/34f3542a4c90f2e1838

[PHP-DB] How to Upload

2002-02-08 Thread Ashraf Al Shafaki
How can I use PHP to upload a file from a client computer? -- Ashraf Al Shafaki ICQ me at 144936414 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Table Relationships

2002-02-08 Thread Ashraf Al Shafaki
for any other reason. I used to do relationships between tables when I used Microsoft Access. My question is: Does MySQL enable you to create relationships between tables after you create the tables? If so, how (what are the commands from the command prompt?) -- Ashraf Al Shafaki ICQ me at

[PHP-DB] Maintain MySQL Transactions

2002-02-08 Thread Hayan Al Mamoun
Hi, How can I maintain MySQL transactions with PHP Best Regards Hayan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Session End

2002-02-08 Thread Hayan Al Mamoun
Hi, How can I realize that one session in PHP has been ended, I mean I want a trigger that the visitor of my website, has left ;) Thanks Best Regards Hayan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Session End

2002-02-17 Thread Hayan Al Mamoun
Hi, I want to know if there is a way in PHP to sence that the visitor left the site, I think the answer is in PHP-Sessions, but I don't know how, Any help please?? Best Regards Hayan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Problem with file() function

2002-02-19 Thread Hayan Al Mamoun
Dear sirs, Please help with the follows: When I'm trying to execute this code: $fcontents = file ('http://localhost/'); while (list ($line_num, $line) = each ($fcontents)) { echo "Line $line_num:; " . htmlspecialchars ($line) . "\n"; } -

[PHP-DB] PHP Certificate

2002-04-04 Thread Hayan Al Mamoun
Hi, Does anyone knows a way to get PHP certificate?? Best Regards Hayan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Advice for dataupload

2002-04-07 Thread Hayan Al Mamoun
Dear all, I have two design-identical database, one on my intranet, the other on the internet, is there any procedure that Synchronizes the content of two databases? I'm using PHP applications and MySQL Database, WindowsNT4 IIS Please advice Best Regards Hayan -- PHP Database Mailing List (ht

[PHP-DB] Session Problem, Please Help.....

2002-05-02 Thread Hayan AL Mamoun
Dear all, I have a strange problem: I'm using IIS / WINNT4, PHP4 Please check these two files: -- logon.phtml: -- clients/editclient.phtml: When I run logon.phtml, it must create a session variable called CLIENTID and then move to the seco

[PHP-DB] Client IP

2002-05-12 Thread Hayan AL Mamoun
Dear all, I'm using the $REMOTE_ADD variable to get the visitor IP address, but when a visitor access my website throught a proxy server I get always the same ip of that proxy server. Is there a way to get the unique IP of each users??? bst rgds Hayan -- PHP Database Mailing List (http://www.p

[PHP-DB] PHP Session End.

2002-06-03 Thread Hayan Al Mamoun
Dear ALL, I'm programming a web site that has a small shopping cart to sell virtual information, I must allocate the information I'm selling (Phone Card PIN Codes) and block it from others, once a user adds it to his cart, and on the other hand, I must set it free (DeAllocate it) when the user le

[PHP-DB] Error in retrieving a blob from oracle DB.

2002-11-28 Thread Naif Al-Otaibi
Hi all, I use the following: 1) Win XP. 2) Oracle personal eddition 8.1.6.0.0. 3) IIS. 4) php-4.2.3-Win32 runs in cgi mode. When I retrieve a blob from my DB, I got the following error: Fatal error: Call to undefined function: load() in c:\inetpub\wwwroot\php1\ora52.php on line 6

[PHP-DB] Connecting to Microsoft Mail

2001-12-04 Thread Hayan Al Mamoun
Dear ALL, I want to know if there's a way to have the mail sent by PHP mail() function captured by microsoft outlook. I'm using PWS / windows98 / PHP4 Thanks Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/r

[PHP-DB] The file '/tmp/phpxw2cJS' must be in the database directory or be readable by all

2002-01-02 Thread Hayan Al Mamoun
I have this error when I try to execute "Load Data Infile .. " statement, although temp directory location is set by the hosting company, What shall I do??? Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/re

[PHP-DB] PHP and Oracle

2003-02-17 Thread Y Al Hinai
helloo Everyone... A new guest to the list needs your hlep!!. I am about to start working on a project in which im going to use Oralce with PHP4. I am new to PHP. I am looking for a good book about working with "PHP4 and Oracle" to help me pick up the basics as well as get the depth that i

[PHP-DB] Differences between php3 and php4

2003-02-22 Thread Y Al Hinai
Hi everyone.. I am new to php. I have PHP4.2.3 installed with Apache on my computer. I was practicing on the language from a book called "PHP essentials" by Julie C Meloni. I am facing many problems as many functions from php3 are not working anymore in PHP4! For example, header(), include

[PHP-DB] Help Please!! Oracle/PHP connection

2003-06-10 Thread Y Al Hinai
Hey guys, I would really appriciate it if someone can direct me with this problem. On my laptop I have: Windows XP Professional, Oracle 9i Database, Oracle Client Software, PHP4.3.1, and Apache server. PHP and Apache work fine. Oracle i9 by itslef works fine too. However when i tried to

Re: [PHP-DB] Error in retrieving a blob from oracle DB.

2002-11-28 Thread Naif M. Al-Otaibi
So, what can I do to retrieve a blob in oracle? Any one has a code for this. - Original Message - From: "Mark" <[EMAIL PROTECTED]> To: "Naif Al-Otaibi" <[EMAIL PROTECTED]> Sent: Thursday, November 28, 2002 4:37 PM Subject: Re: [PHP-DB] Error in retrieving