RE: [PHP] best method for relative linking in php
Hello Sudhakar, I have added #firstError to the end of my script url and then if I have an error, I add that anchor to the first error on the page. This way I don't have to use any javascript to leap the person forward to the first error. I think this is what you are doing with your first method. That should be Kind Regards, Brandon Orther -Original Message- From: Sudhakar [mailto:[EMAIL PROTECTED] Sent: Saturday, March 22, 2008 4:26 AM To: php-general@lists.php.net Subject: [PHP] best method for relative linking in php i have a registration page where a user fills a form and i display an error message if a validation message needs to be displayed which i have written in php. everything works fine. the way the form is made presently is there is a huge amount of information relating to general information about the form and its terms and conditions which is compulsory. so if i have to display any validation message the user has to scroll the page from the top again all the way till they see the validation message. i have used relative linking as it is done in html, so that the user does not have to scroll from the top of the page, rather the page stops where i want it to so the user see the message and does not have to scroll the page. following are the 2 methods i have used and both of them work fine. however in method 2 as it is based on javascript and if javascript is turned off the relative linking will not work and the user will have to scroll from the top of the page again and i have tested this myself. method 1 form action=?php echo $_SERVER[PHP_SELF]; ?#indrel method=POST id=test2 name=registrationform a name=indrel/a if($error) { echo $error; } method 2 form action=?php echo $_SERVER[PHP_SELF]; ? method=POST id=test2 name=registrationform a name=indrel/a if($error) { echo ( script language='javascript' type='text/javascript' window.location.href='http://website.com/filename.php#indrel' /script ); echo $error; } please comment if method 1 is correct in terms of the syntax of the form tag if it is correct or not though i know this method is working the way i want it to, i wanted to confirm before i implement it for my website. please advice. thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] strange list behavior when replying to message on list
I just signed back up to the list recently, but it was like this 5 years ago when I was still on it. I have always wondered why they didn't have that. It seems like they are pushing people to submit their solutions to the person with the question. Kind Regards, Brandon Orther -Original Message- From: Mark Weaver [mailto:[EMAIL PROTECTED] Sent: Saturday, March 22, 2008 10:57 AM To: php-general@lists.php.net Subject: Re: [PHP] strange list behavior when replying to message on list Nilesh Govindrajan wrote: Greg Bowser wrote: Yeah. I always forget to reply to all. The problem is with the headers. Whereas other lists have a reply-to: mailing list address in the email headers, this list does not. It annoys the hell out of me. Why in the bloody hell doesn't the list admin simply add that reply-to header. As far as I know Sendmail adds that auto-magically by default. (I'm assuming they're not using Sendmail as the lists' MTA). It sure would make life easier wouldn't it? How long has it been this way? -- Mark If you have found a very wise man, then you've found a man that at one time was an idiot and lived long enough to learn from his own stupidity. == Powered by CentOS5 (RHEL5) -- 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
[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 b/home/admin/hsReleaser.php/b on line b20/bbr 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 b/home/admin/hsReleaser.php/b on line b20/bbr 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] getting changed to \ when pulled from a text area
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] ^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 ; $x10 ; $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] 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] Time is off?
Hello, I am trying to figure out why Squirrel Mail is giving the wrong time. I did a basic script ? echo date('h:I'); ? 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] Reading a conf file
Does anyone have a good idea of how I can pull the info out of a conf file setup like this? Maybe pull it into an array. ## Conf File ## ServerName domain.websites.com /ServerName ServerName newsite.worldwideweb.net /ServerName So I would get the domain.websites.com and newsite.worldwideweb.net Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com
[PHP] Using a mysql data base and cookie to log a person in
Hello, I loosely understand how I can have a person login to a system by giving them a cookie with a certain amount of time with a encrypted code. And save that same encrypted code in the database for a certain amount of time. I am looking for a tutorial on how to do this so I can wrap my 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 www.webintellects.com
[PHP] Reading the value in a cookie
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
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 ? echo $variable; ? 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
[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
[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] 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] Opening a new window.
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.
I wanted to know how I could have php open a window. Like can I have it print out some javascript to open a new window? Instead of someone having to click a link. Thanks Brandon -Original Message- From: Mark Charette [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 2:08 PM 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 [EMAIL PROTECTED] wrote: Does anyone know how I could have php open a new windows with the url I specify? Thanx, 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] FW: A little O T: input type=File -- Can I make a better looking file box?
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 text box. If I apply a css to the file input it doesn't look right. Does anyone know another way to make a file input with more options on looks? Can I make the browse button an image I make? Thanks for any help Brandon
[PHP] mail() function
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 headers it says from Do Not [EMAIL PROTECTED] Does anyone know how to make it just say Do Not Reply? Thanks Brandon
[PHP] using mail
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
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 it as an extra header. $from = from: [EMAIL PROTECTED]\r\n ; mail($to,$subject,$message,$from); On Monday 12 November 2001 02:41 pm, you wrote: 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 -- 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] Extensions problem
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 Brandon
[PHP] WindowsXP, PHP4 and MS SQL functions
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 anything I should try to resolve this? Thanks Brandon
[PHP] MSSQL functions
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] PHP isn't reading the php.ini
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 for php_mssql.dll it doesn't seem to do anything. It just says call to undifiened function. I removed the php.ini from the winnt folder and still php runs. I am wondering if php is even reading the php.ini. Is it possible for it to run with out it? If you have any idea what could be happing please pet me know. 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] FW: PHP isn't reading the php.ini
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 for php_mssql.dll it doesn't seem to do anything. It just says call to undifiened function. I removed the php.ini from the winnt folder and still php runs. I am wondering if php is even reading the php.ini. Is it possible for it to run with out it? If you have any idea what could be happing please pet me know. 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] Get the beginning array number
Hello, I have an array sent to my script that starts at different numbers each time. Here is an example $array[5] through $array[23] will have values but [0]-[4] will not. Is there a way for me to find the first element of an array with a value? 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] Beginner's books?
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 not an idiot: Anyone have any recommendations of good books for PHP beginners? Something that gives the basics in clear detail and as few errors in the examples as possible? =) I've found bad errors in Sam's Teach Yourself ASP for example. Thanks! Liam -- 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] Convert a string so it is valid for a sql query
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 [EMAIL PROTECTED] 800-994-6364 www.webintellects.com
[PHP] Rounding a number up
Is there a way to round a number to the next whole number? Example: Before: 1.86758 After: 2 Thank you,
RE: [PHP] URLencode
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-994-6364 www.webintellects.com -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Friday, September 07, 2001 2:41 PM To: PHP User Group Subject: [PHP] URLencode Hello, I am working on a script and using urlencode but not getting the results I want. Does anyone know how to convert the spaces of a sting of text in + instead of %20? 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] Looking for PHP programmer in San Diego Area
Hello, I am currently working on a full fledge PHP project for my current company. We are looking for 1 to 2 more PHP programmers to finish up this project for the next several months. If you would like more information please respond to my e-mail address and not the User Group Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com
[PHP] If statement within a variable?
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] Check if a word is in my string.
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] Using PHP to move a row of information to another table
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 WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com
[PHP] Using cURL on windows?
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
Hello, Does anyone know of a tutorial on how to get PHP to connect to a MSSQL database from a Linux box?
[PHP] Is there a special character I here?
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 www.webintellects.com
[PHP] Help, I'm so close!!!
Hello, Using cURL: I have been working for some time to get my PHP program to login to an https site and now that it logs in I cant figure out how to do a post to the site while I am logged in. After I use curl to login I do another curl session to try and emulate a form post. But when I get 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 www.webintellects.com
[PHP] Looking for the cookies a site sends.
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?
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-6364 www.webintellects.com
[PHP] Using Sockets to connect to an SSL site?
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 ?
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] Using PHP to log into a site
Hello, I am looking for a way to have my script log into a site that use an html form to enter the username and password. Then after it has logged in I need to emulate a form ussing sockets or curl. If you have done this or have an idea how I could do this, thanks ahead of time 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?
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] 800-994-6364 www.webintellects.com
[PHP] Using a receiving a cookie with cURL?
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 the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Emulating a POST
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] Sending information to a script on another host....
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 a friendly pretty place. I have some reason to believe has to do with cURL, but not sure. I hope you understand what I am saying. 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] Please Please Pleeeeaaaaaaaaaasssssssseeeeeee
I can send you one if your subject calms down. Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -Original Message- From: Kyle Smith [mailto:[EMAIL PROTECTED]] Sent: Friday, July 27, 2001 5:48 PM To: [EMAIL PROTECTED] Subject: [PHP] Please Please Plaaeee Can everybody please send me a simple script they have made it doesnt matter what, i just need some material to learn from, i learn better hands on. -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 -- 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 an image as a reset button on a PHP script
Hello, I am making a script at the moment and want to use images instead of the usual buttons. Does anyone know how I can use the image as a reset button? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com
[PHP] Objects and sessions
Hello, I was informed by someone that is a blatent liar and regulary makes things up that PHP session can handle Objects. Is this true? Thank you, Brandon Orther
[PHP] Adding a line of text to every page PHP spits out
Hello, I want to have a DOC Type ate the top of every PHP script I run. Is there a way to edit the PHP.ini to make PHP spit out a line of text before echoing anything? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com winmail.dat -- 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]
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: TABLE /TABLE) 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 TABLE or /TABLE 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] 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? html head titleControl Maestro Menu System/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 link rel=stylesheet href=menu.css type=text/css /head body bgcolor=#FF text=#00 MARGINWIDTH=0 LEFTMARGIN=0 MARGINHEIGHT=0 TOPMARGIN=0 background=../html/gray-background.giftable width=100% height=100% border=0 cellspacing=0 cellpadding=0 tr td valign=top table width=100% border=0 cellspacing=0 cellpadding=0 tr td width=1% height=15 valign=middlefont class=text a href=menu.php?open=Web%20Mailimg src=closed.gif border=0 /a /font/td td width=99% height=15 valign=middlefont class=text a href=menu.php?open=Web%20MailWeb Mail/a/font/td tr td background=divide.gifimg src=divide.gif/td td background=divide.gifimg src=divide.gif/td /tr tr td width=1% height=15 valign=middlefont class=text a href=menu.php?open=Account%20Managmentimg src=closed.gif border=0 /a /font/td td width=99% height=15 valign=middlefont class=text a href=menu.php?open=Account%20ManagmentAccount Managment/a/font/td tr td background=divide.gifimg src=divide.gif/td td background=divide.gifimg src=divide.gif/td /tr tr td width=1% height=15 valign=middlefont class=text a href=menu.php?open=Supportimg src=closed.gif border=0 /a /font/td td width=99% height=15 valign=middlefont class=text a href=menu.php?open=SupportSupport/a/font/td tr td background=divide.gifimg src=divide.gif/td td background=divide.gifimg src=divide.gif/td /tr tr td width=1% height=15 valign=middlefont class=text a href=menu.php?open=Billingimg src=closed.gif border=0 /a /font/td td width=99% height=15 valign=middlefont class=text a href=menu.php?open=BillingBilling/a/font/td tr td background=divide.gifimg src=divide.gif/td td background=divide.gifimg src=divide.gif/td /tr tr td width=1% height=15 valign=middlefont class=text a href=menu.php?open=Domain%20Managmentimg src=closed.gif border=0 /a /font/td td width=99% height=15 valign=middlefont class=text a href=menu.php?open=Domain%20ManagmentDomain Managment/a/font/td tr td background=divide.gifimg src=divide.gif/td td background=divide.gifimg src=divide.gif/td /tr tr td width=1% height=15 valign=middlefont class=text a href=menu.php?open=Business%20Centerimg src=closed.gif border=0 /a /font/td td width=99% height=15 valign=middlefont class=text a href=menu.php?open=Business%20CenterBusiness Center/a/font/td tr td background=divide.gifimg src=divide.gif/td td background=divide.gifimg src=divide.gif/td /tr /table /td td background=menu_edge.gif width=8img src=menu_edge.gif/td/tr/table /body /html -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
[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] 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] 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]
[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] 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] 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] 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] 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] 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] 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] 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]
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] 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]
[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]
[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] What variable are being sent to my script?
Hello, I there a way for me to find out what variables are being sent to script? Example: http://www.myscript.com/myscript.php?var1=asdfvar2=asdf that above would be $var1 and $var2 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] Adding GD for win PHP
Hello, I am running PHP4, Apache 1.3, on Win2000. Can I download a dll and put that in a directory to get GD working? Or what would I have to do to add it to my PHP? 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 list administrators, e-mail: [EMAIL PROTECTED]
[PHP] .htpasswd encryption
Hello, I am trying to make a script that creates .htpasswd files. Does anyone know what encryption is used? 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] IF this then, move to this line...
Hello, Is there a way to make my script jump to a certain line in my code if a certain variable is true. like use an if then statement to check for a certain value, then if it is true jump back to line 34 (Any line really). 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] IF this then, move to this line...
Yeah, Memories... of Basic... Ok thanxs for the info :) brandon -Original Message- From: Steve Werby [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 05, 2001 10:51 AM To: Brandon Orther; PHP User Group Subject: Re: [PHP] IF this then, move to this line... "Brandon Orther" [EMAIL PROTECTED] wrote: Is there a way to make my script jump to a certain line in my code if a certain variable is true. like use an if then statement to check for a certain value, then if it is true jump back to line 34 (Any line really). Ahh, the good old days of GOTOs in BASIC. ;-) There isn't a method for referring to a line number within PHP. Enclose your code in functions and do this: if () { true_function_here(); } else { false_fucntion_here(); } If you haven't worked with functions, consult the online manual. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.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 send command to ftp?
Hello, While connected to ftp can I send a command to the ftp? 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 can I chmod something with php.
Hello, I have been looking for a chmod command in the ftp functions, and there isn't any. how can I chmod something? 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] Shell Programming with PHP, but where is the PHP?
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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Shell Programming with PHP, but where is the PHP?
Hello, It is installed as a module, Is there a way I can keep it installed as a module but install it so I can use it to shell script also? Thanks Ahead Of Time Brandon -Original Message- From: Renze Munnik [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 03, 2001 8:32 AM To: [EMAIL 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 where to look for the binary? 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] Try locate and/or whereis. And you should make sure PHP isn't installed as module. -- * RzE: *** ** Renze Munnik ** ** E: [EMAIL PROTECTED] ** M: +31 6 218 111 43 *** -- 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]