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] 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] 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] variable string names

2003-03-09 Thread Edwin Boersma
John's solution is the better one. But if you really wish to stick to your own, try and use eval() to complile $where$i. Edwin John W. Holmes wrote: I have: if ($where1 != '') { $whereArray = array_push($whereArray, $where1); } and I want to repeat for $where1 up

[PHP] Re: save to file

2003-03-09 Thread Edwin Boersma
Enough answers, I think? If you want EACH value of $_POST on a new line, then why not implode with \n instead of \t? Now you get only one big line, because you only WRITE one \n. Edwin Ryan Holowaychuk wrote: I am trying to save to a text file. And I have managed to do that part now, but what

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

[PHP] Re: help needed building query string based on which form fieldsthat are filled.

2003-02-02 Thread Edwin Boersma
odify the submitted values. Edwin Anders Thoresson wrote: Hi, I've got a html form where not all fields need to be filled by the users. How can I build a MySQL query based on which fields the user have filled? My guess is that I can do something like this: if(!empty($f_na

Re: [PHP] any change to see php source?

2003-02-02 Thread Edwin Boersma
See www.php.net. Qt wrote: Thank you chris, Help full Do you have any link for installation manual "Chris Hayes" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... At 21:36 1-2-2003, you wrote: I am studying on php. And the book say, when the server see ph

Re: [PHP] using tags with php

2003-02-02 Thread Edwin Boersma
Are you absolutely sure that the query gives result? Try and add "or die (mysql_error())" behind mysql_connect, mysql_select_db and mysql_query. For the rest, it looks pretty good to me Sunfire wrote: ok let me try this question thing again... i am having a problem using tags by using cur

Re: [PHP] Loading CSV data into MySQL

2003-02-02 Thread Edwin Boersma
Or add a "insert_date" column of type "timestamp" to the database. This will automatically store the time of insertion. Then use ORDER BY insert_date. Edwin Jason Sheets wrote: You could create a integer column with an autoincrement flag, then order the rows by this colu

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

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

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

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

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] 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] 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] 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] 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] 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: 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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: 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] 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] 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] 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] 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] Getting info from users comp?

2002-11-22 Thread @ Edwin
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote: > Of course it is possible for any application running locally to fetch any > data about your hardware - e.g. M$ does it with their semi-automatic bug > reporting feature (in Win XP). However you'd need hardware and OS specific > applications to a

Re: [PHP] Getting info from users comp?

2002-11-22 Thread @ Edwin
Hello, "Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote: > So you're talking about a Trojan, do you? No, not really. I was talking about "legitimate" programs run by the users themselves. - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP] FTP_SITE and FTP_EXEC prob

2002-11-21 Thread @ Edwin
Hello, "António Godinho" <[EMAIL PROTECTED]> wrote: [snip] > Here's the code: > ftp_exec($conn_id,"site chmod 755 /home/to/public_html/index.php"); > > I tried with ftp_exec and ftp_site, any advice? [/snip] Have you tried it without the word "site"? Like: ftp_exec($conn, "chmod... "); Have

Re: [PHP] echo'ing array contents through reference variable ... why doesn't this work???

2002-11-21 Thread @ Edwin
Hello, "-<[ Rene Brehmer ]>-" <[EMAIL PROTECTED]> wrote: > I've run into something I don't understand... > > This is my test code: > > $premieredag = > array("2002-11-22","2002-11-29","2002-12-06","2002-12-18"); > $d20021122 = array("001"); > $d20021129 = array("002","003","004"); > $d2

Re: [PHP] Getting info from users comp?

2002-11-21 Thread @ Edwin
Hello, "-<[ Rene Brehmer ]>-" <[EMAIL PROTECTED]> wrote: > Hi @ Edwin, > > On Wed, 20 Nov 2002 01:24:18 +0900, you wrote about "Re: [PHP] Getting > info from users comp?" something that looked like this: > > >> And if its not possible wi

Re: [PHP] help needed with forms

2002-11-21 Thread @ Edwin
Hello, "Van Andel, Robert" <[EMAIL PROTECTED]> wrote: > Sounds like JavaScript would be the answer here. You can use a javascript > function to validate the form before it is even submitted. Yes, perhaps. But people can turn off JavaScript so you might want to use JavaScript AND PHP to validate

Re: [PHP] Pause for user input?

2002-11-20 Thread @ Edwin
"Larry Brown" <[EMAIL PROTECTED]> wrote: > The idea is to have the script start to load, prompt for a question or more, > then use the data from the response to complete loading the page and avoid > having to post all of the variables from page to page to get all of the > responses back. A lot o

Re: [PHP] Server-server file copy question

2002-11-20 Thread @ Edwin
Hello, "Richard Fox" <[EMAIL PROTECTED]> wrote: > Hi, > > I am using PHP 4.4.2.. I need a function to copy a file from one server to > another. The src/dst filenames are relative to the Document Root of the website, > but I can build an absolute path name if necessary. I can't use ftp because the

Re: [PHP] Looking for compiled Windows PHP installation with multistring fts support

2002-11-20 Thread @ Edwin
Hello, "Simon Dedeyne" <[EMAIL PROTECTED]> wrote: > > Sorry, I meant multibyte strings, like when you want to display > Japanese. ...well, then, you can find one here: (Japanese site) http://www.geocities.jp/rui_hirokawa/php/ or, download the file directly: http://www.geocities.jp/rui_hir

Re: [PHP] scrolling data from db

2002-11-20 Thread @ Edwin
Hello, "Edward Peloke" <[EMAIL PROTECTED]> wrote: > I have a large amount of data to present to the user. Currently, I am just > putting it in a table and displaying it on the page, if it is more than a > page of course the page just scrolls. Is there a way o, without using > frames, to put all

Re: [PHP] Pause for user input?

2002-11-20 Thread @ Edwin
Hello, "Larry Brown" <[EMAIL PROTECTED]> wrote: > Does anyone know of a method to pause during the processing of a script to > prompt a user for information and then incorporate the user's response for > the remainder of the script? ... in addition to what the others already said, let me just as

Re: [PHP] manage Form data

2002-11-20 Thread @ Edwin
Hello, "??? ?ta?" <[EMAIL PROTECTED]> wrote: > Can you show me an example? I already tried that but it doesn't work... Please don't get me wrong but... Saying that "it doesn't work..." doesn't work either. You have to at least help others to help you. Show some codes, error messages, et

Re: [PHP] flush() issue

2002-11-20 Thread @ Edwin
Hello, "Andrew Brampton" <[EMAIL PROTECTED]> wrote: > Are you outputing each row in a table? > IE won't start displaying the table until the tag, that might be > causing your problem... ...then, CSS to the rescue... :) Try this: ... HTH, - E -- PHP General Mailing List (http://w

Re: [PHP] pass file data through forms

2002-11-20 Thread @ Edwin
Hello, "??? ?ta?" <[EMAIL PROTECTED]> wrote: > Is there any way of submitting a file , pass all the data for it throuhg > another form and upload from another form? I'm not sure if I understand your question correctly but you can try using the sample code in the manual for uploading file

Re: [PHP] Stripping HTML tags, but keeping entities...

2002-11-20 Thread @ Edwin
Hello, (B (B"David Russell" <[EMAIL PROTECTED]> wrote: (B (B...[snip]... (B (B> Strip_tags removes all info after the < sign. Obviously I would like to (B> convert it to a > entity, but how can I do both of these? (B (BHave you tried this? (B (B http://www.php.net/manual/en/function.p

Re: [PHP] New commercial software needs beta testers

2002-11-19 Thread @ Edwin
"Jeremy Wilson" <[EMAIL PROTECTED]> wrote: > Well fine... by reading a bunch of your other posts when you talk to > people, it looks like you are just a rude SOB... so I am really not > offended. Who is offending who? You attacked a ml with a spam (yes, it's spam) and now you're attacking people

<    1   2   3   4   5   6   >