[PHP] LDAP_connect()

2003-08-02 Thread Ron Allen
Everytime I try to run this function it says that it is an undefined function LDAP_connection -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Mail Authentication or redirection of SMTP server

2003-07-28 Thread Ron Allen
Here is my problem. When I send emails locally theough the Exchange Server I have no problems sending mail. When I try to send emails to another site through the MTA funtion_mail pops up. One of two things came to mind. First is that we have anonymous forwarding of emails turned off for

[PHP] Mail or Authentication or redirection of SMTP

2003-07-27 Thread Ron Allen
Here is my problem. When I send emails locally theough the Exchange Server I have no problems sending mail. When I try to send emails to another site through the MTA funtion_mail pops up. One of two things came to mind. First is that we have anonymous forwarding of emails turned off for

[PHP] Re: Mail or Authentication or redirection of SMTP

2003-07-27 Thread Ron Allen
Do I need to login into the server for this? Ron Allen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Here is my problem. When I send emails locally theough the Exchange Server I have no problems sending mail. When I try to send emails to another site through the MTA funtion_mail

[PHP] Print help

2003-07-21 Thread Ron Allen
What I would like to do is to make an optional page that can print information to a specified printer. Can PHP do this? If so how??? Please help!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using href as a submit for a form

2003-07-18 Thread Ron Allen
I am using a form to submit to mysql. What I would like to do is to use a link to submit the form instead of the standard submit button. Help is appreicated. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Need to use META tag with variable attached

2003-07-18 Thread Ron Allen
This is what I have META HTTP-EQUIV=refresh content=0; URL=./ticket_admin.php What I would like is for this to carry a variable with it. I have tried several different variations and they don't work obviously ?PHP META HTTP-EQUIV='refresh' content='0; URL=./ticket_admin.php?ID=.'$ID. ' Does

[PHP] Re: Need to use META tag with variable attached

2003-07-18 Thread Ron Allen
Got it echoMETA HTTP-EQUIV='refresh' content='0; URL=./ticket_admin.php?ID=$ID'; ? Ron Allen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This is what I have META HTTP-EQUIV=refresh content=0; URL=./ticket_admin.php What I would like is for this to carry a variable with it. I

[PHP] NON-PHP question (I-frames)

2003-07-17 Thread Ron Allen
Do we have any I-frame experts for IE. I am trying to use multiple I-frames in Internet Explorer. When two of them are applied they both lose their positon attributes. Any clues? html head style type=text/css #floatframe {position:absolute; left: 40px; top: 40px;

[PHP] Bringing href up in a different page

2003-07-17 Thread Ron Allen
This is my current code. I am trying to have this come up in a different page. Help please! a href=ticket_admin.php?ID=.$row['ID']..$row['ID']./a -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Verifying a certain amount of numbers

2003-07-16 Thread Ron Allen
I would like to know how to verify that there are 6 numbers (only numbers in a field) that will be submitted to a database? Any clues! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using a drop down box with an udetermined field amount

2003-07-15 Thread Ron Allen
What I want to do: Have a person input information about individuals into a database. One of the fields in the database will be Unit. On a form one of my drop down menu's will be Unit. I would like to have the PHP page poll the Unit field in the database and send all the different Unit results

[PHP] Carrying a variable

2003-07-15 Thread Ron Allen
I am using PHP 4.3.0 The way that I usually carry variables from one page to another is $Unit = ($_GET['Unit']); This is the page that is referencing it! ?PHP echo brbr; $DBName = SIGO; $table1 = sigo; include 'drop.php'; $db = mysql_connect($DBhost,$DBuser,$DBpass) or die(Problem connecting);

[PHP] Validating two variables

2003-07-14 Thread Ron Allen
if ($user!='monganl') is what I have this is what I want to do if ($user!='monganl' or 'wilsonma') what would be the proper format for this! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Determine the difference between two dates

2002-04-19 Thread Ron Allen
If I have two variables of time both in the format of Y-m-j J:i:s How would I go about and get the difference? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Determine the difference between two dates

2002-04-19 Thread Ron Allen
seconds) between times $timeDiff=$lastTime-$firstTime; //echo out the difference printf (Difference is %d seconds,$timeDiff); ? HTH Danny. - Original Message - From: Ron Allen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 19, 2002 1:08 PM Subject: [PHP] D

Re: [PHP] Determine the difference between two dates

2002-04-19 Thread Ron Allen
027601c1e7a9$fbe6f0f0$0200a8c0@dannys">news:027601c1e7a9$fbe6f0f0$0200a8c0@dannys... use the date() command (http://www.php.net/date) - using $timeDiff as the datestamp. HTH Danny - Original Message - From: Ron Allen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 19, 2

Re: [PHP] Determine the difference between two dates

2002-04-19 Thread Ron Allen
Appreciate the assistance Danny Figured it out $totaltime= date(H:i:s, mktime(0,0,$totaltime)); Just followed PHP from this page http://www.php.net/manual/en/function.mktime.php Ron Allen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How is this going

[PHP] Within the date format

2002-04-19 Thread Ron Allen
This is what I have right now $totaltime= date(:H:i:s, mktime(0,0,$totaltime)); This is the result 04:20:46 from the following dates 2002-04-25 16:30:16 2002-04-19 12:09:30 534046 seconds I would like to be able to get the days and, if needed, the number of months and years -- PHP

[PHP] Browsing on Windows

2002-04-15 Thread Ron Allen
I am querying to see if someone can point in the right direction. What I would like to do is first open a connection to a specific folder (know this) Have it towards the user can click on a button and it will pop up with the local directory and have it so that they can browse their hard drive

[PHP] GD library

2002-04-11 Thread Ron Allen
I have downloaded the GD library and I am wondering how do I install it.. I unzipped it and put it my root. I have PHP version 4.1.1...what else is there to do? Does anybody have any script for me to test it real quick? -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Making graphics

2002-04-11 Thread Ron Allen
Here is what I want to do. I am taking a poll and I would like to display the results in a bar graph format. What is the best way to do this.hopefully you will not say GD library! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] printf

2002-04-10 Thread Ron Allen
I am looking at how to format output Here is what I have. There is a simple currency conversion that I do and the output is just a string of numbers I would like it so that it puts a comma for every 3 spaces...Any clues..oh knowing newsgroup -- PHP General Mailing List

[PHP] Re: printf

2002-04-10 Thread Ron Allen
This is what I have and it is not working $converted1 =round($usdamount * $convamount, 2); $converted = number_format($converted1); //echo $amount * $convamount = $convertedbr; echo bYou should receive/b$nbsp $converted b$currency/b; Ron Allen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED

[PHP] Re: printf

2002-04-10 Thread Ron Allen
Figured out why it wasn't working, but I need to be able to display the 2 decimals afterwards Ron Allen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am looking at how to format output Here is what I have. There is a simple currency conversion t

[PHP] Re: printf

2002-04-10 Thread Ron Allen
figured that out as well You need to put the number_format($number,2) afterwards Thanks to both you! Ron Allen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am looking at how to format output Here is what I have. There is a simple currency co

[PHP] 1024X760 or 800x600

2002-04-05 Thread Ron Allen
Is there a way with PHP to determine screen resolution size??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php