[PHP] rand is not random for me :(

2001-01-10 Thread Brandon Orther
When I use random rand(1, 10) I always get 2? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing List (http

[PHP] Format a number for Money

2001-01-15 Thread Brandon Orther
Hello Everybody, I want to take a number and echo it with only 2 numbers after the decimal point. I can't remember how to do this but I do remember it was easy. Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED

[PHP] Sessions

2001-01-16 Thread Brandon Orther
Does anyone have a place with a little more user friendly tutorial or place to learn about sessions? The php manual is making me go mad. Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364

[PHP] gc_probability

2001-01-16 Thread Brandon Orther
Hello, Does someone have an example of how I can use session.gc_probability. I want to pass the session ID through GET/POST so if someone has a better way of making the sessions end please let me know. Thank you, Brandon Orther WebIntellects Design

[PHP] session_destroy

2001-01-16 Thread Brandon Orther
Hello Everyone, Can someone please give me example code on how to use session_destroy because I can not get it to work. Also if you have an example for gc_probability I would love that too. Thank You :) Thank you, Brandon Orther WebIntellects

[PHP] PHP connecting to FIlemaker Database

2001-01-17 Thread Brandon Orther
Has anyone used PHP to connect to a FileMaker database? If you have a url to a tutorial please e-mail me. Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

RE: [PHP] Ok thanx sessions that was great,now it's time to go back home!!!

2001-01-17 Thread Brandon Orther
\htdocs\sessions\done.php on line 3 Here is the code I am using: ?php session_start("CONTROL"); session_destroy(); echo "It WerkedBR"; ? A HREF="index.php"RESTART/a Thank you, ------------ Brandon Orther WebIntellects Design/Develo

[PHP] Rounding a number up if the number is anything more than a whole number

2001-01-17 Thread Brandon Orther
I am trying to say. Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing List (http://www.php.net

[PHP] CSS and PHP

2001-01-18 Thread Brandon Orther
. It loads up perfectly. Has anyone ever had this problem before? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing

RE: [PHP] PHP Editors

2001-01-18 Thread Brandon Orther
I am not sure what OS you are running but for windows I use PHPED. Check it out at www.phped.com -Original Message- From: Karl J. Stubsjoen [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 7:03 AM To: PHP Mailing List Subject: [PHP] PHP Editors So what editor is recommended?

RE: [PHP] Spell checker?

2001-01-18 Thread Brandon Orther
Check here, I have never messed with it just ran into it the other day. I hope it helps. http://www.php.net/manual/en/ref.pspell.php Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364

[PHP] Clearing a variable

2001-01-18 Thread Brandon Orther
Hello, How can I clear a variable? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing List (http

[PHP] Microsoft SQL server 7

2001-01-26 Thread Brandon Orther
hello, I was just wondering if it is possible to connect to Microsoft SQL server 7.0 with php4? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

[PHP] Making sure a variable doesn't contain a comma

2001-01-30 Thread Brandon Orther
Does anyone know how I can check a variable for a comma and remove it if it does have one? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

[PHP] E-mail valid

2001-02-01 Thread Brandon Orther
Hello, Does anyone have a function that tells you weather a variable holds a valid e-mail address or not? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

[PHP] PHP/FI what FI?

2001-02-02 Thread Brandon Orther
I have been using PHP for a while now and never knew what FI is, can someone enlighten me. Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

RE: [PHP] Problems With Fopen

2001-02-02 Thread Brandon Orther
Have you tried replacing the "/" with "\" like: d:\www\www\ome\faid\newsitems\news.txt I am pretty sure it should work now. Thank you, -------- Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 w

[PHP] CSS with PHP

2001-02-02 Thread Brandon Orther
, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] Start you php script over??

2001-03-05 Thread Brandon Orther
Hello, Is there a way for me to tell my php script to start over? I want to have an if then statement to check if something is done. Then if it isn't I want the php script to start over. Thank you, Brandon Orther WebIntellects Design/Development

[PHP] getting info.. help!

2001-03-05 Thread Brandon Orther
to delete the first spaces. I hope you can understand. : Thank you, -------- Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing L

[PHP] Is it odd or even???

2001-03-05 Thread Brandon Orther
Hello, Is there an easy way to check and see if a number is odd or even? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP

[PHP] So whats up with that GTK... Anyone know of a site with tutorials?

2001-03-09 Thread Brandon Orther
So whats up with that GTK... Anyone know of a site with tutorials? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General

[PHP] Kick one of these darn elements out of my array, I aint having it!

2001-03-12 Thread Brandon Orther
uot;4"); So: $array[0] = 1, $array[1] = 2, $array[2] = 3, $array[3] = 4 I want to kick $array[2] out and have $array[3] be moved to $array[2] Thank you, -------- Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTE

[PHP] Session problem

2001-03-13 Thread Brandon Orther
Hello, Does anyone know how to fix this error? Warning: open(/tmp\sess_4fb4c5778fe97ab351baca1d8db90abf, O_RDWR) failed: m (2) in c:/htdocs/br/br.php on line 2 Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800

RE: [PHP] need some help..

2001-03-13 Thread Brandon Orther
Why, Don't you use the ftp functions to ftp everything over, instead of reading in all the files. If you can get telnet access you could ftp them straight from your telnet connection. -Original Message- From: Rick St Jean [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 13, 2001 3:56 PM

[PHP] MSSQL 2000 in PHP4... Is this possible?

2001-03-15 Thread Brandon Orther
, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

[PHP] Has anyone got MSSQL2000 to connect and work properlly?

2001-03-15 Thread Brandon Orther
Hello, I am trying to get PHP4 to connect to Microsoft SQL2000. All I want to know is if it is possible on a Win Box and a Linux box for server. Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364

[PHP] Executing a CGI script.

2001-03-15 Thread Brandon Orther
Hello, Is there a way to execute a CGI script while in php? Brandon Orther -- 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] What does a ? do

2001-03-20 Thread Brandon Orther
heloo, Could someone plese explain this line if code??? What does the "?" do? $r = ($r 1) ? $config['maxResults'] : $r; Thank you, -------- Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webinte

[PHP] Authenticated without Authenticating???

2001-03-21 Thread Brandon Orther
, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Make Script login to password protected web sites

2001-03-22 Thread Brandon Orther
Hello, Can I put the user name and password at the top of my php script so it can loggin to a site that requires authentication? Can i put it anywhere in teh script to amek it do this? Thank you, Brandon Orther WebIntellects Design/Development

[PHP] I want to execute a cgi

2001-03-23 Thread Brandon Orther
Hello, I have a cgi that I run in telnet by doing this: perl /script/cgi-script.cgi name=cgi+script purpose=test is there a way I can run a cgi script and pass it variables? Thanks Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Get info to a perl script and then continue without going to that perl script.

2001-03-26 Thread Brandon Orther
he results of the cgi script? Thank you, -------- Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] GD problem

2001-03-26 Thread Brandon Orther
, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Locating where PHP is on my server.

2001-03-28 Thread Brandon Orther
, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] Giving my script the power!

2001-03-29 Thread Brandon Orther
Apache1.? Thanks Brandon Orther -- 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] Super User Script?

2001-03-29 Thread Brandon Orther
Hello, Is there anyway I can have my script turn super user at the beginning when it runs? Brandon -- 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,

RE: [PHP] problem uploading big (50MB) file

2001-03-29 Thread Brandon Orther
Hello, You can use set_time_limit(); at the top of your script to set the max time limit. set_time_limit(0); will let it go forever, as I do not recommend this until you test the script and know the it doesn't have an endless loop or what not. example: ? set_time_limit(0); echo "test"; ?

[PHP] (8)Exec format error???

2001-03-30 Thread Brandon Orther
Hello, I am trying to get php to run on my Apache Redhat server.When I run it I just get internal server error. This is the error that I get in my error logs after running my script: (8)Exec format error??? thanks for any help, Brandon -- PHP General Mailing List (http://www.php.net/)

[PHP] Check whether I have php installed as cgi or api???

2001-04-02 Thread Brandon Orther
Hello, Can I check to see if cgi is installed as a cgi or an api? What does PHP embedded mean? thanXor Brandon -- 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,

[PHP] Shell Programming with PHP, but where is the PHP?

2001-04-03 Thread Brandon Orther
Hello, I am looking for the path to my php so I can put it on the top of my php script. Like this: #!/path/to/php All I can find that looks like this is libphp4.so Does anyone know where to look for the binary? Thanks Brandon -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Shell Programming with PHP, but where is the PHP?

2001-04-03 Thread Brandon Orther
PROTECTED] Subject: Re: [PHP] Shell Programming with PHP, but where is the PHP? Brandon Orther wrote: Hello, I am looking for the path to my php so I can put it on the top of my php script. Like this: #!/path/to/php All I can find that looks like this is libphp4.so Does anyone know

RE: [PHP] Shell Programming with PHP, but where is the PHP?

2001-04-03 Thread Brandon Orther
When I type: make it does nothing??? What am I supposed to be typing? -Original Message- From: Nuno Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 03, 2001 9:19 AM To: Brandon Orther Cc: PHP User Group Subject: Re: [PHP] Shell Programming with PHP, but where is the PHP? :) yes

[PHP] Quick one...

2001-04-03 Thread Brandon Orther
Hello, How do I alphabetize the out put of my data base? The field would be LastName Brandon -- 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

[PHP] MySQL info...

2001-04-03 Thread Brandon Orther
Hello, I am looking for info on how to make a MySQL table searchable. Does anyone have a tutorial on how to do this? ThankZ Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] Opening a new window.

2001-12-14 Thread Brandon Orther
Does anyone know how I could have php open a new windows with the url I specify? Thanx, Brandon

RE: [PHP] Opening a new window.

2001-12-14 Thread Brandon Orther
To: PHP User Group Subject: RE: [PHP] Opening a new window. I would use target=_blank in the anchor tag so it would work just fine _without_ javascript ... Mark C. -Original Message- From: Mehmet Kamil ERISEN [mailto:[EMAIL PROTECTED]] I would use javascript for that. --- Brandon Orther

[PHP] FreeType 2 on windows?

2001-12-26 Thread Brandon Orther
How do I get FreeType 2 installed on my WIndowsXP box? Anyone know of web site with a tutorial? Thanks Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

[PHP] MySQL and PHP

2002-01-17 Thread Brandon Orther
Hello, I am trying to use mysql through php. When I try to run the following query it does nothing. I am trying to figure out if it is the query or php I am having a problem with. Does anyone see a problem with the below query? (Note: This is for mysql) QUERY: INSERT INTO page_properties

[PHP] MySQL

2002-01-17 Thread Brandon Orther
Hello, I am trying to insert data, but it willnot take the # Does anyone know how to escape the # sign in mysql? Thanks Brandon Sorry if I was a bit Off Tapic

[PHP] Check if var is a domain name

2002-02-05 Thread Brandon Orther
Domain that would be FALSE And so on. Does anyone have a function that makes sure there are no illegal characters and there is a period in the middle of the text? Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994

RE: [PHP] Writing PHP files from inside a PHP file

2002-02-06 Thread Brandon Orther
Use include(); or require(); Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -Original Message- From: Georgie Casey [mailto:[EMAIL

[PHP] Using a mysql data base and cookie to log a person in

2002-02-20 Thread Brandon Orther
mind around it a little better. If anyone knows a good tutorial on how to log people into your site using a userser database please hook me upZ wiT da Inf0z Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364

[PHP] Reading the value in a cookie

2002-02-20 Thread Brandon Orther
Hello, I know how to set a cookie. How do I read the value of that cookie the next time that person returns to my website? Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

[PHP] Reading a conf file

2002-02-27 Thread Brandon Orther
and newsite.worldwideweb.net Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

[PHP] Time is off?

2002-09-25 Thread Brandon Orther
be off? I am thinking maybe a setting in the php.ini or something? Thanks for any help, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com http://www.webintellects.com/

[PHP] PHP isn't reading the php.ini

2001-09-24 Thread Brandon Orther
Hello, I had a computer running a MSSQL server and apache with PHP on it for development. I got hit by the nimda Virus and have had to start all over. I am trying to get MSSQL support with PHP but I am having the following problems. Thanks for any help ahead of time. When I uncomment the

[PHP] FW: PHP isn't reading the php.ini

2001-09-24 Thread Brandon Orther
Hello, I had a computer running a MSSQL server and apache with PHP on it for development. I got hit by the nimda Virus and have had to start all over. I am trying to get MSSQL support with PHP but I am having the following problems. Thanks for any help ahead of time. When I uncomment the like

[PHP] WindowsXP, PHP4 and MS SQL functions

2001-10-31 Thread Brandon Orther
Hello, I am trying to get php4 to use mssql function under WindowsXP. I don't know if this is a problem or not. I uncommented the extensions line in the php.ini file that says: extension=php_mssql.dll But when I try to use mssql_connect it says call to undifiened function. Does anyone know

[PHP] MSSQL functions

2001-10-31 Thread Brandon Orther
Hello, Since I am not able to get msssql functions running. Can someone please give me instructions on exactly what I need to do to get the functions werking? Thanks Brandon

[PHP] Extensions problem

2001-11-01 Thread Brandon Orther
Hello, I have mssql extensions working with the .dll in the extensions directory of my PHP4 folder. I am trying to get curl to work but when I try to run php it says that php_curl.dll was not found, But it is in the same dir as the mssql and mssql is working great. Any IDEAS? Thanks

[PHP] using mail

2001-11-12 Thread Brandon Orther
Hello, I am using the mail() function right now to send e-mails. Is there a way I can dynamically change where it says the e-mail is from? Thanks Brandon

RE: [PHP] using mail

2001-11-12 Thread Brandon Orther
YES I DID READ THE F...in MANUAL -Original Message- From: Kurt Lieber [mailto:[EMAIL PROTECTED]] Sent: Monday, November 12, 2001 2:56 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] using mail Did you RTFM? http://www.php.net/manual/en/function.mail.php Just create a variable and input

[PHP] mail() function

2001-11-14 Thread Brandon Orther
Hello, I have been mssing with the mail function for a day now. When I send a e-mail it always adds the server name to the end of whatever I put the e-mail from in the header. Example: $mailheaders = From: \Do Not Reply\\r\nReply-To: Do Not Reply@Do Not Reply\n; If I use the above

[PHP] FW: A little O T: input type=File -- Can I make a better looking file box?

2001-12-12 Thread Brandon Orther
Hello, I have been working on a php script and lately have been adding style sheets and image submit buttons to make it look better. I have now run into the problem that the input type file looks like a regular form input. I would like to use an image as the browse button and a css for the

[PHP] Sending information to a script on another host....

2001-08-07 Thread Brandon Orther
Hello, I am trying to make a script that automates domain name registration. What I need my script to do is send information to a script that opensrs runs to activate a pending order. But I don't want to redirect the user there. I only want to send information there and then take the user to

[PHP] Emulating a POST

2001-08-08 Thread Brandon Orther
Hello, I have used perl to emulate a post with LWP:UserAgent I am looking for the same effect in php. Does anyone know how I can do this? Thank you Brandon

[PHP] Using PHP to log into a site

2001-08-13 Thread Brandon Orther
for the info. Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

[PHP] PHP's equivalent to Net::SSLeay?

2001-08-13 Thread Brandon Orther
Hello, I have a cgi script that logins to a site and then emulates a form POST. The script uses Net::SSLeay and was wondering if there is soemthing equvilent to it? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED

[PHP] Using a receiving a cookie with cURL?

2001-08-13 Thread Brandon Orther
Hello, I need to login to a site that requires you to have cookies. Can cURL receive and accept cookies? Thank you, Brandon Orther -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] Using Sockets to connect to an SSL site?

2001-08-14 Thread Brandon Orther
Hello, Does anyone know how I would go about connecting to an SSL site using sockets? Or could I need to go in another direction? Thank you, Brandon

[PHP] cURL tutorials ?

2001-08-14 Thread Brandon Orther
Hello, I am looking for tutorials for using PHP with cURL. If you know of a site please e-mail me. Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

[PHP] Help, I'm so close!!!

2001-08-15 Thread Brandon Orther
the results it is just the login page. Does anyone know how after my script logs in to a site I can run another curl post while I am logged in? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364

[PHP] Looking for the cookies a site sends.

2001-08-15 Thread Brandon Orther
Does anyone know of a tool that lets me see the cookies a site sends my browser?

[PHP] Snoopy class: Getting the auth cookie back?

2001-08-15 Thread Brandon Orther
Hello, For my script to login to a SSL site I need to have the snoopy class receive a cookie and store it as a variable. Is that possible with Snoopy0.94? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994

[PHP] Is there a special character I here?

2001-08-16 Thread Brandon Orther
Hello, I am looking for a way to check a string if it has anything other than Numbers or Letters. Does anyone know how to do this? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364

[PHP] Using cURL on windows?

2001-08-17 Thread Brandon Orther
Hello, How would I go about installing cURL for PHP on windows box?

[PHP] Connecting to a MSSQL2000 database with a Linux box and PHP

2001-08-17 Thread Brandon Orther
Hello, Does anyone know of a tutorial on how to get PHP to connect to a MSSQL database from a Linux box?

[PHP] Using PHP to move a row of information to another table

2001-08-27 Thread Brandon Orther
Hello, In MSSQL: I want to take one row of information from one table and put it into another row. Does anyone know of an easy way? Or do I have to go column by column copying each column into the new table? Thank you, Brandon Orther

[PHP] Check if a word is in my string.

2001-08-28 Thread Brandon Orther
Hello, I have a variable with a string in it. I want to check if in that string a certain word is in it. Example $var = This is a good sentence; $check = look(good, $var); and $check would equal 1 since good is in that string does anyone know how to do this?

[PHP] If statement within a variable?

2001-08-30 Thread Brandon Orther
Hello, Is there a way to put an if statement in a variable? For example: $var = Hello.IF($var2 = 1) { .Mr. Bean. } else { .New Comer. }. To The Coffee House.; Thank you, Brandon Orther

[PHP] Looking for PHP programmer in San Diego Area

2001-09-06 Thread Brandon Orther
, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

RE: [PHP] URLencode

2001-09-07 Thread Brandon Orther
I just realized that on the server I am trying to run this on, URLEncode is working like rawurlencode. Does anyone have any idea why this might be happening? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800

[PHP] Convert a string so it is valid for a sql query

2001-09-10 Thread Brandon Orther
Hello, Is there a function to convert a string so it is a valid string of text for a SQL query? AN example would be a string of text that has ' in it would be converted to \' Thank you, Brandon Orther WebIntellects Design/Development Manager

[PHP] Rounding a number up

2001-09-10 Thread Brandon Orther
Is there a way to round a number to the next whole number? Example: Before: 1.86758 After: 2 Thank you,

RE: [PHP] Beginner's books?

2001-09-13 Thread Brandon Orther
PHP Fast Easy : http://www.thickbook.com/books/index.phtml -Original Message- From: LRW [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 13, 2001 8:54 AM To: [EMAIL PROTECTED] Subject: [PHP] Beginner's books? OK, here's a question that should just make me look like a newbie and

[PHP] Get the beginning array number

2001-09-17 Thread Brandon Orther
, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] Refreshing multiple frames?

2001-05-07 Thread Brandon Orther
Hello, I am using php with frames for a menu bar. In one frame I have a menu. When the link is clicked on the menu I would like two frames to be updated. Is there a way to do this? Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] ASP 2 PHP?

2001-05-09 Thread Brandon Orther
Hello, I am looking at a complete database with it interface written in ASP. All of our company programs are written in PHP and that is what I want to use. I believe I remember seeing ASP 2 PHP converts before. Does anyone know of any. They don't have to work perfect just convert it with

[PHP] ASP 2 PHP

2001-05-09 Thread Brandon Orther
Hello, I am looking at a complete database with it interface written in ASP. All of our company programs are written in PHP and that is what I want to use. I believe I remember seeing ASP 2 PHP converts before. Does anyone know of any. They don't have to work perfect just convert it with

[PHP] IIS and PHP4.0.5 give me some problems?

2001-05-11 Thread Brandon Orther
Hello, I recently installed ISS with SQL server because of a database our company had installed. I installed PHP 4.0.5 to IIS and now get soem weird errors when i run these script I made that worked perfectly before. Error1: Undefined variable Error2: Undefined offset Has anyone else had

[PHP] Setting extensions for IIS and PHP4.0.5

2001-05-11 Thread Brandon Orther
Hello, Does anyone know the proper way to setup the extension_dir when i try to set it up it says it can't find the extensions in that dir even though when i go to that dir it is right there. Can someone let give me an example of what they have for extension_dir and then give me the path to

[PHP] Multiple ASP 2 PHP conversion

2001-05-11 Thread Brandon Orther
Hello, I found asp2php to be a great tool. Does anyone know of a way to make it convert a whole directory or more than one file at a time? Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] Are Sessions safe to use, Security wise?

2001-05-14 Thread Brandon Orther
Hello, I am setting up a script that logs into a data base and I only want the person to have to login once. Is it safe for me to save there login info as sessions? Thanks Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Crypt in build 4.0.5

2001-05-14 Thread Brandon Orther
Hello, Does Crypt need to be setup in the ini or as an extension? When I installed 4.0.5 it doesn't seem to work? Thanks Brandon -- 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

[PHP] Crypt is not supported in this build??? 4.0.5

2001-05-15 Thread Brandon Orther
Hello, I just installed 4.0.5 on IIS and it is telling me that crypt is not supported in this build. Does anyone know why? Thanks For Da Help Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP] PHP and GD on a Redhat linux box

2001-05-15 Thread Brandon Orther
I do not believe this is the reason that you are having problems. I have compiled GD on many Redhat machines without X11 Brandon -Original Message- From: scott [gts] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 2:44 PM To: php Subject: [PHP] PHP and GD on a Redhat linux box

[PHP] Does anyone know where I can get mcrypt.dll?

2001-05-16 Thread Brandon Orther
Does anyone know where I can get mcrypt.dll? Thanks Brandon -- 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] Sessions question.

2001-05-16 Thread Brandon Orther
Hello, Is there a way to get the name of each variable in a session? Thanks Brandon -- 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 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?

2001-05-16 Thread Brandon Orther
Hello, I am making a drop down menu script in PHP so it is compatible with non JavaScript browsers like Netscape 6.0 The problem I am having is that when I make tables it doesn't always load the background in the tables. I suspect that maybe this is something with PHP because when I make html

  1   2   >