Re: [PHP] getting mysql dump using php

2002-11-24 Thread @ Edwin
Hello, ...seems like Rich is not available yet so let me try :) "See Kok Boon" <[EMAIL PROTECTED]> wrote: > hi Rich, > > yes think i need more info to the "mysqldump utility". i suppose you mean > there is in fact this utility? Well, most probably you'll be able to find it inside your mysql/bin

Re: [PHP] Secureing PHP.

2002-11-24 Thread @ Edwin
Hello, "Steven Adams" <[EMAIL PROTECTED]> wrote: > Hi, > I am looking to secure my php install, like the settings in php.ini etc. > > I am using apache 1.3.27 and running latest php. > > Is there like a tut or something that can take u thought the php.ini and > explain ina little more detail?

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread @ Edwin
Hello, "Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote: > As PHP is an interpreter it needs to scan every line and every token of > code as it runs it. Thus said, of course using comments takes more time to > execute than having no comments. > > I have no profiling yet how much having comments o

Re: [PHP] Upgrade issues

2002-11-25 Thread @ Edwin
Hello, "Chris Knipe" <[EMAIL PROTECTED]> wrote: > Lo all, > > I upgraded from PHP 4.2.1 to 4.2.2, and now all of a sudden the following > code is generating a WARNING??? > > > if (file_exists("themes/$ThemeSel/modules/$name/$mod_file.php")) { > $modpath = "themes/$ThemeSel/"; > }

Re: [PHP] Re: Send multiple SQL staments in one query

2002-11-25 Thread @ Edwin
Hello, "Seth Remington" <[EMAIL PROTECTED]> wrote: [snip] > Here's a function that I use to run multiple SQL statements at once - [/snip] ...perhaps, a better way to put it is "run multiple SQL statements" _one after another_ :) It's a good approach though. ;) - E -- PHP General Mailing List

Re: [PHP] Send multiple SQL staments in one query

2002-11-25 Thread @ Edwin
Hello, "1LT John W. Holmes" <[EMAIL PROTECTED]> wrote: [snip] > No, can't do it. Only one query per mysql_query() call. Not sure with other > database interfaces, but it should be the same. [/snip] Yes, you cannot do it in MySQL. But you can do it with others. (I think it was discussed before--

Re: [PHP] Re: image generation with PHP

2002-11-25 Thread @ Edwin
Hello, Myrage wrote: > No luck > I have installed GD lib and zlib and all into c:\php\extensions bur i > still > get an error > > *Fatal error*: Call to undefined function: imagecreate() in > *c:\inetpub\wwwroot\image.php* on line *24* Run phpinfo() and check again (under GD). See if you can f

Re: [PHP] Sending POST vars to pop-up window - How?

2002-11-25 Thread @ Edwin
Hello, "Monty" <[EMAIL PROTECTED]> wrote: > I'm writing a poll app. I want it to work this way: > > 1. On web page, user selects choice, clicks VOTE. > > 2. Clicking VOTE triggers a pop-up window. > > 3. PHP script running in pop-up records vote, displays results. > > Problem is, POST

Re: [PHP] Connection string and Monday Morning blues

2002-11-25 Thread @ Edwin
Hello, There could be a lot of problems here but what *exactly* is the problem? No more coffee, perhaps? :) Post the error, if there's any. Or, take away the "@" sign and see what happens... - E "Paul Dionne" <[EMAIL PROTECTED]> wrote: > Ug, I hate Mondays. must drink more coffee. > > Anyway

Re: [PHP] Linux Question

2002-11-25 Thread @ Edwin
Just to add... Here's something that might interest you: http://www.alistapart.com/stories/alternate/ ... and here's another one: (Should be better than the one discussed above :) ) http://www.alistapart.com/stories/phpswitch/ - E "Marek Kilimajer" <[EMAIL PROTECTED]> wrote: > You might s

Re: [PHP] Browser going to page twice?

2002-11-25 Thread @ Edwin
Hello, "Leif K-Brooks" <[EMAIL PROTECTED]> wrote: > I'm having a weird problem. I guess so. I don't understand what it is :) > When I submit a form on my site, it often > sends twice. Sends what twice? > I'm not sure if this is a client-side or server-side > problem, but it doesn't happen

Re: [PHP] Re: Sorting parsed XML

2002-11-25 Thread @ Edwin
Hello, "Chris" <[EMAIL PROTECTED]> wrote: > I'm trying to write PHP code that will not only parse the XML but also > allow me to sort the parsed information by the values parsed. I'm not sure if I really understand but let me try... ...[snip code]... Adding echo ''; before this and > $xml_par

Re: [PHP] Upgrade issues

2002-11-25 Thread @ Edwin
"Chris Knipe" <[EMAIL PROTECTED]> wrote: > > > if (file_exists("themes/$ThemeSel/modules/$name/$mod_file.php")) { > > > $modpath = "themes/$ThemeSel/"; > > > } > > > > > > I don't get it? > > > > > > Warning: Unable to access themes/DeepBlue/modules/News/index.php in > > > /usr/lo

Re: [PHP] How to obtain unique XML Elements

2002-11-25 Thread @ Edwin
Hello, "David Pratt" <[EMAIL PROTECTED]> wrote: > Anyone have a simple technique for obtaining a unique list of elements from > an XML file? > > Am looking for something that will identify the first opening tag ie > and the single tag so that I get an array of tags > that I can print out. Havi

Re: [PHP] mysql -> xml

2002-11-26 Thread @ Edwin
Hello, "Snijders, Mark" <[EMAIL PROTECTED]> wrote: > hello, > > For connection data between my site, and another site, I need to export my > MySql data to a XML file. > > Does anybody know any excisting scripts for this? so I don't have to make it > all myself? Have you checked the latest versio

Re: [PHP] Re: Sorting parsed XML

2002-11-26 Thread @ Edwin
"Geoff Hankerson" <[EMAIL PROTECTED]> wrote: > This seems to me to be more easily handled by XSLT. (Not the only option > but a good one). > XSLT lets you select only the nodes you want and also sort them as well. Perhaps... but not all browsers support it. Anyway, you can also select the node

Re: [PHP] Re: Sorting parsed XML

2002-11-26 Thread @ Edwin
"Geoff Hankerson" <[EMAIL PROTECTED]> wrote: > You don't need to do client-side transformation (although you could > check user agent and do it client-side if the browser supports it). > You can use Php's XSLT functions see the manual for more info. > > I was just suggesting this as a potential o

Re: [PHP] using mbstring without having /configure'd it

2002-11-26 Thread @ Edwin
Hello, (B (B"Oliver Spiesshofer" <[EMAIL PROTECTED]> wrote: (B (B> Hi, (B> (B> Is it possible to use mbstring after setting the necessary values in (B> ini_set() or htaccess without having it enabled during /configure? (B (BNo. (B (BWell, if you're using windoze, you can probably just do

Re: [PHP] Re: & in Query String

2002-11-26 Thread @ Edwin
Hello, "Jonathan Rosenberg (Tabby's Place)" <[EMAIL PROTECTED]> wrote: [snip] > I'm missing something here. If you use '&' to separate arguments on the > query string, how do they get separated out for access via $_GET? [/snip] Don't worry about it, just try it :) Anyway, the link that has & w

Re: [PHP] Multiple page form

2002-11-26 Thread @ Edwin
"Chris Boget" <[EMAIL PROTECTED]> wrote: > > So, you are using a database to store the records? > > Yes. What's the point in taking the user's information if you aren't > going to store it somewhere. Even if all you need to do is email > the data upon completion of the form, storing the data f

Re: [PHP] php bugs (Chinese word display problem)-help

2002-11-27 Thread @ Edwin
Hello, "Tom Culpepper" <[EMAIL PROTECTED]> wrote: > I am not positive of the problem as I can not see your code, but if you > want to display the words that end in '5C' the you can do them like so: > \(escape character) like this: \(95 5C 5C) Putting a space (or some other character) after the

Re: [PHP] Re: & in Query String

2002-11-27 Thread @ Edwin
Hello, "Chris Shiflett" <[EMAIL PROTECTED]> wrote: [snip] > Does it not work for you? [/snip] It does, just like I said earlier :) Anyway, I just wanted to add that not only in IE6 but even in NN4 or N7 (also in linux) it works perfectly fine. - E -- PHP General Mailing List (http://www.php

Re: [PHP] printing array

2002-12-02 Thread @ Edwin
Hello, "empty" <[EMAIL PROTECTED]> wrote: > Hi > $stra=("aa,bb,cc,dd,ee,ff,gg,hh,ii,jj,kk,ll"); > $splited = array(); > $splited = split(",",$stra); > $c=count($splited); > for($i=0 ; $i<$c ; $i+=2){ > echo "$splited[$i]"; > echo "$splited[$i+1]"; // *error is here >

Re: [PHP] IIS 5

2002-12-02 Thread @ Edwin
Hello, "Chris Edwards" <[EMAIL PROTECTED]> wrote: > I'm getting "You are not authorized to view this page" when trying to run > .php files. You mean plain html files work fine? > How do I fix this? I'm running php isapi on iis 5 on w2k > server. How did you configure it? Anyway, it sounds li

[PHP] Re: PHP --with-dbm enabled???

2002-12-02 Thread @ Edwin
Hello, (B (B"Vernon" <[EMAIL PROTECTED]> wrote in message (B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... (B> I'm being told that I need to have php compiled --with-dbm and it is not, (B> but it is complied --with-db3. Is that the same thing or do I need (B> recopile --with-dbm to use the dbmo

Re: [PHP] Validating get and post data

2002-12-02 Thread @ Edwin
Hello, "Matt" <[EMAIL PROTECTED]> wrote: > I think what's happening here is a type issue. The comparison is returning a > boolean, so when $c != '0', the switch is true and the case is resolving to > true, and executing. But when $c == '0', with switch is (false), but the > case is true. Change

Re: [PHP] Validating get and post data

2002-12-02 Thread @ Edwin
"John W. Holmes" <[EMAIL PROTECTED]> wrote: > I think the problem is just the incorrect use of a switch. If you change > your code to > > switch(1) Or, switch(true) for that matter... - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

Re: [PHP] Script not working from one computer

2002-12-05 Thread @ Edwin
Hello, "1LT John W. Holmes" <[EMAIL PROTECTED]> wrote: [snip] > So, I'm sure it's not the PHP script, so I'm looking for ideas of what I > should check, settings wise, on the client computer? Any help is greatly > appreciated. [/snip] Well, "my magic PHP 8-ball says..." Just kidding :) Anyway, h

Re: [PHP] Check wheter GD function is working

2002-12-06 Thread @ Edwin
Hello, <[EMAIL PROTECTED]> wrote: > Hello list, > > how can I check wheter GD-function is working and running? First check phpinfo() and see under "gd" then read more info here: http://www.php.net/manual/en/ref.image.php - E PS: Pls. don't flood the list with same messages... -- PHP Gene

Re: [PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread @ Edwin
Hello, <[EMAIL PROTECTED]> wrote: ...[snip]... > What do I need to use to create real linefeeds or new lines when viewing > under windows? Try the manual again and check specifically the "User Contributed Notes"--I'm sure you'll find something :) http://www.php.net/manual/en/function.fputs.p

Re: [PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread @ Edwin
Oops... <[EMAIL PROTECTED]> wrote: > success. And I have read through the user contributed notes and havent' > found it there. Sorry 'bout the link earlier. (You could find some hints under file() though...) - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] mail() problems...

2002-12-06 Thread @ Edwin
Hello, "Anthony Ritter" <[EMAIL PROTECTED]> wrote: > DL, > I'm not sure I understand. Let me try :) > I had this working a few months ago by changing the php.ini settings to: > > SMTP = localhost ;for win32 only > sendmail_from = [EMAIL PROTECTED] ;for win32 only > > and I was able to run t

Re: [PHP] Where can I find a new HowTo of compiling php with gd support???

2002-12-06 Thread @ Edwin
Did you try Google? Keyword: "compiling php with gd support" <[EMAIL PROTECTED]> wrote: > Hi folks, > > a single and simple question : > > Where can I find a new HowTo of compiling php with gd support??? > > Incl Bugtraps? > > Oliver Etzel -- PHP General Mailing List (http://www.php.net/

Re: [PHP] String to an Array

2002-12-06 Thread @ Edwin
Hello, "Rodrigo de Oliveira Costa" <[EMAIL PROTECTED]> wrote: > Hi guys, I got a string that I need to be transformed into na array of > characters, something like: > > > $str ="im the one trying to do this"; > > //this is the string > > I'd like to get an array that I can access som

Re: [PHP] Humour me

2002-12-06 Thread @ Edwin
Hello, "John Taylor-Johnston" <[EMAIL PROTECTED]> wrote: > Humour me. New server. I'm a little tired. > Where is my php.ini on a red hat server? I took it :) Anyway, Run phpinfo() --should give you a hint... - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP] Allowed memory size exhausted

2002-12-06 Thread @ Edwin
Hello, "Jeff Schwartz" <[EMAIL PROTECTED]> wrote: > > I have a large amount of data (1,948,280 bytes) that I tried to write out to a file using > > if ($fp = fopen($file,"w")): > > fwrite($fp,$contents,strlen($contents)); > > fclose($fp); > > endif; I'm not sure if I understand this

Re: [PHP] date() on two diff. servers

2002-12-08 Thread @ Edwin
Hello, "John W. Holmes" <[EMAIL PROTECTED]> wrote: > Daylight Savings Time? John, I think "Daylight Saving Time" creates a difference of 1 hour and not 1 day :) Anyway, I live in a place where we don't practice this so I could be wrong... ...[snip]... > > Now, what could be causing this probl

Re: [PHP] date() on two diff. servers

2002-12-08 Thread @ Edwin
But, then again, it could be just because the other server's time is really late... (caused by old motherboard batteries, etc.) - E "@ Edwin" <[EMAIL PROTECTED]> wrote: > Hello, > > "John W. Holmes" <[EMAIL PROTECTED]> wrote: > > > Dayligh

Re: [PHP] date() on two diff. servers

2002-12-08 Thread @ Edwin
"Justin French" <[EMAIL PROTECTED]> wrote: [snip] > Perhaps strtotime() is NOT running off GMT, [/snip] Bingo! ...or, Bull's eye!, whatever :) Anyway, I think this is "implied" in the manual. http://www.php.net/manual/en/function.strtotime.php Also, check "User Contributed Notes": pira

Re: [PHP] date() on two diff. servers

2002-12-08 Thread @ Edwin
"Justin French" <[EMAIL PROTECTED]> wrote: > on 09/12/02 3:06 PM, @ Edwin ([EMAIL PROTECTED]) wrote: > > > [snip] > >> Perhaps strtotime() is NOT running off GMT, > > [/snip] > > > > Bingo! > > *GULP*... so, what we're saying

Re: [PHP] date() on two diff. servers

2002-12-09 Thread @ Edwin
Hello gurus, "Ford, Mike [LSS]" <[EMAIL PROTECTED]> wrote: [snip] > To amplify on this: > ... [/snip] Interesting comments! ...not sure if I understood everything though :( Anyway, for Justin's original problem, I think it'll be solve by "simply" doing two things: 1. Add " GMT" to the end of th

Re: [PHP] Script not working from one computer

2002-12-10 Thread @ Edwin
Hello, "1LT John W. Holmes" <[EMAIL PROTECTED]> wrote: ...[snip]... > Browser's are the same (128bit). It's not a laptop. > The web page can pull up You mean, the web "browser", right? :) > any other external web page correctly. And, I assume pull up "external web page" means web pages serve

Re: [PHP] Theoretical - Device server using PHP - Is this possible?

2002-12-10 Thread @ Edwin
Hello, "Steve Jackson" <[EMAIL PROTECTED]> wrote: > Hi all, > > I work for a company that manufactures device servers. They currently > have a very low internal memory (about 8MB) which is more than enough > for TCP/IP connections (which BTW we just released the code open source > to anyone inter

Re: [PHP] Please help - uploading multiple files

2002-12-10 Thread @ Edwin
Hello, "Allred, Mark" <[EMAIL PROTECTED]> wrote: > Darn, that's what I was afraid of. > > Is there a way to do this in a client-side language like JavaScript? Javascript? No, I don't think so. (Maybe Java.) But, of course, you can always get a second opinion from a Javascript ML :) - E ...[sni

Re: [PHP] run query

2002-12-10 Thread @ Edwin
Or, "Jon Haworth" <[EMAIL PROTECTED]> wrote: > Hi Diana, > > > After I run a query lik this, > > $db->query($sql); > > > > what is the quickest way to find out how many > > records result? > > Look into mysql_num_rows (or the equivalent if you're not using MySQL) ... you can even do it fast

Re: [PHP] run query

2002-12-10 Thread @ Edwin
Oops, ok, I misread the original question :) "Rich Gray" <[EMAIL PROTECTED]> wrote: > Er... but the original poster wanted a count of rows returned by a > particular query... your method just returns the number of rows in the > table... Anyway, you're right. If you already have a result then use

[PHP] Re: filemtime -help

2002-12-12 Thread @ Edwin
Hello, (B (B"Mekrand" <[EMAIL PROTECTED]> wrote in message (B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... (B> i have a problem with filemtime function, i want script print out the date (B> of file last modified. (B> here is code, (B> $fp=fopen("ex.txt","r"); (B> echo date("j F Y H:i", filem

Re: [PHP] fgetcsv Help

2002-12-12 Thread @ Edwin
Hello, "Justin French" <[EMAIL PROTECTED]> wrote: [snip] > Sample line from your CSV should look like this: > > --- > "1","foo","harry said \"what is it?\"","foo" > "1","bah","\"don't know\" said sally","something" > --- > > When echoing these values to the browser, you would strip the slashes.

Re: [PHP] Forms

2002-12-12 Thread @ Edwin
Hello, "Chris Hewitt" <[EMAIL PROTECTED]> wrote: [snip] > GET or POST method (I'm not sure whether there is a default). [/snip] GET is the default... should be... I guess... - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can PHP do this...?

2002-12-12 Thread @ Edwin
Hello, "1LT John W. Holmes" <[EMAIL PROTECTED]> wrote: > > OK. I think I understand this, but let me ask just to be sure. > > > > So if I setup in my page something to this effect: > > if ($_SERVER['!HTTPS']) { > > echo "Switching over to SSL..."; > > echo ""; > > } else { > > echo "**Rest of Pag

Re: [PHP] socket_set_blocking()

2002-12-12 Thread @ Edwin
Hello, <[EMAIL PROTECTED]> wrote: > I was not able to get php's ftp functions working for me, they were uploading zero byte files, so I am now attempting to use fsockopen to accomplish the task. > > I found this script: http://www.phpbuilder.com/mail/php-general/2001102/1333.php > > It uses the f

Re: [PHP] loading a different web page ...

2003-01-06 Thread - Edwin
Looking for this? http://www.php.net/manual/en/function.header.php - E "Kenn Murrah" <[EMAIL PROTECTED]> wrote: > i know this is an elementary question, but i can't even figure out > what to search for at php.net > > i need php code that, when executed, takes you to a different web > pa

Re: [PHP] system()

2003-01-06 Thread - Edwin
Hello, Richard Baskett <[EMAIL PROTECTED]> wrote: > When using the system() function, let's say starting up a program, can > that program start in the background while the rest of the page is > parsed or does it have to wait until the system command has finished > whatever it is doing? You ca

RE: [PHP] mail() not working on Win2k

2003-01-06 Thread - Edwin
Hello, "Rad Craig" <[EMAIL PROTECTED]> wrote: > yes, I've tried: > > SMTP = localhost > SMTP = 127.0.0.1 > SMTP = mail.mydomain.com > SMTP = internal.ip.address > > None made any difference, so I've set it back to localhost. ...and of course you restarted your web server after each changes? H

Re: [PHP] php.ini - changes aren't taking?

2003-01-06 Thread - Edwin
..in other words, it's possible that you could be editing/making changes on the *wrong* php.ini file... - E __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] progress page

2003-01-06 Thread - Edwin
Hello, [EMAIL PROTECTED] (Edward Peloke) wrote: > I am working on an application that will take data from the user and > run then check through all the data to find matches. Instead of the > user seeing a blank screen while the page is loading, I would like to > pop up a page that says, proce

RE: [PHP] mail() not working on Win2k

2003-01-06 Thread - Edwin
"Rad Craig" <[EMAIL PROTECTED]> wrote: [snip] > I don't have another outside SMTP server to check it on. Will yahoo > and others like that work for testing this? [/snip] Yes and no. I think this depends on the server. With Yahoo? No, it wouldn't/shouldn't work... - E __

Re: [PHP] time stamp screwing up

2003-01-06 Thread - Edwin
"- [ Paul Ferrie ] -" <[EMAIL PROTECTED]> wrote: > So > > Is NOW() a mysql function? Well, you can check for yourself ;) It should be somewhere around here: http://www.mysql.com/doc/en/Date_and_time_functions.html - E ...[snip]... __

Re: [PHP] string prints out as number (E+10...), why?

2003-01-09 Thread - Edwin
Hello, Jean-Christian Imbeault <[EMAIL PROTECTED]> wrote: > I'm passing a var into a function which is a 16 digit number, but when I > try to print it out I get 1.111E+15 instead of the expected > 11. > > Why? I guess it's because the number is converted automatically to a

Re: [PHP] string prints out as number (E+10...), why?

2003-01-09 Thread - Edwin
Jean-Christian Imbeault <[EMAIL PROTECTED]> wrote: > - Edwin wrote: > > > > I guess it's because the number is converted automatically to an > > exponential notation if it goes over a certain number of digits--makes > > it easier to read... > > I

Re: [PHP] how to make server response to emails

2003-01-09 Thread - Edwin
Hello, "See kok Boon" <[EMAIL PROTECTED]> wrote: > Hi experts, Well, I'm no expert ;) so let me just tell you where you can find more info. I think you're looking for something like what PHP's mailing list is using. It's called ezmlm. Pls. check their site: http://www.ezmlm.org/ - E ...[s

Re: [PHP] gettext and translations

2003-01-09 Thread - Edwin
Hello, "electroteque" <[EMAIL PROTECTED]> wrote: > hi i am just reading up on gettext , it says its for translating messages > , how about translating entire site content ? Mmm, I don't think anything like that exists--at least, not yet. There are or no sites (or software) that can perfectly t

Re: [PHP] checking status of a HTML checkbox

2003-01-10 Thread - Edwin
"Shams" <[EMAIL PROTECTED]> wrote: [snip] > At the moment I am doing this: > > if ( $_POST["insurance"] == "yes" ) > { > } > > But is there a more "accurate" way of checking the exsistence of > "insurance"? [/snip] I think you're looking for isset(): http://www.php.net/manual/en/function.is

Re: [PHP] Re: how to passing two dimension array

2003-01-10 Thread - Edwin
Or, "Noel Wade" <[EMAIL PROTECTED]> wrote: > You're missing string concatenation operators. I use "echo" instead of > "print" - but here's how it should look with either: > > echo ""; Try this instead: Just add curly brackets before and after the variable and don't forget the "$" sign. So, t

Re: [PHP] Column size, user input and htmlspecialchars

2003-01-10 Thread - Edwin
Hello, "Jim" <[EMAIL PROTECTED]> wrote: ...[snip]... > How do you guys go about resolving this situation? Well, first, increase the size of your field, say VARCHAR(100) then in your form, use "maxlength" like this: That would prevent them from entering more that 50 characters. (At least,

Re: [PHP] how can I use an external 'template' file and still use PHP variables?

2003-01-10 Thread - Edwin
"Daevid Vincent" <[EMAIL PROTECTED]> wrote: > I've posted this a few weeks ago with no response. I want to use an > external > "email template" as it were, so that the sales guys can edit it as they > like and simply shuffle the variables around that they need > $username and $password (either wit

RE: [PHP] checking status of a HTML checkbox

2003-01-10 Thread - Edwin
"Larry Brown" <[EMAIL PROTECTED]> wrote: > Also look at empty(). I don't know if the $_POST array will send the > key if it as no variable. I know on a regular post it does send the > variable, but it has no value. What's a "regular post" anyway? Well, the key is passed even when there's even

RE: [PHP] Re: how to passing two dimension array

2003-01-10 Thread - Edwin
"Larry Brown" <[EMAIL PROTECTED]> wrote: > For some reason I was not able to find the original question here. Well, you can always check the archives/thread... > The original question is about inserting the value from a two > dimensional array into a form not passing a two dimensional array fro

Re: [PHP] Re: HEEELP...please

2003-01-10 Thread - Edwin
[EMAIL PROTECTED] wrote: [snip] > Problem is - the only php.ini file is in a work directory for mod_php4 > installation. As far as I know, this file would not be read by apache > or the php module. [/snip] Run phpinfo() and see whether there's a reference to where the php.ini being used res

Re: [PHP] pg_connect $B$,;H$($J$$(B

2003-02-10 Thread - Edwin
$B$3$s$K$A$O!#(B (B $BNS(B $B7C72(B <[EMAIL PROTECTED]> wrote: (B (B> $B;O$a$^$7$F!#(Blin $B$H?=$7$^$9!#(B (B> (B> php$B$N(Bpg_connect$B$G(BpostgreSQL $B$K@\B3$r;n$_$^$7$?$,!"4X?t$,(B (B> $B8+$D$+$j$^$;$s$H%(%i!<$,=P$F$7$^$$$^$7$?!#F1MM$J8=>]$,Ax(B (B> $B6x$7$?J}$,$$$?$h$

Re: [PHP] re-populate array keys

2003-02-23 Thread - Edwin
Hello, Justin French <[EMAIL PROTECTED]> wrote: > Hi, after asort()ing an array, the numeric keys are obviously > out of order. > what i'd like to do is reset the keys, starting at zero. > > is there a function for this, or do I just walk through the > array with a foreach() and do it manually

Re: [PHP] and

2003-02-23 Thread - Edwin
Hello, "Sunfire" <[EMAIL PROTECTED]> wrote: > hi.. > > i have a button on a web page that is supposted to go to > another web page > when either clicked with a mouse or when someone presses enter > on it.. : > > post a prayer > > that is my basic code for the button... my problem is the fact

Re: [PHP] session_start

2003-02-23 Thread - Edwin
Hello "Mr Percival" <[EMAIL PROTECTED]> wrote: > Hi, > > According to the PHP manual session_start always returns true. > > Ther are times (like when there is a disk full error on the > server) that the sesison_start will fail because its unable to > write the session tmp file. > > So should

Re: [PHP] and

2003-02-23 Thread - Edwin
"Sunfire" <[EMAIL PROTECTED]> wrote: > actually yes a link would be rather nice for just going to > another page but my client doesnt want a link he is paying for > a button to be there instead of a link.. so if thats what he > wants and pays for i guess wether i agree with it being there > o

Re: [PHP] and

2003-02-24 Thread - Edwin
"Sunfire" <[EMAIL PROTECTED]> wrote: > this is true i guess but he doesnt want an image that looks > like a button he wants a 100% true authentic button that is > depressed when you click it and if the image doesnt move when ? You can make something that can be "depressed" with just images--o

Re: [PHP] What am i doing wrong? SQL Query in PHP

2003-03-09 Thread - Edwin
Hello, "Rahul.Brenda" <[EMAIL PROTECTED]> wrote: > Ok i tried this.. and i didn't get any error listed.. > so it seems that the mySQL Query is not failing in > syntax or logic.. but it's not picking up any rows. > Which is really stupid because i used my phpmyadmin > and i ran this SQL Query ther

Re: [PHP] Displaying a file

2003-03-09 Thread - Edwin
Todd Cary <[EMAIL PROTECTED]> wrote: > OK! This makes sense. What is the syntax to do Hmm, did you read (and try) the article mentioned earlier? - E __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP General Mai

Re: [PHP] Images out side the wwwroot

2003-03-09 Thread - Edwin
"Philip J. Newman" <[EMAIL PROTECTED]> wrote: > If i was to use PHP to call all my images from out side the > wwwroot, dose anyone have a method that they use? By using an absolute path? - E __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! htt

Re: [PHP] auto_increment $value

2003-03-09 Thread - Edwin
Hello, John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > Anyone know how to get the auto_increment $value out of a mysql > table. > I'm thinking it is in mysql_fetch_array but don't see how to > get it. What do you exactly mean by "get the auto_increment $value"? Perhaps, you're looking for t

Re: [PHP] PHP Manual w/ Comments?

2003-03-12 Thread - Edwin
Hello, John Nichel <[EMAIL PROTECTED]> wrote: > Wasn't the php manual with user comments available for download > at one time? Is it still there and I'm just not seeing it? If > it was never there, can I suggest that as an option for the > manual download from you good people at PHP? Damn,

Re: [PHP] how to force a refresh?

2003-03-13 Thread - Edwin
> There is an HTML solution, but I can't remember offhand what it > is. http://where2go.after"; /> ? - E __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] how to force a refresh?

2003-03-13 Thread - Edwin
Or, just: ...if the same page. Note: "1" is the number of seconds... - E __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP] removing appended chars - please help, quite urgent

2003-03-13 Thread - Edwin
Hi, "Adriaan Nel" <[EMAIL PROTECTED]> wrote: > Do any1 know how I can check for spaces here, > and remove them if present http://www.php.net/manual/en/function.trim.php ? http://www.php.net/manual/en/function.rtrim.php ? http://www.php.net/manual/en/function.lrim.php ? - E __

Re: [PHP] PHP/HTML table layout?

2003-03-13 Thread - Edwin
Hi, "Bev" <[EMAIL PROTECTED]> wrote: [snip] > I wanted to fixed sized cells and that when I type do not > increase/decrease the surronding cells.Can this be done? [/snip] Try having your with a fixed width as well: Ex. then with your columns: I think you also have to take no

Re: [PHP] RSS

2003-03-13 Thread - Edwin
Hi, "Sebi" <[EMAIL PROTECTED]> wrote: > > Hi, > Does some one know where I can find a RSS parser exmple? I think you can find one here: http://www.google.co.jp/search?q=PHP+RSS+parser&ie=UTF-8&oe=UTF-8&hl= en&lr= ;) - E __ Do You Yahoo

Re: [PHP] Writing a fileparser

2003-03-13 Thread - Edwin
Hi, (B (BAlexander Gruber <[EMAIL PROTECTED]> wrote: (B> Hi together, (B> (B> i$B%((Bm currently working on a php script to read a txt file into a mysql (B> database. but i have several problems i don$B%((Bt know how to fix. (B> the file looks like the following example: (B> (B> ca

Re: [PHP] http->https->http redirection causes browser to show alert dialog

2003-03-13 Thread - Edwin
Hi, Jean-Christian Imbeault <[EMAIL PROTECTED]> wrote: [snip] > Is there a way around this? The messages are annoying at best and > probably scary to users ... [/snip] This is a browser issue and is actually a security "feature". Unless the users themselves turn it off, the messages would appe

Re: [PHP] Splitting a string

2003-03-13 Thread - Edwin
Hi, "Christopher J. Crane" <[EMAIL PROTECTED]> wrote: [snip] > If that number start with a "S", I want to strip it off. [/snip] Why don't you just check whether the first character is an "S" then return only the rest of the string if it is? Like: Of course, there could be some other way...

Re: [PHP] PHP/HTML table layout?

2003-03-13 Thread - Edwin
Chris Hewitt <[EMAIL PROTECTED]> wrote: [snip] > I'd suggest you consider not having fixed width cells. [/snip] Good idea esp. if you can do better without having one. But sometimes, you really just need to have one ;) - E __ Do You Yahoo!? Yah

Re: [PHP] Splitting a string

2003-03-13 Thread - Edwin
Hi, David Rice <[EMAIL PROTECTED]> wrote: > > $str = "S12345"; > $str1 = ltrim($str,"S"); Good idea but you'd have problem if you have $str = "SS12345"; and you only want to get rid of the first one... - E __ Do You Yahoo!? Yahoo! BB is Broadba

Re: [PHP] form/text area input problem

2003-03-13 Thread - Edwin
Hi, "Poon, Kelvin (Infomart)" <[EMAIL PROTECTED]> wrote: [snip] > I am just looking for a more efficient way of solving this, can anyone > give me any idea? [/snip] I think you'll save yourself from so much trouble if: 1. You just leave those long text. If they didn't press ENTER, it means th

Re: [PHP] Problems (Apache + PHP) and conection to Oracle8i

2003-03-13 Thread - Edwin
Hi, "Jaime Villarroel Valdera" <[EMAIL PROTECTED]> wrote: > I have problems to pass HTML content that contains accentuated > characters from a form (editor) to an Oracle9i database ... through > PHP. I'm not sure what you meant exactly by "accentuated" but if you mean single quotes (') then p

Re: [PHP] form/text area input problem

2003-03-13 Thread - Edwin
"Poon, Kelvin (Infomart)" <[EMAIL PROTECTED]> wrote: [snip] > the problem is when I display it it would be a one lined paragraph. > THe page's format is ruin since this is one long line and the user > will have to scroll across to read the paragraph which look pretty bad. > > I hope you know

Re: [PHP] PHP/HTML table layout?

2003-03-13 Thread - Edwin
> > >   abcdefghijklmnopqrstuvwxyz01234567890666 c6 >   > > >   >   > > > > > > >   > > > > > - Original Message - > From: - Edwin > To: Chris Hewitt > Cc: Bev ; [EMA

Re: [PHP] Removed the bundled MySQL client library. (Sterling)

2003-07-01 Thread - Edwin -
On Tue, 1 Jul 2003 23:51:09 -0400 "Vincent Bouret" <[EMAIL PROTECTED]> wrote: > I found this in the ChangeLog of PHP5: Removed the bundled MySQL client > library. (Sterling) > > What does that mean? We can't access MySQL anymore from PHP? > Check this thread: http://marc.theaimsgroup.com/?t=

Re: [PHP] mail + regex + somethoughts

2003-07-03 Thread - Edwin -
Hi, "Shivanischal A" <[EMAIL PROTECTED]> wrote: > Hi friends, > > I was just wondering about this. Whenver we reply to the posts here, we just > click on the reply button and fire off our messages. This results in long > messages (fresh content + earlier content) within a single mail. Now, the >

Re: [PHP] mysql detect

2003-07-03 Thread - Edwin -
[EMAIL PROTECTED] wrote: > helo all , > > what command in linux , to see default direcktory instalation mysql > database dan mysql library RPMs? $ rpm -ql - E - __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ --

Re: [PHP] Optional form variables (IDEA?)

2003-07-03 Thread - Edwin -
Hello, "Miranda, Joel Louie M" <[EMAIL PROTECTED]> wrote: > Hello, im doing a form that when you pass it will generate a preview report. > My problem is some fields are optional the optional fields are 5. And for > those fields I need to make it fit when it generate what idea or codes can > you s

Re: [PHP] Browscap

2003-07-03 Thread - Edwin -
"Milan Reznicek" <[EMAIL PROTECTED]> wrote: > Hi everybody, > I'm trying to get_browser() function, but everytime I get from my apache > could not open browscap.ini for reading. Does someone know how to correct > it, or is there any other way how to determine users browser type and OS > witho

Re: [PHP] Re: mail + regex + somethoughts

2003-07-03 Thread - Edwin -
Hello, "Shivanischal A" <[EMAIL PROTECTED]> wrote: > Hi Edwin, > > Let me restate my question... > > I'm now replying to ur mail. I've left ur message to me untouched. (whatever > follows '- Original Message - '). What i want is tha

  1   2   3   4   5   6   >