RE: [PHP] Re: Internet Explorer toolbar

2003-03-28 Thread Dan Rossi
heh sorry excuse my arrogance , of then , find me a solution that doesnt require echoing javascript ? -Original Message- From: Philip J. Newman [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 6:49 PM To: Dan Rossi; Leif K-Brooks Cc: Peter Houchin; Dan; php-general Subject: Re:

Re: [PHP] Re: Internet Explorer toolbar

2003-03-28 Thread Leif K-Brooks
I never said there was one, I simply said that a PHP solution was requested and you gave a javascript solution. That has nothing to do with the PHP (!) list, and should be discussed off-list. Dan Rossi wrote: heh sorry excuse my arrogance , of then , find me a solution that doesnt require

Re: [PHP] Re: Internet Explorer toolbar

2003-03-28 Thread Ashley M. Kirchner
Leif K-Brooks wrote: I never said there was one, I simply said that a PHP solution was requested and you gave a javascript solution. That has nothing to do with the PHP (!) list, and should be discussed off-list. A solution, whether JavaScript, PHP, or other, is better than nothing. All

Re: [PHP] Re: Internet Explorer toolbar

2003-03-28 Thread Philip J. Newman
Mummy and Daddy sto fighting. - Original Message - From: Dan Rossi [EMAIL PROTECTED] To: Philip J. Newman [EMAIL PROTECTED]; Leif K-Brooks [EMAIL PROTECTED] Cc: Peter Houchin [EMAIL PROTECTED]; Dan [EMAIL PROTECTED]; php-general [EMAIL PROTECTED] Sent: Friday, March 28, 2003 7:04 PM

[PHP] url rewrite

2003-03-28 Thread Sebastian
hello, i am not sure where to post this question, since it's partly related to PHP, so i'll ask here. I'd like to rewrite a url that looks like this: /news/articles/article.php?id=255 into /news/articles/255/ any help is appreciated. cheers, - Sebastian

RE: [PHP] Re: Internet Explorer toolbar

2003-03-28 Thread Niklas Lampén
Heh, I think this kind of idiotism and hair splitting is fun for a change. :) I personnally like this in this php-list that you can ask allmost anything and get a desent answer in a short perioid of time. Lets keep it that way, even if it takes us sometimes to javascript or some other OT. :)

RE: [PHP] Re: Internet Explorer toolbar

2003-03-28 Thread Ernest E Vogelsinger
At 09:35 28.03.2003, Niklas Lampén said: [snip] Heh, I think this kind of idiotism and hair splitting is fun for a change. :) I personnally like this in this php-list that you can ask allmost anything and get a desent answer in a short perioid of time. Lets

Re: [PHP] Re: Internet Explorer toolbar

2003-03-28 Thread Ashley M. Kirchner
Ernest E Vogelsinger wrote: Well then - how can I get rich quick, do I need to use JavaScript or can it be done with PHP? I'd give you an answer, but this is a PHP list. Apparently we're not allowed to give non-PHP solutions on here. smirk -- H| I haven't lost my mind; it's backed up on

RE: [PHP] Re: Internet Explorer toolbar

2003-03-28 Thread Niklas Lampén
I think you should use the function called PutMoneyToMyAccount($AccountID = '123456-98765', $AmountInUSDollars = '100');. Run it as many times as you want. This doesn't need javascript, so this wasn't OT.. :P No need to thank me, even manual tells you this. Niklas -Original

Re: [PHP] url rewrite

2003-03-28 Thread Jason Wong
On Friday 28 March 2003 16:38, Sebastian wrote: i am not sure where to post this question, since it's partly related to PHP, so i'll ask here. Ask google or ask the archives. I'd like to rewrite a url that looks like this: /news/articles/article.php?id=255 into /news/articles/255/ --

Re: [PHP] Checkbox

2003-03-28 Thread SLanger
Hello From a usability standpoint showing a checkbox that cannot be unchecked renders the checkbox obsolete. The consquence is not to show a checkbox at all. If you need an uncheckable checkbox because of licence aggreements or something like that. Or privacydeclaration type checkbox. Make it

[PHP] referer

2003-03-28 Thread Mat Harris
am i going mad or something? i want to use the referer string from the server vars, but the $_SERVER[REFERER] and $HTTP_SERVER_VARS[REFERER] vars are empty and the phpinfo doesn't show the referer at all. what's going on? cheers -- Mat Harris OpenGPG Public Key ID:

Re: [PHP] url rewrite

2003-03-28 Thread Sebastian
if that were the case I wouldn't have asked here.. perhaps i didn't find the answer at google or the archives. - Original Message - From: Jason Wong [EMAIL PROTECTED] Ask google or ask the archives. | On Friday 28 March 2003 16:38, Sebastian wrote: | | i am not sure where to post

Re: [PHP] referer

2003-03-28 Thread Sebastian
try: $_SERVER['HTTP_REFERER']; cheers, - Sebastian - Original Message - From: Mat Harris [EMAIL PROTECTED] | am i going mad or something? | i want to use the referer string from the server vars, but the | $_SERVER[REFERER] and $HTTP_SERVER_VARS[REFERER] vars are empty | and the phpinfo

[PHP] file

2003-03-28 Thread Diksha Neel
hi all! i have a simple program to open and write a file. but the file is not getting created. can anyone please spot the mistake? giving the code below. thanks a lot, diksha. ?php echohi?how are u doing??; $fp = fopen (sandrew.html, w); string=htmlheadtitlehi/title/headbodyi am fine/body/html;

Re: [PHP] file

2003-03-28 Thread Jason Wong
On Friday 28 March 2003 18:26, Diksha Neel wrote: i have a simple program to open and write a file. but the file is not getting created. can anyone please spot the mistake? giving the code below. Turn on FULL error reporting so you can what errors (if any) there are in your code. ?php

RE: [PHP] file

2003-03-28 Thread Rich Gray
hi all! i have a simple program to open and write a file. but the file is not getting created. can anyone please spot the mistake? giving the code below. thanks a lot, diksha. ?php echohi?how are u doing??; $fp = fopen (sandrew.html, w); string=htmlheadtitlehi/title/headbodyi am

[PHP] submit

2003-03-28 Thread Diksha Neel
hi all, seems to be and off day for me. simple things aren't working. have this really stupid thing called dew3.html in which is a submit button to connect to new6.php that will in turn create a file sandrew.html. but the submit button in dew3.html is seen but isn't working. help please. sending

Re: [PHP] submit

2003-03-28 Thread Nikunj Virani
change input type=button value=submit to input type=submit value=submit Regards, Nikunj Virani - Original Message - From: Diksha Neel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 28, 2003 4:13 PM Subject: [PHP] submit hi all, seems to be and off day for me. simple

Re: [PHP] referer

2003-03-28 Thread Mat Harris
On Fri, Mar 28, 2003 at 04:19:25 -0500, Sebastian wrote: try: $_SERVER['HTTP_REFERER']; cheers, - Sebastian From: Mat Harris [EMAIL PROTECTED] | am i going mad or something? | i want to use the referer string from the server vars, but the | $_SERVER[REFERER] and

Re: Re: [PHP] submit

2003-03-28 Thread Diksha Neel
hi guys, yeah, i now believe this really is an off day for me. probably because i did not have food today! well, my problem is a really funny one. through dew4.html's submit button i want to get connect to new6.php from which should open a file. but as soon as i click on the submit button, i get

[PHP] page cannot be displayed

2003-03-28 Thread Diksha Neel
hi guys, yeah, i now believe this really is an off day for me. probably because i did not have food today! well, my problem is a really funny one. through dew4.html's submit button i want to get connect to new6.php from which should open a file. but as soon as i click on the submit button, i get

[PHP] Problem with = new and locally created instances

2003-03-28 Thread Jens von Pilgrim
Hi, I've got a problem with the = new construct. A code sample tells more than 1000 words: ?php class foo {} $g_fooInstance = null; class factory { function factory() { global $g_fooInstance; if (is_null($g_fooInstance)) { $g_fooInstance = new foo(); // -- here's the problem

Re: [PHP] url rewrite

2003-03-28 Thread Chris Hewitt
Sebastian wrote: if that were the case I wouldn't have asked here.. perhaps i didn't find the answer at google or the archives. - Original Message - From: Jason Wong [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Ask google or ask the archives. | On Friday 28 March 2003 16:38, Sebastian

RE: [PHP] Re: Internet Explorer toolbar

2003-03-28 Thread Dan Rossi
use my example , there is no possible way , i did once see a javascript() function but obviously thats not there -Original Message- From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 7:41 PM To: [EMAIL PROTECTED] Cc: 'Php-General' Subject: RE: [PHP] Re:

Re: [PHP] page cannot be displayed

2003-03-28 Thread Chris Hayes
At 12:01 28-3-2003, you wrote: it is most likely that the error is in the referring file in dew4.html. check the file name and path of the page you redirect to, and check the form method. hi guys, yeah, i now believe this really is an off day for me. probably because i did not have food

[PHP] tips on sorting an array of objects by an attribute?

2003-03-28 Thread neko
Hi Guys, Just after some experience... What's the best way to sort an array of objects by one of their attributes, accessed by $obj-getFoo() (its a number) ? I was thinking a bubble-sort, making multiple passses and switching array elements until there are no more switches to make. Any tips? The

Re: [PHP] shell_exec question....

2003-03-28 Thread David T-G
Kalin -- Please don't hijack threads. This question has nothing to do with your last questions regarding email address regular expressions. For that matter, *that* had nothing to do with php and perl. Mail and news messages have many headers, some of which serve to connect messages together.

[PHP] Microsoft SQL Server varchar(500) field text concatenated at 255characters.

2003-03-28 Thread Scott Houseman
Hi There. I am using PHP 4.3.0 on WIN32 to query data from a Microsoft SQL Server. One field I am requesting is type VARCHAR size 500. For some reason, PHP is returning only the first 255 characters of the text from that field. If I change the field type to TEXT, all of the data in that field is

[PHP] string replace problem!!

2003-03-28 Thread Thijs Lensselink
Good day , I have the following string. ,slideimages[0],slideimages[1],slideimages[2] Wich starts with a ','. No my problem is i want to strip this first and only the first ','. i've tried $string = ,slideimages[0],slideimages[1],slideimages[2]; $string = preg_replace('/^./','',$string,1);

[PHP] Random Password Making.

2003-03-28 Thread Philip J. Newman
Whats the best way to make a random password with 4 letters and 2 numbers? -- Philip J. Newman. Head Developer [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] string replace problem!!

2003-03-28 Thread Rich Gray
Good day , I have the following string. ,slideimages[0],slideimages[1],slideimages[2] Wich starts with a ','. No my problem is i want to strip this first and only the first ','. i've tried $string = ,slideimages[0],slideimages[1],slideimages[2]; $string =

[PHP] Time stamp and changing to a date.

2003-03-28 Thread Philip J. Newman
$mydate = 20030328231154; $myPrintDate=date (l dS of F Y h:i:s A,$mydate); echo $myPrintDate; Whats wrong -- Philip J. Newman. Head Developer [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Time stamp and changing to a date.

2003-03-28 Thread Rich Gray
$mydate = 20030328231154; $myPrintDate=date (l dS of F Y h:i:s A,$mydate); echo $myPrintDate; Whats wrong $mydate should be a unix style timestamp not a MMDDHHMMSS type date/time format... Check the functions time() and mktime() to help you generate unix timestamps. HTH Rich --

Re: [PHP] Time stamp and changing to a date.

2003-03-28 Thread Ryan Gibson
?php $mydate = date(20030328231154); $myPrintDate=date (l dS of F Y h:i:s A,$mydate); echo $myPrintDate; ? On 28/3/03 11:44 am, Philip J. Newman [EMAIL PROTECTED] wrote: $mydate = 20030328231154; $myPrintDate=date (l dS of F Y h:i:s A,$mydate); echo $myPrintDate; Whats wrong --

[PHP] gd library + animated gif

2003-03-28 Thread rush
Can GD library produce animated gif's? rush -- http://www.templatetamer.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Microsoft SQL Server varchar(500) field text concatenated at 255 characters.

2003-03-28 Thread Rich Gray
Hi There. I am using PHP 4.3.0 on WIN32 to query data from a Microsoft SQL Server. One field I am requesting is type VARCHAR size 500. For some reason, PHP is returning only the first 255 characters of the text from that field. If I change the field type to TEXT, all of the data in that

RE: [PHP] Random Password Making.

2003-03-28 Thread Mark Cubitt
try this function randpassword () { $length = 6; srand((double)microtime()*100); $string = ''; while(strlen($string) != $length) { $type = rand(1,2); if ($letterammount = 4) {$type = 1;} if ($numammount = 2)

RE: [PHP] last questions

2003-03-28 Thread Steve Jackson
Here's a function you could use. The input from your form should be email ($email in this script). function valid_email($email) { // check an email address is possibly valid if (ereg([EMAIL PROTECTED], $email)) return true; else return false; } HTH Steve Jackson Web Developer

Re: [PHP] character set problem

2003-03-28 Thread Filip De Graeve
I tried it ; it doesn't work. é ë è results into Ú Þ Ù standard, using htmlentities é ë è results into eacute; egrave; euml; using htmlspecialchars é ë è results into %E9%20%E8%20%EB using rawlurlencode The charset ISO-8859-1 (western europe) is supported in my apache, php, and on

Re: [PHP] Problem with = new and locally created instances

2003-03-28 Thread Jason k Larson
Maybe I'm missing something here ... but what is the point of trying to create a reference to a new object ... it hasn't been ceated prior to make reference to. Can't you simply create the new object and then make whatever (if needed) references? -- Jason k Larson Jens von Pilgrim wrote: Hi,

[PHP] Problem with FirwBird date

2003-03-28 Thread André Cupini
Hello people, I´m have a problem when work with date in a Firebird date field. By default, Firebird set up the date format as month/day/year. I need date in day/month/year format. In a Linux, i just add to the php.ini the following line: ibase.dateformat = %d/%m/%Y But in a machine with

RE: [PHP] Problem with = new and locally created instances

2003-03-28 Thread Jens von Pilgrim
Hello, Jason wrote: JL Maybe I'm missing something here ... but what is the point of trying JL to create a reference to a new object ... it hasn't been ceated prior JL to make reference to. Can't you simply create the new object and JL then make whatever (if needed) references? Uhh... maybe I'm

RE: [PHP] date math question

2003-03-28 Thread John W. Holmes
This leads me to another question. If I have stored the date as an epoch then is there a way using PHP and MySQL to say find all the records that have been added this YEAR (not last 365 days)? SELECT * FROM table WHERE YEAR(FROM_UNIXTIME(column)) = YEAR(CUR_DATE()); Benchmark each method and

Re: [PHP] dynamic/multidimensional arrays in classes

2003-03-28 Thread Jason k Larson
The problem here lies with the each function, I believe. I played with this for a minute and that's where I ran into problems with unexpected behaviour. Regardless, I was able to get expected functionality using foreach instead of the while loop. While foreach isn't available in PHP3 it is

[PHP] Pipe broken

2003-03-28 Thread Benja
Hi all, is it possible to know in PHP if the client hit the stop button or close the browser ? Here is what I read on a forum : I was told you cannot when I asked 'way back when. When the user hits stop, the pipe is broken. Apache will attempt to spit out some more data, and

RE: [PHP] Connecting to a remote server

2003-03-28 Thread Roberts, Mark \(Tulsa\)
They are not on the same server...that is the problem. They used to be on the same server, but I have had to move the application to a physically different server with a different DNS than the DB Server. So, on the surface, it would seem that I should just replace 'localhost' with the dns name

Re: [PHP] Pipe broken

2003-03-28 Thread Marek Kilimajer
Manual - Features - Connection handling Benja wrote: Hi all, is it possible to know in PHP if the client hit the stop button or close the browser ? Here is what I read on a forum : I was told you cannot when I asked 'way back when. When the user hits stop, the pipe is

Re: [PHP] Pipe broken

2003-03-28 Thread Benja
Oups... I missed that register_shutdown_function function. Thanks Marek. Benja. Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Manual - Features - Connection handling Benja wrote: Hi all, is it possible to know in PHP if the client hit the stop button or close the

Re: [PHP] Connecting to a remote server

2003-03-28 Thread Jason Wong
On Friday 28 March 2003 21:06, Roberts, Mark \(Tulsa\) wrote: They are not on the same server...that is the problem. They used to be on the same server, but I have had to move the application to a physically different server with a different DNS than the DB Server. So, on the surface, it

Re: [PHP] gd library + animated gif

2003-03-28 Thread Liam Gibbs
Can GD library produce animated gif's? Sorry. Maybe I should read more carefully. I skipped 'animatd' for some reason? Still, no, GD won't produce animated GIFs. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with = new and locally created instances

2003-03-28 Thread Jason k Larson
Okay, I understand more now ... I played with this for a couple of minutes and can see exactly where is acting odd, which is exactly where you indicated. :) I tried a couple of things to keep the instance of the object, but the variable keeps getting set back. One thing I did that worked was

[PHP] Help with procmail script...

2003-03-28 Thread Al
The past problem was solved via this group with in minutes and I just want to say thanks on that. The latest problem is a script that takes incoming emails to a certain address and puts them in the database. I included the script below called 'Gateway.php'. This worked great on my local

RE: [PHP] gd library + animated gif[Scanned]

2003-03-28 Thread Michael Egan
There's a section on Freshmeat about the ImageMagick project with further links: http://freshmeat.net/projects/imagemagick/?topic_id=100 Given your previous comment it's tempting to say that a search on Google for 'ImageMagick' would, er - well - but I'll resist :-) Regards, Michael Can GD

RE: [PHP] Connecting to a remote server

2003-03-28 Thread Steve Jackson
Your remote server has PHP/MySQL setup? Your DB hostname may be different from Localhost but basically your php connection string should just reflect what host username and password you need to use to connect to your DB. DNS has nothing to do with it. For example this function will connect to

RE: [PHP] string replace problem!!

2003-03-28 Thread Thijs Lensselink
Hello Rich, Thanx for the reply. But i should have cheked my code better. The piece of code was stuck in a for loop that's why the ',' was removed from every slideimages[$x]. $string = substr($string,1); works great though..:) grtz, Thijs -Oorspronkelijk bericht- Van: Rich Gray

[PHP] Anything that is changed when the browser is closed

2003-03-28 Thread Haseeb Iqbal
hi, just wanna know if there is anything in php that can be used (besides sessions) to get anything from the $_SERVER that is unique and gets changed each time we close the browser. anything at all to check if the user has closed the browser. regards Haseeb

Re: [PHP] Anything that is changed when the browser is closed

2003-03-28 Thread Marek Kilimajer
If you set cookie with lifetime set to 0, the cookie is erased. Sure this will work only if the user has cookie enabled Haseeb Iqbal wrote: hi, just wanna know if there is anything in php that can be used (besides sessions) to get anything from the $_SERVER that is unique and gets changed each

Re: [PHP] tips on sorting an array of objects by an attribute?

2003-03-28 Thread Marek Kilimajer
use usort neko wrote: Hi Guys, Just after some experience... What's the best way to sort an array of objects by one of their attributes, accessed by $obj-getFoo() (its a number) ? I was thinking a bubble-sort, making multiple passses and switching array elements until there are no more switches

Re: [PHP] Anything that is changed when the browser is closed

2003-03-28 Thread CPT John W. Holmes
While your script is running, you can use connection_aborted() to see if the user has clicked the stop button or closed the window. After your script finishes, though, then you have no way of knowing unless you use a session cookie, which will be destroyed when the browser is closed. ---John

Re: [PHP] Problem with PHP

2003-03-28 Thread Marek Kilimajer
My guess is you have register_globals off. You need to use $_GET['get_variable'] or $_POST['post_variable'] ?php echo $_GET['get_variable'].'br'; echo $_POST['post_variable'].'br'; ? form action=?= $_SERVER['SCRIPT_NAME'] ??get_variable=hello+i+am+a+get+variable method=post input type=text

RE: [PHP] Session Theft

2003-03-28 Thread Jon Haworth
Hi Haseeb, if i can get something from user end that is unique for that user.for e.g. his/her IP . Firstly, an IP address can be shared between multiple users, or it can change constantly for one user. Here's what a page request from an AOL user looks like (I've snipped the request paths,

Re: [PHP] Session Theft

2003-03-28 Thread Larry E. Ullman
i just want to figure out a way by which i can stop session theft.i thought if i can get something from user end that is unique for that user.for e.g. his/her IP .but it will not work when they are behind firewall.they will be assigned same IP.is there a way for me to get the IP

[PHP] Session Theft

2003-03-28 Thread Haseeb Iqbal
i just want to figure out a way by which i can stop session theft.i thought if i can get something from user end that is unique for that user.for e.g. his/her IP .but it will not work when they are behind firewall.they will be assigned same IP.is there a way for me to get the IP

Re: [PHP] Session Theft

2003-03-28 Thread Jim Lucas
check into forcing the use of trans_sid Jim - Original Message - From: Haseeb Iqbal [EMAIL PROTECTED] To: PHP General list [EMAIL PROTECTED] Sent: Friday, March 28, 2003 8:48 PM Subject: [PHP] Session Theft i just want to figure out a way by which i can stop session theft.i thought if

Re: [PHP] Session Theft

2003-03-28 Thread CPT John W. Holmes
i just want to figure out a way by which i can stop session theft.i thought if i can get something from user end that is unique for that user.for e.g. his/her IP .but it will not work when they are behind firewall.they will be assigned same IP.is there a way for me to get the IP

Re: [PHP] Session Theft

2003-03-28 Thread Marek Kilimajer
You can give the users the oportunity to turn ip check on (a checkbox in the login form). There is also a header that is set by many proxies to the ip address of the client, but I don't remember its name (maybe (X-)Forwarded-For) Haseeb Iqbal wrote: i just want to figure out a way by which i

Re: [PHP] Grid edit form

2003-03-28 Thread Andrew Powell
For the form: for ($i=0;$i=59;$i++) { echo trtdinput type=text name=myfield_.$i. value=.$somedata[$i]./td/tr; } For the post back: for ($i=0;$i=59;$i++) { $somedata[$i] = $_REQUEST['myfield_'.$i]; } aap Daniel Harik wrote: Hello guys, I'm trying to make grid form that will allow to edit

Re: [PHP] Grid edit form

2003-03-28 Thread Jim Lucas
This is untested, but I seem to recall doing something like this on a project last year. form method='post' action='/process.php' !-- row #1 -- input type=text name='row[0][id]' input type=text name='row[0][name]' input type=text name='row[0][company]' input type=text name='row[0][title]' br !--

RE: [PHP] Grid edit form

2003-03-28 Thread Don Read
On 28-Mar-2003 Daniel Harik wrote: Hello guys, I'm trying to make grid form that will allow to edit 60 rows at the same time, it's not hard to make a loop that would go from 0 to 59, but my problem is that i don't know what rows to update as i see no way to find row's id after form is

Re: [PHP] Grid edit form

2003-03-28 Thread Andrew Powell
Then append the id to the input name. e.g. For the input form: while (odbc_fetch_row($rs)) { echo trtdinput type=text name=myfield_.odbc_result($rs, ID). value=.odbc_result($rs, MyFieldValue)./td/tr; } And to read the data: while (odbc_fetch_row($rs)) { $sql = update MyTable set

[PHP] parsing

2003-03-28 Thread Diana Castillo
Hi, when I am parsing an XML document, it doesnt parse paragraphs that have line feeds correctly. For instance, if the tag is Descriptionline 1 line2 line3 /description it loses everything before line 3 . seems to take the line feeds as a new node or something. does anyone have any tips to get

[PHP] uploading large files through php

2003-03-28 Thread Dimitar Haralanov
Hi, I have a script that allows the user to upload a file. Sometimes the files are going to be rather large (in the order of 60Mb). I know that this is very dangerous but only trusted users will be able to upload since they have to login through ssl and the entire session is

[PHP] How to debug XSLT Errors?

2003-03-28 Thread Benjamin Walling
I'm trying to use the xslt_* functions, but I can't get any decent error messages out of them. I've used the XML and XSL I'm passing it in IE, and it gets processed and transformed correctly. The only error I get is: Warning: Sablotron error on line 1: XML parser error 4: not well-formed

[PHP] Classes

2003-03-28 Thread Donahue Ben
I have a ClassA file and a ClassB file stored in separate directories. I am trying to get ClassB to initiate a ClassA object. But since they are stored in seperate directories I get an error. So I tried including the ClassA file in ClassB constructor: function ClassB() {

RE: [PHP] Grid edit form

2003-03-28 Thread Ford, Mike [LSS]
-Original Message- From: Daniel Harik [mailto:[EMAIL PROTECTED] Sent: 28 March 2003 18:55 Jim Lucas wrote: This is untested, but I seem to recall doing something like this on a project last year. form method='post' action='/process.php' !-- row #1 -- input type=text

Re: [PHP] uploading large files through php

2003-03-28 Thread Larry E. Ullman
The problem that I am facing is that I can get the script/browser/php to pass such large file. I have modified the upload_max_size variable in php.ini to be larger the 60Mb but this still does not help! Is there any hard limitation that I am unaware of? You'll probably need to adjust the

[PHP] line feeds

2003-03-28 Thread Diana Castillo
How can I remove all line feeds from a document? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] uploading large files through php

2003-03-28 Thread Dimitar Haralanov
On Fri, 28 Mar 2003 12:39:10 -0500 Larry E. Ullman wrote: memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) Does this mean that the content of the entire file will be stored in memory before it is written to disk? Thanx --

[PHP] Other PHP developers in Louisville, KY?

2003-03-28 Thread Steve Magruder
Hi, I'm a PHP developer in Louisville, KY interested in forming a PHP developers group. Currently, we have three individuals signed up at http://php.meetup.com but we need at least 5 to go forward with a first meeting. If you're interested, please sign up. It should be a lot of fun.

[PHP] Re: [PHP-INST] PHP: Cannot send session cookie - headers already sent by

2003-03-28 Thread Matt
- Original Message - From: Atif Jakupovic [EMAIL PROTECTED] Sent: Friday, March 28, 2003 1:14 PM Subject: [PHP-INST] PHP: Cannot send session cookie - headers already sent by Please, could you help me to find out why I'm getting an error message like one below. Warning:

Re: [PHP] file

2003-03-28 Thread Steve Keller
At 3/28/2003 10:26 AM, Diksha Neel wrote: i have a simple program to open and write a file. but the file is not getting created. can anyone please spot the mistake? ?php echohi?how are u doing??; $fp = fopen (sandrew.html, w); string=htmlheadtitlehi/title/headbodyi am $string =

[PHP] What is the e-mail to unsuscribe of the mailing-list?

2003-03-28 Thread Orlando Pozo
What is the e-mail to unsuscribe of the mailing-list? - Yahoo! Messenger Nueva versioacute;n: Super Webcam, voz, caritas animadas, y maacute;s #161;Gratis!

Re: [PHP] Random Password Making.

2003-03-28 Thread Steve Keller
At 3/28/2003 11:32 PM, Philip J. Newman wrote: Whats the best way to make a random password with 4 letters and 2 numbers? I don't know what the best way is, but I had fun doing this one. I filled the first 4 elements of an array with random letters by using the minimum ASCII value of a letter

Re: [PHP] What is the e-mail to unsuscribe of the mailing-list?

2003-03-28 Thread Dimitar Haralanov
On Fri, 28 Mar 2003 19:42:06 +0100 (CET) Orlando Pozo wrote: What is the e-mail to unsuscribe of the mailing-list? [EMAIL PROTECTED] pgp0.pgp Description: PGP signature

Re: [PHP] How to debug XSLT Errors?

2003-03-28 Thread Ray Hunter
Try using the command line sablot sabcmd to parse the xsl file and see if you can get any info on the well-formness of the file. If you dont have the command line version I suggest downloading an application that does xsl verification. You could also send post the file so that we can review the

Re: [PHP] How to debug XSLT Errors?

2003-03-28 Thread Benjamin Walling
I've got sabcmd and it is giving the same message. I've got about 3 hours experience with XSL, so if this file is bad, let me know. Also, do you have a recommendation for an xsl/xml validator? This XSL file works for me in IE if I return my XML to the browser along with the tag ?xml-stylesheet

[PHP] : Looking functions for deal with special characters

2003-03-28 Thread ignacio . estrada
Hi, I am getting data from a database, containing special characteres (in spanish). After that, I want to write down this data to an ascii file (.cvs), but when that is done the resulting strings does not keep the same special characteres instead of that appear strange characters. Here I want to

[PHP] Looking functions for deal with special characters

2003-03-28 Thread ignacio . estrada
Hi, I am getting data from a database, containing special characteres (in spanish). After that, I want to write down this data to an ascii file (.csv). When this file is open with excel, the resulting data on cell (strings) does not keep the same special characteres instead of that appear

[PHP] imap_open and 503 Error

2003-03-28 Thread Brian Mitchell
Anyone ever encounter a 503 server error when trying to open a stream to a mailbox using imap_open? If so, anyway to fix it? Thanks, Brian

[PHP] webeditor

2003-03-28 Thread Daniel Guerrier
Does anyone know of an open source webeditor that I can use to enter information into a text area field. I have a custom CMS and I would like to add webeditor functionality to the textarea fields __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA

[PHP] Get the HTTP Server Username

2003-03-28 Thread Mike
Is there anyway to get the HTTP Server Username (something like $_SERVER['username']) I tried printing all the variables defined in a page (and looking at a phpinfo.php) and wasn't able to figure it out... -- Mike [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Grid edit form

2003-03-28 Thread Jim Lucas
you missunderstood my example then. then 1,2,3,4,... is only for the array, you wont be setting that with the result set from the db call. the id from the db call with be the value of row[1][id] on the process page. just think of it as a multidia indexed array Jim - Original Message -

Re: [PHP] Grid edit form

2003-03-28 Thread Jim Lucas
you don't understand how this works then... Jim - Original Message - From: Ford, Mike [LSS] [EMAIL PROTECTED] To: 'Daniel Harik' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, March 28, 2003 9:44 AM Subject: RE: [PHP] Grid edit form -Original Message- From: Daniel Harik

RE: [PHP] Get the HTTP Server Username

2003-03-28 Thread Don Read
On 28-Mar-2003 Mike wrote: Is there anyway to get the HTTP Server Username (something like $_SERVER['username']) I tried printing all the variables defined in a page (and looking at a phpinfo.php) and wasn't able to figure it out... -- Mike [EMAIL PROTECTED] $_SERVER['PHP_AUTH_USER'];

[PHP] Checking a string for # of charactors.

2003-03-28 Thread Philip J. Newman
I would like to check that a string as more than 20 charactors in it. Can someone point me in the right direction. Thanks .. -- Philip J. Newman. Head Developer [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Checking a string for # of charactors.

2003-03-28 Thread Johnson, Kirk
http://www.php.net/manual/en/function.strlen.php Kirk I would like to check that a string as more than 20 charactors in it. Can someone point me in the right direction. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] last questions

2003-03-28 Thread David T-G
Steve, et al -- ...and then Steve Jackson said... % ... % // check an email address is possibly valid % if (ereg([EMAIL PROTECTED], % $email)) ... You could just downcase the address and save some chars; email is case-insensitive. You've left out the '+' character used for name+extensions

[PHP] Re: Include Question

2003-03-28 Thread Tim Burden
You could try this instead: Checklogin.php if (!$name || !password) { $message = $enter_info; } if ($message){ include (login.php); echo $message; exit; } But the way you had it should work, you might just need to global $message; right before the echo in login.php in case it is

[PHP] odbc_connect and segmentation fault

2003-03-28 Thread Joel Vorpagel
Can anyone help me out? I'm running PHP 4.3.1 on Apache 1.3.23 with unixODBC 2.2.3. I'm using ODBC to connect to my db2 database. I was testing out some scripts that connect to a database to run select and insert statements. When I run the scripts on my test site (through the browser) everything

  1   2   >