[PHP] Time is off?
Hello, I am trying to figure out why Squirrel Mail is giving the wrong time. I did a basic script and the time is off in that script too. I have checked the server time and the server hardware clock. They are both on. Does anyone know a reason that the php time would 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] Problems pulling up a certain url with curl
Hello, I am farely familar with the use of curl. I have used it in the past and it seems to be working going to test pages such as php.ner and so on. When I try to goto https://members.ev1.net/rsmembers/english/index.asp?pge=ttick it doesn't return any headers or html at all. But if you got there in a browser it shows up just fine. Does anyone have any idead why it would do this? Thanks, ---- Brandon Orther WebIntellects Design/Development Manager <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] 800-994-6364 <http://www.webintellects.com/> www.webintellects.com
[PHP] ^M at the end of each line when I use php to write file
Hello, Does anyone know a way around all the ^M at the end of each line that my php file writes to on a linux box? Brandon Orther WebIntellects Design/Development Manager <mailto:brandon@;webintellects.com> [EMAIL PROTECTED] 800-994-6364 <http://www.webintellects.com/> www.webintellects.com
RE: [PHP] ^M at the end of each line when I use php to write file
The lines that are having a ^M are pulling from a TEXT field of a mysql database. The \n I am saving come out great. So I guess I found that my issue is that text fields I am pulling. Is there a way to make the new line in a text field the same as a \n when pulling from a database? Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -Original Message- From: Evan Nemerson [mailto:evan@;coeus-group.com] Sent: Thursday, October 31, 2002 10:08 AM To: Brandon Orther; [EMAIL PROTECTED] Subject: Re: [PHP] ^M at the end of each line when I use php to write file a what does your code look like??? What happens when you $fp = fopen("temp", a+); for ( $x=0 ; $x<10 ; $x++ ) fputs($fp, "$x\n"); fclose($fp); ??? On Thursday 31 October 2002 09:44 am, Brandon Orther wrote: > Hello, > > Does anyone know a way around all the ^M at the end of each line that > my php file writes to on a linux box? > > > -------- > > Brandon Orther > > WebIntellects Design/Development Manager > > <mailto:brandon@;webintellects.com> [EMAIL PROTECTED] > 800-994-6364 > > <http://www.webintellects.com/> www.webintellects.com > > -- I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours. -Stephen Roberts -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] ^M at the end of each line when I use php to write file
Hello, For anyone else that had a problem with ^M use this function: str_replace("\r", "", $result); -------- Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -Original Message- From: 1LT John W. Holmes [mailto:holmes072000@;charter.net] Sent: Thursday, October 31, 2002 10:42 AM To: Brandon Orther; PHP User Group Subject: Re: [PHP] ^M at the end of each line when I use php to write file You're probably writing \r\n instead of just \n. ---John Holmes... - Original Message ----- From: "Brandon Orther" <[EMAIL PROTECTED]> To: "PHP User Group" <[EMAIL PROTECTED]> Sent: Thursday, October 31, 2002 12:44 PM Subject: [PHP] ^M at the end of each line when I use php to write file > Hello, > > Does anyone know a way around all the ^M at the end of each line that > my php file writes to on a linux box? > > > > > Brandon Orther > > WebIntellects Design/Development Manager > > <mailto:brandon@;webintellects.com> [EMAIL PROTECTED] > 800-994-6364 > > <http://www.webintellects.com/> www.webintellects.com > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] " getting changed to \" when pulled from a
Hello, When trying to save data from a form, the quotations (") get change to (\") Is there a function that will fix this? ---- Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com <http://www.webintellects.com/>
[PHP] FileSize and file_exist failing a file that I am sure is there
Hello, When try to get a file_exist response I get the following error: Warning: stat failed for /home/admin/2002-11-12-Part1.mp3 (errno=2 - No such file or directory) in /home/admin/hsReleaser.php on line 20 But I am rather sure that the file does exist. If I open /home/admin/2002-11-12-Part1.mp3 it does exist. Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com <http://www.webintellects.com/>
RE: [PHP] FileSize and file_exist failing a file that I am sure is there
Hello, Open_basedir is not set in the php.ini and I can rename the files without an issue using the rename function. Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com <http://www.webintellects.com/> -Original Message- From: Ernest E Vogelsinger [mailto:ernest@;vogelsinger.at] Sent: Tuesday, November 12, 2002 9:42 AM To: Brandon Orther Cc: PHP User Group Subject: Re: [PHP] FileSize and file_exist failing a file that I am sure is there At 17:27 12.11.2002, Brandon Orther spoke out and said: [snip] >When try to get a file_exist response I get the following error: > >Warning: stat failed for /home/admin/2002-11-12-Part1.mp3 > (errno=2 - No such file or directory) in >/home/admin/hsReleaser.php on line 20 > >But I am rather sure that the file does exist. If I open >/home/admin/2002-11-12-Part1.mp3 it does exist. [snip] Maybe the open_basedir limitation is in effect, and /home/admin is outside the allowed base directory? -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/
[PHP] Shopping Carts
Hello, I am making a shopping cart. I am wondering on how I should separate each user. I though the I.P. would be good but there can be a couple people on one I.P. so if someone is sharing an I.P. it will mess things up.. Anyone got a better way to do it? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] JavaScript and PHP ... are they at all the same?
Hello, I am making a PHP script that makes a JavaScript. Is there a way in java to escape a character like in php. (in php you use "\") 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Sessions
Hello does anyone know why I get this error when I use this code? I copied straight from the PHP.net manual: - CODE - Hello visitor, you have seen this page times. is necessary to preserve the session id # in the case that the user has disabled cookies ?> - ERROR - Warning: open(/tmp\sess_13514d1d70d505416a47639bc7312c58, O_RDWR) failed: m (2) in C:\Apache\htdocs\br\test.php on line 2 Hello visitor, you have seen this page 1 times. Warning: open(/tmp\sess_13514d1d70d505416a47639bc7312c58, O_RDWR) failed: m (2) in Unknown on line 0 Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] How can I get a random number
How can I get a random number 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] rand is not random for me :(
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://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] Format a number for Money
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] 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: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] XML, what is that supposed to do?
Hello Everybody, I have seen a lot of people ask for XML support for PHP. I was wondering what it does that makes it good for PHP. 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Sessions
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 www.webintellects.com -- 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_destroy(); aint werking?
Hello everybody. I am just getting into sessions and they look like a very sweet thing. here is my problem, when I try to destroy a session using destroy_session() I get this error: Warning: Session object destruction failed in c:\apache\htdocs\sessions\done.php on line 3 Thanks for help in advance 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] gc_probability
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/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: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] session_destroy
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 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: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Ok thanx sessions that was great, now it's time to go back home!!!
Hello, I am getting started with session and really love the sessions to death, but when I try to end a session I get an error. Can someone give me an example of code that ends a session. 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] PHP connecting to FIlemaker Database
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 -- 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]
RE: [PHP] Ok thanx sessions that was great,now it's time to go back home!!!
Actually it would be like saying to a mechanic, Hey when I try to change my oil it spills can you give me an example of how to change my oil. All I was asking for was an example snip of code. But if this can help here is the error I get: Warning: Session object destruction failed in c:\apache\htdocs\sessions\done.php on line 3 Here is the code I am using: "; ?> RESTART>> Thank you, -------- Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 9:33 AM To: Brandon Orther Cc: PHP User Group Subject: Re: [PHP] Ok thanx sessions that was great, now it's time to go back home!!! > I am getting started with session and really love the sessions to death, but > when I try to end a session I get an error. Can someone give me an example > of code that ends a session. What is the error that you get? What is the code you're now using that causes the error? It's like saying to your mechanic "When I do something in my car, it makes a noise." xxo, Andy -- # Andy Lester http://www.petdance.com AIM:petdance %_=split';','.; Perl ;@;st a;m;ker;p;not;o;hac;t;her;y;ju'; print map $_{$_}, split //, '[EMAIL PROTECTED]' -- 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] Rounding a number up if the number is anything more than a whole number
Hello, I am doing a math function where I divide one number by another. I want it to give me a whole number though, and if it is anything above a number I want it to go to the next one up. Example: 4.0001 would equal 5 3.98 would equal 4 11.023 would equal 12 I hope you understand what 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/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] CSS and PHP
Hello, I am making a script that creates a dynamic htm page. One of the many things that this script does is change the css. The problem I am having is that it doesn't seem to display the css when it is loaded through the web server. When I look at the source and save it as an htm file. 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 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]
RE: [PHP] PHP Editors
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? I'm a little familiar with Emacs (kinda cool, but I'm use to keywords and such being colored - as in Interdev). 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-mail: [EMAIL PROTECTED] -- 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]
RE: [PHP] Spell checker?
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 www.webintellects.com -Original Message- From: Nik Gare [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 6:13 AM To: [EMAIL PROTECTED] Subject: [PHP] Spell checker? Hi, I have a site which will be updated periodically by someone else, so have made some forms with textareas for them to upload the text into the MySQL database. I was wondering if there is a PHP function/class which could spell check these forms? TTFN Nik -- 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 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] Clear an array
How can I clear an array of all it's values. 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Clearing a variable
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://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] Using a variable to select what variable to use...???
Hello, I am doing a do loop and I want it to change what variable to use each run... First time use: $run1 Second time use: $run2 Third time use: $run2 I hope you can understand what I am saying. 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Microsoft SQL server 7
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 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] Making .phtml an extension
Hello, I am trying to get .phtml to work for php files. How would I do this? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Print in html
Hello, I am trying to finish up a script with instructions on how to add my banner add script to someone's .phtml file. I need to print in the html page that has instructions for the user. Anyway when I try to do that it just runs as a script... does anyone know how I can get over this? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Can someone tell me the command to enable ftp support on php4.03?
Hello, I am trying to enable ftp can someone please remind me what the command is? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Writing to an ftp...
Hello, I need to write a file and upload it to a ftp. Is there a way to upload without making a temp file? Like making a text file on the server and writing to it? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Sessions and naming a file with SID
Hello, Is there a way to start a session and then save a temp file with the name of the Session ID? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Explode a variable into each character
Hello, I have a string of 1034 and I want to have an array that has each number in an element.(ex: num[0] = 1, num[1] = 0, num[2] = 3 num[3] = 4) Is there a way to explode a string by each character? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] PHP trace route?
Hello, I am looking for a php trace route that I can have get the IP of the person browsing the site and do a trace route from the server. Then I want to reverse the results so It looks like they are doing a trace route on the server rather than the server doing a trace route on them. 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Lets nock off any numbers at the begging of a string...
Hello, Is there a way to remove the first numbers of a string? Here is an example: $string1 = "12 this is number twelve"; when done: " this is number twelve"; $sting1 = "123 this is number one twenty three" when done: " this is number one twenty three"; 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Error, anyone seen this before?
hello, I am getting this error when I try to get an ftp_list. Warning: Unable to find ftpbuf 0 in c:\apache\htdocs\sitemaestro\scripts\formmail.php on line 72 and ideas? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] strip ^M's ??
Hello, I am making a PHP script that upload formmail into people web directory with all the settings easily configured on a web based setup screen. Is there a way to have php remove all ^M (Control M) from the file before it uploads it to the server? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] strip ^M's ??
Thanks! Werked Great d;-Þ -Original Message- From: Nathan Cassano [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 9:46 AM To: 'Brandon Orther'; [EMAIL PROTECTED] Subject: RE: [PHP] strip ^M's ?? Here is a solution I can up with to solve all the CR and LF funniness coming from different web browsers. $input = ereg_replace("\r\n|\n|\r", "\n", $input); -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 9:43 AM To: PHP User Group Subject: [PHP] strip ^M's ?? Hello, I am making a PHP script that upload formmail into people web directory with all the settings easily configured on a web based setup screen. Is there a way to have php remove all ^M (Control M) from the file before it uploads it to the server? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- 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] Start you php script over??
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 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: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] getting info.. help!
Hello, Is there a way to remove all the spaces in the beginning of a string? Example: " 45 fasfda asdfasf" would be "45 fasfda asdfasf" and " 45 fasfda asdfasf" would be "45 fasfda asdfasf" No matter how many spaces in the begging in I just want it 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 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] Is it odd or even???
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 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] So whats up with that GTK... Anyone know of a site with tutorials?
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 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] Kick one of these darn elements out of my array, I aint having it!
Hello, I want to take one element out of an array, is there a way to remove an element and have the array resorted so there isn't a blank spot where I remove the elements? Here is an example if the above text made no sense. Example: $array = Array("1", "2", "3", "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 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: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Session problem
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-994-6364 www.webintellects.com -- 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]
RE: [PHP] need some help..
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 To: [EMAIL PROTECTED] Subject: Re: [PHP] need some help.. Do you have a friend with FTP and DSL??... pull out your drive an go to their place. Rick At 06:31 PM 3/13/01 -0500, [EMAIL PROTECTED] wrote: >Im moving servers within the week.. and I got about 600mbs worth of stuff on >there, and me being on 56K its nearly an impossible tasks. > >I thought up of a solution, but need to get it implemented. Have a script >open a directory and fopen all the files from the remote server and transfer >it to my new one. Anyone ever done something similar to this? is it possible? > >- 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-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- 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 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] MSSQL 2000 in PHP4... Is this possible?
Hello, I just finished Installing Win2k Advanced Server and And MsSql 2000. I have apache as my web server and wanted to know the correct procedures to get PHP4 connected to a MsSql database. if anyone has gone through this before please hook me up with the info. 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Has anyone got MSSQL2000 to connect and work properlly?
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 www.webintellects.com -- 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] Executing a CGI script.
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
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.webintellects.com -- 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] Variables not getting passed when I post info
Hello, I made a GD script that made an image with the name of whatever page I was in in my web site. I would post info to it like this: http://www.domain.com/jpeg-out.php?title=FrontPage what ever I put for title it would make the image. After reinstalling php4 on my win2000 box with apache it doesn't seem to get the $title variable. Does anyone know what might be going wrong? 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] Blur some text please
Hello, Does anyone know of an image library that plugs right into php that has a blur function so I can create a drop shadow effect for text? 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] Query Analyzer For MySQL with PHP?
Hello, I recently took an ANSI SQL class to better familiarize my self with SQL in general. In the class we used MSSQL SERVER 7 and to do queries we used the Query Analyzer. Does anyone know of a PHP script that works like the Query Analyzer so I can test Queries in a Browser? Like A Text Area where I can put the query and a simple form that sends it to MySQL. 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]
RE: [PHP] How to turn off warnings ???
You can put a @ in front of you function. Example -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 3:05 PM To: [EMAIL PROTECTED]; Php-General Subject: RE: [PHP] How to turn off warnings ??? > I am a newbie to PHP and I am trying to get a number of scripts to work. > > Whenever I try to execute some code I receive 'warnings', that basically > clutter up the screen. Since I am assuming that these are not fatal - is > there any way to turn them off? > > Any help would be appreciated. The manual details the settings for the php.ini here: http://www.php.net/manual/en/configuration.php You may want to alter your error reporting level there, or at the top of each script as needed. destiney - (des-ti-ny) - n. 1. deity of all things "html", 2. common internet addict, 3. lover of late 80's heavy metal music, 4. Activist for the terminally un-elite; see also - cool guy, des, mr. php... It's 4:00am, your web site is still up, why are you? http://phplinks.org/ http://destiney.com/ -- 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 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] Sort Question
Hello, I am doing a dir list of an ftp and using sort to sort the dir list alphabetically. What I am using now sorts it alphabetically but it sorts the capital letters then the lower case so a capital "Z" would come before a lower case "a" The Code I am using is: sort($complete_list); return $complete_list; Does someone know how I can sort an array alphabetically with the case insensitive sort? Thank You 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] Sort an array
Hello, Is there a way to sort an array alphabetically? 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]
RE: [PHP] adding text to a variable name
Just do this: $fieldcode = field; Brandon -Original Message- From: Jamie Saunders [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 6:46 AM To: [EMAIL PROTECTED] Subject: [PHP] adding text to a variable name Hi, Is it possible to add text onto the end of a variable name? e.g. to add the word 'code' onto the variable $field so it would be $fieldcode Thanks Jamie Saunders Mail: [EMAIL PROTECTED] Web: http://jamie-s.co.uk -- 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 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]
FW: [PHP] adding text to a variable name
Sorry Syntax error. Correct: $fieldcode = $field; -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 2:06 PM To: PHP User Group; Jamie Saunders Subject: RE: [PHP] adding text to a variable name Just do this: $fieldcode = field; Brandon -Original Message- From: Jamie Saunders [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 6:46 AM To: [EMAIL PROTECTED] Subject: [PHP] adding text to a variable name Hi, Is it possible to add text onto the end of a variable name? e.g. to add the word 'code' onto the variable $field so it would be $fieldcode Thanks Jamie Saunders Mail: [EMAIL PROTECTED] Web: http://jamie-s.co.uk -- 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 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 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] FTP function in php
Hello, I am making a script that makes .htaccess files for websites. When I use ftp_nlist(); It doesn't show the files with a . in front of them. Does anyone know how to show hidden files when listing a directory? 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] Closing a FTP connection
Hello, I have recently been using the ftp functions in php to get a lot of stuff done. My question is when I exit; a php script does it close the ftp connection for me? I thought it would since the script is completely closing also. If anyone knows please let me know thanxZ 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]
RE: [PHP] Closing a FTP connection
The reason I ask is not for a way to close an ftp connection but because I want to know if close closes it. thank you -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 12:53 PM To: PHP User Group Subject: [PHP] Closing a FTP connection Hello, I have recently been using the ftp functions in php to get a lot of stuff done. My question is when I exit; a php script does it close the ftp connection for me? I thought it would since the script is completely closing also. If anyone knows please let me know thanxZ 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 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] Make text a submit button?
Hello, I am currently using image buttons for my submit buttons on a project I am working on. What I would like to use is regular text like a hyperlink. Does anyone know of how I can use text as the submit button? Thanks for any help 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] OT-Please bare with me :)
Hello, I am making a suite of php tolls that I want to have all incorporated in one management website. What I would like to have is a drop down menu in a frame on the left. A great example of what I want is the left drop down menu on the new Cobalt XTR server admin section. If anyone has a JavaScript or a tutorial how to make a drop down menu please send me a link. Thank you :) 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] Multi Dimensional Arrays?
Hello, I am working on a menu script that I wanted to use multi-dimensional arrays for. Here is the conf file I have: //Main Menu Array $main_menu[0] = "Menu 1"; //Represents the name of the menu //Menu 1 Array $main_menu[0][0] = "Test 1"; $main_menu[0][1] = "Test 2"; $main_menu[0][2] = "Test 3"; $main_menu[0][3] = "Test 4"; When I try to us count like: $count = count($main_menu[0]); I only get 1. My question is how do I count a multi dimensional array. Thanks for the help, 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] Variable Variable with array
Hello, I am trying to use variable variable. with arrays. this may be hard to understand so here is an example: $menu1[0] = "1"; $menu1[1] = "2"; $menu1[2] = "3"; $menu2[0] = "1"; $menu2[1] = "2"; $menu2[2] = "3"; $menu3[0] = "1"; $menu3[1] = "2"; $menu3[2] = "3"; does anyone know the proper way to use variable variable with arrays? 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] Variable Variable
Hello, I can't find Variable Variable in the php manual. If someone has a link to the section in the PHP manual about this please send me a link. 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 the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Refreshing multiple frames?
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 additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] ASP 2 PHP?
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 some bugs and I will fixes those. 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] ASP 2 PHP
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 some bugs and I will fixes those. Also it is using a MSSQL database if that helps at all. 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] IIS and PHP4.0.5 give me some problems?
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 these errors, and does anyone know how to resolve this? 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] Setting extensions for IIS and PHP4.0.5
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 where there extensions are. 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] OT SQL SERVER
Hello, I am woking in PHP an recently got a SQL2000 database that I need to work with. What my question is ... is does anyone know how to make a printable data model so I have something to look at while I program. 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] Multiple ASP 2 PHP conversion
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] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Extensions for PHP on IIS Problems?
Hello, I installed Win2000 Advanced Server on my box and installed PHP4.0.5 on that. The only problem I am having is with Extensions When I put the Extension Directory to C:\extensions it will not load any of the DLLs in that dir like php_gd. Has anyone else had problems with extensions on a IIS server? If you have please let me know what you did to get it working again. 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] Tutorial on connecting to a MSSQL 7 or 2000 database.
Hello, I am looking for a tutorial on connecting to a MSSQL 2000 data base running on the local computer. 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] Are Sessions safe to use, Security wise?
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 commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] MSSQL
Can you specify the OS you are running this on and the version of PHP you are running. What it looks like is that the extension is not installed. Thanks, Brandon -Original Message- From: Andreas Pucko [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 3:19 PM To: Php (E-mail) Subject: [PHP] MSSQL Hi there, while tying to connect to a MSSQL DB I get the error message: call to undefined function. I thing my syntax is ok. function pconnect_db() { if (!($link = mssql_pconnect ($DB_SERVER, $DB_LOGIN, $DB_PASSWORD))) { printf("An SQL error has occured. Please contact our webmaster\n\n"); DisplayErrMsg(sprintf("internal error %d:%s\n", mysql_errno(), mssql_error())); exit() ; } return $link; } does anybody see the error? Cheers Andy -- 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 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] Crypt in build 4.0.5
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 administrators, e-mail: [EMAIL PROTECTED]
[PHP] Crypt is not supported in this build??? 4.0.5
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 PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] PHP and GD on a Redhat linux box
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 i had compile problems for PHP + GD on a linux box. my best guess is that GD requires X11 support to work properly, and in turn blows up the PHP compile when GD cannot find the 'X11' library since the box is a server, bells and whistles like Xwindows are not installed figured i'd share with anyone, in case others are having the same problem compiling. -- 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 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] Does anyone know where I can get mcrypt.dll?
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.
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?
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 tables they seem to load pretty good. Any Ideas? 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] Mail with Win2K
Hello, I usually use Linux as my OS so I am not to familure with Windows as a web server. The problem I am facing now is the mail function in windows. It doesn't seem to work. Does anyone know what I need to do to use the mail() function on a Win2k advanced server box? PHP 4.0.5 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] How do I have a Authentication box pop up?
Hello, How to I make the browser pop up a authentication box? 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]
RE: [PHP] How do I have a Authentication box pop up?
For some reason that doesn't provoke a Pop-up. Maybe this is because I am on an IIS server. Any Ideas? I am Running PHP4.0.5 on Windows2k Adv. Thanks For The Help d:) Brandon -Original Message- From: Sam Masiello [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 11:42 AM To: Brandon Orther; PHP User Group Subject: RE: [PHP] How do I have a Authentication box pop up? See the following URL in the manual: http://www.php.net/manual/en/features.http-auth.php HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 1:48 PM To: PHP User Group Subject:[PHP] How do I have a Authentication box pop up? Hello, How to I make the browser pop up a authentication box? 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 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 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] A universal Database Class
Hello, I am making a suite of online tools. Right Now I am connecting to a MS SQL 2000 database. Is there any class out there that will let you send a query to more than just one type of databases? Like someone could run it off a MSSQL server and another could run it off a MySQL database. 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]
RE: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?
1. I am not making a JavaScript version at all I don't see where I ever say this. ??? 2. If I copy the html outputted to the browser and past it into an html file it loads good. When I say I suspect this to be something wrong with PHP I mean that Netscape doesn't play good with PHP.(Not that PHP has a bug in it) Thanks, Brandon -Original Message- From: Jason Murray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 5:03 PM To: 'Brandon Orther'; PHP User Group Subject: RE: [PHP] Netscape 6, What a piece of s$#@ , anyone else had problems with php and Netscape 6? > 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 > tables they seem to load pretty good. If you're making it compatible with non-JS browsers, why bother making the JS version? There's nothing wrong with PHP, it's only doing what you tell it. If your PHP code is flawed, the HTML it outputs will be flawed too 8) Jason -- 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]
RE: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?
Hello, It is on a local site and is a security risk if I give out the address. I am sorry :( Thanks for your interest Brandon -Original Message- From: DAve Goodrich [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 2:02 PM To: Billy Harvey; [EMAIL PROTECTED] Subject: Re: [PHP] Netscape 6, What a piece of s$#@ , anyone else hadproblems with php and Netscape 6? Do you have a URL I could try? I've used PHP to generate a lot of dynamic js and css. DAve on 5/17/01 1:50 PM, Billy Harvey at [EMAIL PROTECTED] wrote: >> 1. I am not making a JavaScript version at all I don't see where I ever say >> this. ??? >> >> 2. If I copy the html outputted to the browser and past it into an html file >> it loads good. When I say I suspect this to be something wrong with PHP I >> mean that Netscape doesn't play good with PHP.(Not that PHP has a bug in it) >> >> Thanks, >> Brandon > > Brandon, > > Neither Netscape nor any other browser has any clue that PHP is being > used on the server. All broswers simply interpret the html, > javascript, java, etc.that gets sent to them. PHP is not a factor in > whatever is causing a browser to misbehave. For Netscape it's often > an improperly formed table that causes trouble. I occassionally find > that people also use IE-centric code without realizing it (or perhaps > without caring initially). > > Billy -- Dave Goodrich Director of Interface Development Reality Based Learning Company 9521 NE Willows Road, Suite 100 Redmond, WA 98052 Toll Free 1-877-869-6603 ext. 237 Fax (425) 558-5655 [EMAIL PROTECTED] http://www.rblc.com -- 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 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]
RE: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?
This is the HTML that is returned by PHP. Does anyone know why Netscape Would have problems viewing it? Control Maestro Menu System Web Mail Account Managment Support Billing Domain Managment Business Center -Original Message- From: DAve Goodrich [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 2:02 PM To: Billy Harvey; [EMAIL PROTECTED] Subject: Re: [PHP] Netscape 6, What a piece of s$#@ , anyone else hadproblems with php and Netscape 6? Do you have a URL I could try? I've used PHP to generate a lot of dynamic js and css. DAve on 5/17/01 1:50 PM, Billy Harvey at [EMAIL PROTECTED] wrote: >> 1. I am not making a JavaScript version at all I don't see where I ever say >> this. ??? >> >> 2. If I copy the html outputted to the browser and past it into an html file >> it loads good. When I say I suspect this to be something wrong with PHP I >> mean that Netscape doesn't play good with PHP.(Not that PHP has a bug in it) >> >> Thanks, >> Brandon > > Brandon, > > Neither Netscape nor any other browser has any clue that PHP is being > used on the server. All broswers simply interpret the html, > javascript, java, etc.that gets sent to them. PHP is not a factor in > whatever is causing a browser to misbehave. For Netscape it's often > an improperly formed table that causes trouble. I occassionally find > that people also use IE-centric code without realizing it (or perhaps > without caring initially). > > Billy -- Dave Goodrich Director of Interface Development Reality Based Learning Company 9521 NE Willows Road, Suite 100 Redmond, WA 98052 Toll Free 1-877-869-6603 ext. 237 Fax (425) 558-5655 [EMAIL PROTECTED] http://www.rblc.com -- 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 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]
RE: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?
You should be appointed to the head of all HTML. For you are the master and can see through the ignorance of us all. I bow below you and thank you for letting me grace your presence. You truly are the HTML messiah 8/ -Original Message- From: Brian S. Dunworth [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 8:59 AM To: scott [gts]; php Subject: RE: [PHP] Netscape 6, What a piece of s$#@ , anyone else had problems with php and Netscape 6? At 11:37 AM 5/18/01 -0400, scott [gts] wrote: >yes. netscape is incredibly anal about tables. Actually, it's "incredibly anal" about following the HTML specification(s). An incomplete tag pair (ie: ) is to be _ignored_ ...similarly, unrecognized parameters inside certain tags are ignored and the parameters that *are* recognized are utilized. This is all according to the ideal specification. Internet Explorer, which will attempt to ascertain what the (bad) HTML programmer meant by inserting missing tags, etc, is the program that is not doing things correctly. All that is to say that Netscape, at least in this instance, is doing exactly what it is supposed to do. Internet Explorer should not display anything within malformed or missing tag pairs. >if you miss even one tag, the entire table >will not show... this is not necessarily true, unless the "one tag" you're missing is the or tag... >per your subject header: >1) it's a netscape problem -- it affects 4.x, not just 6 No, it's an Internet Explorer problem. The HTML specification clearly indicates that unrecognized and/or incomplete tags should be IGNORED. Not _interpreted_ or _guessed_at_, but ignored. >2) PHP is server-side. it's not repsonsible for the rendering > of HTML by each individual browser. this part is correct... > if something looks ok in IE and breaks in Netscape, then it's most > likely the browser's fault, not PHP. I think you may mean, "if something looks okay in IE and doesn't appear in Netscape, then it's most likely the HTML programmers fault for not writing clean, legitimate HTML within their PHP program. > the browser doesn't ever *see* the PHP code... so there's no way > that a browser could ever have problems *just* with PHP. Agreed... - Brian S. Dunworth Sr. Software Development Engineer Oracle Database Administrator The Printing House, Ltd. (850) 875-1500 x225 <[EMAIL PROTECTED]> - -- 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 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] Crypt alternative for Win2k
Hello, I have been working in Linux for the last year on some scripts. Now I have to port them to Windows server. Does anyone know how to us crypt or an alternative for crypt? 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] test
test -- 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] FreeType 2 on windows?
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
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 (page_name,open_menu,top_image,title_image,side_images) VALUES("30daypolicy","comp_info2","top_aboutus","titlebar_aboutus","30da y"); Thanx for your help, Brandon
[PHP] MySQL
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
Hello, Does anyone know a function or how I could make a function to check a variable for being a valid domain name without the "www. <http://www./> " In fron of it? Ex. $var = "mynewdomain.com" that would be TRUE Ex2. $var = "www.mynewdomain.com" that would be FALSE Ex3. $var = "My Great 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-6364 www.webintellects.com
RE: [PHP] Writing PHP files from inside a PHP file
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 PROTECTED]] Sent: Wednesday, February 06, 2002 3:32 PM To: [EMAIL PROTECTED] Subject: [PHP] Writing PHP files from inside a PHP file I want to extract information from a database table and create a half-static, half-dynamic PHP page from the info. I want to store the template for the new page in an external file with tags in the places where I want variables to be printed. What;s the best of achieving this?? I tried "fread" but that just printed "" to the static page instead of replacing it with the value. Any suggestions? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php