[PHP] PHP vs. ASP

2003-01-04 Thread Anthony Rodriguez
Hi! How does PHP differs from ASP? Are there any advantages in using PHP over ASP? Or the other way around? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Disable pic copy/save?

2003-01-23 Thread Anthony Rodriguez
Hi! A client wants to test market two versions of an advertising but wants to disable the users' ability to copy/save the ads (right click, copy/save). How can this be done in PHP? Thanks! Anthony F. Rodriguez ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] Downloading files

2003-02-23 Thread Anthony Rodriguez
Hi! In PHP, is there a way to allow the user to download a file (e.g.: sample.txt) to their computer? And, then, automatically return to the PHP-generated Web page. How can the file be stored in C:\sample.txt, for example? Thanks! Tony -- PHP General Mailing List (http://www.php.net/) To

[PHP] Downloading files - Plz hlp

2003-02-23 Thread Anthony Rodriguez
Hi! In PHP, is there a way to allow the user to download a demo file (e.g.: sample.exe) to their computer? And, then, automatically return to the Web site? Thanks! Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Video clip

2003-03-08 Thread Anthony Rodriguez
Hi! In PHP, does anyone know how I would display a video clip (.avi?) on a specific spot on a Web page? Thanks! Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] User generated Web pages?

2002-07-04 Thread Anthony Rodriguez
tored in the MySQL database. The types of questions include text fields, radio buttons, check boxes, menu selections, and text areas. Is this the right approach or is there another way? Thanks! Anthony Rodriguez ([EMAIL PROTECTED]) to be -- PHP General Mailing List (http://www.ph

[PHP] Help w/ sessionl variables plz!

2002-07-06 Thread Anthony Rodriguez
The following PHP script doesn't pass $course ("statistics") to the next script. Why? Thanks! Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Plz help w/ global variables

2002-07-07 Thread Anthony Rodriguez
To test global variables, I wrote the following PHP script: (1) When the script is called several times, the variable is increased accordingly. Thus, it exists globally. But when I un-comment line (6), the Web page ("contents.php) is displayed but I cannot echo the variable. Why? Thanks!

[PHP] Authentication

2002-07-08 Thread Anthony Rodriguez
Dear Richard, Again thank you for your reply. I'm sorry to keep bothering you. Please tell me when to stop. Let me explain what I'm trying to do and maybe you'll point me in the right direction. I'm developing a "paid" Web site for business courses. Some pages will be available to all visito

[PHP] Passing variables

2002-07-08 Thread Anthony Rodriguez
Dear Justin, After reading Kevin Yank's "Managing Users ..." at www.sitepoint.com, I tried the following 2 scripts. Unfortunately, the variable $course is NOT being passed to the 2nd script. Thus, per the script, the Home page is displayed. Why? --- 1st script --- --- 2nd script --- ---

[PHP] Pre-loading HTML form w/ mySQL data

2001-01-20 Thread Anthony Rodriguez
I've a mySQL db with user information (e.g.: name, address, phone, etc.). I'd like to pre-load an HTML form with the existing user information in order to enable the users to update some of the information. Are there any PHP sample scripts that I may look at to do this? Thank you! -- PHP Ge

[PHP] Help w/ sprintf

2001-03-03 Thread Anthony Rodriguez
What are the directives for the sprintf function to format an integer with commas (e.g.: 1,250,560)? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mai

[PHP] Plz help w/ php/MySQL

2002-01-05 Thread Anthony Rodriguez
The following php script successfully e-mails both messages but it doesn't update in the table "scr_149" the column "notified". Why? \n"); $result_2=mysql_query($qry_2,$connection) or die ("No query # 2!"); }; mysql_free_result($result_1); $qry_3="select * from scr_149 where q05a=\"0\" && not

[PHP] Why while doesn't work?

2002-01-24 Thread Anthony Rodriguez
Although the table con_inf in db sbwresearch contains 3 records with username as the first column, the following short script generates a blank page: Why? I've use the statement in other scripts and it works! Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

[PHP] Plz help w/ query

2002-01-31 Thread Anthony Rodriguez
The following query displays 0 e-mails. Why? Tbl con_inf holds 51 records w/ 51 usernames. Tbl scr_149 holds 37 records with 37 equivalent usernames of which 14 show date_done=0. Thanks! Anthony F. Rodriguez ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] Duplicate e-mails

2002-02-05 Thread Anthony Rodriguez
The following php script sends two (2) e-mails to each addressee. Why? \n"); }; mysql_free_result($result_1); mysql_close($connection); header ("location:done.htm"); exit; ?> Anthony Rodriguez ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To

[PHP] Duplicate e-mails

2002-02-17 Thread Anthony Rodriguez
I've a php script that gets e-mail addresses from a MySQL database and then sends the same e-mail message to about 100+ addressees. There are no duplicate addresses in the db. When I call the script the e-mails do get send but in duplicate and, instead of linking to a "Task Done" page, it sho

[PHP] Mail () problems - Need help!

2002-02-18 Thread Anthony Rodriguez
I''ve a php script that gets e-mail addresses from a MySQL db and then using the mail() sends the same message to 100+ recipients. I tested the script twice. FIRST TEST. (1) I commented out the mail() routine. (2) I looped to get the e-mail addresses. (3) I echoed the e-mail addresses on the s

[PHP] Changing field size

2002-04-28 Thread Anthony Rodriguez
I've a VARCHAR(4) field that I want to change to a VARCHAR(6) field. What would happen to the existing data in MySQL db? Thanks! Tony ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sendmail return-path (not 4 newbies)

2002-05-03 Thread Anthony Rodriguez
PROBLEM When a php script uses mail() and sendmail, if the e-mail address is not right, the e-mail is returned to the envelope sender (the hosting provider), NOT to the "From", "Reply-To", "Return-Path", or any other additional headers included in mail(). Apparently, this problem is faced by

[PHP] F/U on sendmail return-path (not 4 newbies)

2002-05-05 Thread Anthony Rodriguez
I've tried the "From" header (4th parameter) in mail(). It doesn't work. My ISP does run Apache but I have no access to their files. Thanks! At 06:56 PM 5/3/2002 +0100, you wrote: >On 3 May 2002 at 12:48, Anthony Rodriguez wrote: > > PROBLEM > > > > W

[PHP] No takers?

2002-05-06 Thread Anthony Rodriguez
Please HELP! PROBLEM When a php script uses mail() and sendmail, if the e-mail address is not right, the e-mail is returned to the envelope sender (the hosting provider), NOT to the "From", "Reply-To", "Return-Path", or any other additional headers included in mail(). Apparently, this probl

[PHP] Query/Error

2002-05-17 Thread Anthony Rodriguez
I've a php script that creates (inserts) a new record in a MySQL table. It executes, goes to the next page, but it doesn update the db> The db name and table name are OK. I've printed the values passed to the script and it's OK too. What code can I add to the script to find out the error of t

[PHP] mail() source code

2002-05-28 Thread Anthony Rodriguez
When mail() sends, via sendmail, an e-mail to an invalid address, it's returned to the "envelope-sender" (e.g.: the ISP), NOT returned to the "from" address, or the "return-path" address, etc. that are included with mail()'s 4th parameter. I'm planning to write a "modified" mail() to include

[PHP] Changed localhost?

2002-02-27 Thread Anthony Rodriguez
All of a sudden Apache is nor running correctly under Windows 98. It appears that somehow localhost was changed from 127.0.0.1 to something else. Does the fact that I now have a 24/7cable connection to the Net cause the problem? Thanks! Anthony Rodriguez ([EMAIL PROTECTED]) -- PHP

[PHP] Help w/ "join" syntax

2002-03-11 Thread Anthony Rodriguez
When I call the following script, $qry_1 doesn't work (No Query # 1!). DONE"; flush(); exit; ?> Thanks! Anthony F. Rodriguez ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Returned e-mail (PHP mail function)

2002-04-04 Thread Anthony Rodriguez
I just send my ISP the following question: One of my PHP scripts automatically sends a "Thank You" e-mail to users who just registered. I use PHP's mail function. If, during registration, the user enters the wrong e-mail address the e-mail would, of course, be returned. Who is the e-mail retu

[PHP] Return-Path

2002-04-05 Thread Anthony Rodriguez
Can you help me? When I call the following script: (1) \r\n", (6) "Return-Path:<[EMAIL PROTECTED]>\r\n"); (7) exit; (8) ?> I get the following error message: Warning: Wrong parameter count for mail() in ... (file_name) ... on line 6. By the way, I tried it with and w/o the \r. Any sugge

[PHP] F/U on Returned Mail

2002-04-06 Thread Anthony Rodriguez
In line 6 (below) I tried both "Return_Path:<[EMAIL PROTECTED]>" and "[EMAIL PROTECTED]". I still don't get back the e-mail sent to a non-existent address. Can you help? Thank you! Anthony Rodriguez ([EMAIL PROTECTED]) --- PHP script --- (1) \r\n". (6

[PHP] Sendmail 8.10.2 headers

2002-04-08 Thread Anthony Rodriguez
As you may know, headers included in the 4th argument of PHP's mail() are sent to the outgoing mail server. What header(s) can I send to sendmail 8.10.2 (running under Linux Redhat 6.2) in order for invalid e-mails be returned to my e-mail address rather than my hosting provider's default addr

[PHP] How to send an email to everone listed in a file

2002-04-10 Thread Anthony Rodriguez
Dear David, You're going to have 2 problems: (1) You're going to overload the outgoing mail server. I've done it. Now i use a newsletter-type mailing list. (2) Invalid e-mail addresses will be returned to your hosting provider, not to the "From: ..."address. I'm looking for an answer to thi

[PHP] Return path (php/sendmail)

2002-04-12 Thread Anthony Rodriguez
Does "Reply-To" works for you? My Web hosting provider runs php (4.1.1) / sendmail (8.10.2) / apache (1.3.20) / linux red hat (6.2) and I don't get bounced e-mails. Any suggestions? Tony ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

[PHP] Going blind? Plz hlp w/ parse error

2001-09-19 Thread Anthony Rodriguez
Please help! There is a parse error in like 10: etc. Thank you! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] How do I ...

2006-03-02 Thread Anthony Rodriguez
Hi! How do I un-subscribe to this list? Thank you! Anthony (Tony) Rodriguez ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How do I ...

2006-03-02 Thread Anthony Rodriguez
Hi! How do I un-subscribe to this list? Thank you! Anthony (Tony) Rodriguez ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php