Re: [PHP] Secure connection with MySQL database

2002-08-18 Thread Edwin @
Well, I'm not sure if this is what you're looking for but... if you name the file with a .php extension (instead of .txt or .inc) then your password is protected. For example, you have a password declared like this: $my_db_username = 'MyUserName'; $my_db_password = 'MyPassWord'; And it's

Re: [PHP] Secure connection with MySQL database

2002-08-18 Thread @ Edwin
e contents of the script, since the directory you place it in would not be readable by the web server. --- "Edwin @" [EMAIL PROTECTED] wrote: Well, I'm not sure if this is what you're looking for but... if you name the file with a .php extension (instead of .txt or .inc) then your pass

Re: [PHP] SQL Injection/Data Balidation

2002-08-16 Thread Edwin @
Yeah, I'm scared... Please excuse me but may I say that it seems like you've sent some wrong info to the wrong mailing list? I use PHP NOT ASP, I use MySQL or PostgreSQL or Oracle but NOT M$ SQL Server. And IIS? Of course, some people use it (perhaps) because of some unavoidable

Re: [PHP] SQL Injection/Data Balidation

2002-08-16 Thread Edwin @
Actually, I DID read the articles before I replied. If you read it again, the basic problem is not about any extended SQLServer functionality--it's about how ASP works AND how the database server was configured AND how Window$ works. Sorry, but the attacks mentioned CANNOT be done on any of

Re: [PHP] SQL Injection/Data Balidation

2002-08-16 Thread Edwin @
Oops! Sorry! I meant to say apostrophe and not single quotes... And sorry 'bout this additional post... Regards, - E Actually, I DID read the articles before I replied. If you read it again, the basic problem is not about any extended SQLServer functionality--it's about how ASP works AND

Re: [PHP] Seemingly simple header problem, isn't!

2002-08-14 Thread @ Edwin
was working perfectly fine--without doing anything special in httpd.conf... - E Hi, Edwin. Of course... thanks! Apache version 1.3.23. Definitely not IIS. Robert Orenstein Perforce Software Try running ?php phpinfo(); ? and I'm sure you'll find out something about the Apache version

Re: [PHP] Shared network server failing to include files

2002-08-14 Thread @ Edwin
And still, if this doesn't work, why not install PHP as well--with Apache... (Perhaps, there must really be some good reason why not...) I'm not sure what was meant by A Windows 2000 takes care of our network internet connectivity but if a router is present, why not just map HTTP request

Re: [PHP] frames and variables

2002-08-14 Thread @ Edwin
I think one of the (if not THE) best implementation of frames with PHP/Javascript (HTML,CSS...) is phpmyadmin... http://www.phpmyadmin.net/ Of course, there could be a lot of others... - E The only way to talk to multiple frames is with javascript. yuk. Justin French on 15/08/02 2:37

Re: [PHP] upgrading error

2002-08-13 Thread @ Edwin
Just a thought... If you have downloaded 10 packages perhaps you need to upgrade ALL of them AT THE SAME TIME. So, instead of doing: rpm -Uvh php-4.1.2-7.i386.rpm. Try this: 1. Put all packages in the same folder 2. rpm -Fvh *.rpm The "F" (instead of "U") updates all INSTALLED packages

Re: [PHP] mysql error

2002-08-13 Thread @ Edwin
Looks like you're updating your table so instead of "INSERT INTO...", try: "UPDATE malibu_data SET ..." HTH, - E I get this error: Error submiting paragraph.You have an error in your SQL syntax near 'WHERE page_name='features' AND par_id='13' ' at line 1 But my code, I think is fine: //

Re: [PHP] newbie PHP/HTML pull down menu problem

2002-08-13 Thread @ Edwin
Something like this should work: after mysql_connect() and mysql_select_db() ... $sql = "SELECT color_id,color FROM mytable"; $result = mysql_query($sql); echo 'form blah,blah,blah'; echo 'select name="color_id"'; while ($row = mysql_fetch_array($result)){ printf("option

Re: [PHP] wanto uninstall php manual

2002-08-13 Thread @ Edwin
. thank @ Edwin for your suggestion for upgrading. You're welcome! -- --- TrafficBuilder Network: http://www.bestadv.net/index.cfm?ref=7029 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Making PHP faster?

2002-08-12 Thread @ Edwin
Andrew, It's true that "the time you use in coding and figuring out ways to make PHP faster would be greater than..." The task mentioned might be a "one-off thing" NOW. However, the techniques that we can learn can also be applied in future task, so, I'm still interested in the answer to the

Re: [PHP] N6: PHP files can't show source

2002-08-12 Thread @ Edwin
I might be wrong but I think the only (easy) way you can view the source is to "Save as..." the page first into xxx.html then open that file and view the source... In other words: 1. Using N6, go to the page where you can't "view source" 2. Click on "File" - "Save as..." 3. Save it to desired

Re: [PHP] Linux PHP editor

2002-08-09 Thread @ Edwin
I use vim most of the time... but how 'bout some bluefish? http://bluefish.openoffice.nl/ Or, try using your fav editor with wine... http://www.winehq.com/ (I wouldn't want to do that though...) - E How 'bout I just switched over to Red Hat Linux from Win2k... Only to find my fav editor

Re: [PHP] Linux PHP editor

2002-08-09 Thread @ Edwin
I think there's a way how to fix that. But don't bother to ask--I couldn't do it and I forgot... BTW, if you know any that can convert from (Japanese) euc-jp to sjis and vice versa, I'll be happy to learn about it. TIA - E On Friday 09 August 2002 20:34, [EMAIL PROTECTED] wrote: I use vim

Re: [PHP] Linux PHP editor

2002-08-09 Thread @ Edwin
it... - E PS I hope it has good support of Japanese as well... I am using Quanta 2.0 and loving it. http://quanta.sourceforge.net Oh My Gosh they have a new verison out.. 3.0 Time to upgrade. Paul @ Edwin wrote: I use vim most of the time... but how 'bout some bluefish? http

Re: [PHP] Linux PHP editor

2002-08-09 Thread @ Edwin
Quanta 2.0 and loving it. http://quanta.sourceforge.net Oh My Gosh they have a new verison out.. 3.0 Time to upgrade. Paul @ Edwin wrote: I use vim most of the time... but how 'bout some bluefish? http://bluefish.openoffice.nl/ Or, try using your fav editor with wine... http

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread @ Edwin
I'm sure you can also use vim or jedit or Zend's mentioned earlier. Or, visit this site for more: http://php.weblogs.com/editors - E Is there a php editor for Win2k ? _ ウィルスメール、迷惑メール対策なら MSN Hotmail

Re: [PHP] Re: Protect PHP coding

2002-08-04 Thread @ Edwin
'Just wanted to make a few comments... I got my job because of PHP. All of my company's projects were coded in PHP. (Old ones that were not are soon to be converted.) Zend? I convinced my boss to buy the encoder--I didn't have to pay for it... Thanks! Thanks to Zend! Thanks to the PHP

Re: [PHP] User-friendly URI's

2002-01-17 Thread Jonathan David Edwin Wright
AM 1/4/2002, Jonathan David Edwin Wright wrote: It's actually alot easier that you think! for the news file, just create a file called 'news' (minus ' of course! ;) in your http root, then create (or append) a .htaccess with the following lines: Files news ForceType application/x-httpd-php

Re: [PHP] convert yyyy/mm/dd to mm/dd/yyyy, how?

2002-01-13 Thread Jonathan David Edwin Wright
Hiya, Personally, I use the following bit of code. All it does is take a 14 digit timestamp and convert it into a unix timestamp: function date($date) { //Extract the parts from the date $year = substr($date, 0, 4); $month = substr($date, 4, 2); $day = substr($date, 6, 2);

Re: [PHP] User-friendly URI's

2002-01-03 Thread Jonathan David Edwin Wright
It's actually alot easier that you think! for the news file, just create a file called 'news' (minus ' of course! ;) in your http root, then create (or append) a .htaccess with the following lines: Files news ForceType application/x-httpd-php /Files That tells Apache to parse news via

[PHP] Select box won't display in Netscape 4.xx

2001-12-31 Thread Edwin Boersma
? Regards, Edwin -- 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] Re: Need some Linux/Apache help

2001-12-31 Thread Edwin Boersma
Hi Todd, Has Apache been restarted ton use the new libphp4.so? And if so, does it use the correct one (you might have another one on your system)? If Apache starts without probs, check the httpd.conf for php mime types. What does Apache respond if you load your test script? Regards, Edwin Todd

Re: [PHP] GetImageSize() problem...

2001-05-15 Thread Edwin van Elk
his also happens when I access the file from a local drive. Anyone got a clue ? Edwin. -- 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]

<    1   2   3   4   5   6