Re: [PHP] mysql_connect(): '/tmp/mysql.sock' error

2003-06-26 Thread - Edwin -
Hello, Jean-Christian IMbeault <[EMAIL PROTECTED]> wrote: > I've installed PHP from source and MySQL 4.0.9 from rpm on my RH 9 > machine. > > When I try and connect from php using mysql_connect() I get the > following error: > > Warning: mysql_connect(): Can't connect to local MySQL server thr

Re: [PHP] Japanese text not displaying correctly.

2003-06-26 Thread - Edwin -
Hello, [EMAIL PROTECTED] (Dennis browne) wrote: > I want to display Japanese text on my site and am having many problems. > > I am using Linux Redhat 8, PHP 4.2. > > Basically what I have is a file page.php with the following code: > > page.php: > > > > > > Home: > include("lng_page_ja.ph

Re: [PHP] Japanese text not displaying correctly.

2003-06-26 Thread - Edwin -
"Dennis Browne" <[EMAIL PROTECTED]> wrote: > You are correct ... I did not save the files as utf-8. After doing so (to both > page.php and lng_page_ja.php). The problem is there is still odd characters on line > 1 of the web page after rendering. I believe it is because of the signature on the

Re: [PHP] mysql_connect(): '/tmp/mysql.sock' error

2003-06-26 Thread - Edwin -
Jean-Christian IMbeault <[EMAIL PROTECTED]> wrote: [snip] > The problem was that the installation instructions for MySQL for vague > and confusing. I started trying to install from rpm and that didn't > work. I then installed from the binary and that was hell too. All the > problems stemmed from

Re: [PHP] Cookoo clock

2003-06-26 Thread - Edwin -
"Sparky Kopetzky" <[EMAIL PROTECTED]> wrote: > I am in New Mexico and my php system is telling via date() that my timezone is BST > (British standard time) and not MST (Mountain Standard Time). Any clue as to why > it's doing this?? > Maybe because your php system is in a BST timezone? Where'

Re: [PHP] Sessions Question

2003-06-26 Thread - Edwin -
"Bob Irwin" <[EMAIL PROTECTED]> wrote: > Aside from the fact that bad code can obviously make sessions hackable, what > does everyone think about the security of sessions? > > I rely on them fairly heavily for low-mid range security on some of my > scripts, but if I was to do something that invo

Re: [PHP] Securing PHP code

2003-06-29 Thread - Edwin -
Hello, "Doug Essinger-Hileman" <[EMAIL PROTECTED]> wrote: > On 25 Jun 2003 at 16:42, Dan Joseph wrote: > > > Store that file outside the docroot. That way there is no chance > > they can > > get it from the web site. I myself use an ini file that is no where > > near the docroot, and use par

Re: [PHP] Securing PHP code

2003-06-29 Thread - Edwin -
"Doug Essinger-Hileman" <[EMAIL PROTECTED]> wrote: [snip] > > This leads to the following output: > > Warning: Error parsing /mydirectory/mysql.ini on line 4 in Unknown on > line 0 Array ( [host] => spore.org [uid] => myuserid [passwd] => > mypassword) > > The error message still remains, tho

Re: [PHP] A simpler question involving http_user_agent

2003-06-29 Thread - Edwin -
"Brian J. Celenza" <[EMAIL PROTECTED]> wrote: > Would anyone happen to know what http_user_agent would be if the user is > visitng from an internet enabled cell phone (e.g. sprint pcs phone or > similar)? Try Google or the archives. Maybe this will help: http://marc.theaimsgroup.com/?l=php-ge

Re: [PHP] php.net's custom 404 scripts

2003-06-29 Thread - Edwin -
Hello, Justin French <[EMAIL PROTECTED]> wrote: > Hi all, > > I used to have a bookmark for how php.net's custom 404/redirect/search > script worked, but I can't find it now, and can't see it on php.net... has > anyone got a link? > > Not sure if it was on zend.com or php.net. > Not sure what

Re: [PHP] Japanese text not displaying correctly.

2003-06-29 Thread - Edwin -
On Fri, 27 Jun 2003 18:12:29 -0700 "Dennis Browne" <[EMAIL PROTECTED]> wrote: > E-, > > Thanks for the reply ... echoing just the Japanese characters displays just fine > with both Netscape 4.7+ and IE 5+. > > > With the include (both saved as utf8) is where the problem occurs. I have seen pos

Re: [PHP] Full Text Search of M$ Office Documents

2003-06-29 Thread - Edwin -
Hi, "Feroze Md. Arif" <[EMAIL PROTECTED]> wrote: > Hi, > > I am looking for a solution that will allow full text search of M$Office > files (Word, Powerpoint, EXCEL), PDF, HTML and Text files. > > I am working on a project that involves uploading of the above files to a > server. After uploadin

Re: [PHP] which GD

2003-06-30 Thread - Edwin -
Hi, "Andrew McCombe" <[EMAIL PROTECTED]> wrote: > Hi > > My hosting company has disabled phpinfo(). How can I find out which version > of GD they have installed? > http://www.php.net/manual/en/function.gd-info.php ? Or, you could just ask them ;) - E -

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 community

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 edit

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

Re: [PHP] Linux PHP editor

2002-08-09 Thread @ Edwin
time to start using 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: > > >

Re: [PHP] Linux PHP editor

2002-08-09 Thread @ Edwin
;If yes, well, perhaps it's time to start using 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 >>&g

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 ? > _ $B%&%#%k%9%a!<%k!"LBOG%a!<%kBP:v$J$i(B MSN Hotmail h

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 o

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] 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 o

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 fin

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 ''; echo ''; while ($row = mysql_fetch_array($result)){ printf("",$row["color_id"]); printf("%s",$row["color"]);

Re: [PHP] wanto uninstall php manual

2002-08-13 Thread @ Edwin
how can do uninstallation? Thanks in advance! > >Alex > >P.S. thank @ Edwin for your suggestion for upgrading. > You're welcome! >-- >--- >TrafficBuilder Network: >http://www.bestadv.net/index.cfm?ref=7029 > > >-- >PHP General

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

2002-08-13 Thread @ Edwin
Hi there, Try running and I'm sure you'll find out something about the Apache version. (If, indeed, you're running Apache... Could it be that you're running IIS and Apache is down? Of course, I could be wrong...) - E > >Hi, > >I'm running the simplest possible script to test headers: > > h

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

2002-08-14 Thread @ Edwin
code 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 and I'm sure you'll

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 reques

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/0

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 circumstances

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 wor

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'

Re: [PHP] Secure connection with MySQL database

2002-08-18 Thread @ Edwin
of >PHP outputting the 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... i

Re: [PHP] mail and attachments

2002-08-19 Thread @ Edwin
Also, somebody has already posted (2 weeks ago?) a similar or related question. I think, the answers given also apply to this question as well. - E > >If you mean that you want to add attachments to emails it is >possible of course... >Try Phpmailer... >I recommend you to print out a copy of th

Re: [PHP] Apache 2.0 and PHP

2002-08-19 Thread @ Edwin
> >Would I be able to install it along side 1.3 and run it on a separate port? I know some who installed two 1.3s in two different folders, run two different daemons, in two different ports. I think it should work with 1.3 and 2.0 as well... - E > >Cheers >John Wards >SportNetwork.net > > >-

RE: [PHP] Old PHP files not working

2002-08-19 Thread @ Edwin
It seems like if you "turn on" register_globals in php.ini, everything might just work... but, it's strange because you said that if you type everything exactly as they were in the new server everything works! Strange... Anyway, why not try it this way. Don't turn register_globals on (you shou

Re: [PHP] phpMyAdmin

2002-08-20 Thread @ Edwin
All depends on your host and how phpMyAdmin was configured. It's better to ask them directly... - E > >Is it possible to use phpMyAdmin to add new databases (not tables whole >databases) to my website? I ask because currently my host has provided >me with one database and I don't want to mix dat

Re: [PHP] PHP Site Mirror

2002-08-21 Thread @ Edwin
Try this Jay, http://us.php.net/mirrors.php (A mirror PLUS a list of mirrors...) - E > >Can someone give me a URL for a php.net mirror? I am having trouble with >access... > >Thanks! > >Jay > >*** >* Texas PHP Developers Conf Spring 200

Re: [PHP] Call to undefined function mysql_connect()

2002-08-25 Thread @ Edwin
> >Help! > >I am getting the following error message for : > $link=mysql_connect("localhost","$user","$pass"); // line 34 >?> > >Fatal error: Call to undefined function: mysql_connect() in /home/www/test.somename.org/aux/db-mod.php on line 34 > >I have used this call successfully on php v4.0.6,

Re: [PHP] Re: Can someone - anyone see my error?

2002-08-25 Thread @ Edwin
Just curious... Have you tried it with POSTed variables? As in the case mentioned? Just wondering... Anyway, I'll try it myself later... - E > >using register_globals=on and trying to echo out the $5400 errors as >expected, but php sees the correct entry in the $_GET superglobal array as >it sh

Re: [PHP] Base64 and MS Word cutting and pasting.

2002-08-25 Thread @ Edwin
om/columns/kartic2807.php3 > >I've isolated the problem with MS Word and MS Wordpad; The problem does not >occur when pasting from Notepad. I want to make sure that all the text is >ASCII before converting to MIME encoding. This shoul alleviate the problems >that are occur

Re: [PHP] Problems with the safe mode...

2002-08-26 Thread @ Edwin
I'm not sure but... Check your httpd.conf and see if you're running Apache as "Group -1". Change this to "nobody" or better yet make a new user/group (like apache/apache for example) for your Apache and change the lines- User nobody Group -1 to User apache Group apache Then, restart

Re: [PHP] newbie... - undefined var

2002-08-26 Thread @ Edwin
Or, perhaps, you should do: (if register_globals off) if (!isset($_GET['vw'])){ echo "variable is not set"; } Of course, you can also do: (if you want to--for some reason) if ($_GET['vw'] == ""){ write this code } - E PS > Do all vars in PHP have to be defined first? No. > >M

Re: [PHP] Re: Blank db entry??

2002-08-26 Thread @ Edwin
I think you can use this: http://www.php.net/manual/en/function.mysql-num-rows.php - E > >Forgot to add one thing - I don't need to add the new number after detection >to the db but rather just print it out > > >"Johnp" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROT

Re: [PHP] PHP: User Authentication Script

2002-08-27 Thread @ Edwin
You can insert the line at the very end of your httpd.conf file... I'm sure you can find more info here... http://www.php.net/manual/en/install.windows.php - E > >Thank you for the reply Farianto. > >Exactly where in the > >httpd.conf file > >should I insert that line? > >If you could copy an

Re: [PHP] move_uploaded_file problem

2002-08-27 Thread @ Edwin
There could be a lot of different reasons why. Check the manual again (esp. the user's comments). I'm sure you'll find a lot of ideas. http://www.php.net/manual/en/features.file-upload.php Also, this has been discussed many times recently. I'm sure you'll find a lot too in the archives. :) -

Re: [PHP] using variable ..help

2002-08-28 Thread @ Edwin
>I want my bgcolor display with one by one like this below > > > > > > Try this: /* -- from here -- */ \n"; foreach ($mycolor as $value) { echo "\n\n\n"; } echo "\n"; ?> /* -- 'til here -- */ - E PS See: http://www.php.net/manual/en/control-struct

Re: [PHP] Re: No Localhost with apache?

2002-08-28 Thread @ Edwin
Actually, the same thing happens if the ServerName directive was not set. But anyway, even if the default page doesn't show up, http://localhost/some.php would still work... - E > >--- >"Ryan A" <[EMAIL PROTECTED]> wrote in message >000e01c24e7f$b7bd8820$61d396c1@l2zcaxu7emppqh">news:000e01c

Re: [PHP] Re: No Localhost with apache?

2002-08-28 Thread @ Edwin
ind out what those stars mean :> >I have no idea what the second line is forapache still only responds to >127.0.0.1 >Any new ideas? > Maybe you should ask the Apache ml... >Cheers, >-Ryan > > > > >- Original Message - >From: "@ Edwin" <

Re: [PHP] Building a query on multiple variables, how to test for which variable

2002-08-28 Thread @ Edwin
There must be a better way how to do it but this is what I would do: (Not tested--just the "idea"...) Instead of $var1, $var2... I'd use an array for the drop downs thus, $var[] $var[] $var[] $var[] Then, check if any is set, then... anyway, this is how it goes: // from here $query

Re: [PHP] sprintf() question

2002-08-29 Thread @ Edwin
Experiment a bit and I'm sure you'll find it easy. One example, change this portion $formatted = sprintf("%01.2f", $money); to $formatted = sprintf("%01.3f", $money); then see how it works... HTH, - E > >I read the manual page on sprintf, but I still don't understand exactly >how the

Re: [PHP] Print page

2002-08-29 Thread @ Edwin
> >Hi, >I'm using PHP to generate some report for printing. >But when I print report from IE 5.0 browser, in the bottom of page >IE prints URL of page. >Can I remove it ? Yes. Click on "File" -> "Page settings..." then find "Footer" and you'll see something like this: &u&b&d Take away the "&

RE: [PHP] Building a query on multiple variables, how to test for which variable

2002-08-29 Thread @ Edwin
Does this fit your idea of a "more elegant solution"? This is just an enhanced and tested version of the one I posted earlier (somehow I had time and was curious about it). $value){ // walk if ($value != 0){ // make sure the "--- Select ---" is not included if ($its_set == 1){

Re: [PHP] subject in big5 characters of an email can't be read in Lotus Notes

2002-08-29 Thread @ Edwin
I'm not sure if this will help but using mb_send_mail() instead of mail() solved the problems I had with Japanese characters... However, it might be the mail client itself. Check if they had no problem before (when they received similar e-mails from other sources). - E > >I have sent an email

Re: [PHP] Average Number For Math Functions

2002-08-29 Thread @ Edwin
> >I am still very new to PHP so things are still a little foreign to me - what >exactly is the SUM finction - I tried to locate one on both the PHP and >MySQL site but found nothing! http://www.mysql.com/doc/en/Group_by_functions.html#IDX1364 Well, it's close to "nothing" but if you study ho

Re: [PHP] Re: Reading from a file using fgets()

2002-08-29 Thread @ Edwin
Or, is it? :) http://www.php.net/manual/en/function.file.php - E > >Interesting. It's not documented. > > >On Thu, 2002-08-29 at 14:44, Dallas Thunder wrote: > > Well, this is exactly what function file() does. > > > > "David Christensen" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTEC

Re: [PHP] Re: Reading from a file using fgets()

2002-08-29 Thread @ Edwin
uemted, but it doesn't say anything about whether or >not it reads data sequentially from top to bottom or if there's an >option to read bottom to top or anything in between. > >Dave > > >On Thu, 2002-08-29 at 22:37, @ Edwin wrote: > > Or, is it? :) >

Re: [PHP] Dumb Question

2002-08-31 Thread @ Edwin
My "dumb" answer :) Try Google. Type: "procedural code" You might want to check, "object-oriented" as well... I'm sure, you'll find helpful explanations... - E > >And I feel foolish asking... >What is meant by 'procedural code' ??? > >-- >Gerard Samuel >http://www.trini0.org

Re: [PHP] alter switch variable inside case?

2002-08-31 Thread @ Edwin
Actually, you can--just don't "break;". Try it. - E > >I'd like to be able to modify the switch variable inside a case >statement, like this: > >switch ($foo) { > case 'step2': > do_step2(); > if ($error) $foo='step1'; //repeat step1 > break; > > case 'step1': > do_step1(); >

Re: [PHP] alter switch variable inside case?

2002-08-31 Thread @ Edwin
t continues to execute all the code until >the end of the switch, ignoring any subsequent case >statements. > >In my example, eliminating the break after step2 would >cause execution of do_step1(), but also do_something_else(), >which is not desired. > >--- "@ Edwin"

Re: [PHP] Dumb Question

2002-08-31 Thread @ Edwin
ng else. >Just trying to figure out if phpdoc is for me, which it seems like its >not :( > >Thanks :) > > >@ Edwin wrote: > > > My "dumb" answer :) > > > > Try Google. Type: > > > > "procedural code" > > > > You

Re: [PHP] alter switch variable inside case?

2002-08-31 Thread @ Edwin
> break; > > case 'b': > if (do_b()) echo "b was done"; > else $foo='menu'; > break; > > case 'menu': > print_menu(); > break; > > case 'logout': > do_logout(); > break; >} > &

Re: [PHP] Re: alter switch variable inside case?

2002-09-01 Thread @ Edwin
I'm not sure if you've already tried the idea I posted earlier. Anyway, I tried it myself and it works! (At least with this simple example...) '; switch ($_GET['myvar']){ case 1: $_GET['myvar'] = 2; case 2: echo "Hello!"; break; case 3: $_GET['myvar'] = 4; case 4: e

Re: [PHP] Safe mode?

2002-09-01 Thread @ Edwin
Try the "mothership" again and type php and "safe mode" Click "Search". The first two results: http://www.dynamic-webpages.de/php/features.safe-mode.php http://info.ccone.at/INFO/PHP4/features.safe-mode.html You can read only ONE so as not to get more confused... :) - E PS Of course, y

Re: [PHP] contact list re-ordering (php/mySQL CMS design)

2002-09-07 Thread @ Edwin
I'm not sure if what you mean is something like this: Say, you have a table with 2 columns (1) "id" and (2) "contact". And your table is populated in this way: id contact 1 a 2 b 3 c 4 d 5 e And, let's say that your "id" is auto_incremented. Also, the contacts are shown ORD

[PHP] Re: file include relative file addressing.

2002-09-08 Thread @ Edwin
??? I thought you said "my.inc.php" but you're including "my.php". This one should work: include_once "../include/blah/my.inc.php"; // filename is my.inc.php - E "Nelr" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > From the root of a website: / > > I had

[PHP] Re: file include relative file addressing.

2002-09-08 Thread @ Edwin
??? I thought you said "my.inc.php" but you're including "my.php". This one should work: include_once "../include/blah/my.inc.php"; // filename is my.inc.php - E "Nelr" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > From the root of a website: / > > I had

[PHP] Re: file include relative file addressing.

2002-09-08 Thread @ Edwin
??? I thought you said "my.inc.php" but you're including "my.php". This one should work: include_once "../include/blah/my.inc.php"; // filename is my.inc.php - E "Nelr" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > From the root of a website: / > > I had

[PHP] Re: POST form variables not being sent to destination page

2002-09-09 Thread @ Edwin
Hi there, I don't really see any "serious" problem in your code except that your opening tag is in the wrong place :). Since I don't have php/apache running on my XP I cannot really tell if this is an installation problem. Anyway, I have php/apache (4.2.2/1.3.26) on Linux and (4.2.2/2.0.40) on

Re: [PHP] POST form variables not being sent to destination page

2002-09-09 Thread @ Edwin
Hi there, I don't really see any "serious" problem in your code except that your opening tag is in the wrong place :). Since I don't have php/apache running on my XP I cannot really tell if this is an installation problem. Anyway, I have php/apache (4.2.2/1.3.26) on Linux and (4.2.2/2.0.40)

Re: [PHP] Session problem

2002-09-09 Thread @ Edwin
I think this one worked because > > if($count ==1){ > > $user_data = mysql_fetch_row($user_res); > > $user_id = $user_data[0]; // <--- of this > > if(!session_is_registered("user_id")) session_register("user_id"); > > if(!session_is_registered("username")) s

Re: [PHP] help with installation

2002-09-09 Thread @ Edwin
Of course, you restarted Apache? Also, try leaving this out ---> and just write LoadModule php4_moduleextramodules/libphp4.so (Applies to AddModule as well...) And make sure that the "extramodules" folder does exists! - E On Monday, September 09, 2002 11:43 PM R'twick Niceorgaw wrote:

Re: [PHP] BUG?: header("location: ") causes GET vars to be encoded in wrong charset in IE5.5

2002-09-09 Thread @ Edwin
Hello, On Tuesday, September 10, 2002 1:52 PM Jean-Christian Imbeault wrote: > The problem is that the POST variables are coming in EUC-JP (japanese) > correctly but for some reason IE re-encodes the variable into some other > charset (SJIS I am guessing) when requesting the new page sent in th

Re: [PHP] BUG?: header("location: ") causes GET vars to be encoded in wrong charset in IE5.5

2002-09-09 Thread @ Edwin
And by the way, please check the NOTE: on http://jp2.php.net/manual/en/function.header.php for the use of header(). Something's missing in the way you used it--perhaps, this is causing the problem... - E Note: HTTP/1.1 requires an absolute URI as argument to Location: including the scheme, ho

Re: [PHP] Best Practice

2002-09-21 Thread @ Edwin
Hi there, On Sunday, September 22, 2002 12:20 PM Subject: Re: [PHP] Best Practice Peter J. Schoenster wrote: > On 21 Sep 2002 at 12:51, Ashley M. Kirchner wrote: > > > > > I'm working on converting several static (price) pages on our site > > into dynamic pages, with the data stored in a

Re: [PHP] Design question.

2002-09-21 Thread @ Edwin
(Sorry if I've already sent this.) I agree. But, I don't really see any problem having *.inc files as *.inc.php (so that they'll be executed by Apache) esp. IF the config file have only this: (Even if this is executed nothing shows up...) I just thought this is worth knowing esp. if there's no

Re: [PHP] file uploads problem

2002-09-23 Thread @ Edwin
Just a comment... On Tuesday, September 24, 2002 1:39 PM Jaski wrote: > I tried to copy this file using > move_uploaded_file($userfile, "/place/to/put/uploaded/file"); > > and here a strange thing happened. The file was successfully > copied BUT it had permissions like -rw-- which I interpret

Re: Re: [PHP] file uploads problem

2002-09-24 Thread @ Edwin
Jaski, On Tuesday, September 24, 2002 5:07 PM Jaski wrote: > No Edwin .. I can't do any thing to that file .. not even from my > ftp client .. can't download can't change permissions .. > I think you won't be able to do anything with the file IF you use your ftp

Re: Re: [PHP] file uploads problem

2002-09-24 Thread @ Edwin
Oops, what I wanted to post was http://www.php.net/manual/en/function.chmod.php and not http://www.php.net/manual/en/function.chown.php - E On Tuesday, September 24, 2002 6:00 PM @ Edwin wrote: > Jaski, > > On Tuesday, September 24, 2002 5:07 PM > Jaski wrote: > > No E

Re: [PHP] where's waldo

2002-09-25 Thread @ Edwin
True. Perhaps. But, I think, you can actually do something like that WITH php. Say PHP+Flash or PHP+Javascript... Of course, if you're able to do something like this just by using PHP+Javascript (and HTML only), most probably, you can just take a peek at the code and find out where "waldo" is...

Re: [PHP] where's waldo

2002-09-25 Thread @ Edwin
Good idea! And your idea about this is also great: It should work... I forgot that there was someting like that in HTML... :) - E On Thursday, September 26, 2002 12:55 AM Subject: RE: [PHP] where's waldo Kevin Porter wrote: > One more thing... if you store your 'waldo co-ordinates' data i

[PHP] Re: length function

2002-09-26 Thread @ Edwin
Why, can't you just use strlen()? http://www.php.net/manual/en/function.strlen.php Or, am I missing something? - E "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am looking for a function that will give me the number of characters of a > s

[PHP] Re: length function

2002-09-26 Thread @ Edwin
Why, can't you just use strlen()? http://www.php.net/manual/en/function.strlen.php Or, am I missing something? - E "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am looking for a function that will give me the number of characters of a > s

[PHP] Re: length function

2002-09-26 Thread @ Edwin
Why, can't you just use strlen()? http://www.php.net/manual/en/function.strlen.php Or, am I missing something? - E "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am looking for a function that will give me the number of characters of a > s

Re: [PHP] length function

2002-09-26 Thread @ Edwin
Why, can't you just use strlen()? http://www.php.net/manual/en/function.strlen.php Or, am I missing something? - E "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >I am looking for a function that will give me the number of characters of a

Re: [PHP] where's waldo

2002-09-27 Thread @ Edwin
not at > first. > > and besides. i'd like to give people credit for being more honest than that. > > > "@ Edwin" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > True. Perhaps. > > > > But, I

[PHP] Re: PHP and MSSQL Problem

2002-09-28 Thread @ Edwin
Hello, ...just wondering... Are you sure VARCHAR in MS SQL can handle 5000? Should be 255 only? (I'm not really familiar with MS SQL but you can count the number of characters returned by php...) - E "Christopher J. Crane" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PRO

Re: [PHP] where's waldo

2002-09-28 Thread @ Edwin
gt; be developed for mass distribution. more for a class. > > > "@ Edwin" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Well, I didn't really mean to imply anything about people's honesty and so >

Re: [PHP] Multiple Domains in cookie?

2002-09-28 Thread @ Edwin
You mean from this list? Please take a loot at the end of this e-mail... - E On Thursday, July 27, 2000 11:36 AM @ Saif @ wrote: > Please how can I unsubscribe . > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie Q: Any difference what the .ext is on include() files???

2002-09-30 Thread @ Edwin
Hello, On Monday, September 30, 2002 4:32 PM Subject: Re: [PHP] Newbie Q: Any difference what the .ext is on include() files??? [ Rene Brehmer ] wrote: > I appreciate your advice, but it would not really apply to my structure > ... because of the amount of files I use, I've got seperate include >

[PHP] Re: general apache list

2002-09-30 Thread @ Edwin
Lots of ways. Perhaps, 1. You can try finding one on the Apache website. ;) 2. Try Google. Or, 3. You can try here: http://httpd.apache.org/userslist.html - E "Electroteque" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > where can i find it ? > > -- PHP

[PHP] Re: general apache list

2002-09-30 Thread @ Edwin
...I mean lot of "places"... :) - E "@ Edwin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Lots of ways. Perhaps, > > 1. You can try finding one on the Apache website. ;) > 2. Try Google. Or, > 3

Re: [PHP] $_SESSION only takes 1 character?

2002-10-01 Thread @ Edwin
Hello, On Tuesday, October 01, 2002 11:13 PM Subject: [PHP] $_SESSION only takes 1 character? Tim Stoop wrote: > Hi there, > > I've got some strange behaviour here (at least, I can't explain it). I'm > running PHP 4.2.3 on a Mandrake 9.0 machine. I'm using sessions in my > little app and want to

[PHP] Re: $B$($($H(B

2002-10-04 Thread @ Edwin
Not that this is relevant but... "$B2rFI$9$k(B"(kaidoku suru) means "to decipher" or "to decode". So, perhaps, the person who posted the message was just wondering how will the ml figure out what the message was. Or, ... (I don't really know... there's a Japanese ml so the post must be a mistak

Re: [PHP] Looping?

2002-10-05 Thread @ Edwin
Actually, there *is* ("mysql_numrows"). I think you've missed this one. ;) http://www.php.net/manual/en/printwn/aliases.php - E On Saturday, October 05, 2002 11:40 PM Subject: Re: [PHP] Looping? Marek Kilimajer wrote: > Just checked the manual and there are no functions named *mysql_numrows

[PHP] Re: Using date() function

2002-10-06 Thread @ Edwin
Hello, Why not just do it in your sql query? If you're using MySQL perhaps this page would be helpful: http://www.mysql.com/doc/en/Date_and_time_functions.html Just an idea... - E On Sunday, October 6, 2002 10:01 PM Davy Obdam wrote: > Hi people > > I have a guestbook, and i need to conv

[PHP] Re: Can it be Done?

2002-10-06 Thread @ Edwin
'Not really sure, but perhaps, with Javascript. But I'd rather recommend you to give up iframes... ;) - E On Monday, October 7, 2002 1:29 AM Stephen wrote: > Hello, > > I was wondering if what I want to do is possible. I have a website that uses iframes >and sometimes the search engines pick

[PHP] Re: Can it be Done?

2002-10-06 Thread @ Edwin
Hello, Adriano wrote: > Hi people, > @ Edwin wrore: > > >>'Not really sure, but perhaps, with Javascript. >> >>But I'd rather recommend you to give up iframes... ;) >> > > > Can you post an example of Javascript code checking for _parent

Re: [PHP] running slow on Win2k

2002-10-07 Thread @ Edwin
Hello, On Tuesday, October 8, 2002 12:19 AM Support @ Fourthrealm.com wrote: > Hi everyone, > I notice that my PHP runs really slow on Win2k Server w/ IIS 5, and even > slower when accessing a mySQL database. It's a PIII-800 with 256MB > RAM. It is otherwise a great machine, and fast. > > Any s

<    1   2   3   4   5   6   >