[PHP] Oracle CMS
Are there any open source CMSs that work with Oracle? Thanks, Chris _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] create script MYSQL
There is a mysql command for doing a sql dump (dont remember what it is though). Also, you might want to check out phpmyadmin at sourceforge. This has flexible tools for putting databases into a text file. Chris From: agus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] create script MYSQL Date: Wed, 4 Jun 2003 10:44:55 +0700 hi everyone how can i convert database mysql to text file/script file? _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] preg_match array question
You could also have the form post as an array and this saves you the coding in PHP. Like this: form input type=text name=num[] input type=text name=num[] input type=text name=num[] /form Chris From: David Grant [EMAIL PROTECTED] Reply-To: David Grant [EMAIL PROTECTED] To: Daniel J. Rychlik [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [PHP] preg_match array question Date: Fri, 30 May 2003 17:59:58 +0100 Daniel J. Rychlik wrote: Hey, Im trying to use preg_match to validate numbers in multiple fields. I can check one field but Im having trouble checking multiple fields. preg_match ( '(foo)' , $_POST[num1] ); - That works fine. but I need to check multiple fields. I thought I would build an array with the POST data like this... $num = array ($_POST[num1], ($_POST[num2]); There are more than that... and then use preg_match ('(foo)', $num) ; $num should point to my array, but that doesnt work. I get a warning message.. and it doesnt check the first num1 in the array. Im certain that Its my code, and I wanted to get some input on what Im doing wrong. -Dan A quick search turned this up: http://www.php.net/manual/en/function.preg-grep.php -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8 3AN Studio: Whittakers House, 32 - 34 Hotwell Road, Bristol, BS8 4UD Company registration number: 4016744 ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Form input security
Hello all, When using forms, when do I have to worry about cleaning up user data? I know to use escapeshellarg() when using system functions, but how about when using the user data for database inserts? Also, if I do not insert the data into the database or use any system commands, do I still need to clean the data? Thanks, Chris _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] new to php, need help..
Try naming the file with a .php extension. It is also possible your server does not support php. Good luck, Chris From: Jonathan [EMAIL PROTECTED] Reply-To: Jonathan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] new to php, need help.. Date: Thu, 20 Feb 2003 01:34:12 -0600 hi all, i've only begun learning php around 1 week ago, i'm having trouble with this code, html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body ? if (isset($subject)) { echo $subject[0]br /; echo $subject[1]p /; } else { $subject[0] = Enter Subject A; $subject[1] = Enter Subject B; } ? FORM ACTION=? echo $PHP_SELF; ? input type=text NAME=subject[0] value=? echo $subject[0]; ? / input type=text NAME=subject[1] value=? echo $subject[1]; ? / input type=submit value=Submit! / input type=reset value=Reset / /FORM /body /html i got the body code from www.linuxguruz.org but i can't seem to get my input value correct, rather then parsing the variable subject[0] it passes the words ? echo $subject[0]; ? as the value instead, i'm using macromedia dreamweaver MX as my html text editor pls help... thanks! Jonathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Computer Authorization
Hello all, I am looking into an application that only specific computers can access. A login does not work since we only want people to log in from certain computers. IP numbers dont work since they are dynamic. Cookies work temporarily, but are often deleted and are not the most secure route. Any suggestions for accomplishing this? Thanks for any help, Chris _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Computer Authorization
thanks for the response. I have tried MAC addresses. I get them from the arp table. The only problem is that the arp table is no longer available outside of the local network. Can I get them from else where? Any more suggestions? Thanks, Chris From: Rich Gray [EMAIL PROTECTED] To: Chris Cook [EMAIL PROTECTED] Subject: RE: [PHP] Computer Authorization Date: Fri, 21 Feb 2003 01:05:43 -0800 Hello all, I am looking into an application that only specific computers can access. A login does not work since we only want people to log in from certain computers. IP numbers dont work since they are dynamic. Cookies work temporarily, but are often deleted and are not the most secure route. Any suggestions for accomplishing this? Thanks for any help, Chris MAC addresses? Rich _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Computer Authorization
Can I get the any of this information through php or do I need adjust the settings on the server. Doing it through php is preferable... I was also thinking of having an application installed on the client to gather information and send it to my php script. However, I have little idea where to start with that... Thanks again, Chris From: Ray Hunter [EMAIL PROTECTED] To: Chris Cook [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [PHP] Computer Authorization Date: 20 Feb 2003 18:11:59 -0700 domain name, wins, kerberos, nis, mac-address those might be what you need... if you are using dhcp then you can get the ip information from the dhcp number based on the mac address... but remember that these can be spoofed... On Thu, 2003-02-20 at 17:59, Chris Cook wrote: Hello all, I am looking into an application that only specific computers can access. A login does not work since we only want people to log in from certain computers. IP numbers dont work since they are dynamic. Cookies work temporarily, but are often deleted and are not the most secure route. Any suggestions for accomplishing this? Thanks for any help, Chris _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- 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 _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] MAC address user recognition?
I have used MAC address authentication using the arp table and it worked for what I used it for, but it does only work over the local network and spoofing is an issue. Using a cookie in conjuction with a MAC address helps the authentication, but it sounds like SSL is the way to go... Does anyone have any suggestions on where to start learning SSL? Thanks, Chris From: Jason Sheets [EMAIL PROTECTED] To: Leo Spalteholz [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [PHP] MAC address user recognition? Date: 20 Feb 2003 21:13:16 -0700 MAC addresses are used for on a LAN and not the Internet. Using a MAC address might work for identification on a LAN BUT in most operating systems you can easily change the effective MAC address on the card. It would probably be better to look for some other form of identification like SSL certificates or a cookie with the secure bit on so it will only be sent over an SSL connection. If you were concerned about the overhead of SSL you could make only your login page go over SSL and the rest of your site go over normal HTTP. Jason On Thu, 2003-02-20 at 20:29, Leo Spalteholz wrote: I've been thinking about how to do authentication and user recognition for my site without cookies. I had this idea but I don't really know if its possible at all. If I got the IP address from the request could I use ARP to get the MAC address for that IP? If so I could compare that MAC address with a (previously obtained) database of addresses and if it matches they would automatically be logged in. So I could preauthorize my friends and remember other users once they have signed up. It seemed like a cool idea but is this at all possible or am I just insane? Thanks, Leo -- 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 _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Oracle to MySQL
Hi all, I am working on PHP project with a MySQL backend. However, we would like update the MySQL database periodically with an Oracle database not on our server. What should I do to interface with Oracle? Do I need to install anything on our server (OS X Server running Apache)? Thanks for any help, Chris _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Skipping Image Upload if Filename is blank
I have had this problem before. Try to echo out $_FILES['imagefile']['tmp_name'] when the field is blank. Then you will know what to control for... If I recall correctly, the file name is none if there is no uploaded photo. Thus, it exists and that is why the program enters your if statement when you would think that it wouldn't. Good luck, Chris From: Bryan Brannigan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] Skipping Image Upload if Filename is blank Date: Wed, 19 Feb 2003 20:44:32 -0500 I have a form for uploading images. If the browse field is empty I would like it to not process the following copy command, thus eliminating the error message it displays. I thought this would work.. but I have been proven wrong. Anyone have any insight? **snip** if ($_FILES['imagefile']['tmp_name']) { copy ($_FILES['imagefile']['tmp_name'], ../images/.$_FILES['imagefile']['name']) or die (Could not copy); } **snip** Thanks, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Shopping Cart
Hello everybody, I am interested in designing a site with a shopping cart. I have several years of programming experience in php and perl, but I have never made a shopping cart. I was looking into some of the already made shopping carts and was wondering what peoples' experiences have been with already made shopping carts. Ultimately, I am wondering whether I should code it from scratch or not. Thanks in advance for any help, Chris _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] HTML and text email
Hello all, I am trying to send out a multi-part email that is both text and HTML. The HTML is so I can embed links into the email. However, some of my clients have text-only email programs and all the HTML tags are visible. Is there a way that I can display HTML in the HTML enabled programs and text in the text-only email programs? This is the header that I currently use. $headers = MIME-Version: 1.0\r\n; $headers .= Content-type: text/html; charset=iso-8859-1\r\n; Thanks for any help, Chris _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Hardware Address
Hello all, The application I am trying to should only be accessible from work as it is a timeclock. Consequently, a login will, unfortunately, not work. An IP address may work, but the whole university is on DHCP and I do not want them to clock in from other parts of the university (student labs, etc.). I am not set on using hardware addresses, but it seems like a way to do it if PHP allows, which it appears to not. I am open to any suggestions any of you might have. I believe all the computers are on the same collision domain. I dont know if that helps though... Thanks for all your help, Chris From: Brent Baisley [EMAIL PROTECTED] To: Tyler Longren [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Hardware Address Date: Fri, 6 Sep 2002 08:49:35 -0400 To get the hardware address you need to dig down through the network layers. If you look at the OSI 7 network model (used on all systems), you will see that PHP really operates on layers 6 7. The hardware address (MAC Address) is down on layer 2, the data link layer. The layered model is designed to assure compatibility and ease of implementation. Meaning, each layer does what it is supposed to and doesn't care how the other layers accomplish their job. I highly doubt that PHP would be permitted to dig down into the network stack when it's not running as root. I'm not sure what you mean by universities and broadband isp do 'this'. If you are referring to limiting bandwidth, this should be, and usually is, done on the router level. ISP's want to limit use of their network bandwidth, not their server bandwidth. Limiting use of an application is normally done through a user login. Wouldn't you want to limit the user not a specific computer? Besides, it's easy enough to override the hardware address of a network card or even use a different one. Easier than IP spoofing. On Thursday, September 5, 2002, at 09:45 PM, Tyler Longren wrote: using exec() or system() will only be able to execute commands on the machine php is installed on. I sometimes wonder how universities and broadband isp's do this. I'd be interested in seeing how it works. Sorry, I'm not much help anymore. tyler On Fri, 6 Sep 2002 01:24:07 +0200 [EMAIL PROTECTED] wrote: Hi, The best way I think is to use exec() or system() to ask that to the system. May be someone knows something better too. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Chris Cook [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hello all, I am working on a LAN application and am interested in obtaining the user's network card address to limit usage of the program. Is there a way to do this in PHP? I am on a network that uses DHCP so using the IP address probably wont work and I am also worried about IP spoofing. Thanks for any help you can provide, Chris _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- 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 -- Brent Baisley Systems Architect Landover Associates, Inc. Search Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hardware Address
Hello all, I am working on a LAN application and am interested in obtaining the user's network card address to limit usage of the program. Is there a way to do this in PHP? I am on a network that uses DHCP so using the IP address probably wont work and I am also worried about IP spoofing. Thanks for any help you can provide, Chris _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php