[PHP] using ahref tag in $msg variable

2002-03-11 Thread Claudia Smith
I would like to know how to code my mail msg to accept an tag my current code is: $msg = "$username wants you to check out \"The AdVentures of AdWoman: AdWoman's Dilemma.\"\n\n"; $msg .= "Play for a chance to win a Caribbean cruise presented by Carnival Cruise Line and Contus.com.\n\n";

[PHP] Passing variable with slashes in URL

2001-05-16 Thread Claudia Smith
I thought would strip out the slashes) I have tried htmlentities as: $url_title = htmlentites( $headline ); and neither IE nor Netscape would work -- the url link would not work. perhaps my syntax is incorrect for this function? Claudia -- PHP General Mailing List (http://www.php.net/)

[PHP] verify phone number

2001-05-11 Thread Claudia Smith
I am looking for code to verify a phone number has been entered correctly on a form field. Requirements would include the area code: xxx-xxx-. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] emalloc message

2001-05-03 Thread claudia
Hi, i additional found out, that every time i get the "network error" message i also get a error message in the apache error log. FATAL: emalloc(): Unable to allocate 8426419 bytes What does this mean, and what can i do? It´s every time the same amount of bytes. Please help

[PHP] using an array with form list values

2001-05-03 Thread Claudia
I need to check that a form entry defined as an array contains a value before initiating the foreach code in my script. I have my form field defined in my form as: Bermuda California Caribbean Caroli

[PHP] odbc

2001-05-03 Thread claudia
Hi, hope it is the right newsgroup. I have a php application which uses odbc to connect to a informix database. (NT4, Apache 1.3.x, PHP4.x) Is it advisable to turn the odbc pooling on? What else should i take care off when working with PHP and ODBC? Thanks and Greetings Claudia -- PHP

Re: [PHP] network error

2001-04-27 Thread claudia
nothing is, because the variable HTTP_POST_VARS is empty and my script checks the HTTP_POST_VARS variable. But how can it happen that sometimes HTTP_POST_VARS has data and sometimes not? I have a Apache Web-Server. Any idea? claudia > Hi, > > has anyone ever seen the message "Network erro

[PHP] network error

2001-04-20 Thread claudia
reload button. I´m working on NT4, php4.0.4pl1, ODBC-> Informix Database Thanks for any help! Claudia -- 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] Netscape security error

2001-04-10 Thread Claudia
I am receiving a Netscape security error (version 4.7) when attempting to submit my form without a complete email address. Here is the link: http://www.contus.com/test/golf/page.php3?site=contusgolf&page=golf%20tours&; ad=golf At this page choose the any hyper link named "Contact us for more In

[PHP] passing string variables in url

2001-04-09 Thread Claudia Smith
I am passing a string value via a url to be used for printing on a page and for sending info via email. I first encode the string before passing it. The issue I have is for strings that contain single or double quotes. When I print the value that has been passed in the url the \ is printed. F

[PHP] Pop Up Window

2001-04-08 Thread Claudia
Is there a way to initiate a pop up window containing a form using PHP code? I am trying to use Javascript to popup a window which contains a form. The form is processed via a PHP script. (miniquote.scp.php3) The popup window displays OK. The form processes OK in IE 5.0 however using NS 4.7 I re

[PHP] PHP form script in Javascript window

2001-04-06 Thread Claudia
I am attempting to use a Javascript popup window to open a new php form window that uses a php script to process the form data. All processing for the form is completed in the popup window. The issue I am encoutering is occurring with Netscape only -- I receive the following msg: Warning there

[PHP] Strings in URL

2001-03-26 Thread Claudia
I am attempting to pass a string value via a URL. I have tried using urlencode and ereg_replace--with no luck. Here is sample code: $headline=urlencode("$headline"); print "Contact us for more information"; Then in the quotepage.php3 file if( $page == "miniquote" ) { print "Get A Quote"; pri

[PHP] dynamic url from MySql field data

2001-03-16 Thread Claudia
I am attempting to create a dynamic url from a field that has the value of the dynamic url. Here is the scenario: 1 - Field in MySql database = $logo_link_var = page.php3?afl=$afl&site=$site&page=contact&ad=$ad_type 2 - Select logo_link_var from database and assign to $logo_link -- code is: $se

[PHP] displaying form array values

2001-02-28 Thread Claudia
I would like to know how to add form array values to a mail message. I have my form defined as follows: select form name set as: Not sure Acapulco Alabama Arizona

[PHP] Obtaining a value from dynamic list box

2001-02-22 Thread Claudia
When selecting a value from a dynamically generated list box, the subsequent value passed to the table truncates when there is a blank in the string Here is the table structures (Mysql database) First table has variable course_name (varchar -- length 50) This database will be used to generate th

[PHP] summing unkown values

2001-02-19 Thread Claudia
I would like to sum totals for unknown values. Here is the design Course names are entered in separate table -- courses If the course is still being tested the course status = open This status is stored in the Course table. Each course name is unique in this table. Test information including te

[PHP] Sum function

2001-02-18 Thread Claudia
I am looking for code that explains how to sum a value in a database based on a current field retrieved from the database. Example: query = "select course_name, course_build, milestone, testcase, time_tested, issue_status, comment, bug_number, tested_by, date_tested from testissues where tes